]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
623bf4336b67886d4dfcbc09521bd4d443d6b612
[gnu-emacs] / lisp / ChangeLog
1 2012-08-05 Chong Yidong <cyd@gnu.org>
2
3 * help-fns.el (describe-variable): Add hyperlink for
4 directory-local variables files. Improve buffer-local and
5 permanent-local reporting; suggested by MON KEY (Bug#6644).
6
7 * help-mode.el (help-dir-local-var-def): New button type.
8
9 * files.el (kill-buffer-hook): Provide a defvar.
10
11 2012-08-05 Glenn Morris <rgm@gnu.org>
12
13 * eshell/esh-ext.el (eshell/addpath):
14 Also update eshell-path-env. (Bug#12013)
15
16 2012-08-05 Chong Yidong <cyd@gnu.org>
17
18 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
19
20 * fringe.el (fringe-styles): Add docstring.
21 (fringe--check-mode): New function.
22 (set-fringe-mode, set-fringe-style): Use it.
23 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
24
25 * files.el (set-auto-mode): Fix invalid setq call.
26
27 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * isearch.el: Misc simplification; use defstruct.
30 (isearch-mode-map): Dense maps now work like sparse ones.
31 (isearch--state): New defstruct.
32 (isearch-string-state, isearch-message-state, isearch-point-state)
33 (isearch-success-state, isearch-forward-state)
34 (isearch-other-end-state, isearch-word-state, isearch-error-state)
35 (isearch-wrapped-state, isearch-barrier-state)
36 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
37 replaced by defstruct's accessors.
38 (isearch--set-state): Rename from isearch-top-state and change
39 calling convention.
40 (isearch-push-state): Use new isearch--get-state.
41 (isearch-toggle-word): Disable regexp when enabling word.
42 (isearch-message-prefix): Remove unused arg _c-q-hack.
43 (isearch-message-suffix): Remove unused arg _ellipsis.
44
45 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
46
47 * simple.el (list-processes--refresh): For a server use :host or
48 :local as the address.
49 (list-processes): Doc fix.
50
51 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
52
53 * lisp/mpc.el: Support password in host argument.
54 (mpc--proc-connect): Parse and use new password element.
55 Set mpc-proc variable instead of returning process.
56 (mpc-proc): Adjust accordingly.
57
58 2012-08-03 Eli Zaretskii <eliz@gnu.org>
59
60 * whitespace.el (whitespace-display-mappings): Use Unicode
61 codepoints, instead of emacs-mule codepoints. See
62 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
63 for the details.
64
65 * files.el (file-truename): Don't skip symlink-chasing part on
66 windows-nt. Incorporate the resolution of 8+3 short aliases on
67 Windows into the loop that recursively chases symlinks. Compare
68 directory and its parent case-insensitively on MS-Windows and
69 MS-DOS.
70
71 2012-08-03 Chong Yidong <cyd@gnu.org>
72
73 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
74
75 * sort.el (sort-regexp-fields): Doc fix.
76
77 2012-08-03 Tassilo Horn <tsdh@gnu.org>
78
79 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
80 labels regex position point at the expected place.
81
82 2012-08-03 MON KEY <monkey@sandpframing.com>
83
84 * net/imap.el (imap-interactive-login, imap-authenticate)
85 (imap-mailbox-lsub, imap-mailbox-list)
86 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
87 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
88 (imap-parse-response): Doc fix.
89
90 2012-08-03 João Távora <joaotavora@gmail.com>
91
92 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
93 if sexp scanning does not move point (Bug#5734).
94
95 2012-08-02 Tassilo Horn <tsdh@gnu.org>
96
97 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
98 Add listings, minted, and ctable packages.
99 (reftex-label-alist-builtin): Move listings, minted, and ctable
100 entries before LaTeX.
101 (reftex-label-alist): Docfix.
102
103 2012-08-02 Bastien Guerry <bzg@gnu.org>
104
105 * replace.el (occur): Fix docstring (bug#12122).
106
107 2012-08-02 Glenn Morris <rgm@gnu.org>
108
109 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
110
111 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
112
113 Obsolete alias inactivate-current-input-method-function (Bug#10150).
114 * international/mule-cmds.el: Create
115 inactivate-current-input-method-function as an obsolete alias for
116 deactivate-current-input-method-function. See Katsumi Yamaoka in
117 <http://bugs.gnu.org/10150#46>.
118
119 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
120
121 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
122 of nested `if's.
123
124 2012-08-01 Glenn Morris <rgm@gnu.org>
125
126 * progmodes/autoconf.el (autoconf-definition-regexp):
127 Add AH_TEMPLATE, adjust submatch numbering.
128 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
129 (autoconf-current-defun-function): Update for above change.
130 (autoconf-current-defun-function): First skip to end of current word.
131
132 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
133
134 * calendar/cal-html.el (cal-html-insert-agenda-days):
135 Fix typo. (Bug#12018)
136
137 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
138
139 Shell processes: enhancements to startup and CEDET compatibility.
140 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
141 (python-shell-make-comint): accept-process-output at startup.
142 (run-python-internal): Set inferior-python-mode-hook to nil.
143 (python-shell-internal-get-or-create-process): call sit-for.
144 (python-preoutput-result): Add obsolete alias.
145 (python-shell-internal-send-string): Use it.
146 (python-shell-send-setup-code): Remove call to
147 accept-process-output.
148
149 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
150
151 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
152 (Bug#12108)
153
154 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
155
156 * calc-mode.el (calc-basic-simplification-mode): Rename from
157 `calc-limited-simplification-mode'.
158 (calc-alg-simplification-mode): New function.
159 (calc-set-simplify-mode): Adjust message.
160
161 * calc.el (calc-set-mode-line): Adjust mode line display for
162 basic simplification mode.
163
164 * calc-help.el (calc-m-prefix-help): Update help message.
165
166 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
167 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
168
169 2012-07-31 Bastien Guerry <bzg@gnu.org>
170
171 * man.el (man): Fix comment. (bug#12101)
172
173 2012-07-31 Martin Rudalics <rudalics@gmx.at>
174
175 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
176 Don't return a non-nil value when no suitable buffer was found.
177
178 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
179
180 * progmodes/python.el (run-python-internal): Disable font lock for
181 internal shells.
182
183 2012-07-30 Stefan Merten <smerten@oekonux.de>
184
185 * rst.el: Silence `checkdoc-ispell'.
186 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
187 (rst-official-version, rst-official-cvs-rev)
188 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
189 (rst-mode-map): New key binding.
190
191 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
192
193 Update .PHONY listings in makefiles.
194 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
195 autoloads, update-subdirs, updates, bzr-update, update-authors,
196 compile-onefile, compile-calc, backup-compiled-files,
197 compile-after-backup, compile-one-process, mh-autoloads,
198 bootstrap-clean, distclean, maintainer-clean.
199
200 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
201
202 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
203 (calc-set-mode-line): Don't display "AlgSimp ".
204
205 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
206 (calc-lim-simplify-mode): New function.
207 (calc-set-simplify-mode): Default to 'alg.
208 (calc-default-simplify-mode): Make algebraic simplifications
209 the default.
210
211 * calc/calc-ext.el (calc-init-extensions): Remove binding for
212 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
213
214 * calc/calc-help.el (calc-m-prefix-help): Change messages to
215 indicate new simplification modes.
216
217 * calc/README: Mention new default simplification mode.
218
219 * calc/calc.el (math-normalize-error): New variable.
220 (math-normalize): Set `math-normalize-error' to t
221 when there's an error.
222
223 * calc/calc-alg.el (math-simplify): Don't simplify when
224 `math-normalize' returns an error.
225
226 2012-07-29 Eli Zaretskii <eliz@gnu.org>
227
228 * international/mule-cmds.el (set-locale-environment): Revert last
229 change, since display-graphic-p returns nil when this function is
230 called during startup. Instead...
231
232 * term/w32console.el (terminal-init-w32console): ...setup the
233 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
234
235 2012-07-29 Juri Linkov <juri@jurta.org>
236
237 * simple.el (goto-line): Don't display default line number in the
238 prompt because it should be displayed by `read-number' (bug#9952).
239 Add the current line number to the defaults of `goto-line' to
240 allow its easier modification by users with `M-n' (bug#9201).
241
242 * subr.el (read-number): Support multiple default values like in
243 other minibuffer reading functions. Replace `read' with
244 `string-to-number' for consistency with `number-to-string'.
245
246 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
247
248 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
249 * emulation/viper-init.el (viper-deactivate-input-method-action):
250 Rename from viper-inactivate-input-method-action.
251 (viper-deactivate-input-method):
252 Rename from viper-inactivate-input-method.
253 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
254 * international/mule-cmds.el (deactivate-input-method):
255 Rename from inactivate-input-method.
256 Also run input-method-deactivate-hook.
257 (deactivate-current-input-method-function):
258 Rename from inactivate-current-input-method-function.
259 (input-method-deactivate-hook): New hook.
260 (input-method-inactivate-hook): Mark obsolete.
261 (inactivate-input-method): Mark obsolete.
262
263 * international/quail.el (quail-activate):
264 Also run quail-deactivate-hook.
265 (quail-deactivate): Rename from quail-inactivate.
266 * international/robin.el (robin-activate):
267 Also run robin-deactivate-hook.
268 (robin-deactivate): Rename from robin-inactivate.
269
270 2012-07-29 Chong Yidong <cyd@gnu.org>
271
272 * simple.el (indicate-copied-region): New function.
273 (kill-ring-save): Split off from here.
274
275 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
276 (kill-rectangle): Set deactivate-mark to t on read-only error.
277
278 * register.el (copy-to-register, copy-rectangle-to-register):
279 Deactivate the mark, and use indicate-copied-region (Bug#10056).
280 (append-to-register, prepend-to-register): Call
281
282 2012-07-29 Juri Linkov <juri@jurta.org>
283
284 * simple.el (async-shell-command-buffer): New defcustom.
285 (shell-command): Use it. (Bug#4719)
286
287 2012-07-28 Eli Zaretskii <eliz@gnu.org>
288
289 * international/mule-cmds.el (set-locale-environment): In a
290 console session on MS-Windows, set up keyboard and terminal
291 encoding from the OEM codepage, not the ANSI codepage.
292 (Bug#12055)
293
294 2012-07-28 Chong Yidong <cyd@gnu.org>
295
296 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
297 gdb-get-location.
298
299 2012-07-25 Leo Liu <sdl.web@gmail.com>
300
301 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
302 the alist (bug#12029).
303
304 2012-07-28 Eli Zaretskii <eliz@gnu.org>
305
306 * makefile.w32-in (custom-deps, finder-data, updates, compile)
307 (compile-always, compile-first)
308 ($(lisp)/calendar/cal-loaddefs.el)
309 ($(lisp)/calendar/diary-loaddefs.el)
310 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
311 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
312 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
313 instead of on update-subdirs.
314 (bootstrap-clean): Delete $(lisp)/subdirs.el.
315
316 2012-07-28 Chong Yidong <cyd@gnu.org>
317
318 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
319 directory if vc-deduce-backend returns nil (Bug#7350).
320
321 * simple.el (delete-trailing-lines): New option.
322 (delete-trailing-whitespace): Obey it (Bug#11879).
323
324 2012-07-28 David Engster <deng@randomsample.de>
325
326 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
327 Explanation of new 'symbol-qnames feature in doc-strings.
328 (xml-maybe-do-ns): Return expanded names as plain symbols if
329 'symbol-qnames was provided in XML-NS argument (Bug#11916).
330 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
331
332 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
333
334 Consistent completion in inferior python with emacs -nw.
335 * progmodes/python.el (inferior-python-mode): replace "<tab>"
336 binding in inferior-python-mode-map with "\t".
337 (python-shell-completion-complete-at-point)
338 (python-completion-complete-at-point): Remove interactive spec.
339
340 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
341
342 * calc/calccomp.el (math-compose-expr): Undo previous change.
343
344 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
345
346 * progmodes/python.el (python-mode-map): Added keybinding for
347 run-python.
348 (python-shell-make-comint): Fix pop-to-buffer call.
349 (run-python): Autoload. New arg SHOW.
350 (python-shell-get-or-create-process): Do not pop python process
351 buffer.
352
353 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
354
355 * notifications.el (notifications-on-action-signal)
356 (notifications-on-closed-signal): Use also the bus address for the map.
357 (notifications-notify, notifications-close-notification)
358 (notifications-get-capabilities): Add optional argument BUS.
359
360 2012-07-27 Tassilo Horn <tsdh@gnu.org>
361
362 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add
363 support for the lstlisting and minted environments, and for the
364 ctable macro.
365 * textmodes/reftex.el (reftex-compile-variables): Also recognize
366 labels written in keyvals syntax.
367
368 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
369
370 * calc/calccomp.el (math-compose-expr): Use parentheses when
371 there is a product in the denominator of a fraction.
372
373 2012-07-26 Eli Zaretskii <eliz@gnu.org>
374
375 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
376 ($(lisp)/calendar/diary-loaddefs.el)
377 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
378 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs. Fixes
379 failures in parallel bootstrap because subdirs.el is being
380 rewritten while the autoload files are built at the same time,
381 which needs to load subdirs.el.
382
383 2012-07-26 Martin Rudalics <rudalics@gmx.at>
384
385 * mouse.el (popup-menu): Fix doc-string and re-indent code.
386 (mouse-drag-line): Don't exit tracking when a switch-frame or
387 switch-window event occurs (Bug#12006).
388
389 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * mouse.el (popup-menu): Fix last change.
392
393 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 Autoload from Lisp with more care. Follow aliases when looking for
396 function properties.
397 * subr.el (autoloadp): New function.
398 (symbol-file): Use it.
399 (function-get): New function.
400 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
401 autoload-do-load.
402 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
403 (lisp-indent-function):
404 * emacs-lisp/gv.el (gv-get):
405 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
406 * emacs-lisp/byte-opt.el (byte-optimize-form):
407 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
408 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
409 Use function-get.
410 * emacs-lisp/cl.el: Don't propagate function properties any more.
411
412 * speedbar.el (speedbar-add-localized-speedbar-support):
413 * emacs-lisp/disass.el (disassemble-internal):
414 * desktop.el (desktop-load-file):
415 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
416 (describe-function-1):
417 * emacs-lisp/find-func.el (find-function-noselect):
418 * emacs-lisp/elp.el (elp-instrument-function):
419 * emacs-lisp/advice.el (ad-has-proper-definition):
420 * apropos.el (apropos-safe-documentation, apropos-macrop):
421 * emacs-lisp/debug.el (debug-on-entry):
422 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
423 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
424 * calc/calc.el (name): Use autoloadp & autoload-do-load.
425
426 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
427
428 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
429 function, not an obsolete variable (Bug#12046).
430
431 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
432
433 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
434
435 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
436
437 * emacs-lisp/pp.el (pp-display-expression): Select old selected
438 window only if it is still live (Bug#12034).
439
440 2012-07-25 Martin Rudalics <rudalics@gmx.at>
441
442 * subr.el (redirect-frame-focus): Add advertised calling
443 convention (Bug#12030).
444
445 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
446
447 Prefer typical American spelling for "acknowledgment".
448 * vc/add-log.el (change-log-acknowledgment): Rename from
449 change-log-acknowledgement, with an alias for the old name.
450
451 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
452
453 * calc-alg.el (math-simplify-divide): Don't cross multiply
454 in an equation when the lhs is a variable.
455
456 2012-07-24 Julien Danjou <julien@danjou.info>
457
458 * net/netrc.el (netrc-find-service-number, netrc-store-data):
459 Remove, unused.
460
461 2012-07-23 Eli Zaretskii <eliz@gnu.org>
462
463 * startup.el (command-line): Don't display an empty user name in
464 the error message about non-existent home directory, when
465 init-file-user was set to an empty string. See
466 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
467 for the details and context.
468
469 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
470
471 * ses.el (ses-cell-formula-aset): New macro.
472 (ses-cell-references-aset): New macro.
473 (ses-cell-p): New function.
474 (ses-rename-cell): Do no longer rely on complex operations like
475 ses-cell-set-formula or ses-set-cell to change the cell and handle
476 the undo at the same time, but rather use lower level new macros
477 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
478 the undo directly. Refresh the mode line.
479
480 2012-07-21 Leo Liu <sdl.web@gmail.com>
481
482 * progmodes/cc-cmds.el (c-defun-name):
483 Use match-string-no-properties instead for consistency.
484
485 2012-07-20 Leo Liu <sdl.web@gmail.com>
486
487 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
488 (Bug#7879)
489
490 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
491
492 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
495 * progmodes/bug-reference.el, misearch.el: Provide themselves
496 (bug#11915).
497
498 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
499 of narrowed buffer (bug#11966).
500
501 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
502
503 * ses.el (ses-rename-cell): Set new name also in reference list of
504 cells of which the renamed cell depends.
505
506 2012-07-20 Masatake YAMATO <yamato@redhat.com>
507
508 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
509 to check whether menu-bar is shown or not. If not shown,
510 show the menu-bar as a popup menu instead of using tmm.
511 * mouse.el (popup-menu): Accept `point' as `position' argument.
512
513 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
514
515 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
516 up inside string symbol literal (bug#11923).
517
518 2012-07-20 Eli Zaretskii <eliz@gnu.org>
519
520 * startup.el (fancy-startup-text): Read the whole tutorial, not
521 just its first 256 bytes. Prevents gibberish in display of the
522 tutorial title.
523
524 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
525
526 Drop idle buffer compaction due to an absence of the
527 proved efficiency.
528 * compact.el: Remove.
529
530 2012-07-19 Sam Steingold <sds@gnu.org>
531
532 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
533 vc-bzr-pull & vc-bzr-merge-branch.
534 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
535 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
536 for consistency with compilation-error-regexp-alist.
537 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
538 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
539 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
540 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
541
542 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * emacs-lisp/chart.el: Use lexical-binding.
545 (chart-emacs-storage): Don't hardcode the list of entries.
546
547 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
548
549 Next round of tweaks caused by Fgarbage_collect changes.
550 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
551
552 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
553
554 Compact buffers when idle.
555 * compact.el: New file.
556
557 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
558
559 * subr.el (eventp): Presume that if it looks vaguely like an event,
560 it's an event (bug#10190).
561
562 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
563
564 Enhancements to ppss related code (thanks Stefan).
565 * progmodes/python.el (python-indent-context)
566 (python-indent-calculate-indentation, python-indent-dedent-line)
567 (python-indent-electric-colon, python-nav-forward-block)
568 (python-mode-abbrev-table)
569 (python-info-assignment-continuation-line-p): Simplify checks
570 for ppss context.
571 (python-info-continuation-line-p): Cleanup.
572 (python-info-ppss-context): Do not catch 'quote.
573 (python-info-ppss-context-type)
574 (python-info-ppss-comment-or-string-p): Simplify.
575
576 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
577
578 * progmodes/python.el: Enhancements to eldoc support.
579 (python-info-current-symbol): New function.
580 (python-eldoc-at-point): Use python-info-current-symbol.
581 (python-info-current-defun): Fix cornercase on first defun scan.
582 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
583 and signal error when no inferior python process is available.
584
585 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
586
587 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
588 assume it's always t.
589 (vc-git-registered): Remove caching, the function is only called
590 once.
591 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
592
593 2012-07-18 Chong Yidong <cyd@gnu.org>
594
595 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
596
597 * simple.el (count-words): Report on narrowing (Bug#9959).
598
599 * bindings.el: Bind M-= to count-words.
600
601 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
602
603 2012-07-18 Masatake YAMATO <yamato@redhat.com>
604
605 * progmodes/sh-script.el (sh-imenu-generic-expression):
606 Capture a function with `function' keyword and without parentheses
607 like "function FOO" (bug#11856).
608
609 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
610
611 * window.el (split-window-sensibly): Make WINDOW argument
612 optional.
613
614 2012-07-18 Chong Yidong <cyd@gnu.org>
615
616 * subr.el (keyboard-translate): Doc fix (Bug#7261).
617
618 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
619 and make C-x 8 RET exit isearch (Bug#11439).
620
621 * international/iso-transl.el: Move isearch-mode-map key
622 definitions to isearch.el.
623
624 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
627 (eieio-defclass): Use gv-define-setter when possible.
628
629 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
630
631 Reflect recent changes in Fgarbage_collect.
632 * emacs-lisp/chart.el (chart-emacs-storage): Change to
633 reflect new format of data returned by Fgarbage_collect.
634
635 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
636
637 New utility functions + python-info-ppss-context fix (Bug#11910).
638 * progmodes/python.el (python-info-beginning-of-block-statement-p)
639 (python-info-ppss-comment-or-string-p): New functions.
640 (python-info-ppss-context): Small fix for string check.
641
642 2012-07-17 Juri Linkov <juri@jurta.org>
643
644 * dired-aux.el (dired-do-async-shell-command): Doc fix.
645 (dired-do-async-shell-command): Don't add `*' at the end of the
646 command (Bug#11815).
647 (dired-do-shell-command): Doc fix.
648 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
649 Join the individual commands using either "&" or ";" as the
650 separator depending on the values of these trailing characters.
651 At the end re-add the trailing "&". (Bug#10598)
652
653 * simple.el (async-shell-command): Sync the interactive spec with
654 `shell-command'. Doc fix.
655 (shell-command): Doc fix.
656
657 2012-07-17 Juri Linkov <juri@jurta.org>
658
659 * descr-text.el (describe-char): Fix format args. (Bug#10129)
660
661 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
662
663 Final renames and doc fixes for movement commands (bug#11899).
664 * progmodes/python.el (python-nav-beginning-of-statement):
665 Rename from python-nav-statement-start.
666 (python-nav-end-of-statement): Rename from
667 python-nav-statement-end.
668 (python-nav-beginning-of-block): Rename from
669 python-nav-block-start.
670 (python-nav-end-of-block): Rename from python-nav-block-end.
671
672 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
673
674 * progmodes/python.el (python-shell-send-string-no-output):
675 Allow accept-process-output to quit, keeping shell process ready for
676 future interactions (Bug#11868).
677
678 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
681
682 * emacs-lisp/elint.el (elint-find-args-in-code):
683 Use help-function-arglist, so as to handle lexical byte-code.
684
685 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
686 change (bug#11826).
687
688 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
691 Avoid spuriously marking the buffer as modified because of c-is-sws.
692
693 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
694 as not-a-comment (bug#11946).
695
696 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
697 for uninterned vars.
698
699 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
700 Use read-event since we don't really want to read chars but bytes.
701
702 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
703 $$..$$ but also $..$ using regexps (bug#11953).
704 Use tex-verbatim for \url and \path.
705 (tex-font-lock-keywords): Define as defconst like the others.
706 (tex-common-initialization): Don't use font-lock-syntax-table any more.
707
708 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
709
710 * international/mule-cmds.el (ucs-insert): Make it an obsolete
711 alias for insert-char.
712
713 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
714
715 * progmodes/python.el: Simplified imenu implementation.
716 (python-nav-jump-to-defun): Remove command.
717 (python-mode-map): Use `imenu' instead.
718 (python-nav-list-defun-positions-cache)
719 (python-imenu-include-defun-type, python-imenu-make-tree)
720 (python-imenu-subtree-root-label, python-imenu-index-alist):
721 Remove vars.
722 (python-nav-list-defun-positions, python-nav-read-defun)
723 (python-imenu-tree-assoc, python-imenu-make-element-tree)
724 (python-imenu-make-tree, python-imenu-create-index):
725 Remove functions.
726 (python-mode): Update to interact with imenu by setting
727 `imenu-extract-index-name-function' only.
728
729 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
730
731 * progmodes/python.el: Enhancements to navigation commands.
732 (python-nav-backward-sentence)
733 (python-nav-forward-sentence): Remove.
734 (python-nav-backward-statement, python-nav-forward-statement)
735 (python-nav-statement-start, python-nav-statement-end)
736 (python-nav-backward-block, python-nav-forward-block)
737 (python-nav-block-start, python-nav-block-end)
738 (python-nav-forward-sexp-function)
739 (python-info-current-line-comment-p)
740 (python-info-current-line-empty-p): New functions.
741 (python-indent-context): Use `python-nav-statement-start'.
742
743 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
744
745 * eshell/em-ls.el (eshell/ls): Use `apply'.
746
747 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
748 multi-hops, instead of Tramp internals.
749
750 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
751
752 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
753 when F1 and F2 are located on different hosts.
754
755 2012-07-14 Chong Yidong <cyd@gnu.org>
756
757 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
758 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
759 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
760 (xterm-mouse--read-event-sequence-1000)
761 (xterm-mouse--read-event-sequence-1006): New functions. For old
762 mouse protocol, handle M-mouse-X events correctly.
763 (xterm-mouse-event): New arg specifying mouse protocol.
764 (turn-on-xterm-mouse-tracking-on-terminal)
765 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
766 sequence to toggle extended coordinates on newer XTerms.
767 This appears to be harmless on terminals which do not support this.
768
769 2012-07-14 Leo Liu <sdl.web@gmail.com>
770
771 Add fringe bitmap indicators for flymake. (Bug#11253)
772 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
773 (flymake-make-overlay): New arg BITMAP.
774 (flymake-error-bitmap, flymake-warning-bitmap)
775 (flymake-fringe-indicator-position): New user variables.
776
777 * fringe.el: New bitmap exclamation-mark.
778
779 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
780
781 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
782 also (Bug#7879).
783
784 2012-07-14 Chong Yidong <cyd@gnu.org>
785
786 * electric.el (electric-pair-post-self-insert-function): Fix pair
787 insertion in empty-region case (Bug#11520).
788
789 2012-07-14 Chong Yidong <cyd@gnu.org>
790
791 * bindings.el: Consolidate ctl-x-r-map bindings.
792 Bind copy-rectangle-as-kill to C-x r w.
793
794 * rect.el, register.el: Move bindings to bindings.el.
795
796 2012-07-14 Reuben Thomas <rrt@sc3d.org>
797
798 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
799
800 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
801
802 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
803
804 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
805
806 * bindings.el (top): Use `mapc' instead of `mapcar'.
807
808 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
809
810 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
811
812 * progmodes/sql.el (sql-comint): Suppress the check for program on
813 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
814 (Bug#11908)
815
816 2012-07-13 Chong Yidong <cyd@gnu.org>
817
818 * bindings.el: Assign a non-nil permanent-local property to
819 per-buffer variables which lack a default value (Bug#11930).
820
821 * help-fns.el (describe-variable): In the "automatically becomes
822 local" notice, take note of permanent-local variables.
823
824 2012-07-13 Chong Yidong <cyd@gnu.org>
825
826 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
827 to allow printing the message when called from Lisp.
828
829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
830 Remove toggle-read-only.
831
832 * bs.el (bs-toggle-readonly):
833 * buff-menu.el (Buffer-menu-toggle-read-only):
834 Remove with-no-warnings around toggle-read-only.
835
836 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
837 Remove with-no-warnings around toggle-read-only.
838 (ffap-read-only, ffap-read-only-other-window)
839 (ffap-read-only-other-frame): Callers changed.
840
841 * help-mode.el: Don't require view package.
842 (help-mode-finish): Set buffer-read-only instead of calling
843 toggle-read-only.
844
845 * bindings.el (mode-line-toggle-read-only):
846 * dired.el (dired-toggle-read-only):
847 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
848 with non-nil second arg.
849
850 * emacs-lisp/eieio-custom.el (eieio-customize-object):
851 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
852 directly.
853
854 2012-07-12 Eli Zaretskii <eliz@gnu.org>
855
856 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
857 not incf.
858
859 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 More CL cleanups and reduction of use of cl.el.
862 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
863 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
864 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
865 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
866 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
867 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
868 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
869 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
870 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
871 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
872 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
873 * eshell/em-cmpl.el, eshell/em-banner.el:
874 * calendar/parse-time.el: Use cl-lib.
875 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
876 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
877 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
878 * term/ns-win.el, term.el, shell.el, ps-samp.el:
879 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
880 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
881 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
882 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
883 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
884 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
885 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
886 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
887 `lambda' rather than with `quote'.
888 (eshell-do-opt): Adjust accordingly.
889 (eshell-process-option): Simplify.
890 * eshell/esh-var.el:
891 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
892 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
893 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
894 to `pcase--dontcare'.
895 * emacs-lisp/cl.el (labels): Mark obsolete.
896 (cl--letf, letf): Move to cl-lib.
897 (cl--letf*, letf*): Remove.
898 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
899 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
900 (cl-progv): Rewrite.
901 (cl--letf, cl-letf): Move from cl.el.
902 (cl-letf*): New macro.
903 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
904
905 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
906
907 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
908
909 2012-07-11 Chong Yidong <cyd@gnu.org>
910
911 * vc/log-edit.el (log-edit-vc-backend): New variable.
912 (log-edit): Doc fix.
913
914 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
915 argument of log-edit to set up all local variables.
916 (vc-start-logentry): New optional arg specifying VC backend.
917
918 * vc/vc.el (vc-checkin): Use it.
919 (vc-deduce-fileset): Handle Log Edit buffers.
920 (vc-diff): Make first argument optional too.
921
922 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
923
924 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
925
926 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
927 command, just in case. The function is not needed anymore.
928 (eshell-external-command): Do not call `eshell-remote-command'.
929
930 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 Reduce use of (require 'cl).
933 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
934 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
935 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
936 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
937 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
938 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
939 * battery.el, avoid.el, abbrev.el: Use cl-lib.
940 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
941 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
942 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
943 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
944 * calculator.el, autorevert.el, apropos.el: Don't require CL.
945 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
946 (byte-compile-unfold-bcf, byte-compile-check-variable):
947 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
948 (byte-compile-nilconstp):
949 * emacs-lisp/autoload.el (make-autoload): Use pcase.
950 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
951
952 * emacs-lisp/gv.el (cond): Make it a valid place.
953 (if): Simplify slightly.
954
955 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
956 (pcase--self-quoting-p): New function.
957 (pcase--u1): Use it.
958
959 2012-07-10 Glenn Morris <rgm@gnu.org>
960
961 * emacs-lisp/authors.el (authors-fixed-entries):
962 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
963
964 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
965
966 Rename configure.in to configure.ac (Bug#11603).
967 * emacs-lisp/authors.el (authors-canonical-file-name):
968 * progmodes/autoconf.el (autoconf-mode):
969 Prefer configure.ac to configure.in.
970
971 2012-07-08 Chong Yidong <cyd@gnu.org>
972
973 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
974 Implement the mouse-1-click-follows-link handling properly.
975
976 * info.el (Info-link-keymap): Use follow-link mechanism for
977 header-line links (Bug#374).
978
979 * simple.el (deactivate-mark): Do not set the primary selection
980 if another program has acquired it (Bug#11772).
981
982 2012-07-07 Kevin Ryde <user42@zip.com.au>
983
984 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
985 (woman-decode-region): Replace escaped-escapes without destroying
986 bold or underline (Bug#11552).
987 (woman2-process-escapes): Handle nofill regions (Bug#11591).
988
989 2012-07-07 Chong Yidong <cyd@gnu.org>
990
991 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
992 (interprogram-cut-function, interprogram-paste-function):
993 Mention that we typically mean the clipboard.
994
995 2012-07-06 Glenn Morris <rgm@gnu.org>
996
997 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
998
999 * files.el (toggle-read-only): Restrict message to interactive use.
1000
1001 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1002
1003 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1004
1005 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1006
1007 2012-07-06 Glenn Morris <rgm@gnu.org>
1008
1009 * Makefile.in (compile-one-process): Rename from "recompile".
1010
1011 * Makefile.in (bzr-update): "compile" is the same as "recompile
1012 autoloads", but parallelizable, so use that instead.
1013
1014 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1015
1016 * window.el (quit-window): Always restore window height when
1017 it's saved in quit-restore parameter (Bug#11810).
1018
1019 2012-07-06 Glenn Morris <rgm@gnu.org>
1020
1021 * simple.el (kill-whole-line): Doc tweak.
1022
1023 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1024
1025 * files.el (file-relative-name): Compare file names
1026 case-insensitively if on MS-Windows or MS-DOS, or if
1027 read-file-name-completion-ignore-case is non-nil. Don't use
1028 case-fold-search for this purpose. (Bug#11827)
1029
1030 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1031
1032 * calendar/cal-dst.el (calendar-current-time-zone):
1033 Return calendar-current-time-zone-cache if non-nil.
1034
1035 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1036 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1037
1038 * calendar/cal-dst.el (calendar-current-time-zone):
1039 Return calendar-current-time-zone-cache if non-nil.
1040
1041 2012-07-06 Glenn Morris <rgm@gnu.org>
1042
1043 * Makefile.in (cvs-update): Remove old alias.
1044
1045 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1046
1047 Sync with Tramp 2.2.6-pre.
1048
1049 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1050 compatible declaration.
1051
1052 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1053 Protect `list-load-path-shadows' call.
1054
1055 * net/tramp-compat.el (top): Require packages, which aren't
1056 autoloaded anymore for XEmacs. Protect call of
1057 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1058 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1059 it hurts at least for SXEmacs.
1060 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1061 standard-value for `temporary-file-directory'.
1062
1063 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1064 Redirect stderr to /dev/null.
1065 (tramp-sh-handle-write-region): uid and gid can be floats.
1066 Reported by Russell Sim <russell.sim@gmail.com>.
1067 (tramp-sh-handle-vc-registered): Hide errors.
1068 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1069 and `start-file-process'.
1070 (tramp-maybe-open-connection): Check also whether `non-essential'
1071 is bound.
1072
1073 2012-07-04 Chong Yidong <cyd@gnu.org>
1074
1075 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1076 (xml-parse-tag): Likewise, and avoid changing entity tables.
1077 (xml-syntax-table): Define from scratch, making sure not to give
1078 x2000 and other Unicode spaces whitespace syntax, since those are
1079 not spaces in XML.
1080 (xml-parse-fragment): Delete unused function.
1081 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1082 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1083 (xml-entity-ref, xml-pe-reference-re)
1084 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1085 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1086 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1087 (xml-entity-value-re): Use syntax references in regexps where
1088 possible; no need to define inside a let-binding.
1089 (xml-parse-dtd): Use xml-pe-reference-re.
1090 (xml-entity-or-char-ref-re): New defconst.
1091 (xml-parse-string, xml-substitute-special): Use it.
1092
1093 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1096 (find-file--read-only): New function.
1097 (find-file-read-only, find-file-read-only-other-window)
1098 (find-file-read-only-other-frame): Use it.
1099 (insert-file-contents-literally): Don't `fset'.
1100 (get-free-disk-space): Use locate-dominating-file.
1101
1102 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1103 function is already compiled.
1104
1105 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1106
1107 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1108
1109 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1110 files on the same host.
1111
1112 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1113
1114 * help-fns.el (describe-function-1): Only call
1115 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1116
1117 2012-07-03 Chong Yidong <cyd@gnu.org>
1118
1119 * xml.el: Protect parser against XML bombs.
1120 (xml-entity-expansion-limit): New variable.
1121 (xml-parse-string, xml-substitute-special): Use it.
1122 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1123
1124 2012-07-03 Glenn Morris <rgm@gnu.org>
1125
1126 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1127 Allow linking to specific messages in debbugs reports (eg 123#5).
1128
1129 2012-07-02 Chong Yidong <cyd@gnu.org>
1130
1131 * xml.el: Fix entity and character reference expansion, allowing
1132 them to expand into markup as per XML spec.
1133 (xml-default-ns): New variable.
1134 (xml-entity-alist): Use XML spec definitions for lt and amp.
1135 (xml-parse-region): Make first two arguments optional.
1136 Discard text properties.
1137 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1138 All callers changed.
1139 (xml-parse-tag): Call xml-parse-tag-1. For backward
1140 compatibility, this function should not modify buffer contents.
1141 (xml-parse-tag-1): Fix opening-tag regexp.
1142 (xml-parse-string): Rewrite, handling entity and character
1143 references properly.
1144 (xml--entity-replacement-text): Signal an error if a parameter
1145 entity is undefined.
1146
1147 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * comint.el (comint-output-filter): Filter out repeated prompts.
1150
1151 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1152 and file-name-absolute-p.
1153 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1154 internal calls.
1155
1156 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1157
1158 Spelling fixes.
1159 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1160 Rename from byte-compile--refiy-function. All uses changed.
1161
1162 2012-07-01 Chong Yidong <cyd@gnu.org>
1163
1164 * xml.el (xml--parse-buffer): New function. Move most of
1165 xml-parse-region here.
1166 (xml-parse-region): Copy region into a temporary buffer, since
1167 parameter entity substitution requires changing buffer contents.
1168 Use xml--parse-buffer.
1169 (xml-parse-file): Use xml--parse-buffer.
1170 (xml-parse-dtd): Make parameter entity substitution work right.
1171 Use proper regexps for ELEMENT declarations (Bug#7172).
1172
1173 2012-06-30 Glenn Morris <rgm@gnu.org>
1174
1175 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1176
1177 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1178 Remove outdated and unnecessary dbus declarations.
1179
1180 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1181
1182 * emacs-lisp/timer.el (timer-until): Subtract results of
1183 float-time, instead of taking float-time of the result of
1184 time-subtract, since float-time signals an error for negative time
1185 arguments.
1186
1187 2012-06-30 Chong Yidong <cyd@gnu.org>
1188
1189 * xml.el (xml-*-re): Convert defvars into defconsts, and
1190 eval-and-compile them so eval-and-compile works on derivatives.
1191 (xml--entity-replacement-text): Use eval-and-comple.
1192
1193 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1194
1195 * vc/vc-git.el (vc-git-registered): Use cache property
1196 `git-registered'.
1197 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1198 `vc-git-working-revision' in order to benefit from the cache.
1199 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1200
1201 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1202
1203 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1204 removed (likely outside Emacs). (Bug#11757)
1205
1206 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1207
1208 * emacs-lisp/cl-lib.el: Require macroexp.
1209
1210 2012-06-30 Chong Yidong <cyd@gnu.org>
1211
1212 * xml.el: Implement XML parameter entities.
1213 (xml-parameter-entity-alist): New variable.
1214 (xml-parse-region, xml-parse-fragment): Preserve previous values
1215 of xml-entity-alist and xml-parameter-entity-alist, so that
1216 repeated calls on different documents do not change them.
1217 (xml-parse-tag): Fix doctype regexp.
1218 (xml--entity-replacement-text): New function.
1219 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1220 properly requires url retrieval which is unimplemented.
1221 (xml-escape-string): Doc fix.
1222
1223 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1226
1227 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1228
1229 * fringe.el (fringe-mode): Doc fix.
1230
1231 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1232
1233 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1234 is non-nil.
1235 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1236 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1237
1238 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1239
1240 * calendar/cal-dst.el (calendar-current-time-zone):
1241 Return calendar-current-time-zone-cache if non-nil.
1242
1243 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1244
1245 * progmodes/which-func.el (which-func-format):
1246 Add mouse-face. (Bug#11698)
1247
1248 2012-06-29 Leo Liu <sdl.web@gmail.com>
1249
1250 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1251
1252 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * minibuffer.el (minibuffer-confirm-exit-commands):
1255 Add completion-at-point (bug#11725).
1256
1257 2012-06-29 Glenn Morris <rgm@gnu.org>
1258
1259 * progmodes/f90.el (f90-font-lock-keywords-2):
1260 Add some preprocessor elements. (Bug#10499)
1261
1262 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1265 Use syntax-propertize (bug#11739).
1266
1267 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1268
1269 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1270
1271 2012-06-28 Julien Danjou <julien@danjou.info>
1272
1273 * term.el (term-handle-colors-array): Use a set of new faces to
1274 color the terminal. Also uses :inverse-video property.
1275 (term-default-fg-color): Set to nil by default, deprecate in favor
1276 of `term-face'.
1277 (term-default-bg-color): Set to nil by default, deprecate in favor
1278 of `term-face'.
1279 (term-current-face): Use `term-face' by default.
1280 (term-bold-attribute): Variable deleted.
1281
1282 2012-06-28 Glenn Morris <rgm@gnu.org>
1283
1284 * simple.el (completion-list-mode-finish):
1285 Don't use toggle-read-only. (Since completion-list-mode has
1286 a special mode-class, it wasn't doing anything extra anyway.)
1287
1288 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 Make inlining of other-mode interpreted functions work (bug#11799).
1291 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1292 (byte-compile): Use it to fix compilation of lexical-binding closures.
1293 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1294 function, if needed.
1295
1296 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * help-mode.el (help-make-xrefs): Don't just withstand
1299 cyclic-variable-indirection but any error in documentation-property.
1300
1301 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1302 memory use.
1303 * bindings.el (bindings--define-key): New function.
1304 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1305 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1306 * bindings.el: Use it to purecopy define-key bindings.
1307
1308 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1309
1310 * emacs-lisp/cl.el (flet): Mark obsolete.
1311 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1312 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1313 * progmodes/js.el (js-c-fill-paragraph):
1314 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1315 (ebrowse-switch-member-buffer-to-derived-class):
1316 * play/5x5.el (5x5-solver): Use cl-flet.
1317
1318 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1319 (cl--symbol-function): New macro.
1320 (cl--letf, cl--letf*): Use it.
1321
1322 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1323 Strip "toggle-" if any.
1324
1325 2012-06-27 Glenn Morris <rgm@gnu.org>
1326
1327 * info.el (Info-default-directory-list): Move here from paths.el.
1328 * paths.el: Remove file, which is now empty.
1329 * loadup.el: No longer load "paths".
1330
1331 * custom.el (custom-initialize-delay): Doc fix.
1332
1333 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1334 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1335 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1336 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1337 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1338 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1339 * eshell/eshell.el (eshell-defgroup): Remove alias.
1340
1341 2012-06-27 Chong Yidong <cyd@gnu.org>
1342
1343 * help.el (help-enable-auto-load): New variable.
1344
1345 * help-fns.el (help-fns--autoloaded-p): New function.
1346 (describe-function-1): Refer to a function as "autoloaded" if it
1347 was autoloaded at any time in the past. Perform autoloading if
1348 help-enable-auto-load is non-nil.
1349
1350 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1351
1352 * makefile.w32-in (compile, compile-always): Depend on
1353 update-subdirs, not on subdirs.el. Otherwise, several different
1354 sub-targets of 'bootstrap' running in parallel could
1355 simultaneously write to subdirs.el, producing a garbled file.
1356
1357 2012-06-26 Sam Steingold <sds@gnu.org>
1358
1359 * files.el (file-name-base): New convenience function.
1360 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1361 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1362 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1363 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1364 * textmodes/ispell.el, textmodes/reftex-ref.el:
1365 * textmodes/tex-mode.el: Use it.
1366 Did not touch cedet and org because they are maintained elsewhere.
1367
1368 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1369
1370 * calendar/calendar.el (calendar-exit): Don't try to delete or
1371 iconify last frame. See:
1372 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1373
1374 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1375
1376 * server.el (server-process-filter): Remember dir in the
1377 process's `server-client-directory' properties.
1378
1379 2012-06-24 Chong Yidong <cyd@gnu.org>
1380
1381 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1382 non-tag text.
1383
1384 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1385
1386 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1387
1388 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * help-fns.el (describe-variable): Don't croak when doc is not found.
1391 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1392 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1393 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1394 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1395 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1396 ((lambda ..) ..).
1397 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1398
1399 2012-06-23 Chong Yidong <cyd@gnu.org>
1400
1401 * info.el (Info-mouse-follow-link): Accept symbol values of
1402 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1403 (Info-fontify-node): Use Info-link-keymap for all navigation
1404 buttons, with link-args property to perform the desired action.
1405 (Info-link-keymap): Doc fix.
1406 (Info-next-link-keymap, Info-prev-link-keymap)
1407 (Info-up-link-keymap): Delete now-unused keymaps.
1408
1409 2012-06-23 Chong Yidong <cyd@gnu.org>
1410
1411 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1412
1413 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1414 system abbrevs.
1415
1416 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1417
1418 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1421 (bug#11719).
1422
1423 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1424 the requote function doesn't work properly (bug#11714).
1425
1426 2012-06-23 Glenn Morris <rgm@gnu.org>
1427
1428 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1429
1430 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 Further GV/CL cleanups.
1433 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1434 gv-expander.
1435 (gv--defun-declaration): New function.
1436 (defun-declarations-alist): Use it.
1437 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1438 (gv-place): Autoload.
1439 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1440 original definition of dotimes and dolist.
1441 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1442 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1443 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1444 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1445 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1446 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1447 to the function's definition.
1448 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1449 * window.el:
1450 * files.el:
1451 * faces.el:
1452 * env.el: Don't use CL.
1453
1454 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1455
1456 Support higher-resolution time stamps (Bug#9000).
1457
1458 * calendar/time-date.el (with-decoded-time-value): New arg
1459 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1460 (encode-time-value): New optional arg PICO. New type 3.
1461 (time-to-seconds) [!float-time]: Support the new picoseconds
1462 component if it's used.
1463 (seconds-to-time, time-subtract, time-add):
1464 Support ps-resolution time stamps as well.
1465
1466 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1467 (timerp): Timer vectors now have length 9, not 8.
1468 (timer--time): Support new-style (4-part) time stamps.
1469 (timer-next-integral-multiple-of-time): Time stamps now have
1470 picosecond resolution, so take a bit more care about rounding.
1471 (timer-relative-time, timer-inc-time): New optional arg psecs.
1472 (timer-set-time-with-usecs): Set psecs to 0.
1473 (timer--activate): Check psecs component, too.
1474
1475 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1476
1477 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1478
1479 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1480 Move the non-essential binding to the post/pre-command-hook where it is
1481 more obviously correct.
1482
1483 * subr.el (read-passwd): Don't use a history at all.
1484 * savehist.el (savehist-save): Remove password saved accidentally
1485 because of the above bug.
1486
1487 2012-06-22 Bastien Guerry <bzg@gnu.org>
1488
1489 * files.el (toggle-read-only): Display a message telling whether
1490 the buffer is read-only or not (bug#11726).
1491
1492 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * emacs-lisp/gv.el: New file.
1495 * subr.el (push, pop): Extend to generalized variables.
1496 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1497 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1498 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1499 gv-define-simple-setter, and gv-define-expander.
1500 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1501 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1502 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1503 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1504 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1505 gv-letplace.
1506 (cl-defstruct): Don't define setf-method any more.
1507 * emacs-lisp/cl.el (flet): Don't autoload.
1508 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1509 (define-setf-expander, defsetf, define-modify-macro)
1510 (cl-struct-setf-expander): Move from cl-lib.el.
1511 * emacs-lisp/syntax.el:
1512 * emacs-lisp/ewoc.el:
1513 * emacs-lisp/smie.el:
1514 * emacs-lisp/cconv.el:
1515 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1516 (timer--time): Use gv-define-simple-setter.
1517 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1518 to avoid coding-system problems in subr.el. Adjust all users.
1519 (macroexp--maxsize, macroexp-small-p): New functions.
1520 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1521 * scroll-bar.el (scroll-bar-mode):
1522 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1523 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1524 * winner.el (winner-configuration, winner-make-point-alist)
1525 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1526 * files.el (locate-file-completion-table): Avoid list*.
1527
1528 2012-06-22 Chong Yidong <cyd@gnu.org>
1529
1530 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1531 (dired-create-files): Doc fix (Bug#11329).
1532 (dired-do-copy): Doc fix (Bug#11334).
1533 (dired-mark-read-string): Doc fix (Bug#11553).
1534
1535 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1536 Doc fix (Bug#11326).
1537 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1538 (dired-dwim-target): Doc fix.
1539
1540 * wdired.el (wdired-mode): Doc fix.
1541
1542 2012-06-22 Glenn Morris <rgm@gnu.org>
1543
1544 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1545 (pcmpl-rpm-cache-stamp-file): New constant.
1546 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1547 (pcmpl-rpm-packages): Optionally cache list of packages.
1548
1549 * pcmpl-rpm.el (pcmpl-rpm): New group.
1550 (pcmpl-rpm-query-options): New option.
1551 (pcmpl-rpm-packages): No need to inline it.
1552 Use pcmpl-rpm-query-options.
1553
1554 * calendar/calendar.el (calendar-in-read-only-buffer):
1555 Avoid some needless mode changes.
1556
1557 2012-06-21 Chong Yidong <cyd@gnu.org>
1558
1559 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1560 (desktop-path): Remove . from the default value (Bug#10977).
1561 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1562
1563 2012-06-20 Chong Yidong <cyd@gnu.org>
1564
1565 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1566
1567 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1568
1569 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1570 (bug#11201).
1571
1572 2012-06-20 Chong Yidong <cyd@gnu.org>
1573
1574 * term.el (term-window-width): Handle the case of a missing right
1575 fringe (Bug#8837).
1576 (term-check-size): Use window-text-height (Bug#5445).
1577 (term-mode): Use define-derived-mode. Minor cleanups.
1578 Set font-lock-defaults (Bug#7692).
1579 (term-move-columns, term-insert-char, term-emulate-terminal)
1580 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1581
1582 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1583
1584 * net/ange-ftp.el (ange-ftp-get-passwd):
1585 Bind `enable-recursive-minibuffers'.
1586 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1587
1588 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1589
1590 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1591
1592 2012-06-19 Glenn Morris <rgm@gnu.org>
1593
1594 * progmodes/python.el (python-mode): Derive from prog-mode.
1595
1596 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1597
1598 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1599 (edt-user-menu-bar-update-buffers): New functions.
1600 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1601
1602 2012-06-19 Chong Yidong <cyd@gnu.org>
1603
1604 * subr.el (with-selected-window): Preserve the selected window's
1605 terminal's top-frame (Bug#4702).
1606
1607 * window.el (save-selected-window): Likewise.
1608
1609 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * progmodes/python.el (python-rx-constituents): Move backquote.
1612 (python-skeleton-define, python-define-auxiliary-skeleton):
1613 Use `declare'.
1614
1615 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1616
1617 * minibuffer.el (read-file-name-default): Revert the patch from
1618 2012-06-17.
1619
1620 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1621
1622 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1623 (pcase--u1, pcase--q1): Don't use apply-partially.
1624
1625 2012-06-18 Glenn Morris <rgm@gnu.org>
1626
1627 * progmodes/python.el (python-proc, python-buffer)
1628 (python-send-receive, python-send-string): Fix obsolete versions.
1629
1630 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1631
1632 * window.el (special-display-p): Completely remove stringp
1633 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1634
1635 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1636
1637 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1638
1639 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1640
1641 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1642 * net/tramp-sh.el (tramp-maybe-open-connection):
1643 Throw if `non-essential' is non-nil.
1644
1645 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1646
1647 * window.el (special-display-p): Signal an error if BUFFER-NAME
1648 is not a string (Bug#11713).
1649
1650 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1651
1652 * progmodes/python.el (python-info-beginning-of-backslash):
1653 Rename from python-info-beginning-of-backlash, as a spelling fix.
1654
1655 2012-06-17 Chong Yidong <cyd@gnu.org>
1656
1657 * term.el (term-emulate-terminal): If term-check-size is called,
1658 move point to the process mark without resetting point (Bug#4635).
1659
1660 2012-06-17 Glenn Morris <rgm@gnu.org>
1661
1662 * international/mule-cmds.el (mule-menu-keymap)
1663 (set-language-environment, set-locale-environment): Doc tweaks.
1664
1665 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1666
1667 * cus-face.el (custom-face-attributes): Add wave-style underline
1668 attribute.
1669 * faces.el (set-face-attribute): Update docstring to describe
1670 wave-style underline attribute.
1671
1672 2012-06-16 Chong Yidong <cyd@gnu.org>
1673
1674 * term/xterm.el (terminal-init-xterm): Discard input before
1675 querying background mode (Bug#10959).
1676
1677 2012-06-16 Stefan Merten <smerten@oekonux.de>
1678
1679 * textmodes/rst.el: Added and corrected some comments.
1680 (rst-re-alist-def): Improve symbol syntax.
1681 (rst-mode-syntax-table): Correct syntax entries.
1682 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1683 (rst-official-version, rst-official-cvs-rev): Update version
1684 information.
1685
1686 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1687
1688 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1689 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1690
1691 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1692
1693 * progmodes/python.el: New python.el merge.
1694 (python-guess-indent): Obsolete var.
1695 (python-indent-guess-indent-offset): New defcustom.
1696 (python-indent): Obsolete var.
1697 (python-indent-offset): New defcustom.
1698 (python-python-command, python-jython-command): Delete var.
1699 (python-shell-interpreter): New defcustom.
1700 (python-pdbtrack-do-tracking-p): Delete var.
1701 (python-pdbtrack-activate): New defcustom.
1702 (python-use-skeletons): Obsolete var.
1703 (python-skeleton-autoinsert): New defcustom.
1704 (inferior-python-filter-regexp, python-continuation-offset)
1705 (python-honour-comment-indentation, python-indent-string-contents)
1706 (python-jython-packages, python-mode-hook)
1707 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1708 (python-shell-prompt-alist)
1709 (python-source-modes): Delete defcustoms.
1710 (python-check-buffer-name, python-eldoc-setup-code)
1711 (python-eldoc-string-code, python-ffap-setup-code)
1712 (python-ffap-string-code, python-fill-comment-function)
1713 (python-fill-decorator-function, python-fill-paren-function)
1714 (python-fill-string-function, python-imenu-include-defun-type)
1715 (python-imenu-make-tree, python-imenu-subtree-root-label)
1716 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1717 (python-shell-compilation-regexp-alist)
1718 (python-shell-completion-module-string-code)
1719 (python-shell-completion-pdb-string-code)
1720 (python-shell-completion-setup-code)
1721 (python-shell-completion-string-code)
1722 (python-shell-enable-font-lock, python-shell-exec-path)
1723 (python-shell-extra-pythonpaths)
1724 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1725 (python-shell-process-environment)
1726 (python-shell-prompt-block-regexp)
1727 (python-shell-prompt-output-regexp)
1728 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1729 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1730 (python-shell-virtualenv-path): New defcustoms.
1731 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1732 (inferior-python-mode-syntax-table, python--prompt-regexp)
1733 (python-buffer, python-command python-python-command)
1734 (python-default-template, python-imports, python-indent-index)
1735 (python-indent-list, python-indent-list-length)
1736 (python-mode-running, python-pdbtrack-is-tracking-p)
1737 (python-preoutput-continuation, python-preoutput-leftover)
1738 (python-preoutput-result, python-preoutput-skip-next-prompt)
1739 (python-prev-dir/file, python-recursing)
1740 (python-saved-check-command, python-version-checked)
1741 (python-which-func-length-limit)
1742 (view-return-to-alist): Delete vars.
1743 (python-check-custom-command, python-dotty-syntax-table)
1744 (python-imenu-index-alist, python-indent-current-level)
1745 (python-indent-dedenters, python-indent-levels)
1746 (python-nav-beginning-of-defun-regexp)
1747 (python-nav-list-defun-positions-cache)
1748 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1749 (python-shell-internal-buffer)
1750 (python-skeleton-available): New vars.
1751 (def-python-skeleton): Delete macro.
1752 (python-skeleton-define): New macro.
1753 (python-define-auxiliary-skeleton, python-rx): New macros.
1754 (python-insert-class): Delete command.
1755 (python-skeleton-class): New command.
1756 (python-insert-def): Delete command.
1757 (python-skeleton-def): New command.
1758 (python-insert-for): Delete command.
1759 (python-skeleton-for): New command.
1760 (python-insert-if): Delete command.
1761 (python-skeleton-if): New command.
1762 (python-insert-try/except, python-insert-try/finally): Delete commands.
1763 (python-skeleton-try): New command.
1764 (python-insert-while): Delete command.
1765 (python-skeleton-while): New command.
1766 (python-backspace): Delete command.
1767 (python-indent-dedent-line-backspace): New command.
1768 (python-electric-colon): Delete command.
1769 (python-indent-electric-colon): New command.
1770 (python-guess-indent): Delete command.
1771 (python-indent-guess-indent-offset): New command.
1772 (python-shift-left): Delete command.
1773 (python-indent-shift-left): New command.
1774 (python-shift-right): Delete command.
1775 (python-indent-shift-right): New command.
1776 (python-find-function): Delete command.
1777 (python-nav-jump-to-defun): New command.
1778 (python-next-statement): Delete command.
1779 (python-nav-forward-sentence): New command.
1780 (python-previous-statement): Delete command.
1781 (python-nav-backward-sentence): New command.
1782 (python-fill-paragraph): Delete command.
1783 (python-fill-paragraph-function): New command.
1784 (python-send-buffer): Delete command.
1785 (python-shell-send-buffer): New command.
1786 (python-send-defun): Delete command.
1787 (python-shell-send-defun): New command.
1788 (python-send-region, python-send-region-and-go): Delete commands.
1789 (python-shell-send-region)
1790 (python-shell-switch-to-shell): New commands.
1791 (python-send-string): Delete command.
1792 (python-shell-send-string): New command.
1793 (python-switch-to-python): Delete command.
1794 (python-shell-switch-to-shell): New command.
1795 (python-describe-symbol): Delete command.
1796 (python-eldoc-at-point): New command.
1797 (python--set-prompt-regexp, python-args-to-list)
1798 (python-after-info-look, python-check-version)
1799 (python-check-comint-prompt, python-find-imports)
1800 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1801 (python-unload-function, python-expand-template)
1802 (python-maybe-jython, python-preoutput-filter)
1803 (python-pdbtrack-get-source-buffer)
1804 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1805 (python-pdbtrack-toggle-stack-tracking)
1806 (python-pdbtrack-track-stack-file, python-initial-text)
1807 (python-first-word, python-comment-line-p, python-send-command)
1808 (python-setup-brm, python-sentinel, python-set-proc)
1809 (python-skip-out, python-input-filter, python-outdent-p)
1810 (python-outline-level, python-backslash-continuation-line-p)
1811 (python-end-of-block, python-end-of-statement, python-mark-block)
1812 (python-beginning-of-block, python-beginning-of-statement)
1813 (python-blank-line-p, python-beginning-of-string)
1814 (python-open-block-statement-p): Delete functions.
1815 (python-indent-line, python-indent-line-1): Delete functions.
1816 (python-indent-line): New function.
1817 (python-indentation-levels): Delete function.
1818 (python-indent-calculate-levels): New function.
1819 (python-proc): Delete function.
1820 (python-shell-get-process): New function.
1821 (python-send-receive): Delete function.
1822 (python-shell-send-string-no-output): New function.
1823 (python-module-path): Delete function.
1824 (python-ffap-module-path): New function.
1825 (python-completion-at-point)
1826 (python-symbol-completions): Delete functions.
1827 (python-completion-complete-at-point): New function.
1828 (python-load-file): Delete function.
1829 (python-shell-send-file): New function.
1830 (python-calculate-indentation): Delete function.
1831 (python-indent-calculate-indentation): New function.
1832 (python-skip-comments/blanks): Delete function.
1833 (python-util-forward-comment): New function.
1834 (python-continuation-line-p): Delete function.
1835 (python-info-continuation-line-p): New function.
1836 (python-which-func, python-current-defun): Delete function.
1837 (python-info-current-defun): New function.
1838 (python-beginning-of-defun): Delete function.
1839 (python-nav-beginning-of-defun): New function.
1840 (python-close-block-statement-p)
1841 (python-block-end-p): Delete function.
1842 (python-info-closing-block): New function.
1843 (python-comint-output-filter-function)
1844 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1845 (python-fill-comment, python-fill-decorator, python-fill-paren)
1846 (python-fill-string, python-imenu-make-element-tree)
1847 (python-imenu-make-tree, python-imenu-tree-assoc)
1848 (python-indent-context, python-indent-dedent-line)
1849 (python-indent-line-function)
1850 (python-indent-post-self-insert-function)
1851 (python-indent-toggle-levels)
1852 (python-info-assignment-continuation-line-p)
1853 (python-info-beginning-of-backlash)
1854 (python-info-block-continuation-line-p)
1855 (python-info-closing-block-message)
1856 (python-info-line-ends-backslash-p)
1857 (python-info-looking-at-beginning-of-defun)
1858 (python-info-ppss-context, python-info-ppss-context-type)
1859 (python-nav-list-defun-positions, python-nav-read-defun)
1860 (python-nav-sentence-end, python-nav-sentence-start)
1861 (python-pdbtrack-comint-output-filter-function)
1862 (python-pdbtrack-set-tracked-buffer)
1863 (python-shell-calculate-exec-path)
1864 (python-shell-calculate-process-environment)
1865 (python-shell-completion--do-completion-at-point)
1866 (python-shell-completion--get-completions)
1867 (python-shell-completion-complete-at-point)
1868 (python-shell-completion-complete-or-indent)
1869 (python-shell-get-or-create-process)
1870 (python-shell-get-process-name)
1871 (python-shell-internal-get-or-create-process)
1872 (python-shell-internal-get-process-name)
1873 (python-shell-internal-send-string, python-shell-make-comint)
1874 (python-shell-parse-command, python-shell-send-setup-code)
1875 (python-skeleton-add-menu-items)
1876 (python-util-clone-local-variables, python-util-position)
1877 (run-python-internal, python-indentation-levels)
1878 (python-nav-beginning-of-defun)
1879 (python-completion-complete-at-point): New functions.
1880 (run-python): Change arguments. New API requirements.
1881
1882 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
1885 (bug#11649).
1886
1887 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
1888 (macroexp--expand-all): Use it.
1889
1890 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
1891 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
1892 Use `cl-function' instead.
1893
1894 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
1895
1896 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
1897 Suggested by Stefan Monnier while discussing bug#11657.
1898
1899 2012-06-14 Sam Steingold <sds@gnu.org>
1900
1901 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
1902
1903 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
1904
1905 * play/doctor.el (doctor-doc): Remove parameter and use
1906 doctor-sent instead of sent.
1907 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
1908
1909 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * files.el: Require cl-lib.
1912 (file-name-non-special): Replace case -> cl-case.
1913
1914 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
1915
1916 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
1917 mapping from #' to function*.
1918
1919 2012-06-13 Chong Yidong <cyd@gnu.org>
1920
1921 * mouse.el (mouse-drag-track): Do not set the mark if the user
1922 releases the mouse without selecting anything (Bug#11588).
1923
1924 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1925
1926 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
1927 as well (bug#11646).
1928
1929 * loadup.el: Count byte-code functions as well.
1930
1931 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
1932 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
1933
1934 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
1935 (bug#11649). Add cl-defun and cl-defmacro.
1936
1937 2012-06-13 Drew Adams <drew.adams@oracle.com>
1938
1939 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1940 Fix last change.
1941
1942 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
1943
1944 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
1945 Otherwise, it blocks in batch mode.
1946
1947 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * help-mode.el (bookmark-make-record-default): Declare.
1950
1951 2012-06-13 Chong Yidong <cyd@gnu.org>
1952
1953 * emacs-lisp/package.el (list-packages): Compute a list of
1954 packages that are newly-available since the last list-packages
1955 invocation.
1956 (package-menu--new-package-list): New var.
1957 (package-menu--generate, package-menu--print-info)
1958 (package-menu--status-predicate, package-menu-mark-install):
1959 Handle new status label "new".
1960
1961 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
1964 conversion to backquotes.
1965
1966 2012-06-12 Chong Yidong <cyd@gnu.org>
1967
1968 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
1969 Rename from gud-inhibit-global-bindings.
1970
1971 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
1972
1973 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
1974 hook from nxml-glyph-set-hook.
1975
1976 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
1977 declaration.
1978
1979 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
1980
1981 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
1982 Convert to defcustom.
1983
1984 2012-06-12 Drew Adams <drew.adams@oracle.com>
1985
1986 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
1987 New functions.
1988 (help-mode): Use them.
1989
1990 2012-06-11 Glenn Morris <rgm@gnu.org>
1991
1992 * progmodes/fortran.el (fortran-font-lock-keywords-3):
1993 Use preprocessor face for directives.
1994 (fortran-directive-re): Doc fix.
1995
1996 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1997
1998 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
1999 conversion to backquotes (bug#11652).
2000
2001 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2002 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2003 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2004 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2005 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2006 (cl-ninth, cl-tenth): Mark them as inlinable.
2007 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2008 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2009 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2010 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2011 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2012 (cl-list*, cl-adjoin): Don't put an autoload manually.
2013 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2014 (cl--compiler-macro-list*): Add autoload cookie.
2015 (cl--compiler-macro-cXXr): New function.
2016
2017 * help-fns.el (help-fns--compiler-macro): New function extracted from
2018 describe-function-1; follow aliases and use `compiler-macro' property.
2019 (describe-function-1): Use it.
2020
2021 2012-06-11 Chong Yidong <cyd@gnu.org>
2022
2023 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2024 is uninstalled, if imagemagick is installed.
2025
2026 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2027
2028 * emacs-lisp/cl-lib.el: Use lexical-binding.
2029 (cl-map-extents, cl-maclisp-member): Remove.
2030 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2031 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2032 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2033 * emacs-lisp/cl-extra.el: Use lexical-binding.
2034 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2035 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2036 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2037 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2038 * emacs-lisp/cl-seq.el: Use lexical-binding.
2039 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2040 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2041 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2042 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2043 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2044 CL's internals.
2045
2046 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2047
2048 Sync with Tramp 2.2.6-pre.
2049
2050 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2051 `print-length' and `print-level' to nil, in order to avoid
2052 truncation. Reported by Christopher Schmidt
2053 <christopher@ristopher.com>.
2054
2055 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2056
2057 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2058 New defmacro.
2059 (tramp-compat-copy-directory): Add optional argument
2060 COPY-CONTENTS. It is not handled yet.
2061
2062 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2063 (tramp-ftp-file-name-p): Simplify.
2064
2065 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2066 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2067 connection vector.
2068
2069 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2070 (tramp-methods): Do not use `tramp-password-end-of-line'.
2071 (tramp-completion-function-alist-putty): Handle UNIX case.
2072 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2073 (tramp-do-file-attributes-with-stat)
2074 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2075 gid as real numbers. They could run out of integer range on cygwin.
2076 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2077 (tramp-sh-handle-expand-file-name): Handle hops.
2078 (tramp-open-connection-setup-interactive-shell):
2079 Use `tramp-cleanup'. Move check for busyboxes ...
2080 (tramp-find-shell): ... here. Simplify implementation.
2081 Set "remote-shell" property also for alternative shells.
2082 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2083 If failing, a regular file would be written otherwise.
2084 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2085 (tramp-find-inline-encoding): Cache the coding commands in the
2086 process cache. Apply test command on the remote side, if defined.
2087 (tramp-find-inline-compress): Cache the compress commands in the
2088 process cache.
2089 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2090 when requested. Handle hops.
2091 (tramp-current-connection): New defvar.
2092 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2093 Throw `suppress', if there was a failed connection shortly before.
2094 Handle user interrupt. (Bug#10187)
2095 (tramp-get-inline-compress, tramp-get-inline-coding):
2096 Read connection properties from the process cache.
2097
2098 * net/tramp-smb.el (tramp-smb-server-version)
2099 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2100 New defconsts.
2101 (tramp-smb-prompt): Extend for powershell prompt.
2102 (tramp-smb-file-name-handler-alist): Add handlers for
2103 `process-file', `shell-command' and `start-file-process'.
2104 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2105 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2106 (tramp-smb-file-name-p): Simplify.
2107 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2108 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2109 (tramp-smb-shell-quote-argument): New defuns.
2110 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2111 Implement using "tar". By this, time-stamps are preserved.
2112 (tramp-smb-handle-copy-file): Handle also the case of directories.
2113 (tramp-smb-do-file-attributes-with-stat)
2114 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2115 Use `tramp-get-connection-buffer').
2116 (tramp-smb-handle-rename-file): Use "rename", when source and
2117 target are on the same share.
2118 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2119 Use `tramp-smb-server-version'.
2120 (tramp-smb-wait-for-output): Remove prompt.
2121
2122 * net/tramp.el (top): Require 'cl.
2123 (tramp-methods, tramp-rsh-end-of-line):
2124 Remove `tramp-password-end-of-line' from docstring.
2125 (tramp-save-ad-hoc-proxies): New defcustom.
2126 (tramp-completion-function-alist): Adapt docstring.
2127 (tramp-default-password-end-of-line): Remove defcustom.
2128 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2129 (tramp-user-regexp, tramp-file-name-regexp-unified)
2130 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2131 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2132 (tramp-remote-file-name-spec-regexp): New defconst.
2133 (tramp-file-name-structure): Extend structure for hops.
2134 (tramp-get-method-parameter): Move up.
2135 (tramp-file-name-p, tramp-dissect-file-name)
2136 (with-parsed-tramp-file-name): Handle hops.
2137 (tramp-file-name-hop): New defun.
2138 (tramp-make-tramp-file-name): New optional arg HOP.
2139 (tramp-message-show-progress-reporter-message): New defvar.
2140 (tramp-with-progress-reporter): Use it. We cannot use
2141 `tramp-message-show-message' here, because this suppresses also
2142 error buffers.
2143 (tramp-error-with-buffer): Suppress buffer view, if
2144 `tramp-message-show-message' is nil.
2145 Use `tramp-get-connection-buffer'.
2146 (tramp-cleanup): New defun.
2147 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2148 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2149 an error unchanged.
2150 (tramp-completion-handle-file-name-all-completions): Handle hops.
2151 Fix an error when called from ido.
2152 (tramp-completion-dissect-file-name): Use better local variable
2153 name. Add hop to the vector.
2154 (tramp-handle-insert-file-contents): Use progress-reporter for the
2155 whole scenario.
2156 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2157 to `t'.
2158 (tramp-check-for-regexp): Simplify search.
2159 (tramp-enter-password): Remove it. Move implementation ...
2160 (tramp-action-password): ... here.
2161 (tramp-mode-string-to-int, tramp-local-host-p)
2162 (tramp-make-tramp-temp-file, tramp-read-passwd)
2163 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2164 Set tramp-autoload cookie.
2165
2166 * net/trampver.el: Update release number.
2167
2168 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2169 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2172 (tramp-parse-group, tramp-parse-file)
2173 (tramp-parse-shostkeys-sknownhosts): New defuns.
2174 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2175 (tramp-parse-shosts-group, tramp-parse-sconfig)
2176 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2177 (tramp-parse-sknownhosts, tramp-parse-hosts)
2178 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2179 Use them.
2180 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2181 (tramp-parse-putty-group): Don't narrow.
2182 (tramp-parse-putty): Make a loop.
2183 (tramp-file-name-handler): Catch the `suppress' signal.
2184
2185 2012-06-11 Chong Yidong <cyd@gnu.org>
2186
2187 * image.el (imagemagick-register-types): Put the ImageMagick entry
2188 at the end of image-type-file-name-regexps.
2189
2190 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2191
2192 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2193 (pcase, pcase-let*, pcase-dolist): Use them.
2194
2195 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * emacs-lisp/pcase.el (pcase--let*): New function.
2198 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2199 (pcase--expand): Use macroexp-let².
2200
2201 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2204 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2205 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2206 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2207 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2208 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2209
2210 2012-06-10 Glenn Morris <rgm@gnu.org>
2211
2212 * mail/rmail.el (rmail-yank-current-message): Leave point at
2213 correct position. (Bug#11660)
2214
2215 2012-06-10 Chong Yidong <cyd@gnu.org>
2216
2217 * allout-widgets.el: Fix code header.
2218
2219 2012-06-10 Chong Yidong <cyd@gnu.org>
2220
2221 * cus-edit.el (customize-changed-options-previous-release):
2222 Bump to 24.1.
2223
2224 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2225
2226 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2227
2228 2012-06-09 Chong Yidong <cyd@gnu.org>
2229
2230 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2231
2232 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2233
2234 * window.el (special-display-popup-frame): Don't use
2235 window--display-buffer (Bug#11651).
2236
2237 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2238
2239 Fix parallel builds: make sure loaddefs.el is not being written
2240 while Lisp files are compiled.
2241 (compile): Don't depend on 'mh-autoloads'.
2242 (compile-CMD, compile-SH): Depend on 'autoloads'.
2243 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2244
2245 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2246
2247 2012-06-09 Chong Yidong <cyd@gnu.org>
2248
2249 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2250 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2251 Doc fixes (Bug#11225).
2252
2253 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2256 a function if there's a clear indication that it has a compiler-macro.
2257 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2258 (macro-declarations-alist): Add arglist to declaration functions.
2259 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2260 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2261 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2262 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2263 Also add autoload to find the compiler macro.
2264 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2265 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2266 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2267 (cl--compiler-macro-get): New functions, replacing calls to
2268 cl-define-compiler-macro.
2269 (cl-typep) [compiler-macro]: Use macroexp-let².
2270
2271 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2272
2273 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2274 string properly, fixes Bug#11473.
2275
2276 2012-06-08 Chong Yidong <cyd@gnu.org>
2277
2278 * faces.el (set-face-attribute): Doc fix.
2279 (modify-face): Don't use :bold and :italic.
2280 (error, warning, success): Tweak definitions.
2281
2282 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2283 (custom-modified, custom-set, custom-changed, custom-themed)
2284 (custom-saved, custom-button, custom-button-mouse)
2285 (custom-button-pressed, custom-state, custom-comment-tag)
2286 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2287 (custom-group-subtitle): Use new-style face specs.
2288 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2289 (custom-set-face, custom-changed-face, custom-saved-face)
2290 (custom-button-face, custom-button-pressed-face)
2291 (custom-documentation-face, custom-state-face)
2292 (custom-comment-face, custom-comment-tag-face)
2293 (custom-variable-tag-face, custom-variable-button-face)
2294 (custom-face-tag-face, custom-group-tag-face-1)
2295 (custom-group-tag-face): Remove obsolete face alias.
2296
2297 * epa.el (epa-validity-high, epa-validity-medium)
2298 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2299 (epa-field-name, epa-field-body):
2300 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2301 (font-lock-keyword-face, font-lock-builtin-face)
2302 (font-lock-function-name-face, font-lock-variable-name-face)
2303 (font-lock-type-face, font-lock-constant-face):
2304 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2305 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2306 * speedbar.el (speedbar-button-face, speedbar-file-face)
2307 (speedbar-directory-face, speedbar-tag-face)
2308 (speedbar-selected-face, speedbar-highlight-face)
2309 (speedbar-separator-face):
2310 * whitespace.el (whitespace-newline, whitespace-space)
2311 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2312 (whitespace-line, whitespace-space-before-tab)
2313 (whitespace-space-after-tab, whitespace-indentation)
2314 (whitespace-empty):
2315 * emulation/cua-base.el (cua-global-mark):
2316 * eshell/em-prompt.el (eshell-prompt):
2317 * net/newst-plainview.el (newsticker-new-item-face)
2318 (newsticker-old-item-face, newsticker-immortal-item-face)
2319 (newsticker-obsolete-item-face, newsticker-date-face)
2320 (newsticker-statistics-face, newsticker-default-face):
2321 * net/newst-reader.el (newsticker-feed-face)
2322 (newsticker-extra-face, newsticker-enclosure-face):
2323 * net/newst-treeview.el (newsticker-treeview-face)
2324 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2325 (newsticker-treeview-immortal-face)
2326 (newsticker-treeview-obsolete-face)
2327 (newsticker-treeview-selection-face):
2328 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2329 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2330 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2331 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2332 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2333 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2334 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2335 (mpuz-text):
2336 * progmodes/vera-mode.el (vera-font-lock-number)
2337 (vera-font-lock-function, vera-font-lock-interface):
2338 * textmodes/table.el (table-cell): Use new-style face specs, and
2339 don't use the old :bold and :italic attributes.
2340
2341 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2342 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2343 (ebrowse-member-class, ebrowse-progress): Likewise.
2344 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2345 (ebrowse-file-name-face, ebrowse-default-face)
2346 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2347 (ebrowse-progress-face): Remove obsolete faces.
2348
2349 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2350 Inherit from error and warning faces respectively.
2351
2352 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2353 Likewise.
2354 (flyspell-incorrect-face, flyspell-duplicate-face):
2355 Remove obsolete aliases.
2356
2357 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2358
2359 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2360 Avoid infloop.
2361
2362 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * startup.el (argv, argi): Make lexically scoped.
2365 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2366 * emacs-lisp/cl-macs.el: Use lexical-binding.
2367 Rename cl-bind-* to cl--bind-*.
2368 * files.el: Don't require `cl' since it doesn't use it.
2369 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2370
2371 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2372
2373 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2374 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2375 instead of calling external sort utility.
2376 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2377
2378 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2379
2380 * descr-text.el (describe-char): Mention how to insert the
2381 character, if the current input method doesn't support it.
2382 See the discussion in this thread for the details:
2383 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2384
2385 2012-06-08 Sam Steingold <sds@gnu.org>
2386
2387 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2388 XF86Back to previous-buffer.
2389 (minibuffer-local-map): Bind them to next-history-element and
2390 previous-history-element respectively.
2391 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2392 help-go-back respectively.
2393 * info.el (Info-mode-map): Bind them to Info-history-forward and
2394 Info-history-back respectively.
2395 These are the keys next to Up on the ThinkPad keyboard.
2396
2397 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2400 * emacs-lisp/cl-macs.el: Provide itself.
2401 (cl--labels-convert-cache): New var.
2402 (cl--labels-convert): New function.
2403 (cl-flet, cl-labels): New implementation with new semantics, relying on
2404 lexical-binding.
2405 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2406 (cl-closure-vars, cl--function-convert-cache)
2407 (cl--function-convert): Move from cl-macs.el.
2408 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2409 rename by removing the "cl-" prefix.
2410 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2411
2412 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2415 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2416 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2417 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2418 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2419 (cl-hash-table-count): Add old compatibility aliases.
2420
2421 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2422 Use macroexpand-all-environment instead.
2423 (cl--old-macroexpand): New var.
2424 (cl--sm-macroexpand): New function.
2425 (cl-symbol-macrolet): Use it during macro expansion.
2426 (cl--function-convert-cache): New var.
2427 (cl--function-convert): New function, extracted from
2428 cl-macroexpand-all.
2429 (cl-lexical-let): Use it.
2430
2431 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2432 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2433 (cl-member): Remove old alias.
2434
2435 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2436 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2437 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2438 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2439 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2440 (cl-macroexpand-cmacs): Remove var.
2441 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2442 Use macroexpand-all instead.
2443
2444 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2447 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2448 (macroexp-copyable-p): New functions and macros.
2449 * emacs-lisp/edebug.el (edebug-unwrap):
2450 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2451 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2452 (pcase--let*): Remove.
2453 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2454 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2455 macroexp-const-p instead.
2456 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2457
2458 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2459 instead of "cl-" for internal definitions. Use macroexp-const-p.
2460 (cl-old-bc-file-form): Remove var.
2461 (cl-const-exprs-p): Remove fun.
2462 (cl-labels, cl-macrolet): Use backquote.
2463 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2464 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2465 (cl-define-setf-expander): Rename from cl-define-setf-method.
2466 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2467
2468 * international/mule-cmds.el: Don't require CL.
2469 (view-hello-file): Don't use `letf'.
2470
2471 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * tmm.el (tmm-prompt): Use string-prefix-p.
2474 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2475 (tmm-add-prompt): Use minibuffer-completion-help.
2476 (tmm-delete-map): Remove.
2477
2478 * subr.el (kbd): Make it its own function.
2479
2480 2012-06-07 Stefan Merten <smerten@oekonux.de>
2481
2482 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2483 Silence compiler warnings. Fix versions.
2484 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2485 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2486 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2487 (rst-package-emacs-version-alist): Correct Emacs version to
2488 represent major merge with upstream.
2489 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2490
2491 2012-06-06 Glenn Morris <rgm@gnu.org>
2492
2493 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2494 Only print environment variables if set.
2495
2496 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2499 (macroexp--cons): Rename from maybe-cons.
2500 (macroexp--accumulate): Rename from macroexp-accumulate.
2501 (macroexp--all-forms): Rename from macroexpand-all-forms.
2502 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2503 (macroexp--expand-all): Rename from macroexpand-all-1.
2504
2505 2012-06-06 Sam Steingold <sds@gnu.org>
2506
2507 * calendar/calendar.el (calendar-in-read-only-buffer):
2508 Call `special-mode' to enable the standard read-only keybindings.
2509
2510 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2513 with "loading" messages (bug#11635).
2514
2515 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * files.el (enable-remote-dir-locals): New option.
2518 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2519
2520 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2521 Ensure, that the temp directory is local.
2522
2523 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2524 `temporary-file-directory'.
2525
2526 * progmodes/python.el (python-send-region): Ensure, that the
2527 temporary file is created also in the remote case.
2528
2529 2012-06-06 Glenn Morris <rgm@gnu.org>
2530
2531 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2532 (vc-rcs-update-changelog): Use it.
2533
2534 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2535
2536 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2537 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2538 (vc-sccs-diff): Replace use of the external vcdiff script.
2539
2540 2012-06-05 Glenn Morris <rgm@gnu.org>
2541
2542 * ledit.el: Move to obsolete/.
2543
2544 2012-06-05 Sam Steingold <sds@gnu.org>
2545
2546 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2547 patch (Bug#11140).
2548
2549 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * emacs-lisp/cust-print.el: Move to obsolete.
2552
2553 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2554 compiler-macro expansion.
2555
2556 Add native compiler-macro support.
2557 * emacs-lisp/macroexp.el (macroexpand-all-1):
2558 Support compiler-macros directly. Properly follow aliases and apply
2559 the compiler macros more thoroughly.
2560 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2561 macroexpand now properly follows aliases.
2562 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2563 (cl-compiler-macroexpand): Use new prop.
2564 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2565
2566 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2567
2568 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2569
2570 * window.el (get-lru-window, get-mru-window, get-largest-window):
2571 New argument NOT-SELECTED to avoid picking the selected window.
2572 (window--display-buffer-1, window--display-buffer-2): Replace by
2573 new function window--display-buffer
2574 (display-buffer-same-window, display-buffer-reuse-window)
2575 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2576 Use window--display-buffer.
2577 (display-buffer-use-some-window): Remove temporary dedication
2578 hack by calling get-lru-window and get-largest-window with
2579 NOT-SELECTED argument non-nil. Call window--display-buffer.
2580
2581 2012-06-05 Glenn Morris <rgm@gnu.org>
2582
2583 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2584 Replace external vcdiff script.
2585
2586 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2589
2590 2012-06-04 Chong Yidong <cyd@gnu.org>
2591
2592 * image.el (imagemagick-types-inhibit): Revert last change.
2593 Add INFO and M.
2594 (imagemagick-enabled-types): Remove CIN and EPS*.
2595
2596 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * emacs-lisp/cl-lib.el: Rename from cl.el.
2599 * emacs-lisp/cl.el: New compatibility file.
2600 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2601 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2602 to obey the "cl-" prefix.
2603 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2604
2605 2012-06-03 Glenn Morris <rgm@gnu.org>
2606
2607 * emacs-lisp/authors.el (authors-aliases): Addition.
2608
2609 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2610 Fix :version.
2611
2612 2012-06-03 Stefan Merten <smerten@oekonux.de>
2613
2614 * textmodes/rst.el: Add comments.
2615 (rst-transition, rst-adornment): New faces.
2616 (rst-adornment-faces-alist): Make default safe to reevaluate.
2617 Fixes
2618 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2619 Improve customization tags.
2620 (rst-define-level-faces): Clarify meaning.
2621
2622 2012-06-03 Chong Yidong <cyd@gnu.org>
2623
2624 * progmodes/compile.el (compilation-mode-line-fail)
2625 (compilation-mode-line-run, compilation-mode-line-exit):
2626 New faces.
2627 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2628
2629 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2630
2631 * progmodes/which-func.el (which-func-update-ediff-windows):
2632 New function. Use it in ediff-select-hook (Bug#11478).
2633
2634 2012-06-03 Chong Yidong <cyd@gnu.org>
2635
2636 * bindings.el: Remove explicit help text from format-mode-line.
2637 It is now supplied by mode-line-default-help-echo.
2638 (mode-line-front-space, mode-line-end-spaces)
2639 (mode-line-misc-info): New variables.
2640 (mode-line-modes, mode-line-position): Move the default value to
2641 the variable definition.
2642 (mode-line-default-help-echo): New defcustom.
2643 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2644 (mode-line-modified-help-echo): New functions.
2645 (mode-line-mule-info, mode-line-modified): Use them.
2646 (mode-line-eol-desc, propertized-buffer-identification):
2647 Consistency fixes for help text.
2648 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2649 set-buffer-file-coding-system (Bug#289).
2650 (mode-line-mule-info-help-echo): Update help text.
2651
2652 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2653
2654 * simple.el (execute-extended-command): Set real-this-command
2655 (bug#11506).
2656
2657 2012-06-02 Chong Yidong <cyd@gnu.org>
2658
2659 Remove incorrect uses of "modeline" in comments, docstrings, and
2660 function/variable names (Bug#10329).
2661
2662 * cus-edit.el (mode-line):
2663 * dframe.el (dframe-mouse-hscroll):
2664 * emacs-lisp/re-builder.el:
2665 * emacs-lisp/easy-mmode.el (define-minor-mode):
2666 * frame.el (set-frame-name):
2667 * help.el (lookup-minor-mode-from-indicator):
2668 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2669 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2670 (c-toggle-hungry-state):
2671 * progmodes/antlr-mode.el (antlr-language-alist):
2672 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2673 * progmodes/vhdl-mode.el (vhdl-mode):
2674 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2675 * term/ns-win.el (ns-face-at-pos):
2676 * term/sup-mouse.el (sup-mouse-report):
2677 * textmodes/flyspell.el (flyspell-mode-line-string):
2678 * textmodes/ispell.el (ispell-highlight-face):
2679 * textmodes/reftex-global.el:
2680 * vc/vc-arch.el (vc-arch-mode-line-string):
2681 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2682 * vc/vc-git.el (vc-git-mode-line-string):
2683 * vc/vc-hooks.el (vc-display-status)
2684 (vc-default-mode-line-string):
2685 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2686
2687 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2688
2689 * dired.el (dired-sort-set-mode-line): Rename from
2690 dired-sort-set-modeline. All callers changed.
2691
2692 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2693 eshell-status-in-modeline.
2694
2695 * foldout.el (foldout-mode-line-string): Rename from
2696 foldout-modeline-string. All callers changed.
2697 (foldout-update-mode-line): Rename from foldout-update-modeline.
2698
2699 * subr.el (redraw-modeline): Make into obsolete alias.
2700
2701 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2702 timeclock-modeline-display. Make old name an alias.
2703 (timeclock-update-mode-line): Likewise. All callers changed.
2704 (timeclock-mode-line-display): No need to check before using
2705 add-hook.
2706 (timeclock-relative, timeclock-day-over-hook)
2707 (timeclock-use-elapsed, timeclock-mode-string)
2708 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2709
2710 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2711 crisp-mode-modeline-string.
2712
2713 * play/solitaire.el (solitaire-build-mode-line): Rename from
2714 solitaire-build-modeline. All callers changed.
2715
2716 * play/zone.el (zone-hiding-mode-line): Rename from
2717 zone-hiding-modeline. All callers changed.
2718 (zone): Remove unusued `modeline-hidden-level' property.
2719
2720 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2721 xscheme-modeline-initialize. All callers changed.
2722
2723 * strokes.el (strokes-lighter): Rename from
2724 strokes-modeline-string.
2725
2726 * textmodes/sgml-mode.el (html-face-tag-alist)
2727 (html-tag-face-alist): Use mode-line face instead of obsolete
2728 alias modeline.
2729
2730 2012-06-02 Stefan Merten <smerten@oekonux.de>
2731
2732 * textmodes/rst.el: Always require `cl'.
2733 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2734
2735 2012-06-02 Chong Yidong <cyd@gnu.org>
2736
2737 * image.el (imagemagick-enabled-types): Rename from
2738 imagemagick-types-enable. Add many more types.
2739 (imagemagick-types-inhibit): Change default to nil.
2740 (imagemagick-filter-types): Caller changed.
2741
2742 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * emacs-lisp/cl-macs.el: Use backquotes.
2745 (cl-transform-function-property): Use eval-and-compile rather than
2746 abusing `require'.
2747 (defstruct): Use declare-function instead of with-no-warnings.
2748
2749 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2750 (byte-compile-output-docform): Re-add the print-circle bindings.
2751 (byte-compile-fix-header): Use #$ just because it's shorter.
2752 (byte-compile-output-file-form): Remove defun/defmacro.
2753
2754 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2755
2756 * simple.el (choose-completion): Remove now obsolete binding for
2757 owindow.
2758
2759 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2760
2761 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2762 in order to avoid "Stack overflow in regexp matcher".
2763
2764 2012-05-31 Glenn Morris <rgm@gnu.org>
2765
2766 * image.el: For clarity, call imagemagick-register-types at
2767 top-level, rather than relying on a custom :initialize.
2768 (imagemagick-types-enable): New option. (Bug#11557)
2769 (imagemagick-filter-types): New function. (Bug#7406)
2770 (imagemagick-register-types): Use imagemagick-filter-types.
2771 If disabling support, remove elements altogether rather
2772 than using an impossible regexp.
2773 (imagemagick-types-inhibit): Give it the default init function.
2774
2775 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2778 Handle arbitrary file name lengths (Bug#11585).
2779
2780 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2781
2782 * desktop.el (desktop-read): Clear previous and next buffers for
2783 all windows and bury *Messages* buffer (bug#11556).
2784
2785 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 Add `declare' for `defun'. Align `defmacro's with it.
2788 * emacs-lisp/easy-mmode.el (define-minor-mode)
2789 (define-globalized-minor-mode): Don't autoload the var definitions.
2790 * emacs-lisp/byte-run.el: Use lexical-binding.
2791 (defun-declarations-alist, macro-declarations-alist): New vars.
2792 (defmacro, defun): Use them.
2793 (make-obsolete, define-obsolete-function-alias)
2794 (make-obsolete-variable, define-obsolete-variable-alias):
2795 Use `declare'.
2796 (macro-declaration-function): Mark obsolete.
2797 * emacs-lisp/autoload.el: Use lexical-binding.
2798 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2799
2800 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2801
2802 * textmodes/ispell.el (ispell-with-no-warnings):
2803 Define as a macro.
2804 (ispell-kill-ispell, ispell-change-dictionary):
2805 Use `called-interactively-p' for Emacs instead of obsolete
2806 `interactive-p'.
2807
2808 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
2811 (macro-declaration-function): Move var from C code.
2812 (macro-declaration-function): Define function with defalias.
2813 * emacs-lisp/macroexp.el (macroexpand-all-1):
2814 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
2815 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
2816 defun/defmacro any more.
2817 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
2818 Provide fallback for unknown arglist.
2819 (byte-compile-arglist-warn): Change calling convention.
2820 (byte-compile-output-file-form): Move print-vars binding.
2821 (byte-compile-output-docform): Simplify accordingly.
2822 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
2823 (byte-compile-defmacro-declaration): Remove.
2824 (byte-compile-file-form-defmumble): Generalize to defalias.
2825 (byte-compile-output-as-comment): Return byte-positions.
2826 Simplify callers accordingly.
2827 (byte-compile-lambda): Use `assert'.
2828 (byte-compile-defun, byte-compile-defmacro): Remove.
2829 (byte-compile-file-form-defalias):
2830 Use byte-compile-file-form-defmumble.
2831 (byte-compile-defalias-warn): Remove.
2832
2833 2012-05-29 Stefan Merten <smerten@oekonux.de>
2834
2835 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
2836 possible. Fix authors. Improve comments. Improve loading of `cl'.
2837
2838 (rst-mode-abbrev-table): Merge definition.
2839 (rst-mode): Make sure `font-lock-defaults' is buffer local.
2840 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
2841
2842 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
2843
2844 * calendar/icalendar.el
2845 (icalendar-export-region): Export UID properly.
2846
2847 2012-05-29 Leo Liu <sdl.web@gmail.com>
2848 * calendar/icalendar.el (icalendar-import-format):
2849 Add `icalendar-import-format-uid' (Bug#11525).
2850 (icalendar-import-format-uid): New.
2851 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
2852 Export UID.
2853
2854 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
2857 different alternative patterns.
2858 (pcase-codegen): Be more careful to preserve identity.
2859 (pcase--u1): Don't forget to mark vars as used.
2860
2861 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
2862 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
2863 (byte-compile-from-buffer): ...rather than here.
2864
2865 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
2866 functions from byte-compile-function-environment.
2867
2868 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
2869
2870 * window.el (window-deletable-p): Avoid deleting the root window
2871 of a frame with an active minibuffer.
2872
2873 2012-05-29 Martin Rudalics <rudalics@gmx.at>
2874
2875 * simple.el (choose-completion): Use quit-window (Bug#11567).
2876
2877 2012-05-29 Chong Yidong <cyd@gnu.org>
2878
2879 * whitespace.el (whitespace-cleanup): Fix usage of
2880 whitespace-empty-at-bob-regexp (Bug#11492).
2881
2882 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2883
2884 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
2885 revert (Bug#11488).
2886
2887 2012-05-29 Juri Linkov <juri@jurta.org>
2888
2889 * isearch.el (isearch-mode-map): Bind `M-s _' to
2890 `isearch-toggle-symbol'. Bind `M-s c' to
2891 `isearch-toggle-case-fold'.
2892 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
2893 (isearch-forward): Add `M-s _' to the docstring.
2894 (isearch-forward-symbol, isearch-toggle-case-fold)
2895 (isearch-symbol-regexp): New functions. (Bug#11381)
2896
2897 2012-05-29 Juri Linkov <juri@jurta.org>
2898
2899 * isearch.el (isearch-word): Add docstring. (Bug#11381)
2900 (isearch-occur, isearch-search-and-update): If `isearch-word' is
2901 a function, call it to get the regexp.
2902 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
2903 property `isearch-message-prefix' instead of the string "word ".
2904 (isearch-search-fun-default): For the case of `isearch-word',
2905 return a lambda that calls re-search-forward/re-search-backward
2906 with a regexp returned by `word-search-regexp' or by the function
2907 in `isearch-word'.
2908
2909 2012-05-29 Juri Linkov <juri@jurta.org>
2910
2911 * isearch.el (isearch-search-fun-default): New function.
2912 (isearch-search-fun): Move default part to the new function
2913 `isearch-search-fun-default'.
2914 (isearch-search-fun-function): Set the default value to
2915 `isearch-search-fun-default'. (Bug#11381)
2916
2917 * comint.el (comint-history-isearch-end):
2918 Use `isearch-search-fun-default'.
2919 (comint-history-isearch-search): Use `isearch-search-fun-default'
2920 and remove spacial case for `isearch-word'.
2921 (comint-history-isearch-wrap): Remove spacial case for
2922 `isearch-word'.
2923
2924 * hexl.el (hexl-isearch-search-function):
2925 Use `isearch-search-fun-default'.
2926
2927 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
2928 Use `word-search-regexp' for `isearch-word'.
2929
2930 * misearch.el (multi-isearch-search-fun):
2931 Use `isearch-search-fun-default'.
2932
2933 * simple.el (minibuffer-history-isearch-search):
2934 Use `isearch-search-fun-default' and remove spacial case for
2935 `isearch-word'.
2936 (minibuffer-history-isearch-wrap): Remove spacial case for
2937 `isearch-word'.
2938
2939 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
2940 Remove spacial case for `isearch-word'.
2941 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
2942
2943 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2944
2945 Decrease XEmacs incompatibilities.
2946 * textmodes/flyspell.el (flyspell-check-pre-word-p):
2947 Use `string-match'.
2948 (flyspell-delete-region-overlays): Use alternative definition for
2949 XEmacs.
2950 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
2951 (flyspell-word): Use `process-kill-without-query' if XEmacs.
2952 (flyspell-mode-on): Use `interactive-p' if XEmacs.
2953 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
2954 `define-obsolete-face-alias' under XEmacs, but old method.
2955
2956 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
2957 `with-no-warnings' definition or Emacs alias.
2958 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
2959 (ispell-word): Do not use `region-p' if XEmacs.
2960
2961 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2962
2963 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
2964 Check for `ispell-dictionary-base-alist' instead of full
2965 `ispell-dictionary-alist'.
2966 (ispell-init-process): Show spellchecker when starting new Ispell
2967 process.
2968
2969 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
2972 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
2973
2974 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
2975
2976 * version.el (motif-version-string, gtk-version-string)
2977 (ns-version-string): Declare.
2978
2979 2012-05-27 Juri Linkov <juri@jurta.org>
2980
2981 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
2982 after the `eval-defun-1' specialcaseing
2983 like in `edebug-eval-defun' (bug#10181).
2984
2985 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
2986 like in `eval-defun-1'.
2987
2988 2012-05-27 Eli Zaretskii <eliz@gnu.org>
2989
2990 * mail/sendmail.el (mail-yank-region):
2991 Recognize rmail-yank-current-message in addition to insert-buffer.
2992 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
2993 a *mail* buffer created through rmail-start-mail with sendmail as
2994 mail-user-agent.
2995
2996 2012-05-27 Chong Yidong <cyd@gnu.org>
2997
2998 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
2999 Default to 256 (Bug#11267).
3000
3001 * help.el (describe-mode): Doc fix.
3002
3003 2012-05-26 Glenn Morris <rgm@gnu.org>
3004
3005 * w32-fns.el (w32-init-info): Remove.
3006 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3007
3008 * info.el (info-initialize): For self-contained NS builds, put the
3009 included info/ directory at the front. (Bug#2791)
3010
3011 * paths.el (Info-default-directory-list): Make it a defcustom,
3012 mainly so that we can use custom-initialize-delay.
3013
3014 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * subr.el (buffer-has-markers-at): Mark obsolete.
3017
3018 * subr.el (lambda): Use declare.
3019
3020 * emacs-lisp/lisp-mode.el (lambda):
3021 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3022
3023 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3024
3025 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3026
3027 2012-05-26 Glenn Morris <rgm@gnu.org>
3028
3029 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3030
3031 2012-05-25 Glenn Morris <rgm@gnu.org>
3032
3033 * paths.el: Remove no-byte-compile.
3034 * loadup.el: No need to load paths.el uncompiled.
3035
3036 * image.el (imagemagick-types-inhibit): Doc fix.
3037
3038 * version.el: Remove no-byte-compile and associated formatting.
3039 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3040 is ancient code from when there was an "inc-vers.el".
3041
3042 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * progmodes/gdb-mi.el: Minor style changes.
3045 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3046 Turn into minor modes.
3047 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3048 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3049 (gdb-shell): Remove unneeded let-binding.
3050 (gdb-get-many-fields): Eliminate O(n²) behavior.
3051
3052 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3053
3054 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3055 platforms that don't link in fontset.c.
3056
3057 2012-05-25 Juri Linkov <juri@jurta.org>
3058
3059 Use the same diff color scheme as in modern VCSes (bug#10181).
3060
3061 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3062 to avoid confusion with `diff-added' that now uses green colors.
3063 (diff-removed): Use shades of red.
3064 (diff-added): Use shades of green.
3065 (diff-changed): Leave just the yellow color.
3066 (diff-use-changed-face): New variable.
3067 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3068 how to highlight context diff changes.
3069 (diff-refine-change): Use shades of yellow.
3070 (diff-refine-removed): New face that uses shades of red.
3071 (diff-refine-added): New face that uses shades of green.
3072 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3073 `diff-refine-removed' in the call to `smerge-refine-subst'
3074 depending on the value of `diff-use-changed-face'.
3075
3076 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3077 (smerge-other): Use shades of green.
3078 (smerge-base): Use shades of yellow.
3079 (smerge-refined-change): Empty face.
3080 (smerge-refined-removed): New face that uses shades of red.
3081 (smerge-refined-added): New face that uses shades of green.
3082 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3083 args `props-r' and `props-a', and use them. Doc fix.
3084 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3085 on its value use different faces `smerge-refined-change',
3086 `smerge-refined-removed', `smerge-refined-added' in the call to
3087 `smerge-refine-subst'.
3088
3089 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3090 Add face condition `min-colors 88' with shades of red.
3091 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3092 `min-colors 88' with shades of green.
3093 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3094 `min-colors 88' with shades of yellow.
3095
3096 2012-05-24 Glenn Morris <rgm@gnu.org>
3097
3098 * paths.el (prune-directory-list, remote-shell-program): Move to...
3099 * files.el (prune-directory-list, remote-shell-program): ...here.
3100 For the latter, delay initialization, prefer ssh, just search PATH.
3101
3102 * paths.el (term-file-prefix): Move to faces.el (the only user).
3103 * faces.el (term-file-prefix): Move here, make it a defcustom.
3104
3105 * paths.el (news-directory, news-path, news-inews-program):
3106 Move to gnus/nnspool.el.
3107
3108 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3109
3110 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3111 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3112 Make the latter a defcustom, with a delayed initialization.
3113
3114 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3115 These were deleted from Gnus itself late 2010.
3116
3117 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3118
3119 * progmodes/which-func.el (which-func-ff-hook):
3120 Check against user-error, not error.
3121
3122 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3123 cl-specs.el, which no longer exists.
3124
3125 2012-05-22 Glenn Morris <rgm@gnu.org>
3126
3127 * info.el (info-emacs-bug): New command.
3128 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3129 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3130
3131 2012-05-21 Glenn Morris <rgm@gnu.org>
3132
3133 * makefile.w32-in (update-subdirs-SH):
3134 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3135
3136 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3139
3140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3141 Simplify Maven regexp, and make sure the file can't start with a space
3142 (bug#11517).
3143
3144 2012-05-21 Glenn Morris <rgm@gnu.org>
3145
3146 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3147 Scrap superfluous subshells.
3148
3149 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3152 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3153
3154 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3155
3156 * calc/calc.el (calc-ensure-consistent-units): New variable.
3157
3158 * calc/calc-units.el (math-consistent-units-p)
3159 (math-check-unit-consistency): New functions.
3160 (calc-quick-units, calc-convert-units):
3161 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3162 is non-nil.
3163 (calc-extract-units): Fix typo.
3164
3165 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3168
3169 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3170 (flyspell-default-deplacement-commands): Don't spell check after
3171 repeated window/frame switches (e.g. triggered by mouse-movement).
3172 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3173 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3174 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3175 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3176 Remove unused vars.
3177 (flyspell-get-casechars, flyspell-get-not-casechars):
3178 Simplify; Don't bother removing a ] just to add it back.
3179 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3180
3181 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3182
3183 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3184 New functions.
3185 (math-function-table): Add support for more C functions.
3186
3187 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3188
3189 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3190 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3191 Protect delay handling for otherchars against empty otherchars.
3192
3193 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3196 their respective macro declarations.
3197 * skeleton.el (define-skeleton):
3198 * progmodes/compile.el (define-compilation-mode):
3199 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3200 (define-ibuffer-filter):
3201 * emacs-lisp/generic.el (define-generic-mode):
3202 * emacs-lisp/easy-mmode.el (define-minor-mode)
3203 (define-globalized-minor-mode):
3204 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3205 * emacs-lisp/byte-run.el (defsubst):
3206 * custom.el (deftheme): Add doc-string metadata.
3207
3208 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3211
3212 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3215
3216 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3217 * emacs-lisp/cl-macs.el: Idem.
3218 * emacs-lisp/cl-specs.el: Remove.
3219
3220 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 Minor renaming of internal CL functions and variables.
3223 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3224 (cl--position): Rename from cl-position.
3225 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3226 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3227 (cl--random-state): Rename from *random-state*.
3228
3229 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3232 parens around the arg list (bug#11499).
3233
3234 2012-05-17 Juri Linkov <juri@jurta.org>
3235
3236 * isearch.el (word-search-regexp, word-search-backward)
3237 (word-search-forward, word-search-backward-lax)
3238 (word-search-forward-lax): Move functions from search.c
3239 (bug#10145, bug#11381).
3240
3241 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3242
3243 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3244 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3245 Delay for otherchars as for normal word components.
3246
3247 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * minibuffer.el (completion--sifn-requote): Fix last change.
3250 (minibuffer-local-must-match-filename-map):
3251 Move define-obsolete-variable-alias before its var.
3252
3253 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3254
3255 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3256
3257 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3258 behavior.
3259 (completion--string-equal-p): New function.
3260 (completion--twq-all): Use it to get better assertion failure data.
3261
3262 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3263 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3264 (shell--requote-argument): New functions.
3265 (shell-completion-vars): Use them.
3266 (shell--parse-pcomplete-arguments): Rename from
3267 shell-parse-pcomplete-arguments.
3268 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3269 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3270 Obey comint-file-name-quote-list.
3271
3272 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3273 (smie-indent-keyword): Use it.
3274
3275 2012-05-14 Stefan Merten <smerten@oekonux.de>
3276
3277 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3278
3279 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * net/rlogin.el (rlogin-mode-map): Fix last change.
3282
3283 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3284
3285 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3286 the following \r\n using a single `process-send-string', since the
3287 Lotus SMTP server refuses to accept any commands if they are sent
3288 with two `process-send-string's (Bug#11444).
3289
3290 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * shell.el (shell-parse-pcomplete-arguments):
3293 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3294
3295 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3296
3297 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3298 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3299 (image-transform-width, image-transform-fit-width): New functions.
3300 (image-transform-properties): Use them.
3301 (image-transform-check-size): New function.
3302 (image-toggle-display-image): Use it (for testing).
3303 (image-transform-set-rotation): Reduce angle mod 360.
3304 Delete obsolete comment.
3305
3306 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3307
3308 * image-mode.el: Fix scaling (bug#11399).
3309 (image-transform-resize): Doc fix.
3310 (image-transform-properties): Default scale is 1 and height should
3311 be an integer.
3312
3313 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3314
3315 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3316 than hard-coding `car', to fix misbehavior when moving forward.
3317
3318 2012-05-13 Chong Yidong <cyd@gnu.org>
3319
3320 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3321 (tabulated-list-entries, tabulated-list-padding)
3322 (tabulated-list-sort-key): Make permanent-local.
3323
3324 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3325 (electric-buffer-list): Put electric buffer menu
3326 command descriptions in this docstring, instead of the docstring
3327 of electric-buffer-menu-mode. Code cleanups.
3328 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3329 Electric-buffer-menu-mode.
3330 (electric-buffer-update-highlight): Minor code cleanup.
3331
3332 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3333
3334 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3335 (Bug#11447)
3336
3337 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3338
3339 Move define-obsolete-variable-alias before the var's definition.
3340 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3341 * tooltip.el (tooltip-hook):
3342 * textmodes/reftex-toc.el (reftex-toc-map):
3343 * textmodes/reftex-sel.el (reftex-select-label-map)
3344 (reftex-select-bib-map):
3345 * textmodes/reftex-index.el (reftex-index-map)
3346 (reftex-index-phrases-map):
3347 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3348 * progmodes/meta-mode.el (meta-mode-map):
3349 * novice.el (disabled-command-hook):
3350 * loadhist.el (unload-hook-features-list):
3351 * frame.el (blink-cursor):
3352 * files.el (find-file-not-found-hooks, write-file-hooks)
3353 (write-contents-hooks):
3354 * emulation/tpu-edt.el (GOLD-map):
3355 * emacs-lock.el (emacs-lock-from-exiting):
3356 * emacs-lisp/generic.el (generic-font-lock-defaults):
3357 * emacs-lisp/chart.el (chart-map):
3358 * dos-fns.el (register-name-alist):
3359 * dired-x.el (dired-omit-files-p):
3360 * desktop.el (desktop-enable):
3361 * cus-edit.el (custom-mode-hook):
3362 * buff-menu.el (buffer-menu-mode-hook):
3363 * bookmark.el (bookmark-read-annotation-text-func)
3364 (bookmark-exit-hooks):
3365 * allout.el (allout-mode-deactivate-hook)
3366 (allout-exposure-change-hook, allout-structure-added-hook)
3367 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3368 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3369 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3370 comes before the corresponding variable's definition.
3371
3372 2012-05-12 Chong Yidong <cyd@gnu.org>
3373
3374 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3375 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3376 (Buffer-menu-mode-map): Bind it.
3377 (Buffer-menu--pretty-name): Add a mouse-face property.
3378
3379 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3382 (prolog-upper-case-string, prolog-lower-case-string)
3383 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3384 (prolog-use-smie, prolog-smie-grammar): New vars.
3385 (prolog-smie-forward-token, prolog-smie-backward-token)
3386 (prolog-smie-rules): New funs.
3387 (prolog-comment-indent): Remove.
3388 (prolog-mode-variables): Use default comment indentation instead.
3389 Setup SMIE.
3390 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3391 (prolog-mode): Don't call them any more.
3392 (prolog-electric-colon, prolog-electric-dash)
3393 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3394
3395 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3396
3397 * minibuffer.el (completion--twq-all): Again, allow case differences.
3398
3399 * term.el: Move keymap initialization code to be more idiomatic.
3400 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3401 (term-terminal-menu): Move initialization into declaration.
3402 (term-escape-char): Let the user set it in her .emacs.
3403
3404 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3405 Provide SMIE-based indentation (not enabled by default yet).
3406 (sh-mode-map): Don't bind electric keys.
3407 Use electric-pair-mode instead of skeleton-pair.
3408 (sh-assignment-regexp): Fit within 80 columns.
3409 (sh-indent-supported): Specify actual shell name instead of boolean.
3410 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3411 (sh-maybe-here-document): Use it. Make obsolete.
3412 (sh-electric-here-document-mode) New minor mode.
3413 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3414 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3415 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3416 (sh-smie-rc-grammar, sh-use-smie): New vars.
3417 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3418 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3419 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3420 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3421 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3422 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3423 (sh-set-shell): Use smie-setup if requested.
3424
3425 * term.el (term-set-escape-char): Properly set term-escape-char.
3426 See http://stackoverflow.com/questions/10524656.
3427
3428 2012-05-10 Chong Yidong <cyd@gnu.org>
3429
3430 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3431 Use url-generic-parse-url, and handle host names and Windows
3432 filenames properly.
3433 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3434 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3435 URL schemes to work on.
3436 (ffap--toggle-read-only): New function.
3437 (ffap-read-only, ffap-read-only-other-window)
3438 (ffap-read-only-other-frame): Use it.
3439 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3440 necessary for ffap-url-unwrap-remote.
3441
3442 2012-05-10 Dave Abrahams <dave@boostpro.com>
3443
3444 * cus-start.el (create-lockfiles): Add it.
3445
3446 2012-05-09 Chong Yidong <cyd@gnu.org>
3447
3448 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3449 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3450
3451 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3452
3453 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3454
3455 2012-05-09 Chong Yidong <cyd@gnu.org>
3456
3457 * ansi-color.el (ansi-color-process-output): Check for validity of
3458 comint-last-output-start before using it. This avoids a bad
3459 interaction with gdb-mi's input/output buffer.
3460
3461 2012-05-09 Glenn Morris <rgm@gnu.org>
3462
3463 * files.el (dir-locals-read-from-file):
3464 Mention dir-locals in any error message.
3465
3466 2012-05-09 Chong Yidong <cyd@gnu.org>
3467
3468 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3469 package (Bug#11410).
3470
3471 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3472 variables into description.
3473
3474 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3477 shell-delimiter-argument-list (bug#11348).
3478 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3479
3480 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3481
3482 * textmodes/rst.el: Silence byte-compiler warnings.
3483 (rst-re-alist, rst-reset-section-caches): Move around.
3484 (rst-re): Use `characterp', not `char-valid-p'.
3485 (font-lock-beg, font-lock-end): Declare.
3486
3487 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3488 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3489
3490 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3491
3492 2012-05-08 Glenn Morris <rgm@gnu.org>
3493
3494 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3495
3496 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * vc/log-edit.el: Add GNU coding standards highlighting.
3499 (log-edit-font-lock-gnu-style)
3500 (log-edit-font-lock-gnu-keywords): New vars.
3501 (log-edit-font-lock-keywords): New fun.
3502 (log-edit-mode): Don't fold case in font-lock.
3503 (log-edit-font-lock-keywords): Do not assume case-folding.
3504
3505 * imenu.el: Misc cleanup. Make docstrings out of comments.
3506 Use lexical-binding.
3507 (imenu--index-alist, imenu--last-menubar-index-alist)
3508 (imenu-menubar-modified-tick): Use defvar-local.
3509 (imenu--split-menu): Remove unused var.
3510 (imenu--cleanup-seen): Declare as global.
3511 (imenu--cleanup): Use dolist.
3512
3513 * subr.el (defvar-local): Add debug spec and doc-string position.
3514
3515 2012-05-08 Glenn Morris <rgm@gnu.org>
3516
3517 * language/burmese.el, language/cham.el, language/czech.el:
3518 * language/english.el, language/georgian.el, language/greek.el:
3519 * language/japanese.el, language/khmer.el, language/korean.el:
3520 * language/lao.el, language/misc-lang.el, language/romanian.el:
3521 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3522 * language/thai.el, language/utf-8-lang.el:
3523 Remove no-byte-compile setting.
3524
3525 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3526
3527 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3528
3529 * progmodes/make-mode.el (makefile-browse):
3530 Remove unnecessary interactive. (Bug#11324)
3531
3532 2012-05-07 Glenn Morris <rgm@gnu.org>
3533
3534 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3535
3536 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3537
3538 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * loadup.el: Preload newcomment.el.
3541 * newcomment.el: Move autoload-only code to toplevel.
3542
3543 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3544 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3545 Handle new :right-align column property.
3546 (tabulated-list-print-col): Idem, plus use `display' text-property to
3547 try and preserve alignment for variable pitch fonts.
3548
3549 2012-05-07 Chong Yidong <cyd@gnu.org>
3550
3551 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3552 (tabulated-list-use-header-line): New var.
3553 (tabulated-list-init-header): Use it.
3554 (tabulated-list-print-fake-header): New function.
3555 (tabulated-list-print): Use it.
3556 (tabulated-list-sort-button-map): Add non-header-line commands.
3557 (tabulated-list-init-header): Add column name property to basic
3558 labels as well.
3559 (tabulated-list-col-sort): Handle non-header-line button case.
3560 (tabulated-list--sort-by-column-name): Fix a corner case.
3561
3562 * buff-menu.el (list-buffers--refresh):
3563 Handle Buffer-menu-use-header-line.
3564
3565 2012-05-06 Chong Yidong <cyd@gnu.org>
3566
3567 * buff-menu.el: Convert to Tabulated List mode.
3568 (Buffer-menu-buffer+size-width): Make obsolete.
3569 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3570 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3571 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3572 documentation into docstring of buffer-menu.
3573 (Buffer-menu-toggle-files-only): Add an informative message.
3574 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3575 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3576 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3577 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3578 (Buffer-menu-execute, Buffer-menu-select)
3579 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3580 (Buffer-menu-bury): Use Tabulated List machinery.
3581 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3582 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3583 Delete.
3584 (list-buffers--refresh): New function.
3585 (list-buffers-noselect): Use it.
3586 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3587 (Buffer-menu--pretty-file-name): New helper functions.
3588
3589 * loadup.el: Preload tabulated-list.
3590
3591 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3592 tabulated-list-sort-column.
3593 (tabulated-list-init-header): Add the initial aligning space even
3594 if tabulated-list-padding is zero.
3595
3596 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3597
3598 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3599 whose cdr is not a cons cell correctly (bug#11038).
3600
3601 2012-05-06 Chong Yidong <cyd@gnu.org>
3602
3603 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3604 Accept additional plist in column descriptors.
3605 (tabulated-list-init-header): Obey it.
3606 (tabulated-list-get-entry): New function.
3607 (tabulated-list-put-tag): Use it. Use string-width instead of
3608 length.
3609 (tabulated-list--column-number): New function.
3610 (tabulated-list-print): Use it.
3611 (tabulated-list-print-col): New function.
3612 Set `tabulated-list-column-name' property on each column's text.
3613 (tabulated-list-print-entry): Use it.
3614 (tabulated-list-delete-entry, tabulated-list-set-col):
3615 New functions.
3616 (tabulated-list-sort-column): New command (Bug#11337).
3617
3618 * buff-menu.el (list-buffers): Move C-x C-b binding from
3619 buff-menu.el to bindings.el.
3620
3621 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3622 :advertised-binding feature.
3623
3624 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3625
3626 * progmodes/compile.el (compilation-internal-error-properties):
3627 Calculate start position correctly when end-col is set but
3628 end-line is not (Bug#11382).
3629
3630 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3631
3632 * man.el (Man-unindent): Use text-property-default-nonsticky to
3633 prevent untabify from inheriting face properties (Bug#11408).
3634
3635 2012-05-05 Stefan Merten <smerten@oekonux.de>
3636
3637 * textmodes/rst.el: Major merge with upstream development up to
3638 Docutils SVN r7399 / rst.el V1.2.1.
3639
3640 Clarify maintainership and authors.
3641
3642 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3643 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3644 (rst-official-version, rst-official-cvs-rev, rst-version)
3645 (rst-package-emacs-version-alist): New functions and variables
3646 for version information.
3647
3648 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3649 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3650 (rst-mode-syntax-table, rst-mode): New and corrected functions
3651 and variables representing reStructuredText features.
3652
3653 (rst-re): New function for reStructuredText regexes. Use in
3654 many places.
3655
3656 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3657 (rst-mode-map): Rebind keys.
3658
3659 (rst-mode-lazy, rst-font-lock-keywords)
3660 (rst-font-lock-extend-region)
3661 (rst-font-lock-extend-region-internal)
3662 (rst-font-lock-extend-region-extend)
3663 (rst-font-lock-find-unindented-line-limit)
3664 (rst-font-lock-find-unindented-line-match)
3665 (rst-adornment-level, rst-font-lock-adornment-level)
3666 (rst-font-lock-adornment-match)
3667 (rst-font-lock-handle-adornment-pre-match-form)
3668 (rst-font-lock-handle-adornment-matcher): Major revision of
3669 font-locking. Integrate with other code. Use `jit-lock-mode'.
3670
3671 (rst-preferred-adornments, rst-adjust-hook)
3672 (rst-new-adornment-down, rst-preferred-bullets)
3673 (rst-preferred-bullets, rst-indent, rst-indent-width)
3674 (rst-indent-field, rst-indent-literal-normal)
3675 (rst-indent-literal-minimized, rst-indent-comment): Change,
3676 extend and improve customization.
3677
3678 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3679 (rst-normalize-cursor-position, rst-get-decoration)
3680 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3681 (rst-rstrip, rst-toc-insert-find-delete-contents)
3682 (rst-shift-fill-region, rst-compute-bullet-tabs)
3683 (rst-debug-print-tabs, rst-debug-mark-found)
3684 (rst-shift-region-guts, rst-shift-region-right)
3685 (rst-shift-region-left, rst-use-char-classes)
3686 (rst-font-lock-keywords-function)
3687 (rst-font-lock-indentation-point)
3688 (rst-font-lock-find-unindented-line-begin)
3689 (rst-font-lock-find-unindented-line-end)
3690 (rst-font-lock-find-unindented-line)
3691 (rst-font-lock-adornment-point, rst-font-lock-level)
3692 (rst-adornment-level-alist): Remove functions and variables.
3693
3694 (rst-compare-adornments, rst-get-adornment-match)
3695 (rst-suggest-new-adornment, rst-get-adornments-around)
3696 (rst-adornment-complete-p, rst-get-next-adornment)
3697 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3698 (rst-straighten-adornments): Standardize function names to
3699 use "adornment" instead of "decoration". Correct callers.
3700 Similar standardizing in many places.
3701
3702 (rst-update-section, rst-adjust, rst-promote-region)
3703 (rst-enumerate-region, rst-bullet-list-region)
3704 (rst-repeat-last-character): Correct use of `interactive'.
3705
3706 (rst-classify-adornment, rst-find-all-adornments)
3707 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3708 (rst-find-leftmost-column, rst-repeat-last-character):
3709 Refactor functions.
3710
3711 (rst-find-title-line, rst-reset-section-caches)
3712 (rst-get-adornments-around, rst-adjust-adornment-work)
3713 (rst-arabic-to-roman, rst-roman-to-arabic)
3714 (rst-insert-list-pos, rst-insert-list-new-item)
3715 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3716 New functions.
3717
3718 (rst-all-sections, rst-section-hierarchy)
3719 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3720 New variables.
3721
3722 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3723 configuration instead of only buffer. Change where necessary.
3724
3725 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3726 (rst-shift-region, rst-adaptive-fill): New functions for
3727 indentation and filling.
3728
3729 (rst-comment-line-break, rst-comment-indent)
3730 (rst-comment-insert-comment, rst-comment-region)
3731 (rst-uncomment-region): New functions for handling comments.
3732
3733 (rst-compile): Quote shell arguments.
3734
3735 (rst-compile-pdf-preview, rst-compile-slides-preview):
3736 Delete temporary files after use.
3737
3738 2012-05-05 Glenn Morris <rgm@gnu.org>
3739
3740 * calendar/cal-html.el: Optionally include holidays in the output.
3741 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3742 (cal-html-holidays): New option.
3743 (cal-html-css-default): Add holiday entry.
3744 (holiday-in-range): Autoload it.
3745 (cal-html-htmlify-entry): Add optional class argument.
3746 (cal-html-htmlify-list): Add optional holidays argument.
3747 (cal-html-insert-agenda-days): Include holidays in the output.
3748 (cal-html-one-month): Maybe include holidays.
3749
3750 * calendar/holidays.el (holiday-in-range):
3751 Move here from cal-tex-list-holidays.
3752 * calendar/cal-tex.el (cal-tex-list-holidays):
3753 Make it an obsolete alias for holiday-in-range. Update all callers.
3754
3755 2012-05-05 Chong Yidong <cyd@gnu.org>
3756
3757 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3758 Nextstep.
3759
3760 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3761
3762 * files.el (file-auto-mode-skip): New var.
3763 (set-auto-mode-1): Use it.
3764
3765 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * repeat.el: Use lexical-binding.
3768 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3769 (repeat-undo-count): Remove.
3770 (repeat):
3771 * progmodes/octave-mod.el (octave-abbrev-start):
3772 * progmodes/f90.el (f90-abbrev-start):
3773 * face-remap.el (text-scale-adjust):
3774 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3775
3776 * emacs-lisp/pcase.el (pcase--let*): New function.
3777 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3778 a bit more.
3779 (pcase--split-pred): Be more clever about ruling out overlap between
3780 a predicate and some constant pattern.
3781 (pcase--q1): Use `null' instead of (eq foo nil).
3782
3783 * subr.el (setq-local, defvar-local): New macros.
3784 (kbd): Redefine as an alias.
3785 (with-selected-window): Leave unrelated frames alone.
3786 (set-temporary-overlay-map): New function.
3787
3788 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * subr.el (user-error): New function.
3791 * window.el (switch-to-buffer):
3792 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3793 (smerge-match-conflict):
3794 * simple.el (previous-matching-history-element)
3795 (next-matching-history-element, goto-history-element, undo-more)
3796 (undo-start):
3797 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3798 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3799 (next-file, tags-loop-scan, list-tags, complete-tag):
3800 * progmodes/compile.el (compilation-loop):
3801 * mouse.el (mouse-minibuffer-check):
3802 * man.el (Man-bgproc-sentinel, Man-goto-page):
3803 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3804 (Info-history-forward, Info-follow-reference, Info-menu)
3805 (Info-extract-menu-item, Info-extract-menu-counting)
3806 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3807 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
3808 (Info-next-reference, Info-prev-reference, Info-index)
3809 (Info-index-next, Info-follow-nearest-node)
3810 (Info-copy-current-node-name):
3811 * imenu.el (imenu--make-index-alist)
3812 (imenu-default-create-index-function, imenu-add-to-menubar):
3813 * files.el (basic-save-buffer, recover-file):
3814 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3815 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
3816 (checkdoc-message-text, checkdoc-defun):
3817 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
3818 * cus-edit.el (customize-changed-options, customize-rogue)
3819 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
3820 (custom-variable-mark-to-reset-standard)
3821 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
3822 (custom-file):
3823 * completion.el (check-completion-length):
3824 * comint.el (comint-search-arg)
3825 (comint-previous-matching-input-string-position)
3826 (comint-previous-matching-input)
3827 (comint-replace-by-expanded-history-before-point, comint-send-input)
3828 (comint-copy-old-input, comint-backward-matching-input)
3829 (comint-goto-process-mark, comint-set-process-mark):
3830 * calendar/calendar.el (calendar-cursor-to-date): Use it.
3831 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
3832
3833 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * dabbrev.el (dabbrev--ignore-case-p): New function.
3836 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
3837 Use it.
3838
3839 * files.el (automount-dir-prefix): Mark as obsolete.
3840
3841 2012-05-04 Glenn Morris <rgm@gnu.org>
3842
3843 * patcomp.el, play/bruce.el: Move to obsolete/.
3844
3845 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
3846
3847 Fix minor Y10k bugs.
3848 * arc-mode.el (archive-unixdate):
3849 * autoinsert.el (auto-insert-alist):
3850 * calc/calc-forms.el (math-this-year):
3851 * emacs-lisp/copyright.el (copyright-current-year)
3852 (copyright-update-year, copyright):
3853 * tar-mode.el (tar-clip-time-string):
3854 * time.el (display-time-update):
3855 Don't assume years have 4 digits.
3856
3857 2012-05-04 Chong Yidong <cyd@gnu.org>
3858
3859 * dos-w32.el (file-name-buffer-file-type-alist)
3860 (direct-print-region-use-command-dot-com):
3861 * ffap.el (ffap-menu-regexp):
3862 * find-file.el (ff-special-constructs):
3863 * follow.el (follow-debug):
3864 * forms.el (forms--debug):
3865 * iswitchb.el (iswitchb-all-frames):
3866 * ido.el (ido-all-frames):
3867 * emacs-lisp/timer.el (timer-max-repeats):
3868 * mail/feedmail.el (feedmail-mail-send-hook)
3869 (feedmail-mail-send-hook-queued):
3870 * mail/footnote.el (footnote-signature-separator):
3871 * mail/mailabbrev.el (mail-alias-separator-string)
3872 (mail-abbrev-mode-regexp):
3873 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
3874 * progmodes/idlwave.el (idlwave-libinfo-file)
3875 (idlwave-default-completion-case-is-down)
3876 (idlwave-library-routines): Convert defvars to defcustoms.
3877
3878 * mail/rmail.el (rmail-decode-mime-charset):
3879 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
3880 (idlwave-shell-fix-inserted-breaks)
3881 (idlwave-shell-activate-alt-keybindings)
3882 (idlwave-shell-use-breakpoint-glyph):
3883 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
3884
3885 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
3888
3889 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
3890
3891 * progmodes/verilog-mode.el (font-lock-keywords):
3892 Fix mis-highligting auto. Reported by Craig Barner.
3893 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
3894 defines from global name space. Reported by Dan Dever.
3895 (verilog-auto-reset, verilog-auto-reset-widths)
3896 (verilog-auto-tieoff): Support using unbased numbers for
3897 AUTORESET and AUTOTIEOFF.
3898 (verilog-submit-bug-report): Update variable list.
3899 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
3900 parenthesis from not matching. Reported by Michael Rytting.
3901 (verilog-auto-template-lint): Fix hash error when linting modules
3902 with no used templates.
3903 (verilog-warn, verilog-warn-error)
3904 (verilog-warn-fatal): When non-interactive report multiple
3905 warnings before exiting. Suggested by Brad Dobbie.
3906 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
3907 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
3908 to report unused template errors. Reported by Brad Dobbie.
3909 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
3910 nets, bug438. Reported by Vns Blore.
3911 (verilog-auto-inout-module, verilog-auto-reg)
3912 (verilog-read-decls, verilog-read-sub-decls-sig)
3913 (verilog-signals-edit-wire-reg, verilog-signals-with):
3914 Fix passing of Verilog data types in ANSI input/output ports
3915 such as "output logic" into the AUTOs. Special case "wire" and
3916 "reg" for backwards compatibility presuming Verilog 2001.
3917 (verilog-auto-ascii-enum): Add "auto enum" as alias.
3918 (verilog-preprocess): Fix replication of preprocess output.
3919 Reported by Brad Dobbie.
3920 (verilog-auto-inst-interfaced-ports):
3921 Create verilog-auto-inst-interfaced-ports, bug429.
3922 Reported by Julian Gorfajn.
3923 (verilog-after-save-font-hook)
3924 (verilog-before-save-font-hook): New variable.
3925 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
3926 (verilog-save-font-mods): Wrap disabling fontification, reported
3927 by David Rogoff.
3928 (verilog-do-indent, verilog-pretty-declarations-auto)
3929 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
3930 Reported by Pierre-David Pfister.
3931 (verilog-set-auto-endcomments): Fix endtask auto comments outside
3932 of class declarations, bug292. Reported by Kevin Heilman.
3933 (verilog-read-decls): Fix 'parameter type' not appearing in
3934 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
3935 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
3936 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
3937 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
3938 Reported by David Kravitz.
3939
3940 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
3941
3942 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
3943 assignment with tests in ifs and for loops.
3944 (verilog-extended-complete-re, verilog-complete-reg): Change so
3945 that DPI inport functions don't look like fuction declarations.
3946 (verilog-pretty-expr): Don't line up assignment
3947 operations to the test and increment in if and for loops
3948 (verilog-extended-complete-re, verilog-complete-reg): Change so
3949 that DPI inport functions don't look like fuction declarations.
3950
3951 2012-05-03 Kenichi Handa <handa@m17n.org>
3952
3953 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
3954 decoding, and show a warning message without signaling an error
3955 (Bug#11282).
3956
3957 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/bytecomp.el
3960 (byte-compile-file-form-custom-declare-variable): Compile all elements,
3961 since cconv.el might have introduced :fun-body, internal-make-closure,
3962 and friends for bytecomp to handle (bug#11391).
3963 * custom.el (defcustom): Avoid ((λ ..) ..).
3964
3965 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
3968
3969 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
3970
3971 * notifications.el (dbus-debug):
3972 * term/linux.el (gpm-mouse-enable):
3973 * term/screen.el (xterm-register-default-colors): Declare.
3974
3975 2012-05-02 Chong Yidong <cyd@gnu.org>
3976
3977 * cus-start.el (gc-cons-percentage, exec-suffixes)
3978 (dos-display-scancodes, dos-hyper-key, dos-super-key)
3979 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
3980 (make-cursor-line-fully-visible, void-text-area-pointer)
3981 (font-list-limit): Add customization data.
3982
3983 * allout.el (allout-exposure-change-functions)
3984 (allout-structure-added-functions)
3985 (allout-structure-deleted-functions)
3986 (allout-structure-shifted-functions): Rename abnormal hooks from
3987 *-hook, and convert to defcustoms.
3988 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
3989 Convert to defcustoms.
3990 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
3991
3992 * allout-widgets.el: Hook callers changed.
3993
3994 2012-05-02 Eli Zaretskii <eliz@gnu.org>
3995
3996 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
3997 the yanked message in preference to the default value of
3998 buffer-file-coding-system.
3999
4000 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4001
4002 * window.el (display-buffer--action-function-custom-type):
4003 Fix entry.
4004
4005 2012-05-02 Alan Mackenzie <acm@muc.de>
4006
4007 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4008
4009 2012-05-01 Glenn Morris <rgm@gnu.org>
4010
4011 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4012
4013 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4014
4015 * cus-edit.el (custom-variable-documentation): Simplify with format.
4016
4017 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4018 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * simple.el (suggest-key-bindings, execute-extended-command):
4021 Move from keyboard.c.
4022
4023 2012-05-01 Chong Yidong <cyd@gnu.org>
4024
4025 * follow.el: Eliminate advice.
4026 (set-process-filter, process-filter, sit-for): Advice deleted.
4027 (follow-mode-off-hook): Obsolete hook removed.
4028 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4029 Vars deleted.
4030 (follow-auto): Use a :set function.
4031 (follow-mode): Rewritten. Don't advise process filters.
4032 (follow-switch-to-current-buffer-all, follow-scroll-up)
4033 (follow-scroll-down): Assume follow-mode is bound.
4034 (follow-comint-scroll-to-bottom)
4035 (follow-align-compilation-windows): New functions.
4036 (follow--window-sorter): New function.
4037 (follow-all-followers): Use it to explicitly sort windows by their
4038 positions; don't make assumptions about next-window order.
4039 (follow-windows-start-end, follow-delete-other-windows-and-split)
4040 (follow-calc-win-start): Doc fix.
4041 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4042 vertical-motion unnecessarily.
4043 (follow-adjust-window): New function.
4044 (follow-post-command-hook): Use it.
4045 (follow-call-set-process-filter, follow-call-process-filter)
4046 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4047 (follow-stop-intercept-process-output, follow-generic-filter):
4048 Functions deleted.
4049 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4050 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4051 New functions, replacing advice on scroll-bar-* commands.
4052 (follow-mwheel-scroll): New function (Bug#4112).
4053
4054 * comint.el (comint-adjust-point): New function.
4055 (comint-postoutput-scroll-to-bottom): Use it.
4056 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4057
4058 2012-05-01 Glenn Morris <rgm@gnu.org>
4059
4060 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4061 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4062 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4063 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4064 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4065 Remove no-byte-compile setting.
4066
4067 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4070 all-completions code to not return a number in the last cdr.
4071
4072 2012-04-30 Leo Liu <sdl.web@gmail.com>
4073
4074 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4075 read-only error.
4076
4077 2012-04-29 Chong Yidong <cyd@gnu.org>
4078
4079 * follow.el (follow-calc-win-end): Rewrite to handle partial
4080 screen lines correctly (Bug#8390).
4081 (follow-avoid-tail-recenter): Minor cleanup.
4082
4083 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4084
4085 Avoid the obsolete `assoc' package.
4086 * speedbar.el (speedbar-refresh): Avoid adelete.
4087 (speedbar-file-lists): Simplify and avoid aput.
4088 * man.el (Man--sections, Man--refpages): New vars, replacing
4089 Man-sections-alist and Man-refpages-alist.
4090 (Man-build-section-alist, Man-build-references-alist):
4091 Use them; avoid aput.
4092 (Man--last-section, Man--last-refpage): New vars.
4093 (Man-follow-manual-reference): Use them.
4094 Use the `default' arg of completing-read.
4095 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4096
4097 2012-04-27 Chong Yidong <cyd@gnu.org>
4098
4099 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4100
4101 * startup.el (x-apply-session-resources): New function.
4102
4103 * term/ns-win.el (ns-initialize-window-system):
4104 * term/w32-win.el (w32-initialize-window-system):
4105 * term/x-win.el (x-initialize-window-system): Use it to properly
4106 set menu-bar-mode and other vars from X resources, even if the
4107 initial frame is not a window-system frame (Bug#2299).
4108
4109 * subr.el (read-key): Avoid running filter function when setting
4110 up temporary tool bar entries (Bug#9922).
4111
4112 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4115 (Bug#11344)
4116
4117 2012-04-27 Chong Yidong <cyd@gnu.org>
4118
4119 * select.el (xselect--encode-string): New function, split from
4120 xselect-convert-to-string.
4121 (xselect-convert-to-string): Use it.
4122 (xselect-convert-to-filename, xselect-convert-to-os)
4123 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4124 returned strings are properly encoded (Bug#11315).
4125
4126 2012-04-27 Chong Yidong <cyd@gnu.org>
4127
4128 * simple.el (delete-active-region): Move to killing custom group.
4129
4130 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4131
4132 * progmodes/which-func.el (which-func-current): Quote %
4133 characters for mode-line processing.
4134
4135 2012-04-27 Chong Yidong <cyd@gnu.org>
4136
4137 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4138 reaching eob (Bug#11286).
4139
4140 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4141
4142 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4143 (gdb): Make it buffer-local and init to zero.
4144 (gdb-control-commands-regexp): New variable.
4145 (gdb-send): Don't wrap in "-interpreter-exec console" if
4146 gdb-control-level is positive. Increment gdb-control-level
4147 whenever the command matches gdb-control-commands-regexp, and
4148 decrement it each time the command is "end". (Bug#11279)
4149
4150 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4151
4152 * window.el (adjust-window-trailing-edge, enlarge-window)
4153 (shrink-window, window-resize):
4154 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4155 windows (Bug#11276).
4156
4157 2012-04-27 Chong Yidong <cyd@gnu.org>
4158
4159 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4160 fix "missing prefix" warning. All callers changed.
4161
4162 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4163
4164 * emacs-lisp/assoc.el: Move to obsolete/.
4165
4166 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4167
4168 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4169
4170 * term/ns-win.el (ns-define-service):
4171 * progmodes/pascal.el (pascal-goto-defun):
4172 * progmodes/js.el (js--read-tab):
4173 * progmodes/etags.el (tags-lazy-completion-table):
4174 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4175 * emacs-lisp/ewoc.el (ewoc--wrap):
4176 * emacs-lisp/assoc.el (aput, adelete, amake):
4177 * doc-view.el (doc-view-convert-current-doc):
4178 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4179
4180 2012-04-26 Chong Yidong <cyd@gnu.org>
4181
4182 * image.el (image-type-from-buffer): Only return supported image
4183 type (Bug#9045).
4184
4185 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4186 value, for symmetry with diff-end-of-hunk.
4187 (diff-split-hunk, diff-find-source-location)
4188 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4189 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4190 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4191 compute the relevant hunk or file properly (Bug#6005).
4192 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4193
4194 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * vc/vc-mtn.el:
4197 * vc/vc-hg.el:
4198 * vc/vc-git.el:
4199 * vc/vc-dir.el:
4200 * vc/vc-cvs.el:
4201 * vc/vc-bzr.el:
4202 * vc/vc-arch.el:
4203 * vc/vc.el: Replace lexical-let by lexical-binding.
4204 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4205 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4206 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4207
4208 2012-04-26 Chong Yidong <cyd@gnu.org>
4209
4210 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4211 (diff-mode-shared-map): Bind it to / and [remap undo].
4212
4213 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4214 (ediff-window-setup-function): Use it as the default, to set up
4215 windows based on whether the current frame is graphical (Bug#2138).
4216 (ediff-choose-window-setup-function-automatically): Make obsolete.
4217
4218 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4219
4220 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * ffap.el: Remove old code for obsolete package.
4223 (ffap-complete-as-file-p): Remove.
4224
4225 Use completion-table-with-quoting for comint and pcomplete.
4226 * comint.el (comint--unquote&requote-argument)
4227 (comint--unquote-argument, comint--requote-argument): New functions.
4228 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4229 (comint-quote-filename): Use regexp-opt-charset.
4230 (comint--common-suffix, comint--common-quoted-suffix)
4231 (comint--table-subvert): Remove.
4232 (comint-unquote-function, comint-requote-function): New vars.
4233 (comint--complete-file-name-data): Use them with
4234 completion-table-with-quoting.
4235 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4236 * pcomplete.el (pcomplete-arg-quote-list)
4237 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4238 (pcomplete-unquote-argument-function): Default to non-nil.
4239 (pcomplete-unquote-argument): Simplify.
4240 (pcomplete--common-quoted-suffix): Remove.
4241 (pcomplete-requote-argument-function): New var.
4242 (pcomplete--common-suffix): New function.
4243 (pcomplete-completions-at-point): Use completion-table-with-quoting
4244 and completion-table-subvert.
4245
4246 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4247 (minibuffer--double-dollars): Preserve properties.
4248 (completion--sifn-requote): New function.
4249 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4250
4251 * minibuffer.el: Add support for completion of quoted/escaped data.
4252 (completion-table-with-quoting, completion-table-subvert): New funs.
4253 (completion--twq-try, completion--twq-all): New functions.
4254 (completion--nth-completion): New function.
4255 (completion-try-completion, completion-all-completions): Use it.
4256
4257 2012-04-25 Leo Liu <sdl.web@gmail.com>
4258
4259 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4260 Use compilation-message if available to find real filename.
4261
4262 2012-04-25 Chong Yidong <cyd@gnu.org>
4263
4264 * vc/diff-mode.el (diff-setup-whitespace): New function.
4265 (diff-mode): Use it.
4266
4267 * vc/diff.el (diff-sentinel):
4268 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4269 Whitespace mode variables based on diff style (Bug#8612).
4270
4271 2012-04-25 Leo Liu <sdl.web@gmail.com>
4272
4273 * progmodes/python.el (python-send-region): Add suffix .py to the
4274 temp file.
4275
4276 * files.el (auto-mode-alist): Use javascript-mode instead.
4277
4278 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4279
4280 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4281
4282 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4283 (soap-resolve-references-for-array-type): Hack to prevent self
4284 references, see Bug#9.
4285 (soap-parse-envelope): Report the contents of the 'detail' node
4286 when receiving a fault reply.
4287 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4288
4289 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4290 (soap-inspect-simple-type): New function.
4291
4292 * net/soap-client.el (soap-simple-type): New struct.
4293 (soap-default-xsd-types, soap-default-soapenc-types)
4294 (soap-decode-basic-type, soap-encode-basic-type):
4295 support unsignedInt and double basic types.
4296 (soap-resolve-references-for-simple-type)
4297 (soap-parse-simple-type, soap-encode-simple-type): New function.
4298 (soap-parse-schema): Parse xsd:simpleType declarations.
4299
4300 * net/soap-client.el (soap-default-xsd-types)
4301 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4302 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4303 the local name of "soapenc:Array".
4304 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4305 decoding integer, byte and anyURI xsd types.
4306
4307 2012-04-25 Chong Yidong <cyd@gnu.org>
4308
4309 * cus-edit.el (custom-buffer-create-internal): Update header text.
4310
4311 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4312
4313 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4314 settings on 'system-type', not on 'window-system'. On MS-Windows,
4315 set interactive-mode on in GDB.
4316
4317 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4320 (ruby-syntax-propertize-regexp): Remove.
4321 (ruby-syntax-propertize-function): Split regexp into chunks.
4322 Match following code directly.
4323
4324 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4325
4326 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4327 (ruby-syntax-propertize-regexp): New function.
4328 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4329 by a special keyword.
4330
4331 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4332 (ruby-syntax-general-delimiters-goto-beg)
4333 (ruby-syntax-propertize-general-delimiters): New functions.
4334 (ruby-syntax-propertize-function): Use them to handle GDL.
4335 (ruby-font-lock-keywords): Move old handling of GDL...
4336 (ruby-font-lock-syntactic-keywords): .. to here.
4337 (ruby-calculate-indent): Adjust indentation for GDL.
4338
4339 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4340
4341 * notifications.el (top): Remove unneeded declarations.
4342 (notifications-specification-version): Change to "1.2".
4343 (notifications-interface, notifications-notify-method)
4344 (notifications-close-notification-method): Fix docstring.
4345 (notifications-get-capabilities-method): New defconst.
4346 (notifications-notify): Add :action-items, :resident and
4347 :transient hints. Change "image_data" to "image-data" and
4348 "image_path" to "image-path".
4349 (notifications-get-capabilities): New defun.
4350
4351 2012-04-24 Leo Liu <sdl.web@gmail.com>
4352
4353 * progmodes/python.el: Move hideshow setup to the end.
4354
4355 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4356
4357 * window.el (handle-select-window): Clear echo area since this is
4358 no more done by read_char (Bug#11304).
4359
4360 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4363 and `/ M' to filter-derived-mode.
4364 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4365 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4366 (ibuffer-mark-by-mode): Use default rather than initial-input.
4367 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4368
4369 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4370
4371 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4372 (ibuffer-filter-by-derived-mode): New filter.
4373 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4374
4375 2012-04-23 Andreas Politz <politza@fh-trier.de>
4376
4377 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4378
4379 2012-04-23 Chong Yidong <cyd@gnu.org>
4380
4381 * cus-edit.el (customize-apropos, customize-apropos-options):
4382 Disable matching of non-option variables (Bug#11176).
4383 (customize-option, customize-option-other-window)
4384 (customize-changed-options): Doc fix.
4385 (customize-apropos-options, customize-apropos-faces)
4386 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4387
4388 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4389 Fix word list splitting (Bug#11132).
4390 (apropos-symbol, apropos-keybinding, apropos-label)
4391 (apropos-property, apropos-function-button)
4392 (apropos-variable-button, apropos-misc-button): New faces.
4393 (apropos-symbol-face, apropos-keybinding-face)
4394 (apropos-label-face, apropos-property-face, apropos-match-face):
4395 Variables removed (Bug#8396).
4396 (apropos-library-button, apropos-format-plist, apropos-print)
4397 (apropos-print-doc, apropos-describe-plist): Callers changed.
4398
4399 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4400
4401 * net/xesam.el (xesam-mode-map): Use let-bound map in
4402 initialization. (Bug#11292)
4403
4404 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4405
4406 Preserve ispell session localwords when switching back to
4407 original buffer.
4408
4409 * textmodes/ispell.el (ispell-buffer-session-localwords):
4410 New buffer-local variable to hold buffer session localwords.
4411 (ispell-kill-ispell): Add option 'clear to delete session
4412 localwords.
4413 (ispell-command-loop, ispell-change-dictionary)
4414 (ispell-buffer-local-words): Preserve session localwords when
4415 needed.
4416
4417 * textmodes/flyspell.el (flyspell-process-localwords)
4418 (flyspell-do-correct): Preserve session localwords when needed.
4419
4420 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4421
4422 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4423 using obsolete `translation-table-for-input'.
4424 (ispell-word, ispell-process-line, ispell-complete-word):
4425 Use plain `insert' instead of removed `ispell-insert-word'.
4426
4427 2012-04-22 Chong Yidong <cyd@gnu.org>
4428
4429 * cus-edit.el (custom-variable-menu)
4430 (custom-variable-reset-saved, custom-face-menu)
4431 (custom-face-reset-saved): If there is no saved value, make the
4432 "reset-saved" operation bring back the default (Bug#9509).
4433 (custom-face-state): Properly detect themed faces.
4434
4435 * faces.el (face-spec-set): Stop supporting deprecated form of
4436 third arg.
4437
4438 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4439
4440 Move functions from C to Lisp. Make non-blocking method calls
4441 the default. Implement further D-Bus standard interfaces.
4442
4443 * net/dbus.el (dbus-message-internal): Declare function.
4444 Remove unneeded function declarations.
4445 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4446 (dbus-message-type-method-return, dbus-message-type-error)
4447 (dbus-message-type-signal): Declare variables. Remove local
4448 definitions.
4449 (dbus-interface-dbus, dbus-interface-peer)
4450 (dbus-interface-introspectable, dbus-interface-properties)
4451 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4452 Adapt docstring.
4453 (dbus-interface-objectmanager): New defconst.
4454 (dbus-call-method, dbus-call-method-asynchronously)
4455 (dbus-send-signal, dbus-method-return-internal)
4456 (dbus-method-error-internal, dbus-register-service)
4457 (dbus-register-signal, dbus-register-method): New defuns, moved
4458 from dbusbind.c
4459 (dbus-call-method-handler, dbus-setenv)
4460 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4461 New defuns.
4462 (dbus-call-method-non-blocking): Make it an obsolete function.
4463 (dbus-unregister-object, dbus-unregister-service)
4464 (dbus-handle-event, dbus-register-property)
4465 (dbus-property-handler): Obey the new structure of
4466 `bus-registered-objects'.
4467 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4468 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4469 Use `dbus-call-method'.
4470
4471 2012-04-22 Chong Yidong <cyd@gnu.org>
4472
4473 * cus-edit.el (custom-commands, custom-reset-menu)
4474 (Custom-reset-standard): Tweak labels.
4475 (custom-reset-button-menu): Change default to t.
4476 (custom-buffer-create-internal): For the custom-reset-button-menu
4477 case, put the revert button first.
4478 (custom-group-subtitle): New face.
4479 (custom-group-value-create): Align docstring to a specific column.
4480
4481 * wid-edit.el (widget-documentation-link-add): Don't handle
4482 indentation in this function.
4483 (widget-documentation-string-indent-to): New function.
4484 (widget-documentation-string-value-create): Use it.
4485
4486 * autorevert.el (auto-revert):
4487 * epg-config.el (epg):
4488 * ibuffer.el (ibuffer):
4489 * mpc.el (mpc):
4490 * ses.el (ses):
4491 * eshell/eshell.el (eshell):
4492 * net/ange-ftp.el (ange-ftp):
4493 * progmodes/ebnf2ps.el (postscript):
4494 * progmodes/flymake.el (flymake):
4495 * progmodes/prolog.el (prolog):
4496 * progmodes/verilog-mode.el (verilog-mode):
4497 * progmodes/which-func.el (which-func):
4498 * term/xterm.el (xterm):
4499 * textmodes/picture.el (picture):
4500 * textmodes/tildify.el (tildify):
4501 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4502 customization buffers.
4503
4504 2012-04-22 Alan Mackenzie <acm@muc.de>
4505
4506 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4507 Adding a ) can hide the resulting (..) from searches. Fix it.
4508 Bound the backward search to the position of the existing (.
4509
4510 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4511
4512 * progmodes/verilog-mode.el (verilog-mode): Check whether
4513 which-func-modes is t before adding verilog-mode.
4514 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4515
4516 2012-04-21 Leo Liu <sdl.web@gmail.com>
4517
4518 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4519
4520 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4521
4522 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4523 filling of the last column of a table (Bug#5635).
4524 (woman-find-next-control-line): New arg, specifying an additional
4525 regexp component for the control line.
4526 (woman2-roff-buffer): Use it.
4527 (woman-break-table): New function.
4528 (woman2-TS): Use it.
4529
4530 2012-04-21 Chong Yidong <cyd@gnu.org>
4531
4532 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4533 (woman-horizontal-escapes, woman-negative-vertical-space)
4534 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4535 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4536
4537 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * minibuffer.el (completion-file-name-table): Complete user names.
4540
4541 2012-04-20 Leo Liu <sdl.web@gmail.com>
4542
4543 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4544 and pcase-let*.
4545
4546 2012-04-20 Chong Yidong <cyd@gnu.org>
4547
4548 * server.el (server-execute): Respect initial-buffer-choice if it
4549 is a string and there are no files to open (Bug#2825).
4550 (server-create-window-system-frame, server-create-tty-frame):
4551 Don't switch buffers here.
4552 (server-process-filter): Only try to open a window system frame if
4553 compiled with graphical support (Bug#8314).
4554
4555 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4556
4557 * battery.el (battery-echo-area-format): Display remaining time
4558 for sysfs backend too (Bug#11269).
4559 (battery-linux-sysfs): Fix conditional for the charge.
4560
4561 2012-04-20 Chong Yidong <cyd@gnu.org>
4562
4563 * progmodes/gdb-mi.el (gdb): Revert previous change.
4564 (gdb-inferior-io--init-proc): New function.
4565 (gdb-init-1): Use it.
4566 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4567 responsible for allocating a new pty and hooking it to gdb when
4568 the old pty gets an EIO due to process exit.
4569 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4570 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4571 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4572
4573 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4574
4575 * window.el (window-min-size, window-sizable, window-min-delta)
4576 (window-max-delta, window--resizable, window-resizable)
4577 (window-total-size, window-full-height-p, window-full-width-p)
4578 (window-in-direction, window--resize-mini-window, window-resize)
4579 (window--resize-child-windows-normal)
4580 (window--resize-child-windows, window--resize-siblings)
4581 (window--resize-this-window, adjust-window-trailing-edge)
4582 (enlarge-window, shrink-window): Doc fixes.
4583
4584 2012-04-20 Chong Yidong <cyd@gnu.org>
4585
4586 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4587 New function to call delete-process on the gdb-inferior buffer's pty.
4588 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4589 pty process (Bug#11273).
4590 (gdb-update): New arg to suppress talking to the gdb process.
4591 (gdb-done-or-error): Use it.
4592 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4593 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4594 sentinel not being called.
4595
4596 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4597
4598 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4599
4600 2012-04-20 Glenn Morris <rgm@gnu.org>
4601
4602 * net/network-stream.el (open-network-stream): Doc fix.
4603
4604 2012-04-20 Chong Yidong <cyd@gnu.org>
4605
4606 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4607
4608 2012-04-20 Alan Mackenzie <acm@muc.de>
4609
4610 Ensure searching for keywords is case sensitive.
4611
4612 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4613 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4614 (c-defun-name, c-mark-function, c-cpp-define-name)
4615 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4616 (c-context-line-break): Bind case-fold-search to nil.
4617
4618 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4619 Bind case-fold-search to nil.
4620
4621 2012-04-20 Chong Yidong <cyd@gnu.org>
4622
4623 * mail/sendmail.el (mail-bury): Call return action with the right
4624 Rmail buffer (Bug#11242).
4625
4626 * server.el (server-process-filter): Handle corner case where both
4627 tty and nowait options are present (Bug#11102).
4628
4629 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4630
4631 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4632 (top level): Put into the executable the ident-style '$Id:' tag on
4633 windows-nt as well.
4634
4635 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * electric.el (electric-indent-post-self-insert-function): Check that
4638 electric-indent-mode is enabled in current buffer.
4639
4640 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4641
4642 * imenu.el (imenu-progress-message): Restore; it is "used" in
4643 erc/erc-imenu.el and net/snmp-mode.el.
4644
4645 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4646
4647 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4648 (mouse-avoidance-nudge-mouse): Remove unused binding.
4649
4650 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4651
4652 * descr-text.el (describe-char):
4653 * progmodes/python.el (python-describe-symbol):
4654 Don't call `toggle-read-only', set `buffer-read-only'.
4655
4656 * imenu.el (imenu-default-goto-function): Mark unused args.
4657 (imenu-progress-message): Remove obsolete macro; all callers changed.
4658
4659 * subr.el (keymap-canonicalize): Remove unused binding.
4660 (read-passwd): Mark unused arg.
4661
4662 * tutorial.el (tutorial--display-changes): Remove unused binding.
4663 (tutorial--save-tutorial-to): Remove unused variable.
4664
4665 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4666 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4667 (package-generate-autoloads, package-menu--generate)
4668 (package-menu--find-upgrades): Remove unused bindings.
4669
4670 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4671 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4672 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4673 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4674 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4675 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4676 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4677 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4678 (cua-delete-char-rectangle): Mark unused args.
4679 (cua-align-rectangle): Remove unused binding.
4680
4681 * mail/rmail.el (compilation--message->loc)
4682 (epa--find-coding-system-for-mime-charset): Declare.
4683
4684 * net/dbus.el (dbus-register-service): Declare.
4685 (dbus-name-owner-changed-handler): Remove unused binding.
4686
4687 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4688 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4689 (nxml-scan-backward-within): Mark unused arg.
4690 (nxml-dynamic-markup-word): Remove unused binding.
4691
4692 * mouse.el (mouse-menu-major-mode-map):
4693 * emacs-lisp/authors.el (authors-scan-change-log)
4694 (authors-add-to-author-list):
4695 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4696 * emacs-lisp/smie.el (smie-auto-fill):
4697 * mail/sendmail.el (mail-bury):
4698 * mail/unrmail.el (unrmail):
4699 * net/tls.el (open-tls-stream):
4700 * textmodes/picture.el (picture-mouse-set-point):
4701 Remove unused bindings.
4702
4703 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4704
4705 * net/tramp.el (tramp-action-password): Let-bind
4706 `enable-recursive-minibuffers' to t.
4707
4708 2012-04-18 Sam Steingold <sds@gnu.org>
4709
4710 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4711 instead of 'string to accommodate values like [f11].
4712 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4713 * progmodes/gdb-mi.el: Likewise.
4714
4715 2012-04-18 Leo Liu <sdl.web@gmail.com>
4716
4717 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4718 current buffer.
4719 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4720 LOCAL is nil.
4721
4722 2012-04-18 Chong Yidong <cyd@gnu.org>
4723
4724 * simple.el (line-move): Use forward-line if in batch mode
4725 (Bug#11053).
4726
4727 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4728
4729 * files.el (after-find-file): Do not try to add a final newline if
4730 the buffer is read-only (Bug#11156).
4731
4732 2012-04-17 Richard Stallman <rms@gnu.org>
4733
4734 * mail/rmail.el (rmail-start-mail):
4735 Pass (rmail-mail-return...) for the return-action.
4736 Pass (rmail-yank-current-message...) for the yank-action.
4737 (rmail-yank-current-message): New function.
4738 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4739 (rmail-reply): Likewise.
4740 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4741
4742 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4743 buffer, not the last. Reject temp buffers. Use the rmail-mode
4744 buffer, not newbuf.
4745
4746 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4747
4748 * server.el (server-ensure-safe-dir): Simplify.
4749
4750 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * emacs-lisp/smie.el: Provide smarter auto-filling.
4753 (smie-auto-fill): New function.
4754 (smie-setup): Use it.
4755
4756 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4757
4758 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4759
4760 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4761 (comment-indent): Use it.
4762
4763 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4764
4765 * ses.el: The overall change is to add cell renaming, that is
4766 setting fancy names for cell symbols other than name matching
4767 "\\`[A-Z]+[0-9]+\\'" regexp .
4768 (ses-localvars): Add ses--renamed-cell-symb-list.
4769 (ses-create-cell-variable): New defun.
4770 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4771 (ses-relocate-formula): Relocate formulas only for cells the
4772 symbols of which are not renamed, i.e. symbols whose names do not
4773 match regexp "\\`[A-Z]+[0-9]+\\'".
4774 (ses-relocate-all): Relocate values only for cells the symbols of
4775 which are not renamed.
4776 (ses-load): Create cells variables as the (ses-cell ...) are read,
4777 in order to check row col consistency with cell symbol name only
4778 for cells that are not renamed.
4779 (ses-replace-name-in-formula): New defun.
4780 (ses-rename-cell): New defun.
4781
4782 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4783
4784 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4785 New option (bug#11118).
4786 (perl-calculate-indent): Respect it.
4787
4788 2012-04-17 Glenn Morris <rgm@gnu.org>
4789
4790 * dired-aux.el (dired-mark-read-string): Doc fix.
4791
4792 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4793
4794 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4795 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4796
4797 2012-04-17 Glenn Morris <rgm@gnu.org>
4798
4799 * mouse.el (mouse-drag-track):
4800 * speedbar.el (speedbar-frame-mode):
4801 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4802
4803 2012-04-16 Leo Liu <sdl.web@gmail.com>
4804
4805 * progmodes/python.el: Trivial cleanup.
4806
4807 2012-04-16 Glenn Morris <rgm@gnu.org>
4808
4809 * vc/vc.el (vc-string-prefix-p):
4810 * vc/pcvs-util.el (cvs-string-prefix-p):
4811 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
4812 * mpc.el (mpc-string-prefix-p):
4813 Make all of these into obsolete aliases for string-prefix-p.
4814 Update callers.
4815 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
4816
4817 * textmodes/two-column.el: Move custom options to the start.
4818 (frame-width): Remove compat definition.
4819 (2C-associate-buffer, 2C-dissociate):
4820 Use with-current-buffer rather than save-excursion.
4821 (2C-dissociate): Force a mode-line update.
4822 (2C-autoscroll): Use ignore-errors.
4823
4824 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
4825 Autoload trivia.
4826
4827 * emacs-lisp/cl-extra.el (*random-state*):
4828 Remove unnecessary declaration.
4829
4830 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
4831
4832 * play/cookie1.el (cookie-snarf):
4833 Give an explicit error if input file cannot be read.
4834
4835 * play/yow.el (yow-file): Use expand-file-name rather than concat.
4836
4837 * progmodes/perl-mode.el (c-macro-expand):
4838 Remove unnecessary autoload (it is in loaddefs.el).
4839
4840 * textmodes/picture.el (picture-desired-column)
4841 (picture-update-desired-column): Convert comments to doc-strings.
4842 (picture-substitute): Remove function.
4843 (picture-mode-map): Initialize in the defvar.
4844
4845 * woman.el: Remove eval-after-load for tar-mode.
4846 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
4847 (woman-tar-extract-file): Autoload it.
4848
4849 * frame.el (automatic-hscrolling): Make this alias obsolete.
4850
4851 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4852
4853 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4854 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
4855 (ispell-dictionary-base-alist): Revert to original XEmacs
4856 friendly version for default. [:alpha:] will be added in
4857 `ispell-set-spellchecker-params' if needed.
4858
4859 2012-04-16 Chong Yidong <cyd@gnu.org>
4860
4861 * image.el (imagemagick--file-regexp): New variable.
4862 (imagemagick-register-types): Use it.
4863 (imagemagick-types-inhibit): Add :set function. Allow new value
4864 of t to inhibit all types.
4865
4866 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
4867 so we can preload it.
4868
4869 * loadup.el (fboundp): Preload regexp-opt, needed by
4870 imagemagick-register-types.
4871
4872 2012-04-15 Chong Yidong <cyd@gnu.org>
4873
4874 * frame.el (scrolling): Remove nearly unused customization group.
4875
4876 * scroll-all.el (scroll-all-mode): Move to windows group.
4877
4878 2012-04-15 Chong Yidong <cyd@gnu.org>
4879
4880 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
4881
4882 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4885 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
4886
4887 2012-04-15 Glenn Morris <rgm@gnu.org>
4888
4889 * simple.el (process-file-side-effects): Doc fix.
4890
4891 2012-04-15 Glenn Morris <rgm@gnu.org>
4892
4893 * international/mule-cmds.el (set-language-environment): Doc fix.
4894
4895 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4896
4897 * server.el (server-auth-key, server-generate-key): Doc fixes.
4898 (server-get-auth-key): Doc fix. Use `string-match-p'.
4899 (server-start): Reflow docstring.
4900
4901 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
4902
4903 * server.el (server-generate-key): `called-interactively-p'
4904 requires a parameter.
4905
4906 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
4907
4908 * server.el (server-auth-key): New variable.
4909 (server-generate-key, server-get-auth-key): New function.
4910 (server-start): Use the new variable and functions to allow
4911 setting a permanent server key (bug#9423).
4912
4913 2012-04-14 Leo Liu <sdl.web@gmail.com>
4914
4915 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
4916
4917 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
4918
4919 Spelling fixes.
4920 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
4921 Emacs uses American spelling.
4922
4923 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
4924
4925 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
4926 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
4927 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
4928 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
4929
4930 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * progmodes/which-func.el (which-func-modes): Change default.
4933
4934 2012-04-14 Kim F. Storm <storm@cua.dk>
4935
4936 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
4937 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
4938
4939 2012-04-14 Chong Yidong <cyd@gnu.org>
4940
4941 * custom.el (custom-theme-set-variables): Doc fix.
4942
4943 2012-04-14 Glenn Morris <rgm@gnu.org>
4944
4945 * international/mule.el (set-auto-coding-for-load): Doc fix.
4946
4947 2012-04-14 Alan Mackenzie <acm@muc.de>
4948
4949 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
4950 imenu work again for Objective C Mode. Correct the *-index values,
4951 these having been disturbed by a previous change in 2011-08.
4952
4953 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
4954 Correct two search limits.
4955
4956 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
4959
4960 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
4961
4962 * international/characters.el: Fix sorting.
4963
4964 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4965
4966 * international/characters.el: Add more missing Latin case pairs.
4967
4968 2012-04-14 Glenn Morris <rgm@gnu.org>
4969
4970 * files.el (dir-locals-set-class-variables): Doc fix.
4971
4972 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4973
4974 * international/characters.el: Add set-case-syntax-pair call for
4975 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
4976 counterpart. (Bug#11209)
4977
4978 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
4979
4980 2012-04-14 Glenn Morris <rgm@gnu.org>
4981
4982 * calendar/holidays.el (calendar-check-holidays): Doc fix.
4983
4984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4985
4986 * textmodes/ispell.el (ispell-dictionary-base-alist):
4987 Add data for Hebrew.
4988
4989 2012-04-14 Chong Yidong <cyd@gnu.org>
4990
4991 * net/rcirc.el (rcirc-cmd-quit):
4992 Revert 2012-03-18 change (Bug#11192).
4993
4994 2012-04-14 Glenn Morris <rgm@gnu.org>
4995
4996 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
4997
4998 2012-04-14 Eli Zaretskii <eliz@gnu.org>
4999
5000 * minibuffer.el (completion-in-region-mode-map):
5001 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5002
5003 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5004
5005 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5006
5007 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5008
5009 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5010 to allow `C-M-f' and `C-M-b' to move to the nearest path
5011 separator (bug#9511).
5012
5013 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5014
5015 * avoid.el: Require cl when compiling. And also move the
5016 `provide' to the end.
5017
5018 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5019
5020 * avoid.el (mouse-avoidance-banish-position): New variable.
5021 (mouse-avoidance-banish-destination): Use it (bug#10165).
5022
5023 2012-04-13 Leo Liu <sdl.web@gmail.com>
5024
5025 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5026
5027 2012-04-13 Ken Brown <kbrown@cornell.edu>
5028
5029 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5030 this is no longer needed now that cygstart understands file:// URLs.
5031 (browse-url-filename-alist): For the same reason, don't modify
5032 file:// URLs on Cygwin.
5033
5034 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5037 the region on shift if the binding is already shifted (bug#11221).
5038
5039 2012-04-12 Glenn Morris <rgm@gnu.org>
5040
5041 * mail/mailpost.el: Move to obsolete/.
5042
5043 2012-04-12 Drew Adams <drew.adams@oracle.com>
5044
5045 * imenu.el (imenu--generic-function): Ignore invisible definitions
5046 (bug#10123).
5047
5048 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5049
5050 * hexl.el (hexl-bits): New variable.
5051 (hexl-options): Mention the variable in the doc string.
5052 (hexl-rulerise, hexl-line-displen): New functions.
5053 (hexl-mode): Mention the new variable.
5054 (hexl-mode, hexl-current-address, hexl-current-address):
5055 Use the displen.
5056 (hexl-ascii-start-column): New function.
5057 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5058 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5059
5060 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5061
5062 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5063 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5064 the encoding, as expected by hunspell.
5065
5066 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * battery.el (battery--linux-sysfs-regexp): New const.
5069 (battery-status-function): Use it. Remove yeeloong special case.
5070 (battery-yeeloong-sysfs): Remove.
5071 (battery-echo-area-format): Remove yeeloong special case.
5072
5073 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5076 Reported by Noah Friedman.
5077
5078 * subr.el (read-passwd): Use read-string.
5079
5080 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5081
5082 * vcursor.el (vcursor-move): Increase the priority of the overlay
5083 (bug#9663).
5084
5085 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5086
5087 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5088 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5089
5090 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5091
5092 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5093 define-minor-mode (bug#10760).
5094
5095 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5096
5097 * progmodes/grep.el (rgrep): Tweak the find command line so
5098 that directories matching `grep-find-ignored-files' won't be
5099 pruned (bug#10351).
5100
5101 2012-04-11 Chong Yidong <cyd@gnu.org>
5102
5103 * startup.el (command-line): Remove support for long-obsolete
5104 variable font-lock-face-attributes.
5105
5106 2012-04-11 Glenn Morris <rgm@gnu.org>
5107
5108 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5109
5110 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * window.el (window--state-get-1): Obey window-point-insertion-type.
5113
5114 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5115
5116 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5117 to previous function when point is on the first character of a
5118 function. Take care of that in `narrow-to-defun' (bug#6157).
5119
5120 2012-04-11 Glenn Morris <rgm@gnu.org>
5121
5122 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5123 not just file-errors.
5124
5125 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5126 (vc-bzr-sha1): Use internal sha1.
5127
5128 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5131
5132 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5133
5134 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5135 that start in the middle of the line (bug#10496).
5136
5137 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5138
5139 * battery.el (battery-linux-proc-acpi): Only one battery is
5140 discharged at a time, but that seems to confuse battery.el when
5141 computing `rate-type' for the battery not being discharged
5142 (bug#10332).
5143
5144 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5147
5148 * international/quail.el: Use dolist and simplify.
5149 (quail-define-package, quail-update-keyboard-layout)
5150 (quail-define-rules): Use dolist.
5151 (quail-insert-kbd-layout, quail-get-translation): CSE.
5152
5153 * tmm.el: Use dolist, remove left over hook.
5154 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5155 Use dolist.
5156 (calendar-load-hook): Don't mess with it.
5157
5158 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5159 Use derived-mode-p. Run the diff asynchronously.
5160
5161 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
5163 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5164
5165 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5166
5167 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5168 (list-dynamic-libraries--loaded): New function.
5169 (list-dynamic-libraries--refresh): Use it.
5170
5171 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5172
5173 * progmodes/python.el (python-fill-paragraph):
5174 Make python-fill-region in a multiline string work when font-lock is
5175 disabled (bug#7018).
5176
5177 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5178
5179 * language/european.el (cp775): Add oem/legacy (en)coding on
5180 DOS/MS Windows for the Baltic languages. There are still plenty
5181 of texts written in this encoding/codepage (bug#6519).
5182
5183 2012-04-10 Glenn Morris <rgm@gnu.org>
5184
5185 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5186 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5187
5188 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5189
5190 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5191 next-line "n" and previous-line "p" in order to make recentf more
5192 consistent with ibuffer, dired or org-mode (bug#9387).
5193
5194 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5195
5196 * image.el (put-image): Return the overlay created instead of the
5197 optional input string (bug#7834). Note that this may break code
5198 that is (for some reason or other) depending on `put-image'
5199 returning the string.
5200
5201 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5202
5203 * simple.el (zap-to-char): Allow zapping using input methods
5204 (bug#1580).
5205
5206 * textmodes/fill.el (fill-region): Leave point and mark where they
5207 were before filling (bug#5399).
5208
5209 2012-04-09 Glenn Morris <rgm@gnu.org>
5210
5211 * version.el (emacs-bzr-get-version):
5212 Handle lightweight checkouts of local branches.
5213
5214 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5215
5216 * international/characters.el: Recover lost case pairs. (Bug#11209)
5217
5218 2012-04-09 Chong Yidong <cyd@gnu.org>
5219
5220 * custom.el (custom-variable-p): Return nil for non-symbol
5221 arguments instead of signaling an error.
5222 (user-variable-p): Obsolete alias for custom-variable-p.
5223
5224 * apropos.el (apropos-variable):
5225 * files-x.el (read-file-local-variable):
5226 * simple.el (set-variable):
5227 * woman.el (woman-mini-help):
5228 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5229
5230 2012-04-09 Glenn Morris <rgm@gnu.org>
5231
5232 * startup.el (normal-top-level): Don't look for leim-list.el
5233 in places where it will not be found. (Bug#910)
5234
5235 * international/mule-cmds.el (set-default-coding-systems):
5236 * files.el (normal-mode):
5237 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5238 This function was removed with ucs-tables.el in 2008.
5239
5240 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5241
5242 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5243 ispell-encoding8-command to "-i", without a trailing space.
5244 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5245 separate command-line arguments, to specify the encoding, since
5246 that's how hunspell expects it.
5247
5248 2012-04-08 Glenn Morris <rgm@gnu.org>
5249
5250 * loadup.el: Load bindings before cus-start.
5251 This reduces somewhat the number of "rogue" settings in emacs -Q.
5252
5253 2012-04-07 Glenn Morris <rgm@gnu.org>
5254
5255 * version.el (emacs-bzr-get-version): New function.
5256 (emacs-bzr-version): New variable.
5257 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5258 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5259
5260 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5261
5262 * international/uni-bidi.el, international/uni-category.el:
5263 * international/uni-combining.el, international/uni-decimal.el:
5264 * international/uni-decomposition.el, international/uni-digit.el:
5265 * international/uni-lowercase.el, international/uni-mirrored.el:
5266 * international/uni-name.el, international/uni-numeric.el:
5267 * international/uni-titlecase.el, international/uni-uppercase.el:
5268 Update for Unicode 6.1.
5269
5270 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5271
5272 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5273
5274 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275
5276 * window.el (shrink-window): Mention the `window-min-height'
5277 variable in the doc string.
5278
5279 2012-04-05 Bastien Guerry <bzg@altern.org>
5280
5281 * color.el (color-lighten-name): Fix typo.
5282
5283 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * server.el (server--on-display-p): New function.
5286 (server--on-display-p): Use it.
5287
5288 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5289
5290 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5291 (bug#11145).
5292
5293 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * comint.el (comint--common-quoted-suffix): Check string boundary
5296 before comparing (bug#11158).
5297 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5298
5299 2012-04-04 Chong Yidong <cyd@gnu.org>
5300
5301 * minibuffer.el (completion-extra-properties): Doc fix.
5302
5303 * subr.el (delayed-warnings-hook): Doc fix.
5304
5305 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5306
5307 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5308 selection (Bug#11159).
5309 (epa-insert-keys): Inform that the default public key will be
5310 exported if no key is selected.
5311
5312 2012-04-04 Richard Stallman <rms@gnu.org>
5313
5314 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5315
5316 2012-04-03 Chong Yidong <cyd@gnu.org>
5317
5318 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5319 mail-insert-file, not its obsolete alias mail-attach-file.
5320
5321 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5322
5323 * notifications.el (notifications-notify): Fix docstring.
5324
5325 2012-04-02 Glenn Morris <rgm@gnu.org>
5326
5327 * emacs-lisp/authors.el (authors-aliases): Another addition.
5328
5329 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5330
5331 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5332 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5333 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5334
5335 2012-04-01 Chong Yidong <cyd@gnu.org>
5336
5337 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5338 Handle root directory properly.
5339 (copy-directory): Caller changed.
5340
5341 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5342 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5343
5344 2012-03-31 Glenn Morris <rgm@gnu.org>
5345
5346 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5347
5348 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5349
5350 * calendar/calendar.el (calendar-window-list)
5351 (calendar-hide-window): Restore. (Bug#11140)
5352 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5353
5354 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5355
5356 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5357
5358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5359 Check if file is a symlink (Bug#10489).
5360
5361 * files.el (copy-directory): Likewise.
5362
5363 2012-03-30 Chong Yidong <cyd@gnu.org>
5364
5365 * image.el (imagemagick-types-inhibit)
5366 (imagemagick-register-types): Doc fix.
5367
5368 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5369
5370 * textmodes/ispell.el (ispell-get-extended-character-mode):
5371 Disable extended-char-mode for hunspell. hunspell does not support it
5372 and treats ~word as ordinary words in pipe mode.
5373
5374 2012-03-30 Glenn Morris <rgm@gnu.org>
5375
5376 * tutorial.el (help-with-tutorial): Ensure local variables don't
5377 happen to make the buffer read-only. (Bug#11127)
5378
5379 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5382 (perl-calculate-indent): Return `noindent' in strings.
5383
5384 2012-03-28 Sam Steingold <sds@gnu.org>
5385
5386 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5387 instead of the broken adhockery which does not prevent calendar
5388 buffers from being displayed at random after exit.
5389 (calendar-window-list, calendar-hide-window): Remove the broken
5390 adhockery.
5391
5392 2012-03-28 Glenn Morris <rgm@gnu.org>
5393
5394 * replace.el (query-replace-map): Doc fix.
5395
5396 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5397
5398 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5399 contents. (Bug#11109)
5400
5401 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5404 (bug#11077).
5405 (avl-tree--check, avl-tree--check-node): New funs.
5406
5407 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5408
5409 * window.el (switch-to-visible-buffer): New option.
5410 (switch-to-prev-buffer, switch-to-next-buffer):
5411 Observe switch-to-visible-buffer. Make sure that checking for a window
5412 showing a buffer already is done on the same frame.
5413
5414 2012-03-27 Glenn Morris <rgm@gnu.org>
5415
5416 * startup.el (mail-host-address): Doc fix.
5417
5418 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5421 than 197 variables.
5422
5423 2012-03-26 Ami Fischman <ami@fischman.org>
5424
5425 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5426
5427 2012-03-26 Glenn Morris <rgm@gnu.org>
5428
5429 * files.el (save-buffers-kill-emacs): Doc fix.
5430
5431 * startup.el (normal-top-level, command-line, command-line-1):
5432 Give them doc strings.
5433
5434 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5435
5436 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5437 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5438
5439 2012-03-25 Chong Yidong <cyd@gnu.org>
5440
5441 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5442 theme if it was previously enabled before (Bug#11031).
5443
5444 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5445 spec with custom-face-get-current-spec if its :shown-value is not
5446 determined yet (Bug#9337).
5447 (customize-create-theme, custom-theme-revert): Doc fixes.
5448
5449 * button.el (button-at): Minor addition to docstring.
5450
5451 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5452
5453 * vc/vc.el (vc-merge): Fix a prompt.
5454
5455 2012-03-24 Chong Yidong <cyd@gnu.org>
5456
5457 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5458 point (Bug#9623).
5459
5460 * button.el (button-at): Minor addition to docstring.
5461
5462 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * newcomment.el (comment-choose-indent): No space after BOL.
5465
5466 2012-03-22 Sam Steingold <sds@gnu.org>
5467
5468 * window.el (switch-to-prev-buffer): Revert last patch because the
5469 bug turned out to be an advertised feature (Elisp manual 28.14).
5470
5471 2012-03-22 Glenn Morris <rgm@gnu.org>
5472
5473 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5474 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5475
5476 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5477
5478 * net/network-stream.el (network-stream-open-starttls): Make error
5479 message under Windows be less misleading.
5480
5481 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5482
5483 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5484 understands (bug#9942).
5485
5486 2012-03-22 Chong Yidong <cyd@gnu.org>
5487
5488 * simple.el (end-of-visible-line): Handle return value of
5489 next-single-property-change properly (Bug#9371).
5490
5491 2012-03-22 Kenichi Handa <handa@m17n.org>
5492
5493 * international/quail.el (quail-insert-kbd-layout): Fix previous
5494 change. To avoid unwanted bidi reordering, use
5495 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5496
5497 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5498
5499 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5500 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5501 (ruby-beginning-of-indent): Be more careful with the difference
5502 between word-boundary and symbol boundary.
5503 (ruby-mode-syntax-table): Make : a symbol constituent.
5504
5505 2012-03-21 Andreas Politz <politza@fh-trier.de>
5506
5507 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5508
5509 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * progmodes/etags.el (tags-completion-at-point-function):
5512 Improve last fix.
5513
5514 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5515
5516 2012-03-21 Sam Steingold <sds@gnu.org>
5517
5518 * progmodes/etags.el (tags-completion-at-point-function):
5519 Avoid the error when point is inside the pattern.
5520
5521 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5522
5523 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5524 line (Bug#10855).
5525
5526 2012-03-21 Drew Adams <drew.adams@oracle.com>
5527
5528 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5529
5530 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5531
5532 * ido.el (ido-set-current-directory, ido-read-internal)
5533 (ido-choose-completion-string, ido-completion-help): Handle nil
5534 value of ido-completion-buffer (Bug#11008).
5535
5536 2012-03-21 Sam Steingold <sds@gnu.org>
5537
5538 * window.el (switch-to-prev-buffer): Do not switch to a visible
5539 window previous buffer, just like with the frame previous buffers.
5540
5541 2012-03-21 Chong Yidong <cyd@gnu.org>
5542
5543 * faces.el (make-face, make-empty-face, copy-face):
5544 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5545 Doc fixes.
5546
5547 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5548
5549 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5550 (widget-complete): Remove broken use of it.
5551
5552 2012-03-20 Chong Yidong <cyd@gnu.org>
5553
5554 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5555 Use string-width and truncate-string-width to handle arbitrary
5556 characters.
5557
5558 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5559
5560 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5561 to draw rectangles, not squares. (Regression introduced by revno
5562 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5563
5564 2012-03-18 Chong Yidong <cyd@gnu.org>
5565
5566 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5567 it is not yet defined (for temacs).
5568
5569 2012-03-18 Leo Liu <sdl.web@gmail.com>
5570
5571 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5572
5573 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5574
5575 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5576 (ispell-choices-win-default-height, ispell-silently-savep)
5577 (ispell-dictionary-alist, ispell-encoding8-command)
5578 (ispell-check-version, ispell-aspell-find-dictionary)
5579 (ispell-valid-dictionary-list, ispell-words-keyword)
5580 (ispell-get-word, ispell-internal-change-dictionary)
5581 (ispell-region, ispell-skip-region-list)
5582 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5583 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5584 (ispell-message-text-end, ispell-message)
5585 (ispell-buffer-local-parsing): Doc fix.
5586
5587 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5588
5589 * htmlfontify.el: Add support for code block fontification for ODT
5590 export (Bug #9914).
5591 (hfy-optimisations): Define new option
5592 `body-text-only'
5593 (hfy-fontify-buffer): Honor above setting.
5594 (hfy-begin-span, hfy-end-span): New routines factored out form
5595 `hfy-fontify-buffer'.
5596 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5597 that permit insertion of custom tags.
5598 (hfy-fontify-buffer): Use above handlers.
5599 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5600 (hfy-face-to-css): Re-defined to be a variable.
5601 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5602 over multiple runs. This is made possible by having the caller let
5603 bind a special variable `hfy-user-sheet-assoc'.
5604 (htmlfontify-string): New defun.
5605 (hfy-compile-face-map): Make sure that the last char in the
5606 buffer is correctly fontified.
5607 (hfy-face-resolve-face): Whitespace only change.
5608
5609 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5610
5611 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5612 message more clear.
5613
5614 2012-03-16 Leo Liu <sdl.web@gmail.com>
5615
5616 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5617
5618 2012-03-16 Alan Mackenzie <acm@muc.de>
5619
5620 Further optimise the handling of large macros.
5621
5622 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5623 limit to a call of `c-literal-limits'.
5624 (c-determine-+ve-limit): New function.
5625 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5626 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5627 In CASE 5B, restrict a search limit to 500.
5628 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5629
5630 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5631 Restrict macro bounds to +-500 from after-change's BEG END.
5632
5633 2012-03-16 Leo Liu <sdl.web@gmail.com>
5634
5635 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5636
5637 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5638
5639 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5640 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5641
5642 2012-03-16 Glenn Morris <rgm@gnu.org>
5643
5644 * view.el (view-buffer, view-buffer-other-window)
5645 (view-buffer-other-frame): Doc fixes re special mode-class.
5646
5647 * subr.el (eval-after-load): If named feature is provided not from
5648 a file, run after-load forms. (Bug#10946)
5649
5650 * calendar/calendar.el (calendar-insert-at-column):
5651 Handle non-unit-width characters a bit better. (Bug#10978)
5652
5653 2012-03-15 Chong Yidong <cyd@gnu.org>
5654
5655 * emacs-lisp/ring.el (ring-extend): New function.
5656 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5657
5658 * comint.el (comint-read-input-ring)
5659 (comint-add-to-input-history): Grow comint-input-ring lazily.
5660
5661 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5664 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5665
5666 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5667 (imenu-add-to-menubar): Don't add a redundant index.
5668 (imenu-update-menubar): Handle a dynamically composed keymap.
5669
5670 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5671
5672 * mail/sendmail.el (mail-encode-header):
5673 Bind rfc2047-encode-encoded-words to nil.
5674
5675 2012-03-13 Glenn Morris <rgm@gnu.org>
5676
5677 * calendar/calendar.el (calendar-string-spread):
5678 Handle non-unit-width characters a bit better. (Bug#10978)
5679
5680 2012-03-13 Leo Liu <sdl.web@gmail.com>
5681
5682 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5683 directory and file as argument (Bug#10822).
5684
5685 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5686
5687 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5688 For dynamically generated code, follow $PC.
5689 (gdb-disassembly-handler-custom): Handle no function name case.
5690
5691 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5692
5693 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5694 * emulation/ws-mode.el (ws-query-replace):
5695 * sort.el (sort-regexp-fields):
5696 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5697
5698 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * dabbrev.el: Fix cycle completion order (bug#10963).
5701 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5702 (dabbrev-completion): Don't use an obarray; provide
5703 a cycle-sort-function.
5704
5705 2012-03-12 Leo Liu <sdl.web@gmail.com>
5706
5707 * simple.el (kill-new): Use equal-including-properties for comparison.
5708 (kill-do-not-save-duplicates): Doc fix.
5709
5710 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * dabbrev.el: Fix cycle completion (bug#10963).
5713 Use lexical binding and wrap to 80 columns.
5714 (dabbrev-completion): Delay computing the list of completions.
5715
5716 2012-03-12 Kenichi Handa <handa@m17n.org>
5717
5718 * international/quail.el (quail-insert-kbd-layout): Surround each
5719 row by LRO and PDF instead of inserting many LRMs. Pad the left
5720 and right of each non-spacing marks. Insert invisible space
5721 between lower and upper characters to prevent composition.
5722
5723 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * minibuffer.el (minibuffer-complete): Don't get confused when the
5726 function is run twice via different commands (bug#10958).
5727 (complete-with-action): Fix docstring.
5728
5729 2012-03-12 Chong Yidong <cyd@gnu.org>
5730
5731 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5732 (nxml-completion-at-point-function): New function.
5733 (nxml-mode): Use it.
5734 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5735
5736 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5737 Load generated autoloads file before byte compiling (Bug#10970).
5738 (package--make-autoloads-and-compile): New helper fun.
5739
5740 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5741
5742 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5743
5744 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5745
5746 * autorevert.el (auto-revert-handler): Ensure, that
5747 file-readable-p is applied only for local files or in
5748 auto-revert-tail-mode.
5749
5750 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5751
5752 * server.el (server-eval-at): Handle non-tcp connections.
5753 Decode result string.
5754
5755 * server.el (server-msg-size): New constant.
5756 (server-reply-print): New function.
5757 (server-eval-and-print): Use it.
5758 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5759 Handle -print-nonl.
5760
5761 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5762
5763 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5764 (Bug#10987).
5765
5766 2012-03-11 Chong Yidong <cyd@gnu.org>
5767
5768 * simple.el (goto-line): Doc fix (Bug#9938).
5769
5770 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5771
5772 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5773 when finished (Bug#10963).
5774
5775 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5776
5777 * window.el (split-window-below): Fix bug in case where
5778 split-window-keep-point is nil (Bug#10971).
5779
5780 2012-03-11 Juri Linkov <juri@jurta.org>
5781
5782 * replace.el (replace-highlight): Set isearch-word to nil
5783 unconditionally. (Bug#10887)
5784
5785 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5786
5787 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5788 mairix-replace-illegal-chars; all callers changed. Don't remove
5789 ^, ~, and = characters: they are meaningful in mairix search specs.
5790 (mairix-widget-create-query): Add usage information about mairix
5791 search forms: negating words, searching for substrings, etc.
5792
5793 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5794
5795 * international/fontset.el (font-encoding-alist): Add an entry for
5796 ksx1001 (Bug#5667).
5797
5798 2012-03-10 Richard Stallman <rms@gnu.org>
5799
5800 * mail/sendmail.el (mail-encode-header):
5801 Set rfc2047-encode-encoded-words.
5802
5803 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5804
5805 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5806 view buffer means not swapped.
5807 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
5808 (rmail-write-region-annotate): Error if real text has disappeared.
5809
5810 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
5811
5812 2012-03-10 Chong Yidong <cyd@gnu.org>
5813
5814 * emulation/cua-rect.el (cua--init-rectangles):
5815 * emulation/cua-base.el (cua--init-keymaps):
5816 Add delete-forward-char to remappings (Bug#9666).
5817
5818 2012-03-10 Martin Rudalics <rudalics@gmx.at>
5819
5820 * speedbar.el (speedbar-unhighlight-one-tag-line):
5821 Avoid unhighlighting due to frame switching (Bug#10275).
5822
5823 2012-03-10 Chong Yidong <cyd@gnu.org>
5824
5825 * minibuffer.el (completion-in-region, completion-help-at-point):
5826 Give the completion field overlay a high priority (Bug#6830).
5827
5828 * dired.el (dired-goto-file): Recognize absolute file name
5829 listings (Bug#7126).
5830 (dired-goto-file-1): New helper function.
5831 (dired-toggle-read-only): Inhibit warnings.
5832
5833 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
5834
5835 * net/dbus.el (dbus-property-handler): Return empty array if
5836 there are no properties.
5837
5838 2012-03-09 Leo Liu <sdl.web@gmail.com>
5839
5840 * savehist.el (savehist-printable): Stricter check for string
5841 value (Bug#10937).
5842
5843 2012-03-09 Eli Zaretskii <eliz@gnu.org>
5844
5845 * mail/smtpmail.el (smtpmail-send-it):
5846 Bind coding-system-for-write to *-unix, so that FCC files are kept in
5847 valid mbox format.
5848
5849 2012-03-09 Glenn Morris <rgm@gnu.org>
5850
5851 * files.el (dir-locals-find-file):
5852 Don't check result is regular, readable.
5853 (dir-locals-read-from-file): Demote errors.
5854
5855 2012-03-08 Eli Zaretskii <eliz@gnu.org>
5856
5857 * international/quail.el (quail-insert-kbd-layout):
5858 Insert invisible LRM characters before each character in a keyboard
5859 layout cell, to prevent their reordering by bidi display engine.
5860 For details, see the discussion in
5861 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
5862
5863 2012-03-08 Alan Mackenzie <acm@muc.de>
5864
5865 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
5866 the starting position; make it extend the marked region when
5867 invoked repeatedly - all under appropriate circumstances.
5868 Fixes bugs #5525, #10906.
5869
5870 2012-03-08 Glenn Morris <rgm@gnu.org>
5871
5872 * files.el (locate-dominating-file, dir-locals-find-file):
5873 Undo 2012-03-06 change.
5874
5875 2012-03-07 Eli Zaretskii <eliz@gnu.org>
5876
5877 * international/quail.el (quail-help):
5878 Force bidi-paragraph-direction be left-to-right. See discussion in
5879 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
5880 for the reason.
5881
5882 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
5883
5884 Avoid superfluous registering of signals. (Bug#10807)
5885
5886 * notifications.el (notifications-on-action-object)
5887 (notifications-on-close-object): New defvars.
5888 (notifications-on-action-signal, notifications-on-closed-signal):
5889 Unregister the signal if not needed any longer.
5890 (notifications-notify): Register `notifications-action-signal' or
5891 `notifications-closed-signal', if :on-action or :on-close has been
5892 passed as argument.
5893
5894 2012-03-07 Chong Yidong <cyd@gnu.org>
5895
5896 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
5897 non-X platforms.
5898
5899 2012-03-06 Glenn Morris <rgm@gnu.org>
5900
5901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5902 (x-disown-selection-internal, x-get-selection-internal):
5903 Doc fix (add arglist signatures). (Bug#10783)
5904
5905 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5906
5907 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
5908 Handle breakpoints with no "type".
5909
5910 2012-03-06 Glenn Morris <rgm@gnu.org>
5911
5912 * files.el (locate-dominating-file): Add optional predicate argument.
5913 (dir-locals-find-file): Make use of above change.
5914
5915 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
5916
5917 * info.el (Info-insert-dir): Also try "dir.gz".
5918
5919 2012-03-06 Glenn Morris <rgm@gnu.org>
5920
5921 * files.el (dir-locals-find-file):
5922 Ignore non-readable or non-regular files. (Bug#10928)
5923
5924 * files.el (locate-dominating-file): Doc fix.
5925
5926 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
5927
5928 * calendar/calendar.el (calendar-set-mode-line):
5929 `getenv' returns a string. (Bug#10951)
5930
5931 2012-03-05 Leo Liu <sdl.web@gmail.com>
5932
5933 * simple.el (backward-delete-char-untabify): Constrain point to
5934 field (Bug#10939).
5935
5936 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
5937
5938 2012-03-05 Chong Yidong <cyd@gnu.org>
5939
5940 * simple.el (count-words): If called from Lisp, return the word
5941 count, for symmetry with `count-lines'. Arglist changed.
5942 (count-words--message): Args changed. Consolidate counting code
5943 from count-words and count-words-region.
5944 (count-words-region): Caller changed.
5945 (count-lines-region): Make it an obsolete alias.
5946
5947 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
5948
5949 * saveplace.el (save-place-to-alist)
5950 (save-place-ignore-files-regexp): Allow value nil to disable this
5951 feature.
5952
5953 2012-03-04 Chong Yidong <cyd@gnu.org>
5954
5955 * faces.el (face-spec-reset-face): For the default face, reset the
5956 attributes to default values (Bug#10748).
5957
5958 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
5959
5960 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
5961 previous patch: Check `message-send-mail-function', and not the
5962 default function (bug#10897).
5963
5964 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
5965
5966 * notifications.el (notifications-on-action-signal)
5967 (notifications-on-closed-signal): Check for unique service name of
5968 incoming event. Fix error in removing entry.
5969 (top): Register for signals with wildcard service name.
5970 (notifications-notify): Use daemon unique service name for map entries.
5971
5972 2012-03-04 Chong Yidong <cyd@gnu.org>
5973
5974 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
5975
5976 2012-03-04 Glenn Morris <rgm@gnu.org>
5977
5978 * abbrev.el (copy-abbrev-table, abbrev-table-p)
5979 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
5980 (expand-abbrev, define-abbrev-table): Doc fixes.
5981
5982 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5983
5984 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
5985 `message-default-send-mail-function' and not `send-mail-function'
5986 when doing the prompting for `sendmail-query-once' before sending
5987 in Message buffers (bug#10897).
5988
5989 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
5990 This is inconsistent with all the other stream functions, which leave
5991 the setting up to the higher levels (if so wanted) (bug#10931).
5992
5993 2012-03-02 Alan Mackenzie <acm@muc.de>
5994
5995 Depessimize the handling of very large macros.
5996
5997 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
5998 (c-macro-cache-syntactic): New variables to implement a one
5999 element macro cache.
6000 (c-invalidate-macro-cache): New function.
6001 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6002 Adapt to use the new cache.
6003 (c-state-safe-place): Use better the cache of safe positions.
6004 (c-state-semi-nonlit-pos-cache)
6005 (c-state-semi-nonlit-pos-cache-limit):
6006 New variables for...
6007 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6008 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6009 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6010 Use c-state-semi-safe-place.
6011
6012 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6013 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6014
6015 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6016
6017 * jka-compr.el (jka-compr-call-process):
6018 Apply `file-accessible-directory-p' only when the default directory is
6019 not remote.
6020
6021 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6022
6023 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6024 access of FILE2, if FILE1 does not exist.
6025
6026 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6027 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6028
6029 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6030 Add "PAGER=" to `process-environment'.
6031
6032 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6033
6034 * progmodes/sql.el: Bug fix
6035 (sql-get-login-ext): Save login values in globals.
6036 (sql-get-login): Use new version of `sql-get-login-ext'.
6037 (sql-interactive-mode): Set global `sql-connection' to nil.
6038 (sql-connect): Set global values for connection.
6039 (sql-product-interactive): Save global values as buffer local.
6040
6041 2012-02-29 Leo Liu <sdl.web@gmail.com>
6042
6043 * abbrev.el (define-abbrevs): Reset sys to nil.
6044
6045 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6046
6047 * files.el (file-equal-p): Rename from `files-equal-p'.
6048 Return nil when one or both files don't exist.
6049 (file-subdir-of-p): Now only top directory must exists,
6050 return nil if it doesn't.
6051 (copy-directory): No need to test with `file-subdir-of-p' after
6052 creating dir.
6053 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6054 to `file-equal-p'.
6055
6056 2012-02-28 Glenn Morris <rgm@gnu.org>
6057
6058 * shell.el (shell-mode):
6059 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6060 * play/landmark.el (landmark-font-lock-face-O):
6061 * play/handwrite.el (handwrite):
6062 * play/gomoku.el (gomoku-O):
6063 * net/browse-url.el (browse-url-browser-display):
6064 * international/mule.el (define-charset):
6065 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6066 * filesets.el (filesets-find-file-delay):
6067 * eshell/em-xtra.el (eshell-xtra):
6068 * eshell/em-unix.el (eshell-grep):
6069 * emulation/viper.el (viper-mode):
6070 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6071 * emacs-lisp/easymenu.el (easy-menu-define):
6072 * calendar/timeclock.el (timeclock-use-display-time):
6073 * bs.el (bs-mode):
6074 * bookmark.el (bookmark-save-flag):
6075 Doc fix (standardize possessive apostrophe usage).
6076
6077 2012-02-27 Chong Yidong <cyd@gnu.org>
6078
6079 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6080 Fix key-binding lookup for ESC key (Bug#9146).
6081
6082 * font-lock.el (font-lock-specified-p): Rename from
6083 font-lock-spec-present. Callers changed.
6084
6085 2012-02-27 Daniel Hackney <dan@haxney.org>
6086
6087 * emacs-lisp/package.el (package-compute-transaction):
6088 Handle holding a package version to t in package-load-list.
6089
6090 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6091
6092 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6093 (tramp-get-inode, tramp-get-device): Use cached values.
6094
6095 2012-02-26 Alan Mackenzie <acm@muc.de>
6096
6097 Check there is a font-lock specification before doing initial
6098 fontification.
6099
6100 * font-core.el (font-lock-mode): Move the conditional from
6101 :after-hook to font-lock-initial-fontify.
6102 (font-lock-default-function): Move the check for a specification
6103 to font-lock-spec-present.
6104
6105 * font-lock.el (font-lock-initial-fontify): Call ...
6106 (font-lock-spec-present): New function.
6107
6108 2012-02-26 Jim Blandy <jimb@red-bean.com>
6109
6110 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6111 (gdb-send): Apply it to the operand of the '-interpreter-exec
6112 console' command, so that we can pass arguments with (say) quotes
6113 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6114
6115 2012-02-26 Chong Yidong <cyd@gnu.org>
6116
6117 * help-fns.el (describe-function-1): Clarify description of
6118 remapping (Bug#10844).
6119
6120 * files.el (files-equal-p): Doc fix.
6121 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6122 and quit the loop once a mismatch is found.
6123
6124 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6125
6126 * bs.el (bs--show-with-configuration): Don't throw an error
6127 if the window cannot be split; otherwise, subsequent calls to
6128 bs-show fail, restoring a stale window config. (Bug#10882)
6129
6130 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6131
6132 * term/ns-win.el (global-map): Bind ns-drag-file to
6133 ns-find-file (Bug#5855, Bug#10050).
6134
6135 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * calendar/parse-time.el (parse-time-string): Allow extractor to
6138 return nil.
6139
6140 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6141
6142 * net/tramp.el (tramp-file-name-for-operation):
6143 Add `files-equal-p' and `file-subdir-of-p'.
6144
6145 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6146 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6147 Add COPY-CONTENTS argument.
6148
6149 2012-02-25 Chong Yidong <cyd@gnu.org>
6150
6151 Add custom groups for VC backends, for consistency with vc-bzr.
6152
6153 * vc/vc-arch.el (vc-arch):
6154 * vc/vc-cvs.el (vc-cvs):
6155 * vc/vc-git.el (vc-git):
6156 * vc/vc-hg.el (vc-hg):
6157 * vc/vc-mtn.el (vc-mtn):
6158 * vc/vc-rcs.el (vc-rcs):
6159 * vc/vc-sccs.el (vc-sccs):
6160 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6161 All relevant defcustoms reassigned.
6162
6163 2012-02-25 Chong Yidong <cyd@gnu.org>
6164
6165 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6166
6167 * term/x-win.el (x-initialize-window-system): Reduce default for
6168 x-selection-timeout to 5 seconds (Bug#8869).
6169
6170 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6171
6172 * files.el (files-equal-p, file-subdir-of-p): New functions.
6173 (copy-directory): Error when trying to copy a directory on itself.
6174 Add missing copy-contents arg to tramp handler.
6175 * dired-aux.el (dired-copy-file-recursive): Same.
6176 (dired-create-files): Modify destination when source is equal to
6177 dest when copying files.
6178 Return also when dest is a subdir of source. (Bug#10489)
6179
6180 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6181
6182 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6183 (Bug#10874)
6184
6185 2012-02-23 Alan Mackenzie <acm@muc.de>
6186
6187 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6188 parameter "after-hook:" to allow the expansion to run code after
6189 the execution of the mode hooks.
6190
6191 * font-lock.el (font-lock-initial-fontify): New function extracted
6192 from font-lock-mode-internal.
6193
6194 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6195 :after-hook.
6196
6197 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6200 (completion--cache-all-sorted-completions): New function.
6201 (completion-all-sorted-completions): Use it.
6202 (completion--do-completion, minibuffer-force-complete):
6203 Use it to re-instate the flush hook.
6204
6205 * icomplete.el (icomplete-completions): Replace last fix with a better
6206 one (bug#10850).
6207
6208 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6209
6210 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6211 when it might call us back infinitely (bug#10797).
6212
6213 2012-02-23 Glenn Morris <rgm@gnu.org>
6214
6215 * minibuffer.el (completion-category-overrides): Doc fix.
6216
6217 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6220 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6221
6222 2012-02-23 Glenn Morris <rgm@gnu.org>
6223
6224 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6225 (authors-obsolete-files-regexps, authors-ignored-files)
6226 (authors-ambiguous-files, authors-renamed-files-alist):
6227 Add more entries.
6228
6229 2012-02-23 Juri Linkov <juri@jurta.org>
6230
6231 * isearch.el (isearch-occur): Sync interactive spec with occur's
6232 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6233
6234 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6235
6236 2012-02-22 Juri Linkov <juri@jurta.org>
6237
6238 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6239 (ucs-insert): Doc fix. Check for hex digits in the string.
6240 Don't display `nil' in the error message. (Bug#10857)
6241
6242 2012-02-22 Alan Mackenzie <acm@muc.de>
6243
6244 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6245
6246 2012-02-22 Glenn Morris <rgm@gnu.org>
6247
6248 * ffap.el (ffap-c-path):
6249 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6250
6251 2012-02-22 Chong Yidong <cyd@gnu.org>
6252
6253 * custom.el (load-theme): Doc fix.
6254
6255 2012-02-22 Glenn Morris <rgm@gnu.org>
6256
6257 * dired-x.el (dired-guess-shell-alist-default):
6258 Remove escape sequences from nroff output. (Bug#172)
6259
6260 2012-02-21 Glenn Morris <rgm@gnu.org>
6261
6262 * vc/emerge.el (emerge-defvar-local):
6263 Set `permanent-local' property rather than unused `preserved'.
6264
6265 * textmodes/picture.el (picture-delete-char): New alias.
6266 (picture-mode-map): Use it. (Bug#10860)
6267 (picture-mode): Doc fix.
6268
6269 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6270
6271 * newcomment.el (uncomment-region-default): Remove unused binding.
6272
6273 2012-02-21 Glenn Morris <rgm@gnu.org>
6274
6275 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6276 (picture-self-insert, picture-tab-chars): Doc fix.
6277 (picture-mode-map): Fix C-a, C-e.
6278
6279 2012-02-20 Glenn Morris <rgm@gnu.org>
6280
6281 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6282
6283 2012-02-20 Leo Liu <sdl.web@gmail.com>
6284
6285 * icomplete.el (icomplete-completions): Check FROM arg before
6286 passing to substring (Bug#10850).
6287
6288 2012-02-19 Chong Yidong <cyd@gnu.org>
6289
6290 * comint.el: Require ansi-color.
6291 (comint-output-filter-functions): Add ansi-color-process-output.
6292
6293 * ansi-color.el: Don't set comint-output-filter-functions; it is
6294 now in the initial value defined in comint.el.
6295 (ansi-color-apply-face-function): New variable.
6296 (ansi-color-apply-on-region): Use it.
6297 (ansi-color-apply-overlay-face): New function.
6298
6299 * shell.el (shell): No need to require ansi-color.
6300 (shell-mode): Use ansi-color-apply-face-function to highlight
6301 color escapes using font-lock-face property (Bug#10835).
6302
6303 2012-02-19 Chong Yidong <cyd@gnu.org>
6304
6305 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6306 mode-line formats (Bug#10839).
6307
6308 2012-02-18 Glenn Morris <rgm@gnu.org>
6309
6310 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6311
6312 * mail/undigest.el (unforward-rmail-message): Doc fix.
6313
6314 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6315
6316 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6317
6318 * international/characters.el (script-list): Sync with the latest
6319 Unicode Character Database.
6320
6321 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6322
6323 * international/titdic-cnv.el: Remove duplicate coding tag.
6324 * language/cham.el: Likewise.
6325 * language/tai-viet.el: Likewise.
6326
6327 2012-02-18 Glenn Morris <rgm@gnu.org>
6328
6329 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6330 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6331 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6332 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6333 * calendar/holidays.el (holiday-bahai-holidays)
6334 (calendar-holidays, list-holidays):
6335 Use utf-8 Bahá'í in doc-strings, menus, etc.
6336
6337 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6338
6339 * saveplace.el (save-place-ignore-files-regexp): New variable
6340 allowing for excluding files from saving their location of point.
6341 The default value matches the temporary commit message editing
6342 files from Git, SVN, Bazaar, and Mercurial.
6343 (save-place-to-alist): Use it.
6344
6345 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6346 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * newcomment.el (uncomment-region-default): Don't leave extra space
6349 when an arg is provided (bug#8150).
6350
6351 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6352
6353 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6354
6355 2012-02-17 Glenn Morris <rgm@gnu.org>
6356
6357 * net/socks.el: Require network-stream. (Bug#10599)
6358
6359 2012-02-17 Kenichi Handa <handa@m17n.org>
6360
6361 * international/charprop.el:
6362 * international/uni-name.el:
6363 * international/uni-old-name.el:
6364 * international/uni-comment.el: Regenerate.
6365
6366 2012-02-16 Glenn Morris <rgm@gnu.org>
6367
6368 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6369 Interactively in calendar buffer, give an error if not on a date.
6370
6371 2012-02-15 Glenn Morris <rgm@gnu.org>
6372
6373 * shell.el (shell-delimiter-argument-list):
6374 Revert 2011-02-17 change. (Bug#8027)
6375
6376 2012-02-15 Chong Yidong <cyd@gnu.org>
6377
6378 * minibuffer.el (completion-at-point-functions): Doc fix.
6379
6380 * custom.el (defcustom): Doc fix; note use of defvar.
6381
6382 2012-02-15 Glenn Morris <rgm@gnu.org>
6383
6384 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6385 Doc fixes.
6386
6387 2012-02-14 Glenn Morris <rgm@gnu.org>
6388
6389 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6390
6391 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6392
6393 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6394 way the ports list is computed.
6395 (smtpmail-query-smtp-server): Prompt the user for a port number if
6396 we can't connect to any of the standard ports (bug#10810).
6397
6398 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6399
6400 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6401
6402 2012-02-13 Glenn Morris <rgm@gnu.org>
6403
6404 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6405
6406 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6407
6408 * net/gnutls.el (gnutls-trustfiles): New variable.
6409 (gnutls-negotiate): Use it.
6410
6411 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6412
6413 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6414 does its stuff if Gnus is running.
6415
6416 2012-02-13 Alan Mackenzie <acm@muc.de>
6417
6418 Fix a loop in c-set-fl-decl-start.
6419
6420 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6421 c-backward-syntactic-ws actually moves backwards.
6422
6423 2012-02-13 Leo Liu <sdl.web@gmail.com>
6424
6425 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6426 beginning so that all \C-o chars are removed.
6427
6428 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6429
6430 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6431
6432 2012-02-12 Alan Mackenzie <acm@muc.de>
6433
6434 Fix infinite loop with long macros.
6435 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6436
6437 2012-02-12 Chong Yidong <cyd@gnu.org>
6438
6439 * window.el (display-buffer): Doc fix (Bug#10785).
6440
6441 2012-02-12 Glenn Morris <rgm@gnu.org>
6442
6443 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6444 (x-disown-selection-internal, x-get-selection-internal):
6445 Sync docs with the xselect.c versions.
6446
6447 * allout-widgets.el: Add missing license notice.
6448
6449 2012-02-11 Glenn Morris <rgm@gnu.org>
6450
6451 * select.el (x-get-selection-internal, x-own-selection-internal)
6452 (x-disown-selection-internal):
6453 * x-dnd.el (x-get-selection-internal): Update declarations.
6454
6455 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6456
6457 * window.el (window-sides-slots):
6458 * tool-bar.el (tool-bar-position):
6459 * term/xterm.el (xterm-extra-capabilities):
6460 * ses.el (ses-self-reference-early-detection):
6461 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6462 (verilog-auto-wire-type)
6463 (verilog-auto-delete-trailing-whitespace)
6464 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6465 (verilog-auto-tieoff-declaration):
6466 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6467 (sql-oracle-statement-starters, sql-oracle-scan-on):
6468 * progmodes/prolog.el (prolog-align-comments-flag)
6469 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6470 (prolog-left-indent-regexp, prolog-paren-indent-p)
6471 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6472 (prolog-types, prolog-mode-specificators)
6473 (prolog-determinism-specificators, prolog-directives)
6474 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6475 (prolog-electric-dot-flag)
6476 (prolog-electric-dot-full-predicate-template)
6477 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6478 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6479 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6480 (prolog-program-switches, prolog-prompt-regexp)
6481 (prolog-debug-on-string, prolog-debug-off-string)
6482 (prolog-trace-on-string, prolog-trace-off-string)
6483 (prolog-zip-on-string, prolog-zip-off-string)
6484 (prolog-use-standard-consult-compile-method-flag)
6485 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6486 (prolog-imenu-max-lines, prolog-info-predicate-index)
6487 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6488 (prolog-char-quote-workaround):
6489 * progmodes/cc-vars.el (c-defun-tactic):
6490 * net/tramp.el (tramp-encoding-command-interactive)
6491 (tramp-local-end-of-line):
6492 * net/soap-client.el (soap-client):
6493 * net/netrc.el (netrc-file):
6494 * net/gnutls.el (gnutls):
6495 * minibuffer.el (completion-category-overrides)
6496 (completion-cycle-threshold)
6497 (completion-pcm-complete-word-inserts-delimiters):
6498 * man.el (Man-name-local-regexp):
6499 * mail/feedmail.el (feedmail-display-full-frame):
6500 * international/characters.el (glyphless-char-display-control):
6501 * eshell/em-ls.el (eshell-ls-date-format):
6502 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6503 (lisp-lambda-list-keyword-parameter-indentation)
6504 (lisp-lambda-list-keyword-parameter-alignment):
6505 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6506 * dired-x.el (dired-omit-verbose):
6507 * cus-theme.el (custom-theme-allow-multiple-selections):
6508 * calc/calc.el (calc-highlight-selections-with-faces)
6509 (calc-lu-field-reference, calc-lu-power-reference)
6510 (calc-note-threshold):
6511 * battery.el (battery-mode-line-limit):
6512 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6513 (archive-7z-update):
6514 * allout.el (allout-prefixed-keybindings)
6515 (allout-unprefixed-keybindings)
6516 (allout-inhibit-auto-fill-on-headline)
6517 (allout-flattened-numbering-abbreviation):
6518 * allout-widgets.el (allout-widgets-auto-activation)
6519 (allout-widgets-icons-dark-subdir)
6520 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6521 (allout-widgets-theme-dark-background)
6522 (allout-widgets-theme-light-background)
6523 (allout-widgets-item-image-properties-emacs)
6524 (allout-widgets-item-image-properties-xemacs)
6525 (allout-widgets-run-unit-tests-on-load)
6526 (allout-widgets-time-decoration-activity)
6527 (allout-widgets-hook-error-post-time)
6528 (allout-widgets-track-decoration):
6529 Add missing :version tags to new defcustoms and defgroups.
6530
6531 * progmodes/sql.el (sql-ansi-statement-starters)
6532 (sql-oracle-statement-starters): Add custom type.
6533
6534 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6535 (prolog-system-version): Give it a type.
6536
6537 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6538
6539 * term/pc-win.el (x-select-text, x-selection-owner-p)
6540 (x-own-selection-internal, x-disown-selection-internal)
6541 (x-get-selection-internal): Sync doc strings and argument lists
6542 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6543
6544 2012-02-11 Leo Liu <sdl.web@gmail.com>
6545
6546 * progmodes/python.el (python-end-of-statement): Fix infinite
6547 loop. (Bug#10788)
6548
6549 2012-02-10 Glenn Morris <rgm@gnu.org>
6550
6551 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6552 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6553
6554 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6555
6556 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6557 about SMTP before checking the From header.
6558
6559 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6560 into own function for reuse by emacsbug.el.
6561
6562 2012-02-10 Leo Liu <sdl.web@gmail.com>
6563
6564 * subr.el (condition-case-unless-debug): Rename from
6565 condition-case-no-debug. All callers changed.
6566 (with-demoted-errors): Fix caller.
6567
6568 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6569 * nxml/rng-valid.el (rng-do-some-validation):
6570 * emacs-lisp/package.el (package-refresh-contents)
6571 (package-menu-execute):
6572 * desktop.el (desktop-create-buffer):
6573 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6574
6575 2012-02-10 Glenn Morris <rgm@gnu.org>
6576
6577 * textmodes/bibtex.el:
6578 Add missing :version tags for new/changed defcustoms.
6579
6580 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6581
6582 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6583
6584 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6585 (smtpmail-via-smtp): Use it, or fall back on the From address.
6586 (smtpmail-send-it): Ditto.
6587
6588 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6591 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6592 (byte-compile-tmp-var): New const.
6593 (byte-compile-defvar): Use it to minimize .elc size.
6594 Just use `defvar' rather than simulate it (bug#10761).
6595
6596 2012-02-09 Glenn Morris <rgm@gnu.org>
6597
6598 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6599
6600 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6601 Add :version tags.
6602
6603 * progmodes/compile.el (compilation-error-screen-columns)
6604 (compilation-first-column, compilation-filter-start): Doc fixes.
6605
6606 * vc/log-view.el (log-view-toggle-entry-display):
6607 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6608
6609 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6610 (report-emacs-bug-can-use-xdg-email):
6611 (report-emacs-bug-insert-to-mailer): Doc fixes.
6612 (report-emacs-bug): Message fix.
6613
6614 * net/browse-url.el (browse-url-can-use-xdg-open)
6615 (browse-url-xdg-open): Doc fixes.
6616
6617 * electric.el (electric-indent-mode, electric-pair-mode)
6618 (electric-layout-rules, electric-layout-mode): Doc fixes.
6619 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6620
6621 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6622
6623 * server.el (server-unselect-display): Don't inadvertently kill
6624 the current buffer. (Bug#10729)
6625
6626 2012-02-08 Glenn Morris <rgm@gnu.org>
6627
6628 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6629 (sql-list-table): Doc fixes.
6630
6631 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6632 Comment out (does nothing).
6633
6634 * completion.el (dynamic-completion-mode):
6635 * dirtrack.el (dirtrack-debug-mode):
6636 * electric.el (electric-layout-mode):
6637 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6638 * face-remap.el (text-scale-mode, buffer-face-mode):
6639 * iimage.el (iimage-mode):
6640 * image-mode.el (image-transform-mode):
6641 * minibuffer.el (completion-in-region-mode):
6642 * scroll-lock.el (scroll-lock-mode):
6643 * simple.el (next-error-follow-minor-mode):
6644 * tar-mode.el (tar-subfile-mode):
6645 * tooltip.el (tooltip-mode):
6646 * vcursor.el (vcursor-use-vcursor-map):
6647 * wid-browse.el (widget-minor-mode):
6648 * emulation/tpu-edt.el (tpu-edt-mode):
6649 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6650 * international/iso-ascii.el (iso-ascii-mode):
6651 * language/thai-util.el (thai-word-mode):
6652 * mail/supercite.el (sc-minor-mode):
6653 * net/goto-addr.el (goto-address-mode):
6654 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6655 * progmodes/cwarn.el (cwarn-mode):
6656 * progmodes/flymake.el (flymake-mode):
6657 * progmodes/glasses.el (glasses-mode):
6658 * progmodes/hideshow.el (hs-minor-mode):
6659 * progmodes/pascal.el (pascal-outline-mode):
6660 * textmodes/enriched.el (enriched-mode):
6661 * vc/smerge-mode.el (smerge-mode):
6662 Doc fixes (minor mode argument).
6663
6664 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6665
6666 * ls-lisp.el (ls-lisp-sanitize): New function.
6667 (ls-lisp-insert-directory): Use it to fix or remove any elements
6668 in file-alist with missing attributes. (Bug#4673)
6669
6670 2012-02-07 Alan Mackenzie <acm@muc.de>
6671
6672 Fix spurious recognition of c-in-knr-argdecl.
6673
6674 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6675 putative K&R region.
6676
6677 2012-02-07 Alan Mackenzie <acm@muc.de>
6678
6679 * progmodes/cc-engine.el (c-forward-objc-directive):
6680 Prevent looping in "#pragma mark @implementation".
6681
6682 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6683
6684 * notifications.el (notifications-on-closed-signal): Make `reason'
6685 optional. (Bug#10744)
6686
6687 2012-02-07 Glenn Morris <rgm@gnu.org>
6688
6689 * emacs-lisp/easy-mmode.el (define-minor-mode):
6690 Doc fixes for the macro and the mode it defines.
6691
6692 * image.el (imagemagick-types-inhibit): Doc fix.
6693
6694 * cus-start.el (imagemagick-render-type): Add it.
6695
6696 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6697
6698 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6699 Set the default at load time, too, so that `font-lock-fontify-buffer'
6700 can be called without setting up the entire mode first. This fixes
6701 a bug in `mm-inline-text' with C MIME parts.
6702
6703 2012-02-06 Chong Yidong <cyd@gnu.org>
6704
6705 * simple.el (list-processes--refresh): Delete exited processes
6706 (Bug#8094).
6707
6708 * comint.el (comint-next-prompt): next-single-char-property-change
6709 and prev-single-char-property-change never return nil (Bug#8657).
6710
6711 * custom.el (defcustom): Doc fix (Bug#9711).
6712
6713 2012-02-05 Chong Yidong <cyd@gnu.org>
6714
6715 * cus-edit.el (custom-variable-reset-backup): Quote the value
6716 before storing it in the customized-value property (Bug#6712).
6717 (custom-display): Add a customization type tag.
6718 (custom-buffer-create-internal): Improve tooltip message.
6719
6720 * wid-edit.el (widget-field-value-get): New optional arg to
6721 suppress trailing whitespace truncation.
6722 (character): Use it (Bug#2689).
6723
6724 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6725
6726 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6727 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6728
6729 2012-02-05 Chong Yidong <cyd@gnu.org>
6730
6731 * cus-edit.el (custom-variable-value-create): For mismatched
6732 types, show the current value (Bug#7600).
6733
6734 * custom.el (defcustom): Doc fix.
6735
6736 2012-02-05 Glenn Morris <rgm@gnu.org>
6737
6738 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6739
6740 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6741
6742 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6743 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6744 (pp-last-sexp): Use `looking-at-p'.
6745
6746 2012-02-04 Glenn Morris <rgm@gnu.org>
6747
6748 * files.el (revert-buffer):
6749 Doc fix (mention revert-buffer-in-progress-p).
6750
6751 * emacs-lisp/ert-x.el (ert-simulate-command):
6752 Check deferred-action-list (which is obsolete) is bound.
6753
6754 * subr.el (with-wrapper-hook): Doc fixes.
6755
6756 * simple.el (filter-buffer-substring-functions)
6757 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6758
6759 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6760
6761 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6762 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6763
6764 2012-02-04 Leo Liu <sdl.web@gmail.com>
6765
6766 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6767
6768 2012-02-04 Glenn Morris <rgm@gnu.org>
6769
6770 * image.el (image-extension-data): Add obsolete alias.
6771
6772 * isearch.el (isearch-update): Doc fix.
6773
6774 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6775
6776 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6777
6778 2012-02-03 Glenn Morris <rgm@gnu.org>
6779
6780 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6781 (image-animate-timeout): Doc fix.
6782
6783 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6784
6785 2012-02-02 Glenn Morris <rgm@gnu.org>
6786
6787 * server.el (server-auth-dir): Doc fix.
6788 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6789
6790 * subr.el (run-mode-hooks): Doc fix.
6791
6792 2012-02-02 Juri Linkov <juri@jurta.org>
6793
6794 * image-mode.el (image-toggle-display-image): Remove tautological
6795 `major-mode' from the `derived-mode-p' test.
6796
6797 2012-02-02 Kenichi Handa <handa@m17n.org>
6798
6799 * composite.el (compose-region): Cancel previous change.
6800
6801 2012-02-02 Kenichi Handa <handa@m17n.org>
6802
6803 * composite.el (compose-region, compose-string): Signal error for
6804 a null string component (Bug#6988).
6805
6806 2012-02-01 Chong Yidong <cyd@gnu.org>
6807
6808 * view.el (view-buffer-other-window, view-buffer-other-frame):
6809 Handle special modes like view-buffer (Bug#10650).
6810 (view-buffer): Simplify.
6811
6812 * frame.el (set-frame-font): Tweak meaning of third argument.
6813
6814 * dynamic-setting.el (font-setting-change-default-font):
6815 Use set-frame-font (Bug#9982).
6816
6817 2012-02-01 Glenn Morris <rgm@gnu.org>
6818
6819 * progmodes/compile.el (compilation-internal-error-properties):
6820 Respect compilation-first-column in the "*compilation*" buffer.
6821
6822 * emacs-lisp/easy-mmode.el (define-minor-mode):
6823 Relax :variable's test for a named function.
6824
6825 2012-01-31 Alan Mackenzie <acm@muc.de>
6826
6827 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
6828 off by one error.
6829
6830 2012-01-31 Chong Yidong <cyd@gnu.org>
6831
6832 * frame.el (set-frame-font): New arg ALL-FRAMES.
6833
6834 * menu-bar.el (menu-set-font): Use set-frame-font.
6835
6836 * faces.el (face-spec-reset-face): Don't apply unspecified
6837 attribute values to the default face.
6838
6839 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
6840
6841 * progmodes/cwarn.el (cwarn): Remove dead link.
6842 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
6843 Remove * from defcustom docstrings.
6844 (turn-on-cwarn-mode): Make obsolete.
6845 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
6846 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
6847
6848 2012-01-31 Glenn Morris <rgm@gnu.org>
6849
6850 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6851 Fix :variable handling of mode a symbol not equal to modefun.
6852 Allow named functions to be used as the cdr of :variable.
6853
6854 2012-01-30 Glenn Morris <rgm@gnu.org>
6855
6856 * emacs-lisp/authors.el (authors-fixed-entries):
6857 Remove reference to deleted file rnewspost.el.
6858
6859 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
6860
6861 * window.el (window-with-parameter): Remove unused variable `windows'.
6862 (window--side-check): Remove unused variable `code'.
6863 (window--resize-siblings): Remove unused variable `first'.
6864 (adjust-window-trailing-edge): Remove unused variable `failed'.
6865 (window-deletable-p, window--delete): Remove unused variable `buffer'.
6866 Use `let', not `let*'.
6867 (balance-windows-2): Remove unused variable `found'.
6868 (window--state-put-2): Remove unused variable `splits'.
6869 (window-state-put): Remove unused variable `selected'.
6870 (same-window-p): Use `string-match-p'.
6871 (display-buffer-assq-regexp): Remove unused variable `value'.
6872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6873 Mark argument ALIST as ignored.
6874 (pop-to-buffer): Remove unused variable `old-window'.
6875
6876 2012-01-29 Eli Zaretskii <eliz@gnu.org>
6877
6878 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
6879 and .lzma compressed files.
6880
6881 2012-01-29 Chong Yidong <cyd@gnu.org>
6882
6883 * frame.el (window-system-default-frame-alist): Doc fix.
6884
6885 * dynamic-setting.el (font-setting-change-default-font): Don't
6886 change the default face if SET-FONT argument is non-nil (Bug#9982).
6887
6888 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
6889
6890 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
6891
6892 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6893
6894 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
6895 breakpoints in files outside current directory (Bug#6098).
6896
6897 2012-01-29 Chong Yidong <cyd@gnu.org>
6898
6899 * progmodes/python.el: Require ansi-color at top-level.
6900
6901 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
6902 Define and use in Emacs Lisp mode (Bug#9360).
6903 (lisp-mode-abbrev-table): Add doc.
6904 (lisp-mode-variables): Don't set local-abbrev-table.
6905 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
6906
6907 2012-01-28 Roland Winkler <winkler@gnu.org>
6908
6909 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
6910
6911 2012-01-28 Roland Winkler <winkler@gnu.org>
6912
6913 * textmodes/bibtex.el (bibtex-entry-alist): New function.
6914 (bibtex-set-dialect): Use it. Either set global values of
6915 dialect-dependent variables or bind these variables buffer-locally
6916 (Bug#10254).
6917 (bibtex-mode): Call bibtex-set-dialect via
6918 hack-local-variables-hook.
6919 (bibtex-dialect): Update docstring.
6920 Add safe-local-variable predicate.
6921 (bibtex-entry-alist, bibtex-field-alist): Initialize via
6922 bibtex-set-dialect.
6923 (bibtex-mode-map): Define menu for each dialect.
6924 (bibtex-entry): Fix docstring.
6925
6926 2012-01-28 Chong Yidong <cyd@gnu.org>
6927
6928 * eshell/esh-arg.el (eshell-quote-argument): New function.
6929
6930 * eshell/esh-ext.el (eshell-invoke-batch-file):
6931 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
6932 first arg to eshell-parse-command (Bug#10523).
6933
6934 2012-01-28 Drew Adams <drew.adams@oracle.com>
6935
6936 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
6937 `default-directory' is non-nil.
6938
6939 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6940
6941 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
6942 line that displays system-configuration-options. (Bug#9924)
6943
6944 2012-01-28 Drew Adams <drew.adams@oracle.com>
6945
6946 * descr-text.el (describe-char): Show information about POS, in
6947 addition to information about the character at POS. Improve and
6948 update the doc string. Change "code point" to "code point in
6949 charset", to avoid confusion with the character's Unicode code
6950 point shown above that. (Bug#10129)
6951
6952 2012-01-28 Eli Zaretskii <eliz@gnu.org>
6953
6954 * descr-text.el (describe-char): Show the raw character, not only
6955 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
6956 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6957 for the reasons.
6958
6959 2012-01-28 Phil Hagelberg <phil@hagelb.org>
6960
6961 * emacs-lisp/package.el (package-install):
6962 Run package-refresh-contents if there is no archive yet (Bug#9798).
6963
6964 2012-01-28 Chong Yidong <cyd@gnu.org>
6965
6966 * emacs-lisp/package.el (package-maybe-load-descriptor):
6967 New function, split from package-maybe-load-descriptor.
6968 (package-maybe-load-descriptor): Use it.
6969 (package-download-transaction): Fully load required packages
6970 inside the loop, so that `require' calls work (Bug#10593).
6971 (package-install): No need to call package-initialize now.
6972
6973 2012-01-28 Chong Yidong <cyd@gnu.org>
6974
6975 * simple.el (deactivate-mark): Doc fix (Bug#8614).
6976
6977 * tooltip.el (tooltip-mode): Doc fix.
6978 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
6979
6980 * frame.el (set-cursor-color): Doc fix (Bug#352).
6981
6982 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
6983 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
6984
6985 * cus-edit.el (custom-buffer-create-internal): Fix search button
6986 action (Bug#10542).
6987 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
6988
6989 2012-01-27 Eduard Wiebe <usenet@pusto.de>
6990
6991 * dired.el (dired-mark-files-regexp):
6992 Include any subdirectory components. (Bug#10445)
6993
6994 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
6995
6996 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
6997 Handle [host]:port syntax. (Bug#10533)
6998
6999 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7000
7001 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7002
7003 2012-01-26 Glenn Morris <rgm@gnu.org>
7004
7005 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7006 * term.el (term-raw-escape-map): Use Control-X-prefix.
7007 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7008
7009 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7010
7011 * window.el (window-state-get, window--state-get-1): Don't deal
7012 with fixed-sizeness of windows. Simplify code.
7013
7014 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7015
7016 * window.el (window--state-get-1, window--state-put-2):
7017 Don't save and restore the mark.
7018
7019 2012-01-25 Chong Yidong <cyd@gnu.org>
7020
7021 * custom.el (custom-variable-p): Doc fix.
7022
7023 2012-01-25 Glenn Morris <rgm@gnu.org>
7024
7025 * dired.el (dired-goto-file): Handle some of the more common
7026 characters that `ls -b' escapes. (Bug#10596)
7027
7028 * progmodes/compile.el (compilation-next-error-function):
7029 Respect compilation-first-column in the "*compilation*" buffer.
7030 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7031
7032 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7033
7034 2012-01-24 Glenn Morris <rgm@gnu.org>
7035
7036 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7037
7038 2012-01-24 Julien Danjou <julien@danjou.info>
7039
7040 * color.el (color-rgb-to-hsl): Fix value computing.
7041 (color-hue-to-rgb): New function.
7042 (color-hsl-to-rgb): New function.
7043 (color-clamp, color-saturate-hsl, color-saturate-name)
7044 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7045 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7046
7047 2012-01-24 Glenn Morris <rgm@gnu.org>
7048
7049 * vc/vc-rcs.el (vc-rcs-create-tag):
7050 * vc/vc-sccs.el (vc-sccs-create-tag):
7051 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7052
7053 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7054
7055 * eshell/esh-util.el (eshell-read-hosts-file):
7056 Skip comment lines. (Bug#10549)
7057
7058 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7059
7060 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7061
7062 * subr.el (display-delayed-warnings): Doc fix.
7063 (collapse-delayed-warnings): New function to collapse identical
7064 adjacent warnings.
7065 (delayed-warnings-hook): Add it.
7066
7067 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7068
7069 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7070
7071 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7072 (tramp-default-user-alist): Don't add "pscp".
7073 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7074 property "login-as", if set. (Bug#10530)
7075
7076 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7077
7078 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7079 "plink1" and "psftp". (Bug#10530)
7080
7081 2012-01-21 Kenichi Handa <handa@m17n.org>
7082
7083 * international/mule-cmds.el (prefer-coding-system): Show a
7084 warning message if the default value of file-name-coding-system
7085 was not changed.
7086
7087 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7088
7089 * windmove.el (windmove-reference-loc):
7090 Fix windmove-reference-loc miscalculation.
7091
7092 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7093
7094 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7095 default unit.
7096
7097 2012-01-21 Glenn Morris <rgm@gnu.org>
7098
7099 * international/mule.el (auto-coding-alist): Add .tbz.
7100
7101 * files.el (local-enable-local-variables): Doc fix.
7102 (inhibit-local-variables-regexps): Rename from
7103 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7104 Doc fix. Add some extensions from auto-coding-alist.
7105 (inhibit-local-variables-suffixes):
7106 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7107 (inhibit-local-variables-p):
7108 New function, extracted from set-auto-mode-1.
7109 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7110 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7111 (hack-local-variables): Doc fix. Make the mode-only case
7112 respect enable-local-variables and friends.
7113 Respect inhibit-local-variables-regexps for file-locals, but
7114 not for directory-locals.
7115 (set-visited-file-name):
7116 Take account of inhibit-local-variables-regexps.
7117 Whether it applies may change as the file name is changed.
7118 * jka-cmpr-hook.el (jka-compr-install):
7119 * jka-compr.el (jka-compr-uninstall):
7120 Update for inhibit-first-line-modes-suffixes name change.
7121
7122 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7123
7124 * help-macro.el (make-help-screen): Temporarily restore original
7125 binding for minor-mode-map-alist (Bug#10454).
7126
7127 2012-01-19 Julien Danjou <julien@danjou.info>
7128
7129 * color.el (color-name-to-rgb): Use the white color to find the max
7130 color component value and return correctly computed values.
7131 (color-name-to-rgb): Add missing float conversion for max value.
7132
7133 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7134
7135 * window.el (window--state-get-1, window-state-get): Do not use
7136 special state value for window-persistent-parameters.
7137 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7138 (window--state-put-2): Reset all window parameters to nil before
7139 assigning values of persistent parameters.
7140
7141 2012-01-18 Alan Mackenzie <acm@muc.de>
7142
7143 Eliminate sluggishness and hangs in fontification of "semicolon
7144 deserts".
7145
7146 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7147 Change value 10000 -> 3000.
7148 (c-state-safe-place): Reformulate so it doesn't stack up an
7149 infinite number of wrong entries in c-state-nonlit-pos-cache.
7150 (c-determine-limit-get-base, c-determine-limit): New functions to
7151 determine backward search limits disregarding literals.
7152 (c-find-decl-spots): Amend commenting.
7153 (c-cheap-inside-bracelist-p): New function which detects "={".
7154
7155 * progmodes/cc-fonts.el
7156 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7157 backward search.
7158 (c-font-lock-declarations): Fix an occurrence of point being
7159 undefined. Check additionally for point being in a bracelist or
7160 near a macro invocation without a semicolon so as to avoid a
7161 fruitless time consuming search for a declarator. Give a more
7162 precise search limit for declarators using the new
7163 c-determine-limit.
7164
7165 2012-01-18 Glenn Morris <rgm@gnu.org>
7166
7167 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7168 (set-auto-mode): Doc fixes.
7169
7170 2012-01-17 Glenn Morris <rgm@gnu.org>
7171
7172 * isearch.el (search-nonincremental-instead): Fix doc typo.
7173
7174 * dired.el (dired-insert-directory): Handle newlines in directory name.
7175 (dired-build-subdir-alist): Unescape newlines in directory name.
7176
7177 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7178
7179 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7180 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7181 (tramp-action-terminal): Use it. (Bug#10530)
7182
7183 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7186
7187 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7188
7189 * window.el (window-state-ignored-parameters): Remove variable.
7190 (window--state-get-1): Rename argument MARKERS to IGNORE.
7191 Handle persistent window parameters. Make copy of clone-of
7192 parameter only if requested. (Bug#10348)
7193 (window--state-put-2): Install a window parameter only if it has
7194 a non-nil value or an existing parameter shall be overwritten.
7195
7196 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7197
7198 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7199
7200 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7201
7202 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7203 don't pass the (nil) value of `upnode' to string-match.
7204
7205 2012-01-14 Chong Yidong <cyd@gnu.org>
7206
7207 * startup.el (command-line): Fix X resource class for cursorColor.
7208 Fix values recognized by the cursorBlink resource.
7209
7210 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7211
7212 * epg.el (epg--make-temp-file): Avoid permission race condition
7213 when running on old Emacs versions (bug#10403).
7214
7215 2012-01-14 Glenn Morris <rgm@gnu.org>
7216
7217 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7218
7219 2012-01-13 Alan Mackenzie <acm@muc.de>
7220
7221 Fix filling for when filladapt mode is enabled.
7222
7223 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7224 c-mask-paragraph, pass in `fill-paragraph' rather than
7225 `fill-region-as-paragraph'. (This is a reversion of a previous
7226 change.)
7227 * progmodes/cc-mode.el (c-basic-common-init):
7228 Make fill-paragraph-handle-comment buffer local and set it to nil.
7229
7230 2012-01-13 Glenn Morris <rgm@gnu.org>
7231
7232 * dired.el (dired-switches-escape-p): New function.
7233 (dired-insert-directory): Use dired-switches-escape-p.
7234 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7235
7236 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7237
7238 2012-01-12 Glenn Morris <rgm@gnu.org>
7239
7240 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7241 changes in adaptive-fill-regexp. (Bug#10276)
7242
7243 2012-01-11 Alan Mackenzie <acm@muc.de>
7244
7245 Fix Emacs bug #10463 - put `widen's around the critical spots.
7246
7247 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7248 widen around each invocation of c-state-pp-to-literal. Remove an
7249 unused let variable.
7250
7251 2012-01-11 Glenn Morris <rgm@gnu.org>
7252
7253 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7254 Doc fix.
7255
7256 2012-01-10 Chong Yidong <cyd@gnu.org>
7257
7258 * net/network-stream.el (network-stream-open-starttls):
7259 Avoid emitting a confusing error message when the server gives a bad
7260 response to the capability command.
7261
7262 2012-01-10 Glenn Morris <rgm@gnu.org>
7263
7264 * mail/unrmail.el (unrmail): Tweak previous change.
7265
7266 2012-01-09 Chong Yidong <cyd@gnu.org>
7267
7268 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7269
7270 2012-01-08 Alan Mackenzie <acm@muc.de>
7271
7272 Optimise font locking in long enum definitions.
7273
7274 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7275 arm to a cond form to handle enums.
7276 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7277 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7278
7279 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7280
7281 * files.el (move-file-to-trash): Preserve default file modes on error.
7282 (Bug#10401)
7283
7284 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * faces.el (set-face-attribute): Clarify the meaning of the nil
7287 frame (bug#10294).
7288
7289 * subr.el (with-selected-frame): Mention that the selected frame
7290 is restored (bug#9980).
7291
7292 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7293 (bug#9759).
7294
7295 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7296 (password-read): Don't autoload unused function.
7297
7298 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * progmodes/which-func.el (which-func-mode): Turn into a
7301 non-interactive function and mark as obsolete (bug#10428).
7302
7303 2012-01-06 Chong Yidong <cyd@gnu.org>
7304
7305 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7306 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7307 functions, along with 1 and -1.
7308
7309 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7310
7311 * time.el (display-time-load-average)
7312 (display-time-default-load-average): Doc fixes. See the thread
7313 starting at
7314 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7315 for the details.
7316
7317 2012-01-06 Glenn Morris <rgm@gnu.org>
7318
7319 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7320 has no messages. (Bug#10377)
7321
7322 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7323 than Info-edit. (Bug#10385)
7324
7325 * time.el (display-time-load-average, display-time-next-load-average):
7326 Doc fixes.
7327
7328 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7329 local setting of buffer-read-only to the input buffer. (Bug#10419)
7330
7331 * calendar/calendar.el (calendar-mode):
7332 Locally set scroll-margin to 0. (Bug#10379)
7333
7334 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7335
7336 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7337
7338 2012-01-05 Glenn Morris <rgm@gnu.org>
7339
7340 * eshell/em-unix.el (diff-no-select): Autoload it.
7341 (eshell/diff): Use diff-no-select. (Bug#10420)
7342
7343 2012-01-05 Chong Yidong <cyd@gnu.org>
7344
7345 * shell.el (shell-dynamic-complete-functions): Revert last change.
7346 (shell-command-completion-function): New function.
7347 (shell-completion-vars): Use it to implement
7348 shell-completion-execonly (Bug#10417).
7349
7350 * custom.el (enable-theme): Don't set custom-safe-themes.
7351
7352 * cus-theme.el (custom-theme-merge-theme):
7353 Ignore custom-enabled-themes and custom-safe-themes.
7354
7355 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7356
7357 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7358 first prompt in `sql-interacive-mode'.
7359 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7360 keywords.
7361 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7362 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7363 context of original buffer. Invoke `sql-login-hook'.
7364
7365 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7366
7367 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7368 letters in cite-prefix.
7369
7370 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7371
7372 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7373
7374 2012-01-03 Chong Yidong <cyd@gnu.org>
7375
7376 * shell.el (shell-dynamic-complete-functions):
7377 Put pcomplete-completions-at-point, so as to try
7378 comint-filename-completion first (Bug#10417).
7379
7380 2012-01-02 Richard Stallman <rms@gnu.org>
7381
7382 * battery.el (battery-status-function):
7383 Detect when to use battery-yeeloong-sysfs.
7384 (battery-echo-area-format): Add string for Yeeloong.
7385 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7386 (battery-yeeloong-sysfs): New function.
7387
7388 2012-01-02 Chong Yidong <cyd@gnu.org>
7389
7390 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7391 (dirtrack): Merge code for handling relative filenames in prompt
7392 from shell-dir-cookie-watcher.
7393 (dirtrack-debug-message): New arg to avoid excess format calls.
7394
7395 * shell.el (shell-dir-cookie-re): Variable deleted.
7396 (shell-dir-cookie-watcher): Function deleted.
7397 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7398 with dirtrack-mode.
7399
7400 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7401
7402 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7403 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7404 libgnutls-26.dll.
7405
7406 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7407
7408 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7409
7410 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7411
7412 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7413 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7414
7415 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7416
7417 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7418 also for alternative shells.
7419 (tramp-open-connection-setup-interactive-shell): Check, whether
7420 the shell is a busybox.
7421 (tramp-send-command): Don't suppress multiple prompts for
7422 busyboxes, it hurts.
7423
7424 2011-12-28 Chong Yidong <cyd@gnu.org>
7425
7426 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7427 (gdb-get-source-file): Move mode line update to
7428 gdb-get-source-file (Bug#10087).
7429
7430 2011-12-25 Chong Yidong <cyd@gnu.org>
7431
7432 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7433 gud-gdb-marker-filter without taking it as an argument.
7434 (gud-gdb-run-command-fetch-lines): Caller changed.
7435 (gud-gdb-completion-function): New variable.
7436 (gud-gdb-completion-at-point): Use it.
7437 (gud-gdb-completions-1): Split from gud-gdb-completions.
7438
7439 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7440 function as separate arguments.
7441 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7442 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7443 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7444 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7445 (gdb-stopped, def-gdb-auto-update-trigger)
7446 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7447 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7448 Callers changed.
7449 (gud-gdbmi-completions): New function.
7450 (gdb): Use it for generating the completion table.
7451
7452 2011-12-24 Alan Mackenzie <acm@muc.de>
7453
7454 Introduce a mechanism to widen the region used in context font
7455 locking. Use this to protect declarations from losing their contexts.
7456
7457 * progmodes/cc-langs.el (c-before-font-lock-functions):
7458 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7459 (c-before-context-fontification-functions): New defvar, a list of
7460 functions to be run just before context (etc.) font locking.
7461
7462 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7463 New, functionality extracted from
7464 c-neutralize-syntax-in-and-mark-CPP.
7465 (c-in-after-change-fontification): New variable.
7466 (c-after-change): Set c-in-after-change-fontification.
7467 (c-set-fl-decl-start): Rejig its interface, so it can be called
7468 from both after-change and context fontifying.
7469 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7470 New functions.
7471 (c-standard-font-lock-fontify-region-function): New variable.
7472 (c-font-lock-fontify-region): New function.
7473
7474 2011-12-24 Juri Linkov <juri@jurta.org>
7475
7476 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7477 (Bug#10348)
7478
7479 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7480
7481 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7482 existence of source file. (Bug#10325)
7483
7484 2011-12-23 Alan Mackenzie <acm@muc.de>
7485
7486 Fix unstable fontification inside templates.
7487
7488 * progmodes/cc-langs.el (c-before-font-lock-functions):
7489 Newly created from the singular version. The (c c++ objc) entry now
7490 additionally has c-set-fl-decl-start. The other languages (apart
7491 from AWK) have that as a single entry.
7492
7493 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7494 The functionality for "local" declarations has been extracted to
7495 c-set-fl-decl-start.
7496
7497 * progmodes/cc-mode.el (c-common-init, c-after-change):
7498 Changes due to pluralisation of c-before-font-lock-functions.
7499 (c-set-fl-decl-start): New function, extracted from
7500 c-font-lock-enclosing-decls and enhanced.
7501
7502 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7505
7506 2011-12-22 Juri Linkov <juri@jurta.org>
7507
7508 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7509
7510 2011-12-22 Chong Yidong <cyd@gnu.org>
7511
7512 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7513
7514 2011-12-21 Drew Adams <drew.adams@oracle.com>
7515
7516 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7517
7518 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7519
7520 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7521
7522 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7523
7524 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7525 highlighting and support. Fix up comments for capitalization.
7526 (cfengine-mode-debug): New var.
7527 (cfengine3-mode): Change the modeline indicator to "CFE3".
7528 (cfengine3-font-lock-keywords): Improve defun highlighting.
7529 (cfengine2-actions): Rename from `cfengine-actions'.
7530 (cfengine2-font-lock-keywords): Rename from
7531 `cfengine-font-lock-keywords'.
7532 (cfengine2-imenu-expression): Rename from
7533 `cfengine-imenu-expression'.
7534 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7535 (cfengine2-beginning-of-defun): Rename from
7536 `cfengine-beginning-of-defun'.
7537 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7538 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7539 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7540 modeline indicator to "CFE2".
7541 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7542 (cfengine-mode-abbrevs): Mark obsolete.
7543
7544 2011-12-21 Chong Yidong <cyd@gnu.org>
7545
7546 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7547 filename argument.
7548
7549 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7550
7551 * window.el (window-normalize-buffer-to-display): Remove.
7552 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7553
7554 2011-12-19 Chong Yidong <cyd@gnu.org>
7555
7556 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7557 Don't signal an error in a predicate function; return non-nil.
7558 (vc-dir-mark-file): Move the error here.
7559 (vc-dir-mark-unmark): If acting on the region, keep going if one
7560 of the entries cannot be marked/unmarked.
7561 (vc-dir-mark-all-files): If current entry is a directory, mark
7562 only child files, as documented.
7563
7564 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7565
7566 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7567 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7568 addition.
7569
7570 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7571
7572 * term/ns-win.el (ns-get-selection-internal)
7573 (ns-store-selection-internal): Declare.
7574 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7575 Declare as obsolete.
7576 (ns-get-pasteboard, ns-paste-secondary):
7577 Use ns-get-selection-internal.
7578 (ns-set-pasteboard, ns-copy-including-secondary):
7579 Use ns-store-selection-internal.
7580
7581 2011-12-17 Chong Yidong <cyd@gnu.org>
7582
7583 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7584 (vc-deduce-fileset): Doc fix.
7585
7586 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7587
7588 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7589
7590 2011-12-13 Sam Steingold <sds@gnu.org>
7591
7592 * man.el (Man-getpage-in-background): When running under a
7593 window-system, ignore $MANWIDTH and $COLUMNS.
7594
7595 2011-12-15 Kenichi Handa <handa@m17n.org>
7596
7597 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7598 (setup-ethiopic-environment-internal): Comment out key-binding for
7599 ethio-toggle-punctuation.
7600
7601 2011-12-13 Alan Mackenzie <acm@muc.de>
7602
7603 Add the switch statement to AWK Mode.
7604
7605 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7606 "default" to the keywords regexp.
7607
7608 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7609 expression as the rest.
7610 (c-nonlabel-token-key): Allow string literals for AWK.
7611 Refactor for the other modes.
7612
7613 Large brace-block initialisation makes CC Mode slow: Fix.
7614 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7615 routines. Limit backward searching in c-font-lock-enclosing.decl.
7616
7617 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7618 pp-state and literal type in addition to the limits.
7619 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7620 (c-state-literal-at): Use the above new defun.
7621 (c-slow-in-literal, c-fast-in-literal): Remove.
7622 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7623
7624 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7625 being in a literal. Add a limit for backward searching.
7626
7627 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7628 c-slow-in-literal.
7629
7630 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7631
7632 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7633
7634 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7635
7636 * window.el (delete-other-windows): Use correct frame in call to
7637 window-with-parameter.
7638
7639 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7640
7641 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7642 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7643 (makefile-gmake-statements, makefile-makepp-statements):
7644 Use it and add new makepp keywords.
7645 (makefile-makepp-font-lock-keywords): Add new patterns.
7646 (makefile-match-function-end): Match new [...] and [[...]].
7647
7648 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * ses.el (ses-call-printer-return, ses-cell-property-get)
7651 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7652 (ses-create-cell-variable, ses-reset-header-string)
7653 (ses-cell-set-formula, ses-repair-cell-reference-all)
7654 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7655 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7656 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7657 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7658 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7659 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7660 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7661 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7662 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7663 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7664 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7665 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7666
7667 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7668
7669 * ses.el: The overall change is to add cell renaming, that is
7670 setting fancy names for cell symbols other than name matching
7671 "\\`[A-Z]+[0-9]+\\'" regexp .
7672 (ses-create-cell-variable): New defun.
7673 (ses-relocate-formula): Relocate formulas only for cells the
7674 symbols of which are not renamed, i.e. symbols whose names do not
7675 match regexp "\\`[A-Z]+[0-9]+\\'".
7676 (ses-relocate-all): Relocate values only for cells the symbols of
7677 which are not renamed.
7678 (ses-load): Create cells variables as the (ses-cell ...) are read,
7679 in order to check row col consistency with cell symbol name only
7680 for cells that are not renamed.
7681 (ses-replace-name-in-formula): New defun.
7682 (ses-rename-cell): New defun.
7683
7684 2011-12-11 Chong Yidong <cyd@gnu.org>
7685
7686 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7687 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7688
7689 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7690
7691 * window.el (other-window): Fix docstring.
7692
7693 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7694
7695 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7696 `from' or `to' address before taking its substring.
7697 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7698 encoded name is chopped in the middle of the encoded string, and
7699 thus displayed encoded.
7700
7701 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7702
7703 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7704
7705 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7706
7707 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7708 to use texinfo-update-node and commands that call it if the
7709 Texinfo file uses @node lines without next/prev/up pointers.
7710 Correct outdated description about texinfo-master-menu.
7711 (texinfo-all-menus-update, texinfo-master-menu)
7712 (texinfo-update-node, texinfo-every-node-update)
7713 (texinfo-multiple-files-update): Doc fix. Warn against updating
7714 all the @node lines.
7715 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7716 argument is numeric. Explain better in the doc string what the
7717 function really does.
7718 (texinfo-insert-master-menu-list): Improve the error message
7719 displayed if there's no menu in the Top node.
7720 (Bug#2975) See also this thread:
7721 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7722
7723 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7724
7725 * speedbar.el (speedbar-supported-extension-expressions):
7726 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7727
7728 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7729
7730 * printing.el (pr-mode-alist):
7731 * simple.el (filter-buffer-substring-functions)
7732 (completion-list-insert-choice-function):
7733 * window.el (window-with-parameter, window-atom-root)
7734 (window-sides-slots, window-size-fixed, window-min-delta)
7735 (window-max-delta, window--resize-mini-window)
7736 (window--resize-child-windows-normal, window-tree)
7737 (delete-other-windows, quit-window, split-window)
7738 (display-buffer-record-window, special-display-buffer-names)
7739 (special-display-regexps, special-display-popup-frame)
7740 (same-window-p, split-window-sensibly)
7741 (display-buffer-overriding-action, display-buffer-alist)
7742 (display-buffer-base-action, display-buffer, switch-to-buffer)
7743 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7744 (fit-window-to-buffer, recenter-positions)
7745 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7746 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7747 and remove unneeded backslashes in docstrings.
7748
7749 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7752
7753 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7754 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7755 end in ".mk".
7756 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7757 when reading the makefile (bug#10116).
7758
7759 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7762 (bug#10116).
7763
7764 2011-12-06 Glenn Morris <rgm@gnu.org>
7765
7766 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7767
7768 2011-12-06 Chong Yidong <cyd@gnu.org>
7769
7770 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7771
7772 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * textmodes/table.el (table-shorten-cell): Fix typo.
7775
7776 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7777
7778 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7779
7780 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7781
7782 * descr-text.el (describe-char): Fix display of strong
7783 right-to-left characters and directional embeddings and overrides.
7784
7785 * simple.el (what-cursor-position): Fix display of codepoints of
7786 strong right-to-left characters.
7787
7788 2011-12-05 Chong Yidong <cyd@gnu.org>
7789
7790 * faces.el (read-color): Doc fix.
7791
7792 2011-12-05 Glenn Morris <rgm@gnu.org>
7793
7794 * align.el (align--set-marker): Add doc-string.
7795 Don't try to move something that is not a marker. (Bug#10216)
7796
7797 2011-12-04 Glenn Morris <rgm@gnu.org>
7798
7799 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7800 overly zealous deletion of trailing whitespace.
7801
7802 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7803
7804 * server.el (server-delete-client): On Windows, do not try to delete
7805 the only terminal.
7806 (server-process-filter): On Windows, treat requests for a tty frame as
7807 if they were for a GUI frame if the running server is in GUI mode.
7808
7809 2011-12-03 Glenn Morris <rgm@gnu.org>
7810
7811 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
7812
7813 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * electric.el: Streamline electric-indent's hook.
7816 (electric-indent-chars): Revert to simple list.
7817 (electric-indent-functions): New var.
7818 (electric-indent-post-self-insert-function): Use it.
7819
7820 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
7821 there's no inferior buffer (bug#10196).
7822 (prolog-consult-compile): Don't use toggle-read-only.
7823
7824 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
7825
7826 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
7827 interrupt. (Bug#10187)
7828
7829 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7830
7831 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
7832 (bug#9160).
7833
7834 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
7835 (bug#10191).
7836
7837 2011-12-02 Juri Linkov <juri@jurta.org>
7838
7839 * info.el (Info-search): Display "end of manual" when Isearch
7840 reaches the end of single-file Info manual. (Bug#9918)
7841
7842 2011-12-02 Eli Zaretskii <eliz@gnu.org>
7843
7844 * isearch.el (isearch-message-prefix): Run the input method part
7845 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
7846
7847 2011-12-02 Juri Linkov <juri@jurta.org>
7848
7849 * isearch.el (isearch-occur): Use `word-search-regexp' for
7850 `isearch-word'.
7851 (isearch-search-and-update): Add condition for `isearch-word' and
7852 call `word-search-regexp'. (Bug#10145)
7853
7854 2011-12-01 Glenn Morris <rgm@gnu.org>
7855
7856 * eshell/em-hist.el (eshell-hist-initialize):
7857 Handle eshell-history-size nil and HISTSIZE set or unset.
7858 (eshell-history-file-name, eshell-history-size): Fix custom type.
7859
7860 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
7863
7864 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
7865
7866 * progmodes/verilog-mode.el (verilog-pretty-expr):
7867 Rework verilog-pretty-expr to handle new assignment operators in system
7868 verilog, such as += *= and the like.
7869 (verilog-assignment-operator-re): Regular expression to find the
7870 assigment operator in a verilog assignment.
7871 (verilog-assignment-operation-re): Regular expression to find an
7872 assignment statement for pretty-expr.
7873 (verilog-in-attribute-p): Query returns true if point is in an
7874 attribute context; used to skip these for expression line up from
7875 pretty-expr.
7876 (verilog-in-parameter-p): Query returns true if point is in an
7877 parameter definition context; used to skip these for expression
7878 line up from pretty-expr.
7879 (verilog-in-parenthesis-p): Query returns true if point is in a
7880 parenthetical expression, specifically ( ) but not [ ] or { };
7881 used by pretty-expr.
7882 (verilog-just-one-space): If there is no space, don't add one.
7883 (verilog-get-lineup-indent-2): Specifically skip just attribute
7884 contexts for expression lineup, rather than skipping all
7885 parenthetical expressions.
7886 (verilog-calculate-indent): Fix comment, and fix indent.
7887 (verilog-do-indent): Indent declarations in lists (suggested by
7888 Joachim Lechner).
7889 (verilog-mode-abbrev-table): Populate abbrev mode with the various
7890 skeleton items.
7891 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
7892 by Alain Mellan).
7893
7894 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
7895
7896 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
7897 parameters with embedded comments. Reported by Ray Stevens.
7898 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
7899 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
7900 Reported by Tim Holt.
7901 (verilog-auto): Fix AUTOing a upper module then AUTOing module
7902 instantiated by upper module causing wrong expansion until AUTOed a
7903 second time. Reported by K C Buckenmaier.
7904 (verilog-diff-auto): Fix showing .* as a difference when
7905 `verilog-auto-star-save' off. Reported by Dan Dever.
7906 (verilog-auto-reset, verilog-read-always-signals)
7907 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
7908 temporary signals in reset list if
7909 verilog-auto-reset-blocking-in-non is nil, and match assignment
7910 style to each signal's assignment type, bug381.
7911 Reported by Thomas Esposito.
7912 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
7913 (verilog-uvm-statement-re): Support UVM indentation and
7914 highlighting, with old OVM keywords only.
7915 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
7916 Support AUTOTIEOFF creating non-wire data types.
7917 Suggested by Jonathan Greenlaw.
7918 (verilog-auto-insert-lisp, verilog-delete-to-paren)
7919 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
7920 (verilog-inject-sense, verilog-read-inst-pins)
7921 (verilog-read-sub-decls, verilog-read-sub-decls-line):
7922 Fix mismatching parenthesis inside commented out code when deleting
7923 AUTOINST, bug383. Reported by Jonathan Greenlaw.
7924 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
7925 non-numeric vector width. Reported by Alex Reed.
7926 (verilog-auto-ascii-enum): Add "onehot" option to work around not
7927 detecting signals with parameter widths. Reported by Alex Reed.
7928 (verilog-auto-delete-trailing-whitespace):
7929 With `verilog-auto-delete-trailing-whitespace' remove trailing
7930 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
7931 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
7932 Fix verilog-scan-cache corruption when running user AUTO expansion
7933 hooks that call indentation routines.
7934 (verilog-simplify-range-expression): Fix typo ignoring lower case
7935 identifiers.
7936 (verilog-delete-auto): Fix delete-autos to also remove user created
7937 automatics, as long as they start with AUTO.
7938 (verilog-batch-diff-auto, verilog-diff-auto)
7939 (verilog-diff-function): Add `verilog-diff-auto' and bind to
7940 "C-c?" to report differences in AUTO expansion, ignoring spaces.
7941 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
7942 (verilog-in-paren-quick, verilog-re-search-backward-quick)
7943 (verilog-re-search-forward-quick, verilog-syntax-ppss):
7944 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
7945 is disabled and its cache will get corrupt, causing AUTOS not to
7946 expand. Instead use only -quick functions.
7947 (verilog-scan-region): Fix scanning over escaped quotes.
7948 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
7949 (verilog-re-search-backward-quick)
7950 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
7951 related functions now ignore strings, to fix misparsing of strings
7952 with magic comments embedded in them.
7953 (verilog-read-auto-template):
7954 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
7955 Reported by Brad Dobbie.
7956 (verilog-read-auto-template):
7957 Fix 'verilog-auto-inst-template-numbers' with comments.
7958 Reported by Brad Dobbie.
7959 (verilog-auto-inst, verilog-auto-inst-param)
7960 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
7961 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
7962 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
7963 debugging templates without merge conflicts, bug357.
7964 Reported by Brad Dobbie.
7965 (verilog-read-auto-template):
7966 Fix verilog-auto-inst-template-numbers with multiple templates.
7967 Reported by Brad Dobbie.
7968 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
7969 abbrevs so user won't be asked to save.
7970 (verilog-read-auto-lisp-present): Fix to start at beginning of
7971 buffer in case called outside of verilog-auto.
7972 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
7973 to "X-2". Reported by Matthew Myers.
7974 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
7975 all inputs from module templates. Reported by Leith Johnson.
7976 (verilog-module-inside-filename-p): Fix locating programs as with
7977 modules.
7978 (verilog-auto-inst-port): Fix vl-width expressions when using
7979 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
7980 (verilog-decls-get-regs, verilog-decls-get-signals,
7981 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
7982 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
7983 verilog-read-decls): Combine reg and wire structures into one var
7984 structure to represent SystemVerilog concepts.
7985 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
7986 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
7987 (verilog-auto-wire-type, verilog-insert-definition):
7988 Add verilog-auto-wire-type and AUTOLOGIC to support using
7989 SystemVerilog "logic" keyword instead of "wire"/"reg".
7990 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
7991 to declares outputs that also have assignments (presumably in an
7992 ifdef or generate if so there's not a driver conflict).
7993 Reported by Matthew Myers.
7994 (verilog-auto-declare-nettype, verilog-insert-definition):
7995 Add verilog-auto-declare-nettype to fix declarations using
7996 `default_nettype none. Reported by Julian Gorfajn.
7997 (verilog-read-always-signals-recurse, verilog-read-decls)
7998 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
7999 malformed end statement, bug325. Reported by Joshua Wise and
8000 Andrew Drake.
8001 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8002 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8003 when expanding .* in interfaces, bug320.
8004 Reported by Pierre-David Pfister.
8005 (verilog-read-module-name): Fix import statements between module
8006 name and open parenthesis, bug317.
8007 Reported by Pierre-David Pfister.
8008 (verilog-simplify-range-expression): Fix simplification of
8009 multiplications inside AUTOWIRE connections, bug303.
8010 (verilog-auto-inst-port): Support parameter expansion in
8011 multidimensional arrays.
8012 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8013 after "assert property". Reported by Julian Gorfajn.
8014 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8015 with multiplication, bug303.
8016 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8017 Reported by Jan Frode Lonnum.
8018
8019 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8022 (hfy-shell-file-name, hfy-shell):
8023 * international/fontset.el (x-decompose-font-name): Fix typos.
8024
8025 2011-11-29 Ken Brown <kbrown@cornell.edu>
8026
8027 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8028 (gdb-version): Remove defvar.
8029 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8030 (gdb-gud-context-command, gdb-non-stop-handler)
8031 (gdb-current-context-command, gdb-stopped): Use it.
8032 (gdb-init-1): Enable pretty printing here.
8033 (gdb-non-stop-handler): Don't enable pretty-printing here.
8034 Check to see if the target supports non-stop mode; if not, turn off
8035 non-stop mode. Use the following.
8036 (gdb-check-target-async): New defun.
8037 (gud-watch, gdb-stopped): Fix whitespace.
8038 (gdb-get-source-file): Don't try to display the source file if
8039 `gdb-main-file' is nil.
8040
8041 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * align.el: Try to generate fewer markers (bug#10047).
8044 (align--set-marker): New macro.
8045 (align-region): Use it.
8046
8047 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8050
8051 2011-11-29 Chong Yidong <cyd@gnu.org>
8052
8053 * indent.el (indent-for-tab-command, indent-according-to-mode):
8054 Doc fix.
8055 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8056
8057 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8058
8059 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8060 aware of remote file names. (Bug#10124)
8061
8062 2011-11-29 Chong Yidong <cyd@gnu.org>
8063
8064 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8065
8066 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * files.el (find-file): Don't use force-same-window (bug#10144).
8069 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8070 use pop-to-buffer if the selected window can't be used.
8071 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8072
8073 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8074
8075 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8076 special-mode-map.
8077
8078 2011-11-28 Chong Yidong <cyd@gnu.org>
8079
8080 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8081
8082 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8083
8084 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8085 gdb-get-source-file-list on gdb-create-source-file-list.
8086
8087 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8088
8089 * whitespace.el (whitespace-newline): Use a different foreground
8090 color for 16-color light-background displays.
8091
8092 2011-11-24 Chong Yidong <cyd@gnu.org>
8093
8094 * window.el (display-buffer--special-action): Doc fix.
8095
8096 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8099 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8100 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8101 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8102 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8103 (avl-tree-stack-first):
8104 * emacs-lisp/cconv.el (cconv--analyse-use):
8105 * net/gnutls.el (gnutls-negotiate): Fix typos.
8106
8107 2011-11-24 Glenn Morris <rgm@gnu.org>
8108
8109 * lpr.el (lpr-windows-system, lpr-lp-system):
8110 * mail/binhex.el (binhex-begin-line):
8111 * progmodes/grep.el (grep-history, grep-find-history):
8112 * textmodes/flyspell.el:
8113 * vc/pcvs-defs.el (cvs-global-menu):
8114 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8115 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8116 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8117
8118 * net/tls.el: Fix case of "GnuTLS".
8119
8120 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8121
8122 * version.el (emacs-build-system): Give it a doc-string.
8123
8124 2011-11-24 Juri Linkov <juri@jurta.org>
8125
8126 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8127
8128 2011-11-24 Glenn Morris <rgm@gnu.org>
8129
8130 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8131 if called on a non-mime message just toggle the headers. (Bug#8006)
8132
8133 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8134
8135 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8136 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8137 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8138 (allout-rebullet-heading, allout-open-sibtopic)
8139 (allout-toggle-current-subtree-encryption)
8140 (allout-toggle-subtree-encryption, allout-encrypt-string)
8141 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8142 (allout-distinctive-bullets-string, allout-auto-activation):
8143 * window.el (window-normalize-buffer-to-display):
8144 * progmodes/verilog-mode.el (verilog-batch-indent):
8145 * textmodes/bibtex.el (bibtex-field-braces-opt)
8146 (bibtex-field-strings-opt):
8147 * vc/cvs-status.el (cvs-tree-merge):
8148 Fix typos.
8149
8150 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8151
8152 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8153 `non-essential' to t, in order to avoid remote connections.
8154
8155 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8156
8157 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8158 On MS-DOS and MS-Windows, compare with loaddefs.el
8159 case-insensitively.
8160
8161 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8162
8163 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8164
8165 2011-11-23 Glenn Morris <rgm@gnu.org>
8166
8167 * paths.el (rmail-file-name): Reformat the doc-string so that it
8168 is picked up.
8169
8170 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8171 (rmail-auto-file): Ignore case in the "special" field names,
8172 as mail-fetch-field does for all others.
8173
8174 * mail/rmail.el (rmail-forward):
8175 * mail/rmailkwd.el (rmail-set-label):
8176 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8177 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8178
8179 * mail/rmail.el (rmail-current-message): Doc fix.
8180
8181 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8182
8183 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8186
8187 2011-11-22 Glenn Morris <rgm@gnu.org>
8188
8189 * mail/rmailmm.el (test-rmail-mime-handler)
8190 (test-rmail-mime-bulk-handler)
8191 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8192
8193 2011-11-21 Juri Linkov <juri@jurta.org>
8194
8195 * calc/calc.el (calc-read-key-sequence):
8196 Let-bind `input-method-function' to nil. (Bug#10018)
8197
8198 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8199
8200 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8201 Tell the caller that the next line needs recomputation, even
8202 though it doesn't start a sexp (bug#10094).
8203
8204 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8207
8208 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8211 Use force-same-window.
8212
8213 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * descr-text.el (describe-char-unicode-data):
8216 * json.el (json-string-escape):
8217 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8218 (Footnote-unicode, Footnote-style-p):
8219 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8220
8221 2011-11-20 Chong Yidong <cyd@gnu.org>
8222
8223 * window.el (replace-buffer-in-windows): Restore interactive spec.
8224
8225 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8228
8229 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8230 (byte-compile-global-not-obsolete-vars): New var.
8231 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8232 Use it.
8233 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8234
8235 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8236
8237 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8238 * progmodes/pascal.el (electric-pascal-equal):
8239 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8240 * xml.el (xml-substitute-special): Fix typos.
8241
8242 2011-11-20 Glenn Morris <rgm@gnu.org>
8243
8244 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8245 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8246 Doc fixes.
8247 (rmail-decode-mime-charset): Mark as obsolete.
8248
8249 * mail/rmailsum.el (rmail-message-regexp-p-1):
8250 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8251 Before using mime functions, check they are set. (Bug#10077)
8252
8253 2011-11-19 Juri Linkov <juri@jurta.org>
8254
8255 * info.el (Info-finder-find-node): Use `package--builtins' instead
8256 of `package-alist'. Use node names formed by the pattern "Keyword "
8257 and the keyword name.
8258
8259 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8260
8261 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8262
8263 2011-11-19 Juri Linkov <juri@jurta.org>
8264
8265 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8266 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8267 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8268 `old-history', `old-history-forward'. Add let-binding
8269 `window-selected'. Remove calls to `kill-buffer',
8270 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8271 before calling `Info-find-node', so `Info-find-node-2' will reread
8272 the Info file. Restore window positions only when `window-selected'
8273 is non-nil.
8274
8275 2011-11-19 Juri Linkov <juri@jurta.org>
8276
8277 * isearch.el (isearch-lazy-highlight-new-loop):
8278 Remove condition `(not isearch-error)'. (Bug#9918)
8279
8280 * misearch.el (multi-isearch-search-fun): Add condition
8281 `(not bound)' to ignore lazy-highlighting search.
8282 Add the search-failed message "end of multi" when the end of
8283 multi-sequence is reached. Uncapitalize the search-failed
8284 message "Repeat for next buffer".
8285
8286 * info.el (Info-search): Add the search-failed message
8287 "end of the manual" when the end of the manual is reached
8288 in Isearch mode.
8289
8290 2011-11-19 Juri Linkov <juri@jurta.org>
8291
8292 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8293 Use non-destructive `remove' instead of `delete' because
8294 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8295 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8296
8297 2011-11-19 Juri Linkov <juri@jurta.org>
8298
8299 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8300 to nil instead of binding `search-ring' and `regexp-search-ring'.
8301 (Bug#9185)
8302
8303 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8304
8305 * simple.el (line-move): Force movement by logical lines for any
8306 hscrolled window, not only when auto-hscroll-mode is on.
8307 (line-move-visual): Update doc string to that effect. (Bug#10076)
8308
8309 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8310
8311 * language/european.el (macintosh): Define as alias for mac-roman.
8312
8313 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8314
8315 * mail/rmailmm.el (rmail-mime-display-header)
8316 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8317 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8318 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8319 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8320 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8321 of a raw aref.
8322 (rmail-mime-entity-segment): To get past the tagline, move forward
8323 2 more lines, to account for the 2 empty lines that precede and
8324 follow the line with the buttons.
8325 (rmail-mime-update-tagline): Move one more line, to get past the
8326 empty line that follows the buttons in the tagline. (Bug#9520)
8327
8328 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8329
8330 * window.el (window-max-delta-1, window-min-delta-1)
8331 (window-min-size-1, window-state-get-1, window-state-put-1)
8332 (window-state-put-2): Use "window--" prefix.
8333
8334 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8337 (smie-warning-count): New var.
8338 (smie-set-prec2tab): Use it.
8339 (smie-bnf->prec2): Improve warnings. Add docstring.
8340 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8341 (smie-bnf--set-class): New function.
8342 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8343 corner case.
8344
8345 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8346 (compilation-error-properties, compilation-move-to-column):
8347 Handle compilation-first-column while in the target buffer.
8348
8349 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8350 Don't hardcode point-min==1.
8351
8352 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8353 (eshell-rewrite-for-command): Remove workaround.
8354 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8355 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8356 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8357
8358 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8359
8360 2011-11-17 Glenn Morris <rgm@gnu.org>
8361
8362 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8363 Ignore buffer-local generated-autoload-file if it is the same
8364 as the global value. (Bug#10049)
8365
8366 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8367
8368 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8369 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8370 (reftex-toc-previous-heading, reftex-toc-max-level)
8371 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8372 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8373 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8374 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8375 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8376 (reftex-toc-rename-label, reftex-toc-visit-location)
8377 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8378 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8379 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8380 leaving "*toc*" only for references to the buffer.
8381
8382 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8383
8384 * window.el (window-resize, delete-window, split-window):
8385 Replace window-splits by window-combination-resize.
8386 * cus-start.el (window-splits): Replace by window-combination-resize.
8387
8388 2011-11-17 Glenn Morris <rgm@gnu.org>
8389
8390 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8391 Make bash entry derive from sh entry, not shell entry.
8392
8393 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8394
8395 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8396 local file name.
8397
8398 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * menu-bar.el (menu-bar-file-menu):
8401 * printing.el (pr-ps-utility):
8402 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8403 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8404 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8405 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8406 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8407 (icalendar--convert-cyclic-to-ical)
8408 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8409 (icalendar--convert-ical-to-diary)
8410 (icalendar--convert-recurring-to-diary)
8411 (icalendar--convert-non-recurring-all-day-to-diary)
8412 (icalendar-import-format-sample):
8413 * progmodes/idlw-shell.el (idlwave-shell-mode):
8414 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8415 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8416 (vhdl-ps-print-init): Fix typos.
8417
8418 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8419
8420 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8421 FSF and collapse date sequence, obscure author/maintainer email address
8422 better, remove extra version line, track relocation of author's webpage.
8423
8424 * progmodes/python.el (python-pdbtrack-input-prompt)
8425 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8426 regular python pdb prompts. Adjustments shamelessly taken exactly as
8427 suggested in EmacsWiki page (tiny change):
8428 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8429
8430 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * expand.el (expand-pos, expand-index, expand-point):
8433 Remove redundant info from docstring.
8434 (expand-add-abbrevs): Doc fix.
8435 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8436 (expand-sample-perl-mode-expand-list): Fix typos.
8437
8438 * net/dbus.el (dbus-event-member-name):
8439 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8440 * term/pc-win.el (msdos-create-frame-with-faces):
8441 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8442
8443 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8444
8445 * window.el (split-window, window-state-get-1)
8446 (window-state-put-1, window-state-put-2): Rename occurrences of
8447 window-nest to window-combination-limit.
8448 * cus-start.el (window-nest): Rename to window-combination-limit.
8449
8450 2011-11-16 Chong Yidong <cyd@gnu.org>
8451
8452 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8453 regexp (Bug#10033).
8454
8455 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8458 `completing-read' will remove *Completions* and will preserve
8459 current-buffer for us.
8460 (tmm-add-prompt): Users of *Completions* will always (re)set its
8461 major mode.
8462 (tmm-old-comp-map): Remove.
8463
8464 2011-11-16 Glenn Morris <rgm@gnu.org>
8465
8466 * mail/rmailedit.el: Require rmailmm when compiling.
8467 (rmail-old-mime-state): New declaration.
8468 (rmail-edit-current-message): If editing a mime message,
8469 edit the "raw" message from the mbox buffer.
8470 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8471
8472 2011-11-15 Glenn Morris <rgm@gnu.org>
8473
8474 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8475 which wasn't being used. Add optional arg to force given state.
8476 (rmail-mime): Add optional arg to force given state.
8477
8478 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8479
8480 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8481 * frame.el (display-mm-dimensions-alist):
8482 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8483 (outline-move-subtree-down):
8484 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8485 (newsticker--treeview-do-get-node):
8486 * net/quickurl.el (quickurl-list-buffer-name):
8487 * progmodes/dcl-mode.el (dcl-mode):
8488 * progmodes/gdb-mi.el (gdb-mapcar*):
8489 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8490
8491 2011-11-15 Glenn Morris <rgm@gnu.org>
8492
8493 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8494 in a boolean sense, so just make it a boolean, and fix the doc.
8495 (rmail-show-mime-function, rmail-mime-feature)
8496 (rmail-require-mime-maybe): Doc fixes.
8497 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8498
8499 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8500
8501 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8502
8503 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8504 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8505 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8506 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8507
8508 2011-11-15 Glenn Morris <rgm@gnu.org>
8509
8510 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8511 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8512 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8513 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8514 (rmail-mime, rmail-show-mime): Doc fixes.
8515
8516 * term/ns-win.el (mode-line-frame-identification):
8517 Leave it alone. (Bug#10051)
8518
8519 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8520
8521 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8522 Handle empty buffers. (Bug#9978)
8523
8524 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * international/mule.el (define-charset):
8527 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8528 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8529 * progmodes/verilog-mode.el (verilog-backward-token):
8530 * textmodes/ispell.el (lookup-words):
8531 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8532
8533 2011-11-14 Glenn Morris <rgm@gnu.org>
8534
8535 * progmodes/executable.el
8536 (executable-make-buffer-file-executable-if-script-p):
8537 Handle file-modes returning nil.
8538
8539 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8540 message - not necessary, and causes problems. (Bug#9831)
8541
8542 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8543
8544 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8545
8546 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8547 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8548 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8549
8550 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8551
8552 * window.el (window-resize, delete-window): Use window-splits
8553 variable instead of function.
8554 (window-state-get-1, window-state-put-2, window-state-put):
8555 Don't deal with windows' splits status.
8556
8557 2011-11-12 Glenn Morris <rgm@gnu.org>
8558
8559 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8560 (apropos-documentation): Doc fixes.
8561
8562 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8563
8564 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8565 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8566
8567 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * electric.el (electric-indent-post-self-insert-function): Make it
8570 possible for a char to only indent in some circumstances.
8571 (electric-indent-mode): Simplify.
8572
8573 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8574
8575 * window.el (windows-with-parameter): Remove unused function.
8576 (windows-at-side): Rename to window-at-side-list.
8577 (window-check, window-atom-check, window-atom-check-1)
8578 (window-side-check, window-size-ignore, window-size-fixed-1)
8579 (window-in-direction-2): Prefix with "window--".
8580 (window-tree-1): Rename to window--subtree, fix doc-string.
8581
8582 2011-11-11 Glenn Morris <rgm@gnu.org>
8583
8584 * subr.el (eval-after-load): If FILE is already loaded,
8585 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8586
8587 2011-11-10 Glenn Morris <rgm@gnu.org>
8588
8589 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8590 Call svn via vc-svn-command rather than vc-do-command.
8591 (vc-svn-command): Add --non-interactive. (Bug#9993)
8592 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8593
8594 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8595 Add toggle-read-only. (Bug#7292)
8596 * files.el (toggle-read-only): Mention that it should only
8597 be used interactively. (Bug#10006)
8598
8599 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8602 Adjust regexp for OCaml warnings.
8603
8604 * electric.el (electric-pair-post-self-insert-function): Let user
8605 turn it off buffer-locally (bug#9932).
8606
8607 * progmodes/python.el (python-beginning-of-statement):
8608 Rewrite (bug#2703).
8609
8610 * progmodes/compile.el: Better handle TABs (bug#9749).
8611 (compilation-internal-error-properties)
8612 (compilation-next-error-function): Obey the target buffer's
8613 compilation-error-screen-columns.
8614
8615 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8616
8617 * progmodes/meta-mode.el: Remove obsolete comments.
8618 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8619 Fix typos in docstrings.
8620
8621 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8622
8623 * window.el (window-size-fixed-p): Rewrite doc-string.
8624 (window-resizable-p): Rename to window--resizable-p. Update callers.
8625 (window--resizable): New function. Make all callers of
8626 window-resizable call window--resizable instead.
8627 (window-resizable): Rewrite in terms of window--resizable.
8628
8629 2011-11-08 Glenn Morris <rgm@gnu.org>
8630
8631 * progmodes/delphi.el (delphi-mode-syntax-table):
8632 Let define-derived-mode define a proper syntax table. (Bug#9994)
8633
8634 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * window.el: Stay away from defsubst.
8637 (window-list-no-nils): Remove.
8638 (window-state-get-1, window-state-get): Use backquote instead.
8639
8640 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8641
8642 * emacs-lisp/find-func.el (find-function-read):
8643 Fix incorrect use of default argument in `completing-read'.
8644
8645 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8646
8647 * window.el (display-buffer-function, special-display-function):
8648 Mention display-buffer-record-window but do not mention
8649 help-setup parameter in doc-strings.
8650 (window-min-delta): Fix doc-string typo.
8651
8652 2011-11-08 Chong Yidong <cyd@gnu.org>
8653
8654 * window.el (window-total-height, window-total-width): Doc fix.
8655 (window-body-size): Move from C.
8656 (window-body-height, window-body-width): Move to C.
8657
8658 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * window.el: Make special-display like display-buffer-alist (bug#9532).
8661 (display-buffer--special-action): New function, morphed
8662 from display-buffer--special.
8663 (display-buffer): Use it to handle special-display-buffers at higher
8664 priority (just after display-buffer-alist).
8665 (display-buffer-fallback-action, display-buffer--other-frame-action)
8666 (pop-to-buffer-same-window): Remove display-buffer--special.
8667
8668 2011-11-07 Glenn Morris <rgm@gnu.org>
8669
8670 * calendar/cal-menu.el (cal-menu-set-date-title):
8671 Do nothing if not in a calendar. (Bug#9976)
8672
8673 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * files.el (find-file): Always use selected-window.
8676
8677 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8678
8679 * window.el (window-combinations): Make WINDOW argument
8680 mandatory. Rewrite doc-string.
8681 (walk-window-subtree, window-atom-check, window-min-delta)
8682 (window-max-delta, window--resize-this-window)
8683 (window--resize-root-window-vertically, window-tree)
8684 (balance-windows, window-state-put): Rewrite doc-strings as to
8685 not mention the term "subwindow".
8686 (window--resize-subwindows-skip-p): Rename to
8687 window--resize-child-windows-skip-p.
8688 (window--resize-subwindows-normal): Rename to
8689 window--resize-child-windows-normal.
8690 (window--resize-subwindows): Rename to
8691 window--resize-child-windows.
8692 (window-or-subwindow-p): Rename to window--in-subtree-p.
8693
8694 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8695
8696 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8697 Ensure that mbox format messages end in two newlines (Bug#9974).
8698
8699 2011-11-06 Chong Yidong <cyd@gnu.org>
8700
8701 * window.el (window-combination-p): Function deleted; its
8702 side-effect is not used in any existing code.
8703 (window-combinations, window-combined-p): Call window-*-child
8704 directly.
8705
8706 2011-11-05 Chong Yidong <cyd@gnu.org>
8707
8708 * window.el (window-valid-p): Rename from window-any-p.
8709 (window-size-ignore, window-state-get): Callers changed.
8710 (window-normalize-window): Rename from window-normalize-any-window.
8711 New arg LIVE-ONLY, replacing window-normalize-live-window.
8712 (window-normalize-live-window): Delete.
8713 (window-combination-p, window-combined-p, window-combinations)
8714 (walk-window-subtree, window-atom-root, window-min-size)
8715 (window-sizable, window-sizable-p, window-size-fixed-p)
8716 (window-min-delta, window-max-delta, window-resizable)
8717 (window-resizable-p, window-full-height-p, window-full-width-p)
8718 (window-current-scroll-bars, window-point-1, set-window-point-1)
8719 (window-at-side-p, window-in-direction, window-resize)
8720 (adjust-window-trailing-edge, maximize-window, minimize-window)
8721 (window-deletable-p, delete-window, delete-other-windows)
8722 (record-window-buffer, unrecord-window-buffer)
8723 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8724 (quit-window, split-window, window-state-put)
8725 (set-window-text-height, fit-window-to-buffer)
8726 (shrink-window-if-larger-than-buffer): Callers changed.
8727
8728 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8729
8730 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8731 rfc2047-decode-string.
8732 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8733 warnings.
8734
8735 * window.el (window-body-height, window-body-width): Mention in
8736 the doc string that the return values are in frame's canonical
8737 units. (Bug#9949)
8738
8739 2011-11-03 Alan Mackenzie <acm@muc.de>
8740
8741 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8742 change in cc-engine.el.
8743
8744 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8747
8748 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8749
8750 * window.el (quit-window): Call unrecord-window-buffer after
8751 showing another buffer in the window. (Bug#9937)
8752 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8753
8754 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8755
8756 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8757 Accept status with more than 9 shelves. (Bug#9935)
8758 Reported by Colin D Bennett <colin@gibibit.com>.
8759
8760 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8761
8762 * help.el (with-help-window): Don't reference
8763 temp-buffer-show-specifiers in doc-string.
8764
8765 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8766
8767 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8768 menu-item.
8769
8770 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8771
8772 * whitespace.el: New version 13.2.2.
8773 (whitespace-newline-mode): Disable properly. Reported by Sarah
8774 <EmacsWiki>.
8775
8776 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8777
8778 * net/newst-treeview.el: Remove "Time-stamp".
8779 (newsticker--group-manage-orphan-feeds): Do not call
8780 newsticker--treeview-tree-update.
8781 (newsticker-treeview-update, newsticker-treeview):
8782 Call newsticker--treeview-tree-update if necessary.
8783
8784 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8785
8786 * window.el (window-iso-combination-p, window-iso-combined-p)
8787 (window-iso-combinations): Remove "iso-" infix.
8788 Suggested by Chong Yidong.
8789 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8790 (window-max-delta-1, window-resize, window--resize-siblings)
8791 (window--resize-this-window, adjust-window-trailing-edge)
8792 (split-window, balance-windows-1)
8793 (shrink-window-if-larger-than-buffer):
8794 * calendar/calendar.el (calendar-generate-window):
8795 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8796
8797 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8800 in place (bug#9907).
8801 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8802 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8803 (eshell-structure-basic-command, eshell-rewrite-while-command)
8804 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8805 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8806 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8807 (eshell-do-pipelines-synchronously, eshell-eval-command):
8808 Use backquotes and prefer setq to set.
8809 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
8810 (eshell-macrop): Use functionp.
8811 (eshell-do-eval): Handle multiple expressions in `while' body.
8812
8813 2011-10-30 Chong Yidong <cyd@gnu.org>
8814
8815 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
8816 instead of set-mark (Bug#9810).
8817
8818 2011-10-30 Chong Yidong <cyd@gnu.org>
8819
8820 * window.el (split-window-below, split-window-right): Rename from
8821 split-window-above-each-other and split-window-side-by-side
8822 respectively. All callers changed.
8823 (split-window-sensibly, split-window-sensibly): Use them.
8824 (split-window-keep-point): Doc fix.
8825
8826 * isearch.el: Add isearch-scroll property to split-window-below
8827 and split-window-right.
8828
8829 * follow.el (follow-mode):
8830 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8831 * progmodes/ada-xref.el (ada-gdb-application):
8832 * emulation/vip.el (vip-buffer-in-two-windows):
8833 * image-dired.el (image-dired-dired-with-window-configuration):
8834 * dired-x.el (dired-do-find-marked-files):
8835 * dired.el (dired-pop-to-buffer):
8836 * bs.el (bs--show-with-configuration):
8837 * vc/emerge.el (emerge-setup-windows):
8838 * textmodes/two-column.el (2C-two-columns):
8839 * textmodes/reftex-toc.el (reftex-toc):
8840 * progmodes/gdb-mi.el (gdb-setup-windows):
8841 * progmodes/fortran.el (fortran-window-create):
8842 * net/newst-treeview.el (newsticker--treeview-window-init):
8843 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
8844 * emulation/tpu-edt.el (tpu-gold-map):
8845 * emulation/crisp.el (crisp-mode-map):
8846 * calendar/calendar.el (calendar-basic-setup): Callers changed.
8847
8848 2011-10-29 Chong Yidong <cyd@gnu.org>
8849
8850 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
8851
8852 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
8853
8854 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8855 forged Ispell output (Bug#7904).
8856
8857 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
8858
8859 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * doc-view.el: Avoid ugly errors about not finding nil.
8862 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
8863 (doc-view-dvipdf-program, doc-view-unoconv-program)
8864 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
8865 Avoid nil or absolute file name as default value.
8866 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
8867
8868 2011-10-28 Alan Mackenzie <acm@muc.de>
8869
8870 * progmodes/cc-defs.el (c-version): -> 5.32.2.
8871
8872 2011-10-28 Alan Mackenzie <acm@muc.de>
8873
8874 Amend the handling of c-beginning/end-of-defun in nested declaration
8875 scopes.
8876
8877 * progmodes/cc-vars.el (c-defun-tactic): Move here from
8878 cc-langs.el. Change it to a defcustom.
8879
8880 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
8881 cc-vars.el.
8882
8883 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8884 Prevent "class foo : bar" being spuriously recognized as a label.
8885
8886 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
8887 Add parameter `inclusive' (to include enclosing braces in the region).
8888 (c-widen-to-enclosing-decl-scope): New function.
8889 (c-while-widening-to-decl-block): New macro.
8890 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
8891 outward for defun boundaries, and correspondingly change symbol
8892 `respect-enclosure' to `go-outward'.
8893 (c-declaration-limits): Change algorithm to report only the "innermost"
8894 defun's boundaries.
8895
8896 2011-10-28 Deniz Dogan <deniz@dogan.se>
8897
8898 * net/rcirc.el (rcirc-mode): Use hard newlines.
8899
8900 2011-10-28 Alan Mackenzie <acm@muc.de>
8901
8902 Amend to indent and fontify macros "which include their own semicolon"
8903 correctly, using the "virtual semicolon" mechanism.
8904
8905 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
8906
8907 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8908 Recode to scan one line at a time rather than having \n and \r
8909 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
8910 (c-forward-label): Amend for virtual semicolons.
8911 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
8912
8913 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
8914 of the new C macros.
8915
8916 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
8917 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
8918 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
8919 (c-opt-cpp-macro-define): Make into a full language variable.
8920 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
8921 AWK Mode (including \n, \r) removed, no longer needed.
8922
8923 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
8924 Invoke c-make-macro-with-semi-re.
8925
8926 * progmodes/cc-vars.el (c-macro-with-semi-re):
8927 (c-macro-names-with-semicolon): New variables.
8928 (c-make-macro-with-semi-re): New function.
8929
8930 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * vc/log-edit.el: Fill empty field rather than adding new one.
8933 (log-edit-add-field): New function.
8934 (log-edit-insert-changelog): Use it.
8935
8936 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8937
8938 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
8939
8940 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
8943 (gdb--check-interpreter): New function.
8944 (gdb): Use it.
8945
8946 2011-10-27 Glenn Morris <rgm@gnu.org>
8947
8948 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
8949 (least-positive-float, least-negative-float)
8950 (least-positive-normalized-float, least-negative-normalized-float)
8951 (float-epsilon, float-negative-epsilon):
8952 Remove unnecessary declarations.
8953
8954 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
8955 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
8956 (least-positive-float, least-negative-float)
8957 (least-positive-normalized-float, least-negative-normalized-float)
8958 (float-epsilon, float-negative-epsilon): Add doc-strings,
8959 based on those in cl.texi.
8960
8961 * files.el (set-visited-file-name): If the major-mode changed,
8962 reload the local variables. (Bug#9796)
8963
8964 2011-10-27 Chong Yidong <cyd@gnu.org>
8965
8966 * subr.el (change-major-mode-after-body-hook): New hook.
8967 (run-mode-hooks): Run it.
8968
8969 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8970 Use change-major-mode-before-body-hook.
8971
8972 * simple.el (fundamental-mode):
8973 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
8974 change introducing fundamental-mode-hook.
8975
8976 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
8977
8978 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
8979
8980 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
8981
8982 * ido.el (ido-file-name-all-completions-1): Do not require
8983 tramp.el explicitly. (Bug#7583)
8984
8985 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * progmodes/octave-mod.el:
8988 * progmodes/octave-inf.el: Update maintainer.
8989
8990 2011-10-26 Chong Yidong <cyd@gnu.org>
8991
8992 * subr.el (with-wrapper-hook): Rewrite doc.
8993
8994 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
8995
8996 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
8997 filenames "/method:foo:". (Bug#9793)
8998
8999 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9000
9001 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9002 (bug#9865).
9003
9004 2011-10-24 Glenn Morris <rgm@gnu.org>
9005
9006 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9007
9008 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9009
9010 * notifications.el: Add the requirement of a running D-Bus session
9011 bus to the Commentary.
9012
9013 2011-10-24 Juri Linkov <juri@jurta.org>
9014
9015 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9016 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9017 (Bug#9364)
9018
9019 2011-10-24 Juri Linkov <juri@jurta.org>
9020
9021 * info.el (Info-following-node-name-re): Add newline to the list
9022 of allowed characters for leading space. (Bug#9824)
9023
9024 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * progmodes/octave-inf.el (inferior-octave-mode-map):
9027 Fix C-c C-h binding.
9028 * progmodes/octave-mod.el (octave-help): Remove.
9029
9030 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9031
9032 Sync with Tramp 2.2.3.
9033
9034 * net/tramp-cache.el (top): Pacify byte-compiler using
9035 `init-file-user' and `site-run-file'.
9036
9037 * net/trampver.el: Update release number.
9038
9039 2011-10-23 Chong Yidong <cyd@gnu.org>
9040
9041 * files.el (toggle-read-only): Remove obsolete comment about
9042 version control.
9043
9044 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9045 for toggle-read-only. Note that this hasn't called vc-next-action
9046 since 2008-05-02, though it wasn't documented at the time.
9047
9048 * vc/ediff-init.el (ediff-toggle-read-only-function):
9049 Use toggle-read-only.
9050
9051 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9052
9053 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9054 of c-parse-state.
9055
9056 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9057 correct faulty logical expression.
9058 (c-parse-state-state, c-record-parse-state-state):
9059 (c-replay-parse-state-state): New defvar/defuns.
9060 (c-debug-parse-state): Use new functions.
9061
9062 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9063
9064 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9065 last fix. Use window-in-direction correctly.
9066
9067 2011-10-21 Chong Yidong <cyd@gnu.org>
9068
9069 * progmodes/idlwave.el (idlwave-mode):
9070 * progmodes/vera-mode.el (vera-mode): No need to set
9071 require-final-newline; that's done in prog-mode.
9072 Suggested by Stefan Monnier.
9073
9074 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9075
9076 * mouse.el (mouse-drag-window-above)
9077 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9078 (mouse-drag-mode-line-1, mouse-drag-header-line)
9079 (mouse-drag-vertical-line-rightward-window): Remove.
9080 (mouse-drag-line): New function.
9081 (mouse-drag-mode-line, mouse-drag-header-line)
9082 (mouse-drag-vertical-line): Call mouse-drag-line.
9083 * window.el (window-at-side-p, windows-at-side): New functions.
9084
9085 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9086
9087 * tar-mode.el (tar-grind-file-mode):
9088 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9089
9090 2011-10-21 Chong Yidong <cyd@gnu.org>
9091
9092 * progmodes/idlwave.el (idlwave-mode):
9093 * progmodes/vera-mode.el (vera-mode):
9094 Use mode-require-final-newline.
9095
9096 2011-10-20 Glenn Morris <rgm@gnu.org>
9097
9098 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9099
9100 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9101
9102 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9103
9104 2011-10-20 Chong Yidong <cyd@gnu.org>
9105
9106 * emulation/cua-base.el (cua-mode):
9107 * mail/footnote.el (footnote-mode):
9108 * mail/mailabbrev.el (mail-abbrevs-mode):
9109 * net/xesam.el (xesam-minor-mode):
9110 * progmodes/bug-reference.el (bug-reference-mode):
9111 * progmodes/cap-words.el (capitalized-words-mode):
9112 * progmodes/compile.el (compilation-minor-mode)
9113 (compilation-shell-minor-mode):
9114 * progmodes/gud.el (gud-tooltip-mode):
9115 * progmodes/hideif.el (hide-ifdef-mode):
9116 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9117 * progmodes/subword.el (subword-mode):
9118 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9119 * progmodes/which-func.el (which-function-mode):
9120 * term/tvi970.el (tvi970-set-keypad-mode):
9121 * term/vt100.el (vt100-wide-mode):
9122 * textmodes/flyspell.el (flyspell-mode):
9123 * textmodes/ispell.el (ispell-minor-mode):
9124 * textmodes/nroff-mode.el (nroff-electric-mode):
9125 * textmodes/paragraphs.el (use-hard-newlines):
9126 * textmodes/refill.el (refill-mode):
9127 * textmodes/reftex.el (reftex-mode):
9128 * textmodes/rst.el (rst-minor-mode):
9129 * textmodes/sgml-mode.el (html-autoview-mode)
9130 (sgml-electric-tag-pair-mode):
9131 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9132 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9133 * emulation/crisp.el (crisp-mode):
9134 * emacs-lisp/eldoc.el (eldoc-mode):
9135 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9136 minor mode behavior.
9137
9138 2011-10-19 Juri Linkov <juri@jurta.org>
9139
9140 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9141 the list of hard-coded chars with escape-glyph face.
9142
9143 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9146
9147 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9148
9149 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9150 running process.
9151
9152 2011-10-19 Glenn Morris <rgm@gnu.org>
9153
9154 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9155 Ignore ignored files. (Bug#9726)
9156
9157 2011-10-19 Chong Yidong <cyd@gnu.org>
9158
9159 Doc fix for minor modes, stating that an omitted argument enables
9160 the mode unconditionally when called from Lisp.
9161
9162 * abbrev.el (abbrev-mode):
9163 * allout.el (allout-mode):
9164 * autoinsert.el (auto-insert-mode):
9165 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9166 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9167 (global-auto-revert-mode):
9168 * battery.el (display-battery-mode):
9169 * composite.el (global-auto-composition-mode)
9170 (auto-composition-mode):
9171 * delsel.el (delete-selection-mode):
9172 * desktop.el (desktop-save-mode):
9173 * dired-x.el (dired-omit-mode):
9174 * dirtrack.el (dirtrack-mode):
9175 * doc-view.el (doc-view-minor-mode):
9176 * double.el (double-mode):
9177 * electric.el (electric-indent-mode, electric-pair-mode):
9178 * emacs-lock.el (emacs-lock-mode):
9179 * epa-hook.el (auto-encryption-mode):
9180 * follow.el (follow-mode):
9181 * font-core.el (font-lock-mode):
9182 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9183 * help.el (temp-buffer-resize-mode):
9184 * hilit-chg.el (highlight-changes-mode)
9185 (highlight-changes-visible-mode):
9186 * hi-lock.el (hi-lock-mode):
9187 * hl-line.el (hl-line-mode, global-hl-line-mode):
9188 * icomplete.el (icomplete-mode):
9189 * ido.el (ido-everywhere):
9190 * image-file.el (auto-image-file-mode):
9191 * image-mode.el (image-minor-mode):
9192 * iswitchb.el (iswitchb-mode):
9193 * jka-cmpr-hook.el (auto-compression-mode):
9194 * linum.el (linum-mode):
9195 * longlines.el (longlines-mode):
9196 * master.el (master-mode):
9197 * mb-depth.el (minibuffer-depth-indicate-mode):
9198 * menu-bar.el (menu-bar-mode):
9199 * minibuf-eldef.el (minibuffer-electric-default-mode):
9200 * mouse-sel.el (mouse-sel-mode):
9201 * msb.el (msb-mode):
9202 * mwheel.el (mouse-wheel-mode):
9203 * outline.el (outline-minor-mode):
9204 * paren.el (show-paren-mode):
9205 * recentf.el (recentf-mode):
9206 * reveal.el (reveal-mode, global-reveal-mode):
9207 * rfn-eshadow.el (file-name-shadow-mode):
9208 * ruler-mode.el (ruler-mode):
9209 * savehist.el (savehist-mode):
9210 * scroll-all.el (scroll-all-mode):
9211 * scroll-bar.el (scroll-bar-mode):
9212 * server.el (server-mode):
9213 * shell.el (shell-dirtrack-mode):
9214 * simple.el (auto-fill-mode, transient-mark-mode)
9215 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9216 (line-number-mode, column-number-mode, size-indication-mode)
9217 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9218 * strokes.el (strokes-mode):
9219 * time.el (display-time-mode):
9220 * t-mouse.el (gpm-mouse-mode):
9221 * tool-bar.el (tool-bar-mode):
9222 * tooltip.el (tooltip-mode):
9223 * type-break.el (type-break-mode-line-message-mode)
9224 (type-break-query-mode):
9225 * view.el (view-mode):
9226 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9227 (global-whitespace-mode, global-whitespace-newline-mode):
9228 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9229
9230 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9231 Fix autogenerated docstring.
9232
9233 2011-10-19 Juri Linkov <juri@jurta.org>
9234
9235 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9236 by checking environment variables "DESKTOP_SESSION" and
9237 "XDG_CURRENT_DESKTOP". (Bug#9779)
9238
9239 2011-10-19 Juri Linkov <juri@jurta.org>
9240
9241 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9242 (browse-url-chromium-program, browse-url-chromium-arguments):
9243 New defcustoms.
9244 (browse-url-default-browser): Check for `browse-url-chromium' and
9245 call `browse-url-chromium-program'.
9246 (browse-url-chromium): New command. (Bug#9779)
9247
9248 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9249
9250 * facemenu.el (list-colors-duplicates): On Windows, detect more
9251 duplicates by assuming that only colors matching "^System" are
9252 special "system colors". (Bug#9722)
9253
9254 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9257 to distinguish the author from the committer.
9258
9259 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9260
9261 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9262
9263 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9264
9265 * international/mule.el (sgml-html-meta-auto-coding-function):
9266 Add support for detecting encoding in HTML5 specified only as
9267 <meta charset="UTF-8">. Implementation just makes http-equiv and
9268 content-type parts from HTML4 encoding string optional. (Bug#9716)
9269
9270 2011-10-18 Glenn Morris <rgm@gnu.org>
9271
9272 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9273
9274 2011-10-18 Chong Yidong <cyd@gnu.org>
9275
9276 * faces.el (cursor): Doc fix.
9277
9278 2011-10-17 Chong Yidong <cyd@gnu.org>
9279
9280 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9281
9282 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9283
9284 * dirtrack.el (dirtrack): Support shell buffers with path
9285 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9286
9287 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9288
9289 * json.el: Bump version to 1.3 and note change in History.
9290 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9291
9292 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * comint.el (comint-insert-input, comint-send-input)
9295 (comint-get-old-input-default, comint-backward-matching-input)
9296 (comint-next-prompt): Use nil instead of `input' for field property of
9297 past user input (bug#114).
9298
9299 * minibuffer.el (completion--replace): Inherit surrounding properties
9300 (bug#114).
9301 (minibuffer-complete-and-exit): Use it.
9302
9303 * comint.el (comint--table-subvert): Quote the all-completions output
9304 (bug#9160).
9305
9306 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9307
9308 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9309
9310 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9311 window on right of selected. (Bug#9350) Reword other window
9312 entries and separate them from frame entries.
9313
9314 2011-10-15 Glenn Morris <rgm@gnu.org>
9315
9316 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9317 Doc fixes.
9318
9319 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9320
9321 * net/network-stream.el (network-stream-open-starttls):
9322 Improve detection of failure due to lack of TLS support.
9323
9324 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9325 putting the input text in front and in bold.
9326
9327 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9330
9331 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9332 empty buffer.
9333
9334 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9335 unread-command-events rather than pushing yet-another event.
9336
9337 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9338
9339 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9340 the explanation of the possible choices. Make the options passed
9341 to completing-read shorter.
9342
9343 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9344
9345 * textmodes/flyspell.el (flyspell-large-region): Make sure
9346 extended character mode is used if defined (Bug#1339).
9347
9348 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9349
9350 * simple.el (what-cursor-position): Fix the display of the
9351 character info for LRE, LRO, RLE, and RLO characters by appending
9352 an invisible PDF.
9353
9354 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9357 even in case of error; add debug spec; simplify data flow.
9358 (with-timeout-handler): Remove.
9359
9360 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9361
9362 Fix Bug#6019, Bug#9315.
9363
9364 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9365 complete `buffer-file-name', the local file name part could look
9366 remotely (for example on VMS).
9367
9368 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9369 `tramp-run-real-handler'.
9370 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9371 already quoted by '"'.
9372
9373 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9374 Let `file-name-handler-alist' be nil, the local file name part
9375 could look remotely (for example on VMS).
9376
9377 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9378
9379 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9380 from here...
9381 (flyspell-post-command-hook): ...to here.
9382
9383 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9386 if not needed.
9387 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9388 using completion. Protect against "slow" callers.
9389 Remove the "message hack".
9390
9391 2011-10-11 Juri Linkov <juri@jurta.org>
9392
9393 * isearch.el (isearch-lazy-highlight-word): New variable.
9394 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9395 Use it. (Bug#9727)
9396
9397 2011-10-11 Glenn Morris <rgm@gnu.org>
9398
9399 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9400 like f90-previous-statement does.
9401
9402 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9403
9404 * eshell/eshell.el (eshell-command): History should be saved
9405 only in interactive use, to avoid error.
9406
9407 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * minibuffer.el (completion-file-name-table): Fix last change,
9410 i.e. ignore normal errors but not the other ones.
9411
9412 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9413
9414 * window.el (special-display-buffer-names)
9415 (special-display-regexps): Remove some remnants of earlier
9416 changes from doc-strings.
9417 (quit-windows-on): New function.
9418
9419 * vc/vc.el (vc-revert, vc-rollback):
9420 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9421 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9422 (Bug#6183) (Bug#7074) (Bug#7447)
9423
9424 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9425
9426 * window.el (frame-auto-hide-function): Add version tag.
9427 (Bug#9699)
9428
9429 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9430
9431 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9432 condition.
9433
9434 2011-10-09 Leo Liu <sdl.web@gmail.com>
9435
9436 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9437 (Bug#9701)
9438
9439 2011-10-08 Glenn Morris <rgm@gnu.org>
9440
9441 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9442 before the first code statement zero indent. (Bug#9690)
9443
9444 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9445
9446 * simple.el (count-words-region): Always count in the region.
9447 Report the number of lines and characters too.
9448 (count-words): New command, which counts in the buffer if the
9449 region is inactive, as count-words-region used to.
9450 (count-words--message): New function. Handle plurals.
9451 (count-lines-region): Make it an alias for count-words-region.
9452
9453 * bindings.el (esc-map): Replace count-lines-region with
9454 count-words-region.
9455
9456 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9457
9458 * window.el (window--delete): Delete dedicated frame
9459 unconditionally when argument KILL is non-nil. (Bug#9699)
9460 (switch-to-buffer): Fix doc-string typo.
9461
9462 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9463
9464 * eshell/eshell.el (eshell-command): Avoid using hooks.
9465
9466 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9467
9468 * bindings.el ([M-left],[M-right]): Bind to left-word and
9469 right-word respectively.
9470
9471 2011-10-07 Glenn Morris <rgm@gnu.org>
9472
9473 * cus-start.el (debug-on-quit): Fix custom type.
9474
9475 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9476
9477 * subr.el (define-key-after): Clarify that the function is not
9478 useful for non-menu keymaps.
9479
9480 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9481
9482 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9483
9484 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9485 in current minibuffer (Fix bug with recursive minibuffers).
9486
9487 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9488
9489 * progmodes/gdb-mi.el (gdb): Doc fix.
9490
9491 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9492
9493 * window.el (frame-auto-hide-function): New option replacing
9494 frame-auto-delete. Suggested by Stefan Monnier.
9495 (window--delete): Call frame-auto-hide-function instead of
9496 investigating frame-auto-delete.
9497 (window-point-1, set-window-point-1): New functions.
9498 (window-in-direction, record-window-buffer, window-state-get-1)
9499 (display-buffer-record-window): Use window-point-1 instead of
9500 window-point.
9501 (set-window-buffer-start-and-point): Use set-window-point-1.
9502
9503 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9506
9507 2011-10-05 Glenn Morris <rgm@gnu.org>
9508
9509 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9510 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9511
9512 2011-10-05 Leo Liu <sdl.web@gmail.com>
9513
9514 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9515 works with buffer object.
9516
9517 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * mpc.el (mpc-tool-bar-map): Add labels.
9520
9521 2011-10-04 Glenn Morris <rgm@gnu.org>
9522
9523 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9524
9525 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9526
9527 * window.el (window--delete): New function.
9528 (frame-auto-delete): Resuscitate option.
9529 (bury-buffer, replace-buffer-in-windows)
9530 (quit-window): Rewrite using window--delete.
9531 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9532 Pass display-buffer-mark-dedicated to window--display-buffer-2
9533 (Bug#9639).
9534
9535 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9538 returns a list (bug#9554). Add remote file name completion.
9539 * comint.el (comint--table-subvert): Curry and get quote&unquote
9540 functions as arguments.
9541 (comint--complete-file-name-data): Adjust call accordingly.
9542 * pcomplete.el (pcomplete--table-subvert): Remove.
9543 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9544
9545 * minibuffer.el (completion-table-case-fold): Use currying.
9546 (completion--styles-type, completion--cycling-threshold-type):
9547 New constants.
9548 (completion-styles, completion-category-overrides)
9549 (completion-cycle-threshold): Use them.
9550 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9551 completion-table-case-fold.
9552
9553 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9554
9555 * minibuffer.el (completion-category-overrides): Fix type of styles
9556 and add more user friendly tags (bug#9660).
9557
9558 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9561 (mule-input-method-string): New widget.
9562 (default-input-method, language-info-custom-alist): Use it.
9563
9564 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * pcomplete.el: Require comint.
9567 (pcomplete--common-suffix): Remove.
9568 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9569 (pcomplete--table-subvert): Sync with comint--table-subvert.
9570 (pcomplete--entries): Use comint-completion-file-name-table.
9571 * comint.el (comint-unquote-filename): Simplify.
9572 (comint-completion-file-name-table): New function (bug#9616).
9573 (comint--complete-file-name-data): Use it.
9574
9575 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9576 (pcmpl-gnu-tar-buffer): Remove.
9577 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9578 around. Make sure pcomplete-suffix-list is only changed temporarily.
9579 Don't look inside the tar's file if it's too large.
9580
9581 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9582
9583 * cus-edit.el (custom-mode-map):
9584 * epa.el (epa-key-list-mode-map):
9585 * man.el (Man-mode-map):
9586 * startup.el (splash-screen-keymap):
9587 * simple.el (special-mode-map): Use scroll-up-command and
9588 scroll-down-command.
9589
9590 * progmodes/idlw-help.el (idlwave-help-mode-map):
9591 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9592 * net/newst-plainview.el (newsticker-mode-map):
9593 * emulation/ws-mode.el (wordstar-mode-map):
9594 * emulation/vi.el (vi-com-map):
9595 * calc/calc-graph.el (calc-graph-show-dumb):
9596 * term/sun.el (terminal-init-sun):
9597 * term/ns-win.el (global-map):
9598 * progmodes/grep.el (grep-mode-map):
9599 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9600 * mail/rmail.el (rmail-mode-map):
9601 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9602
9603 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9604 custom-safe-themes as special.
9605
9606 2011-10-01 Julien Danjou <julien@danjou.info>
9607
9608 * notifications.el (notifications-notify): Fix docstring.
9609
9610 2011-10-01 Per Starbäck <per@starback.se>
9611
9612 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9613
9614 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9615
9616 * startup.el (command-line-1): Fix last fix by inserting
9617 initial-scratch-message into *scratch* before displaying it.
9618 (Bug#9605) and (Bug#9636)
9619
9620 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9621
9622 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9623 window is hscrolled, move by logical lines. (Bug#9607)
9624 (line-move-visual): Update the doc string to the above effect.
9625
9626 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (display-buffer-record-window): When WINDOW is the
9629 selected window use `point' instead of `window-point'. (Bug#9626)
9630
9631 * startup.el (command-line-1): Use insert-before-markers when
9632 inserting initial-scratch-message. (Bug#9605)
9633
9634 * help.el (help-window): Remove variable.
9635
9636 2011-09-29 Glenn Morris <rgm@gnu.org>
9637
9638 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9639
9640 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9641
9642 * descr-text.el (describe-char-categories): Accept category
9643 descriptions more than one line long.
9644
9645 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * simple.el (delete-trailing-whitespace): Fix last change.
9648
9649 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9650 Don't confuse "y => 3" as the beginning of a `y' operation.
9651
9652 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9653 object has more than 4 slots (bug#9613).
9654
9655 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9656
9657 * subr.el (with-output-to-temp-buffer):
9658 * net/quickurl.el (quickurl, quickurl-browse-url):
9659 Fix typos in docstrings.
9660
9661 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9662
9663 * minibuffer.el (completion-styles)
9664 (completion-category-overrides): Cross reference each other in doc
9665 strings.
9666
9667 2011-09-27 Glenn Morris <rgm@gnu.org>
9668
9669 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9670 to split-string. (Bug#9606)
9671
9672 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9673
9674 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9675 (bug#9615).
9676
9677 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9678
9679 * emacs-lisp/package.el (list-packages): Fix echo area message.
9680
9681 2011-09-27 Leo Liu <sdl.web@gmail.com>
9682
9683 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9684
9685 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9686
9687 * net/dbus.el (dbus-unregister-object): Don't release services for
9688 registered signals. (Bug#9581)
9689
9690 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9691
9692 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9693 function that picks between cfengine 2 and 3 support
9694 automatically. Update docs accordingly.
9695
9696 2011-09-22 Kenichi Handa <handa@m17n.org>
9697
9698 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9699 ZERO.
9700 (indian-itrans-v5-table-for-tamil): New variable.
9701 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9702
9703 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9704
9705 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9706 that's true if the current command involved collapsing of text.
9707 It's reset to false at the beginning of the next command.
9708 (allout-post-command-business): Move the cursor to the beginning
9709 of entry if the cursor is hidden and collapsing activity just
9710 happened.
9711
9712 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9713
9714 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9715 tracking (Bug#9541).
9716
9717 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9718
9719 * net/newst-reader.el (newsticker-html-renderer)
9720 (newsticker-show-news): Automatically load html rendering package
9721 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9722 because w3m-fill-column is let-bound" and the error "Symbol's value
9723 as variable is void: w3m-fill-column".
9724
9725 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9726
9727 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9728 Release services only if they are defined. (Bug#9581)
9729
9730 2011-09-23 Richard Stallman <rms@gnu.org>
9731
9732 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9733 distinguish start of paragraph from start of its text.
9734
9735 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9736
9737 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9738 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9739 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9740
9741 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9742
9743 * international/mule-diag.el (mule-diag): Insert a newline after
9744 each fontset description.
9745
9746 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * simple.el (delete-trailing-whitespace):
9749 Document last change; simplify.
9750
9751 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9752
9753 * simple.el (delete-trailing-whitespace): Also delete
9754 extra newlines at the end of the buffer.
9755
9756 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9757 (picture-newline): Use forward-line so as to ignore fields.
9758
9759 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * subr.el (with-wrapper-hook): Fix edebug spec.
9762
9763 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9764
9765 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9766 (bug#4538).
9767
9768 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9769
9770 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9771 Fix nasty bug using wrong cached values.
9772
9773 2011-09-23 Alan Mackenzie <acm@muc.de>
9774
9775 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9776
9777 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9778
9779 * window.el (pop-to-buffer): Ensure right window is selected if we
9780 chose another frame.
9781
9782 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9783
9784 * simple.el (what-cursor-position): Use get-char-property-change
9785 and next-single-char-property-change, to be able to show display
9786 properties that come from overlays as well as text properties.
9787
9788 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9789
9790 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9791
9792 * cmuscheme.el (run-scheme, switch-to-scheme):
9793 * cus-edit.el (customize-group, custom-buffer-create)
9794 (customize-browse):
9795 * info.el (info):
9796 * shell.el (shell):
9797 * mail/sendmail.el (mail):
9798 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9799
9800 2011-09-22 Richard Stallman <rms@gnu.org>
9801
9802 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9803 move back only to line beg, don't move back over blank lines.
9804
9805 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9806
9807 * files.el (copy-directory): Set directory attributes only in case
9808 they could be retrieved from the source directory. (Bug#9565)
9809
9810 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
9811
9812 * progmodes/hideshow.el (hs-looking-at-block-start-p)
9813 (hs-find-block-beginning, hs-hide-level-recursive):
9814 Ignore strings as well as comments. (Bug#9502)
9815
9816 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
9817
9818 * progmodes/sql.el (sql-comint-postgres):
9819 Convert port number to a string. (Bug#9566)
9820
9821 2011-09-22 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (quit-window): Undedicate window when switching to
9824 previous buffer. Reported by Thierry Volpiatto
9825 <thierry.volpiatto@gmail.com>.
9826 (special-display-popup-frame): When popping up a new frame reset
9827 its previous buffers to nil. Simplify code.
9828
9829 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
9830
9831 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
9832 and process filter, as done also in `shell-command'.
9833
9834 2011-09-21 Martin Rudalics <rudalics@gmx.at>
9835
9836 * window.el (set-window-buffer-start-and-point):
9837 Call set-window-start with NOFORCE argument t.
9838 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9839 (quit-window): Reword doc-string. Handle new format of
9840 quit-restore parameter. Don't delete window if it has a
9841 previous buffer we can show instead of the present one.
9842 (display-buffer-record-window): Rewrite using a new format for
9843 the quit-restore window parameter
9844 (special-display-popup-frame, display-buffer-same-window)
9845 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9846 (display-buffer-pop-up-window, display-buffer-use-some-window):
9847 Adapt symbol passed to display-buffer-record-window.
9848 * help.el (help-window-setup): Handle new format of quit-restore
9849 parameter.
9850
9851 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * faces.el (face-list): Fix docstring (bug#9564).
9854
9855 * window.el (display-buffer--action-function-custom-type):
9856 Don't include internal functions in the Custom interface.
9857
9858 2011-09-20 Juri Linkov <juri@jurta.org>
9859
9860 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
9861 (Info-forward-node, Info-backward-node, Info-next-preorder)
9862 (Info-last-preorder): Use it. (Bug#9528)
9863
9864 2011-09-20 Juri Linkov <juri@jurta.org>
9865
9866 * info.el (Info-last-preorder): Visit last menu item only when
9867 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
9868
9869 2011-09-20 Julien Danjou <julien@danjou.info>
9870
9871 * password-cache.el (password-cache-remove): Remove entries even if the
9872 value is nil, so that password with a nil value (negative caching) is
9873 possible to invalidate.
9874
9875 2011-09-20 Lawrence Mitchell <wence@gmx.li>
9876
9877 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
9878 all whitespace around breakpoint. (Bug#9553)
9879 (f90-find-breakpoint): Only break at whitespace inside a comment.
9880
9881 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * minibuffer.el (completion-file-name-table): Keep track of errors.
9884 (completion-table-with-predicate): Handle the case where pred1 is nil.
9885 * pcomplete.el (pcomplete-completions-at-point): Simplify.
9886
9887 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
9890 (debugger-return-value): Signal an error if the debugging context does
9891 not await any return value.
9892
9893 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
9894 * image-mode.el (image-toggle-display-text)
9895 (image-toggle-display-image): Stay away from evil `intangible'.
9896
9897 2011-09-19 Leo Liu <sdl.web@gmail.com>
9898
9899 * replace.el (occur-revert-arguments): Make it permanent-local.
9900 (occur-mode): Don't call font-lock-defontify.
9901
9902 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
9903
9904 * net/ldap.el (ldap-search-internal): Don't push empty search
9905 result (Bug#9508).
9906
9907 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
9910
9911 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
9912
9913 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
9914 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
9915
9916 2011-09-18 Juri Linkov <juri@jurta.org>
9917
9918 * buff-menu.el (Buffer-menu-mode-map):
9919 * dired.el (dired-mode-map):
9920 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
9921 (lisp-interaction-mode-map):
9922 * emacs-lisp/package.el (package-menu-mode-map):
9923 * epa.el (epa-key-list-mode-map):
9924 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
9925 (menu-bar-options-menu):
9926 * outline.el (outline-mode-menu-bar-map):
9927 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
9928 * vc/vc-dir.el (vc-dir-menu-map):
9929 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
9930 Capitalize non-function content words in menu item strings.
9931
9932 * dired.el (dired-mode-map): Add menu item for
9933 `image-dired-dired-toggle-marked-thumbs'.
9934
9935 2011-09-18 Juri Linkov <juri@jurta.org>
9936
9937 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
9938 to `isearch-case-fold-search' and restore its original value
9939 after the `isearch-mode' call.
9940
9941 2011-09-18 Juri Linkov <juri@jurta.org>
9942
9943 * progmodes/grep.el (grep-process-setup): Don't check code for 1
9944 because `zgrep' returns 1 for successful matches (bug#9226).
9945
9946 2011-09-18 Juri Linkov <juri@jurta.org>
9947
9948 * info.el (Info-extract-menu-node-name): Check the second match
9949 for empty string (second test-case of bug#9528).
9950 (Info-last-preorder): Let-bind `Info-history' to nil to not add
9951 intermediate nodes to the history (first test-case of bug#9528).
9952
9953 2011-09-18 Juri Linkov <juri@jurta.org>
9954
9955 * info.el (Info-mode-syntax-table): New variable.
9956 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
9957
9958 2011-09-18 Juri Linkov <juri@jurta.org>
9959
9960 * info.el (Info-file-supports-index-cookies):
9961 Increment line-beginning-position's arg from 3 to 4 because makeinfo
9962 outputs one more line for long file names (bug#4142).
9963
9964 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9965
9966 * newcomment.el (comment-normalize-vars): If prompting for
9967 comment-start, set comment-start-skip too (Bug#8424).
9968
9969 2011-09-18 Johan Bockgård <bojohan@gnu.org>
9970
9971 * icomplete.el: Fix previous fix of Bug#5849.
9972 (icomplete-mode): Don't set completion-show-inline-help.
9973 (icomplete-minibuffer-setup): Set completion-show-inline-help
9974 locally during icompletion.
9975
9976 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
9977
9978 * woman.el (woman2-process-escapes): Don't delete unrecognized
9979 escapes (Bug#7843).
9980
9981 * files.el (inhibit-first-line-modes-regexps): Add image files.
9982 (hack-local-variables-prop-line): Return nil for malformed
9983 prop-lines (Bug#9044).
9984
9985 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
9986
9987 * net/tramp.el (top): Don't require 'shell.
9988 (tramp-methods): Fix docstring.
9989 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
9990 Return complete remote file name. Handle "smb" case.
9991 Use `tramp-tmpdir', if defined for the respective method.
9992 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
9993
9994 * net/tramp-compat.el (top): Require 'shell.
9995
9996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9997 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
9998 `tramp-current-host'.
9999 (tramp-get-remote-tmpdir): Remove.
10000
10001 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10002 `tramp-tmpdir' entries.
10003 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10004 (tramp-smb-handle-file-attributes): Ignore errors.
10005 (tramp-smb-wait-for-output): Check also for process end.
10006
10007 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
10009 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10010 when sending QUIT (bug#9312).
10011
10012 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10013
10014 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10015 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10016 occur-mode-display-occurrence.
10017 (occur-edit-mode): Add usage message.
10018 (occur-cease-edit): New command.
10019 (occur-after-change-function): Use text properties to find the
10020 position of the prefix text.
10021 (occur-engine): Set stickiness of prefix text properties.
10022
10023 2011-09-17 Glenn Morris <rgm@gnu.org>
10024
10025 * progmodes/etags.el (complete-tag):
10026 Fix call to completion-in-region. (Bug#9526)
10027
10028 2011-09-17 Juri Linkov <juri@jurta.org>
10029
10030 * textmodes/ispell.el (ispell-word): Add to the error message
10031 the word, ispell program name and current dictionary (bug#9121).
10032 (ispell-tex-arg-end): Capitalize "error" in the error message.
10033
10034 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10035
10036 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10037 check. (Bug#4251)
10038
10039 2011-09-17 Juri Linkov <juri@jurta.org>
10040
10041 * window.el (window-safe-min-height, window-safe-min-width):
10042 Fix typos (followup to bug#9522).
10043
10044 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10045
10046 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10047
10048 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10049
10050 * simple.el (line-move): If goal-column is set, move by logical
10051 lines, not by display lines. (Bug#971)
10052 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10053 to reflect the above change.
10054
10055 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * image.el (imagemagick-register-types): Use regexp-opt.
10058
10059 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10060
10061 * window.el (display-buffer-base-action): Rename from
10062 display-buffer-default-action. Make default value empty.
10063 (display-buffer-overriding-action): Convert to defvar.
10064 (display-buffer-fallback-action): New var.
10065
10066 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10067
10068 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10069 declaration.
10070 (package--add-to-archive-contents): If there is a duplicate entry
10071 with an older version, remove it.
10072 (package-menu-mark-delete, package-menu-mark-install)
10073 (package-menu-mark-unmark): Make unused args optional.
10074 (package-menu-mark-obsolete-for-deletion):
10075 Use package-menu-get-status instead of a regexp search.
10076 (package-menu-get-status): Use tabulated-list-entry.
10077 (package-menu-mark-upgrades): New command.
10078 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10079 (package-menu-execute): Do installation before deletion.
10080 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10081 instead of checking major-mode.
10082 (package-menu--find-upgrades): New function.
10083
10084 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10085
10086 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10087 passwords in the log buffer.
10088 (smtpmail-process-filter): Update the process marker so that the
10089 "broken by peer" status message is inserted in the right place.
10090
10091 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10094 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10095 bibtex-completion-at-point-function.
10096 (bibtex-completion-at-point-function): Use them.
10097
10098 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10099
10100 * mpc.el (mpc-constraints-tag-lookup): New function.
10101 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10102 also to browser "album|playlist".
10103
10104 2011-09-14 Juri Linkov <juri@jurta.org>
10105
10106 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10107 (isearch-edit-string): Use length of `isearch-string' when
10108 `isearch-fail-pos' returns nil.
10109 (isearch-message): Remove duplicate code and call
10110 `isearch-fail-pos' with arg `t'.
10111
10112 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10113
10114 * replace.el (occur-mode-goto-occurrence): Don't force using other
10115 window (Bug#9499).
10116
10117 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10118
10119 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10120
10121 * window.el (display-buffer-window): Remove.
10122 (display-buffer-record-window): Use help-setup window parameter
10123 instead of variable display-buffer-window.
10124 (display-buffer-function, special-display-buffer-names)
10125 (special-display-function): Mention help-setup parameter instead
10126 of display-buffer-window in doc-string.
10127 * help.el (help-window-setup): New argument help-window.
10128 Use help-window-setup parameter instead of display-buffer-window.
10129 Reword some messages.
10130 (with-help-window): Pass window used for displaying the buffer
10131 to help-window-setup. Don't set display-buffer-window.
10132
10133 2011-09-13 Glenn Morris <rgm@gnu.org>
10134
10135 * emacs-lisp/debug.el (debugger-make-xrefs):
10136 Preserve point. (Bug#9462)
10137
10138 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10139
10140 * window.el (window-deletable-p): Use next-frame.
10141
10142 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10143
10144 * window.el (window-auto-delete): Remove.
10145 (window-deletable-p): Remove argument FORCE. Don't deal with
10146 dedication and previous buffers.
10147 (switch-to-prev-buffer): Don't delete window.
10148 (delete-windows-on): Delete a window's frame if and only if the
10149 window is dedicated.
10150 (replace-buffer-in-windows): Delete buffer's window or frame if
10151 and only if window is dedicated.
10152 (quit-window): Handle quit-restore as before last change.
10153 (bury-buffer): Delete window only if window-deletable-p returns t.
10154
10155 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10156
10157 * window.el (window-deletable-p): Never delete the last frame on a
10158 given terminal.
10159
10160 2011-09-13 Glenn Morris <rgm@gnu.org>
10161
10162 * help.el (describe-key-briefly): Copy previous standard-output change.
10163
10164 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10165
10166 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10167
10168 2011-09-13 Glenn Morris <rgm@gnu.org>
10169
10170 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10171 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10172
10173 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10174
10175 * dired-aux.el (dired-mark-read-string): Don't return default
10176 value on empty input (Bug#9361).
10177 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10178 Omit initial minibuffer contents.
10179 (dired-do-chmod): Signal an error on empty input.
10180 (dired-mark-read-string): Don't return default on empty input.
10181
10182 * files.el (file-modes-symbolic-to-number): Doc fix.
10183
10184 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * international/mule-cmds.el (ucs-completions): Remove.
10187 (read-char-by-name): Use complete-with-action instead; add metadata.
10188
10189 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10190
10191 * window.el (display-buffer--action-function-custom-type)
10192 (display-buffer--action-custom-type): New vars.
10193 (display-buffer-alist, display-buffer-default-action)
10194 (display-buffer-overriding-action): Add defcustom types.
10195
10196 * frame.el (delete-other-frames): Doc fix (Bug#276).
10197
10198 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10201
10202 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10203
10204 Change modes that used same-window-* vars to use switch-to-buffer.
10205
10206 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10207 Use switch-to-buffer.
10208
10209 * cus-edit.el (customize-group, custom-buffer-create)
10210 (customize-browse, custom-buffer-create-other-window):
10211 Use switch-to-buffer or switch-to-buffer-other-window.
10212
10213 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10214 (Info-prev, Info-up, Info-speedbar-goto-node)
10215 (info-display-manual): Use switch-to-buffer.
10216 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10217
10218 * mail/sendmail.el (mail): Use switch-to-buffer.
10219 (mail-recover): Use switch-to-buffer-other-window.
10220
10221 * cmuscheme.el (run-scheme, switch-to-scheme):
10222 * ielm.el (ielm):
10223 * shell.el (shell):
10224 * net/rlogin.el (rlogin):
10225 * net/telnet.el (telnet, rsh):
10226 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10227
10228 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10229
10230 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10231
10232 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10233
10234 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10235 so don't mention it (bug#9301).
10236 (dired-sort-toggle-or-edit): Clarify string further.
10237
10238 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10239 match `x', `w32' and `ns', like the manual says (bug#9029).
10240
10241 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10242 (process-kill-buffer-query-function): Mention the buffer name in
10243 the query.
10244
10245 * image-mode.el (image-next-line): The line parameter is mandatory
10246 (bug#9258).
10247
10248 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10249 which can be useful (bug#9301).
10250
10251 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10252
10253 * subr.el (match-string): Mention that the current buffer should
10254 be the same as the search was done in (bug#9282).
10255
10256 * facemenu.el: Disable the remove-* commands if the mark isn't
10257 active (bug#9162).
10258
10259 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10260
10261 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10262 of display-buffer.
10263 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10264
10265 * replace.el (occur-mode-goto-occurrence)
10266 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10267 and display-buffer.
10268
10269 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10270 display-buffer.
10271
10272 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10273 special-display and same-window variables.
10274 (mail-other-window): Use switch-to-buffer-other-window.
10275 (mail-other-frame): USe switch-to-buffer-other-frame.
10276
10277 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10278 Use display-buffer-other-frame.
10279 (gdb-display-gdb-buffer): Use pop-to-buffer.
10280
10281 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10282
10283 * progmodes/python.el: Don't set same-window-buffer-names.
10284
10285 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10286
10287 * window.el (display-buffer-alist): Add *Python*.
10288
10289 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10290
10291 * window.el (display-buffer-alist): Add entry for buffers
10292 previously handled same-window-*.
10293 (display-buffer-alist, display-buffer-default-action)
10294 (display-buffer-overriding-action): Mark as risky.
10295 (display-buffer-alist): Document action function changes.
10296 (display-buffer--same-window-action)
10297 (display-buffer--other-frame-action): New variables.
10298 (switch-to-buffer, display-buffer-other-frame): Use them.
10299 (display-buffer): Rename reuse-frame entry to reusable-frames.
10300 (display-buffer-reuse-selected-window): Function deleted.
10301 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10302 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10303 (display-buffer-special): New function.
10304 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10305 display-buffer-reuse-or-pop-window. Split off special-display
10306 part into display-buffer-special.
10307 (display-buffer-use-some-window): Don't perform any special
10308 pop-up-frames handling.
10309 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10310 (display-buffer--maybe-same-window): Rename from
10311 display-buffer-maybe-same-window.
10312
10313 * info.el: Don't set same-window-regexps.
10314 (info-setup): New function.
10315 (info-other-window, info): Call it.
10316
10317 * cus-edit.el: Don't set same-window-regexps.
10318 (customize-group): New argument.
10319 (customize-group-other-window): Use it.
10320 (customize-face, customize-face-other-window): Likewise.
10321 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10322
10323 * net/rlogin.el:
10324 * net/telnet.el:
10325 * progmodes/gud.el: Don't set same-window-regexps.
10326
10327 * cmuscheme.el:
10328 * ielm.el:
10329 * shell.el:
10330 * mail/sendmail.el:
10331 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10332
10333 2011-09-10 Juri Linkov <juri@jurta.org>
10334
10335 * isearch.el (isearch-edit-string): Remove obsolete mention of
10336 `C-w' (`isearch-yank-word-or-char') from docstring.
10337 (isearch-query-replace): Fix typo in docstring (bug#9466).
10338
10339 2011-09-10 Juri Linkov <juri@jurta.org>
10340
10341 * paren.el (show-paren-function): Don't show escaped parens.
10342 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10343
10344 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10345
10346 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10347 (mm-default-file-encoding): Remove autoload forms, they are
10348 replaced with autoload cookies in mml.el and mm-encode.el.
10349 (mail-add-attachment): New command.
10350 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10351 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10352 the doc string.
10353 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10354
10355 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10356
10357 * simple.el (count-words-region): Use buffer if there's no region
10358 (bug#9429).
10359
10360 2011-09-09 Juri Linkov <juri@jurta.org>
10361
10362 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10363 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10364 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10365
10366 2011-09-09 Alan Mackenzie <acm@muc.de>
10367
10368 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10369 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10370
10371 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10372
10373 Fix for Savannah bug#9392.
10374 * simple.el (mail-encode-mml): New defvar.
10375
10376 * mail/rmail.el (mail-encode-mml): Add a defvar.
10377 (rmail-enable-mime-composing): Default to t.
10378 (rmail-forward): Use MIME method of forwarding only if both
10379 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10380 Set mail-encode-mml non-nil if the MIME method was used.
10381
10382 * mail/sendmail.el (mml-to-mime): Add autoload form.
10383 (mail-encode-mml): Add a defvar.
10384 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10385 to nil.
10386 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10387 message through mml-to-mime, and reset mail-encode-mml to nil.
10388
10389 2011-09-09 Glenn Morris <rgm@gnu.org>
10390
10391 * woman.el (woman-if-body): When processing an .el block,
10392 do not delete the next .el block as well. (Bug#9447)
10393 (woman-special-characters): Add oq, cq, and hy characters.
10394
10395 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10396
10397 * window.el (window-deletable-p): Make sure window is live before
10398 invoking window-prev-buffers.
10399
10400 2011-09-08 Leo Liu <sdl.web@gmail.com>
10401
10402 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10403
10404 2011-09-08 Juri Linkov <juri@jurta.org>
10405
10406 * progmodes/compile.el (compilation-environment): Make it
10407 a defcustom (bug#8340).
10408
10409 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10410
10411 * window.el (frame-auto-delete): Rename to window-auto-delete.
10412 Make it control auto-deletion of windows and/or frames.
10413 (window-deletable-p): New argument FORCE. Rewrite conditions
10414 for deleting window/frame. (Bug#9419)
10415 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10416 Rewrite handling of case when window/frame can be deleted.
10417 (delete-windows-on): Call window-deletable-p with new FORCE
10418 argument t. (Bug#9456)
10419
10420 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10421
10422 * help-mode.el (help-mode): Restore autoload.
10423
10424 2011-09-07 Juri Linkov <juri@jurta.org>
10425
10426 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10427 `compilation-environment'. Set buffer-local
10428 `compilation-environment' to `thisenv' later after (funcall mode).
10429 (Bug#8340)
10430
10431 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10432 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10433 instead of replacing its value. (Bug#8340)
10434
10435 2011-09-07 Juri Linkov <juri@jurta.org>
10436
10437 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10438 based on text properties put by `grep-filter' instead of matching
10439 escape sequences.
10440 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10441 to the value of `grep-error-screen-columns' (bug#9438).
10442
10443 2011-09-07 Juri Linkov <juri@jurta.org>
10444
10445 * simple.el (next-error-highlight, next-error-highlight-no-select):
10446 Doc fix (bug#9432).
10447
10448 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10449
10450 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10451 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10452
10453 2011-09-07 Leo Liu <sdl.web@gmail.com>
10454
10455 * net/rcirc.el (rcirc-mode): Conditionally initialize
10456 rcirc-input-ring.
10457
10458 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * emacs-lisp/find-func.el (find-function-C-source): Only set
10461 find-function-C-source-directory after checking that we found a source
10462 file there (bug#9440).
10463
10464 2011-09-06 Alan Mackenzie <acm@muc.de>
10465
10466 * isearch.el (isearch-other-meta-char): Wherever a key list is
10467 unread, "unread" the prefix arg, too. This fixes bug #8901.
10468
10469 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10470
10471 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10472
10473 2011-09-05 Juri Linkov <juri@jurta.org>
10474
10475 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10476
10477 2011-09-05 Juri Linkov <juri@jurta.org>
10478
10479 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10480 keeping point where processing of grep matches begins, and
10481 continue to delete remaining escape sequences from the same point.
10482 (grep-filter): Make leading zero optional in "0?1;31m" because
10483 git-grep emits "\033[1;31m" escape sequences unlike expected
10484 "\033[01;31m" as GNU Grep does (bug#9408).
10485 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10486
10487 2011-09-05 Juri Linkov <juri@jurta.org>
10488
10489 * subr.el (y-or-n-p): Capitalize "yes".
10490
10491 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10492
10493 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10494 `tramp-cache-unload-hook' where appropriate.
10495 (tramp-methods): Rename `tramp-remote-sh' to
10496 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10497 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10498
10499 * net/tramp-sh.el (top): Don't require 'shell.
10500 (tramp-methods): Add `tramp-remote-shell' and
10501 `tramp-remote-shell-args' entries.
10502 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10503 (tramp-sh-handle-shell-command): Remove.
10504 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10505 Use `tramp-remote-shell'.
10506
10507 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10508
10509 * mail/sendmail.el (sendmail-query-once-function): Delete.
10510 (sendmail-query-once): Save directly to send-mail-function.
10511 Update message-send-mail-function too.
10512
10513 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10514
10515 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10516
10517 * progmodes/python.el (python-mode-map): Use correct function to
10518 start python interpreter from menu-bar (as reported by Geert
10519 Kloosterman).
10520 (inferior-python-mode-map): Fix typo.
10521 (python-shell-map): Remove.
10522
10523 2011-09-03 Deniz Dogan <deniz@dogan.se>
10524
10525 * net/rcirc.el (rcirc-print): Simplify code for
10526 rcirc-scroll-show-maximum-output. There is no need to walk
10527 through all windows to find the right one.
10528
10529 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10530
10531 * help.el (help-return-method): Doc fix.
10532
10533 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10534
10535 * window.el (window-deletable-p): Don't return a non-nil value
10536 when there's a buffer that was shown in the window before.
10537 (Bug#9419)
10538 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10539 Set window's previous buffers to nil.
10540
10541 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10542
10543 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10544 newline before and after the tag line, so it doesn't interfere
10545 with determining the paragraph direction of bidirectional text.
10546
10547 2011-09-03 Leo Liu <sdl.web@gmail.com>
10548
10549 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10550
10551 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10554 (pop-to-buffer): Change interactive spec. Pass second argument
10555 directly to display-buffer.
10556 (display-buffer): Fix interactive spec. Use functionp to
10557 distinguish between a function and a list of functions.
10558
10559 * abbrev.el (edit-abbrevs):
10560 * arc-mode.el (archive-extract):
10561 * autoinsert.el (auto-insert):
10562 * bookmark.el (bookmark-bmenu-list):
10563 * files.el (find-file):
10564 * view.el (view-buffer):
10565 * progmodes/compile.el (compilation-goto-locus):
10566 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10567
10568 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * window.el (display-buffer-alist): Doc fix.
10571 (display-buffer): Add docstring. Don't treat
10572 display-buffer-default specially.
10573 (display-buffer-reuse-selected-window)
10574 (display-buffer-same-window, display-buffer-maybe-same-window)
10575 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10576 (display-buffer-pop-up-window)
10577 (display-buffer-reuse-or-pop-window)
10578 (display-buffer-use-some-window): New functions.
10579 (display-buffer-default-action): Use them.
10580 (display-buffer-default): Delete.
10581 (pop-to-buffer-1): Fix choice of actions.
10582
10583 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10584
10585 * minibuffer.el (completion--insert-strings): Don't get confused by
10586 completion entries that end with an LF char.
10587
10588 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10589
10590 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10591
10592 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10593
10594 * window.el (display-buffer): Restore interactive spec.
10595 (display-buffer-same-window, display-buffer-other-window):
10596 New functions.
10597 (pop-to-buffer-1): New function. Use the above.
10598 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10599 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10600
10601 * view.el (view-buffer-other-window, view-buffer-other-frame):
10602 Just use pop-to-buffer.
10603
10604 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10605
10606 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10607
10608 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10609
10610 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10611
10612 2011-08-31 Richard Stallman <rms@gnu.org>
10613
10614 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10615 of the separation of rmail-view-buffer from rmail-buffer.
10616 If you say no to "replace original", the decrypt is in the
10617 view buffer. If you say yes, the decrypt goes into the
10618 rmail buffer also.
10619
10620 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10621
10622 * window.el (display-buffer-window): Rewrite doc-string.
10623 (display-buffer-record-window): New function.
10624 (display-buffer-macro-specifiers)
10625 (display-buffer-even-window-sizes, display-buffer-set-height)
10626 (display-buffer-set-width, display-buffer-in-window)
10627 (display-buffer-reuse-window, display-buffer-split-specifiers)
10628 (display-buffer-side-specifiers, display-buffer-split-window-1)
10629 (display-buffer-split-window, display-buffer-split-atom-window)
10630 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10631 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10632 (display-buffer-other-window-means-other-frame)
10633 (display-buffer-normalize-special)
10634 (display-buffer-normalize-default)
10635 (display-buffer-normalize-argument)
10636 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10637 (display-buffer-normalize-specifiers, display-buffer-frame)
10638 (display-buffer-same-window, display-buffer-same-frame)
10639 (display-buffer-other-window)
10640 (display-buffer-same-frame-other-window)
10641 (display-buffer-other-frame, pop-to-buffer-same-window)
10642 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10643 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10644 (switch-to-buffer-same-frame)
10645 (switch-to-buffer-other-window-same-frame)
10646 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10647 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10648 (display-buffer-alist-set): Remove.
10649 (display-buffer-function, special-display-buffer-names)
10650 (special-display-regexps, special-display-function):
10651 In doc-string refer to display-buffer-window and quit-restore
10652 parameter.
10653 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10654 (special-display-frame-alist, special-display-popup-frame)
10655 (same-window-buffer-names, same-window-regexps, same-window-p)
10656 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10657 (split-window-preferred-function, split-height-threshold)
10658 (split-width-threshold, window-splittable-p)
10659 (split-window-sensibly, window--try-to-split-window)
10660 (window--frame-usable-p, even-window-heights)
10661 (window--even-window-heights, window--display-buffer-1)
10662 (window--display-buffer-2, display-buffer-other-frame):
10663 Restore old Emacs 23 code, order and doc-strings where applicable.
10664 (display-buffer-default, display-buffer-assq-regexp): New functions.
10665 (display-buffer-alist): Rewrite doc-string.
10666 (display-buffer-default-action)
10667 (display-buffer-overriding-action): New variables.
10668 (display-buffer, switch-to-buffer): Rewrite.
10669 (pop-to-buffer): Restore Emacs 23 behavior but use
10670 window-normalize-buffer-to-display.
10671 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10672 Restore Emacs 23 behavior but use
10673 window-normalize-buffer-to-switch-to.
10674 (pop-to-buffer-same-window): Rewrite.
10675 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10676 Rewrite using Emacs 23 options.
10677
10678 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10679
10680 * net/tramp.el (tramp-root-regexp): Remove.
10681 (tramp-completion-file-name-regexp-unified)
10682 (tramp-completion-file-name-regexp-separate)
10683 (tramp-completion-file-name-regexp-url): Don't use leading volume
10684 letter on w32 systems. (Bug#5303, Bug#9311)
10685 (tramp-drop-volume-letter): Simplify definition.
10686 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10687
10688 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10691 (bug#9356).
10692
10693 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10694
10695 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10696
10697 2011-08-29 Juri Linkov <juri@jurta.org>
10698
10699 * isearch.el (isearch-done): Don't display message "Mark saved"
10700 when arg `edit' is non-nil to prevent its flicker in the echo area.
10701
10702 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10703
10704 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10705 obsolete packages for deletion.
10706
10707 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10708
10709 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10710 (help-mode): Derive help-mode from special-mode. Don't invoke
10711 view-mode from help-mode.
10712 (help-xref-override-view-map): Remove.
10713 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10714 view-mode is not used anymore.
10715
10716 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10717
10718 * server.el (server-port): Doc fix.
10719
10720 * cus-theme.el (custom-theme-choose-mode): Inherit from
10721 special-mode (Bug#9124).
10722 (custom-theme-choose-mode-map): Add special-mode to parent.
10723
10724 2011-08-28 Alan Mackenzie <acm@muc.de>
10725
10726 * progmodes/cc-fonts.el
10727 (c-make-font-lock-BO-decl-search-function): New function.
10728 (c-basic-matchers-after - "Fontify the clauses after various
10729 keywords"): Extract the three keyword lists for the 3 erroneous
10730 constructs from the list of four, and use the new function above
10731 in place of an old one.
10732
10733 2011-08-28 Deniz Dogan <deniz@dogan.se>
10734
10735 * net/rcirc.el (rcirc-insert-prev-input)
10736 (rcirc-insert-next-input): Remove unused argument.
10737
10738 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10739
10740 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10741
10742 2011-08-27 Alan Mackenzie <acm@muc.de>
10743
10744 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10745 handle function pointer parameters properly.
10746
10747 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10748
10749 * window.el (display-buffer-reuse-window): Fix case where
10750 selected window was reused with non-nil OTHER-WINDOW argument.
10751 (Bug#9381)
10752
10753 2011-08-27 Deniz Dogan <deniz@dogan.se>
10754
10755 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10756 oftc's NickServ messages.
10757
10758 2011-08-27 Glenn Morris <rgm@gnu.org>
10759
10760 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10761
10762 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10763
10764 * emacs-lisp/package.el (package-install): Call package-initialize
10765 if called interactively.
10766
10767 2011-08-26 Leo Liu <sdl.web@gmail.com>
10768
10769 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10770
10771 2011-08-25 Juri Linkov <juri@jurta.org>
10772
10773 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10774 `search-whitespace-regexp' (bug#9364).
10775
10776 2011-08-25 Juri Linkov <juri@jurta.org>
10777
10778 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10779 `regexp-search-ring' to their global values to protect from
10780 updating by `read-from-minibuffer' (bug#9185).
10781
10782 2011-08-25 Juri Linkov <juri@jurta.org>
10783
10784 * textmodes/ispell.el (ispell-command-loop): Add newline
10785 at the end of the "Use option `i'..." line.
10786
10787 2011-08-25 Juri Linkov <juri@jurta.org>
10788
10789 * battery.el (display-battery-mode): If `battery-status-function'
10790 or `battery-mode-line-format' is nil, display the message and set
10791 `display-battery-mode' to nil (bug#9363).
10792
10793 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10794
10795 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10796 bidi-string-mark-left-to-right; they are unnecessary now.
10797
10798 2011-08-25 Deniz Dogan <deniz@dogan.se>
10799
10800 * net/quickurl.el: Documentation typo fixes.
10801
10802 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10803
10804 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10805
10806 2011-08-25 Glenn Morris <rgm@gnu.org>
10807
10808 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
10809
10810 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
10811 (smtpmail-via-smtp): Handle nil response from smtp.
10812
10813 2011-08-24 Juri Linkov <juri@jurta.org>
10814
10815 * proced.el (proced-marked): Inherit from `error' instead of
10816 `font-lock-warning-face'.
10817
10818 * ibuffer.el (ibuffer-marked-face): Change default face from
10819 `font-lock-warning-face' to `warning'.
10820 (ibuffer-deletion-face): Change default face from
10821 `font-lock-type-face' to `error'.
10822
10823 * battery.el (battery-update): Use the face `error' instead of
10824 `font-lock-warning-face' (bug#6117).
10825
10826 2011-08-24 Juri Linkov <juri@jurta.org>
10827
10828 * faces.el (success): Change face color from "Green3" to
10829 "ForestGreen" on light background (bug#9353).
10830
10831 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
10832
10833 * window.el (quit-window): Rename from quit-restore-window.
10834 Use same arglist as old quit-window.
10835 (frame-auto-delete): Doc fix.
10836
10837 * view.el (view-mode-exit): Use quit-window.
10838
10839 2011-08-24 Juri Linkov <juri@jurta.org>
10840
10841 * isearch.el (isearch-ring-adjust1): Start visiting previous
10842 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
10843 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
10844 for empty search string (when the last search string is reused
10845 automatically) to adjust the isearch ring to the last element and
10846 prepare the correct index for further M-p commands (bug#9185).
10847
10848 2011-08-24 Kenichi Handa <handa@m17n.org>
10849
10850 * international/ucs-normalize.el: If decomposition property of
10851 CHAR is the default one (i.e. a list of CHAR itself), treat it as
10852 nil.
10853 (nfd, nfkd): Likewise.
10854
10855 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
10858 from process filters aren't reliably transmitted to the surrounding
10859 accept-process-output.
10860 (mpc-proc-check): New function.
10861 (mpc-proc-sync): Use it (bug#8293)
10862
10863 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
10866 Add compatibility functions (bug#9313).
10867
10868 2011-08-23 Eli Zaretskii <eliz@gnu.org>
10869
10870 * cus-start.el (all): Add entry for bidi-paragraph-direction.
10871
10872 * international/uni-bidi.el: Regenerate.
10873
10874 2011-08-23 Kenichi Handa <handa@m17n.org>
10875
10876 * international/charprop.el:
10877 * international/uni-bidi.el:
10878 * international/uni-category.el:
10879 * international/uni-combining.el:
10880 * international/uni-comment.el:
10881 * international/uni-decimal.el:
10882 * international/uni-decomposition.el:
10883 * international/uni-digit.el:
10884 * international/uni-lowercase.el:
10885 * international/uni-mirrored.el:
10886 * international/uni-name.el:
10887 * international/uni-numeric.el:
10888 * international/uni-old-name.el:
10889 * international/uni-titlecase.el:
10890 * international/uni-uppercase.el: Regenerate.
10891
10892 2011-08-23 Martin Rudalics <rudalics@gmx.at>
10893
10894 * help.el (help-window-setup): Fix message displayed when other
10895 window is reused. (Bug#9341)
10896
10897 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
10900 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
10901
10902 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
10903 Mark obsolete.
10904 * shell.el (shell-parse-pcomplete-arguments): New function.
10905 (shell-completion-vars): Use it instead (bug#9160).
10906
10907 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
10910 strings and comments (bug#9333).
10911
10912 * emacs-lisp/debug.el (debug-arglist): New function.
10913 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
10914 (debug-on-entry-1): Handle interpreted closures (bug#9120).
10915
10916 2011-08-22 Juri Linkov <juri@jurta.org>
10917
10918 * progmodes/compile.el (compilation-mode-font-lock-keywords):
10919 Revert regexp that highlights output switches to its old
10920 pre-2010-10-28 value and remove one `?' from it (bug#9319).
10921
10922 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
10923 to check for empty output (bug#9226).
10924
10925 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
10926
10927 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
10928 symbol-constituent as the default, as that stops font-lock from
10929 working properly (Bug#8843).
10930
10931 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10932
10933 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
10934 `coding-system-for-*' around the process open call to avoid
10935 auth-source side effects.
10936 (smtpmail-try-auth-methods): Expand the secret password.
10937 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
10938 probe hangs.
10939
10940 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10941
10942 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
10943
10944 * emacs-lisp/find-func.el (find-function-noselect): New arg
10945 lisp-only.
10946
10947 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
10948 signal an error for built-in functions (Bug#6664).
10949
10950 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10951
10952 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
10953 (smtpmail-try-auth-methods): Use it.
10954
10955 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
10956
10957 * font-lock.el (font-lock-fontify-region)
10958 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
10959 (font-lock-default-unfontify-buffer)
10960 (font-lock-default-fontify-region)
10961 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
10962
10963 * progmodes/compile.el (compilation-error-properties):
10964 Fix confusion between file struct and message struct (Bug#9319).
10965 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
10966 `ant' regexp.
10967
10968 * net/browse-url.el (browse-url-firefox): Don't call
10969 browse-url-firefox-sentinel unless using -remote (Bug#9328).
10970
10971 2011-08-20 Glenn Morris <rgm@gnu.org>
10972
10973 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
10974
10975 * tutorial.el (tutorial--default-keys): Update some default bindings.
10976
10977 * files.el (hack-local-variables): Fully ignore case for "mode:".
10978
10979 2011-08-20 Alan Mackenzie <acm@muc.de>
10980
10981 Resolve invalid use of a regexp in regexp-opt.
10982
10983 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
10984 detection for a java annotation.
10985
10986 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
10987 detection for a java annotation.
10988
10989 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
10990 handling for java.
10991 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
10992
10993 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
10994
10995 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
10996 (Bug#9274).
10997
10998 2011-08-20 Alan Mackenzie <acm@muc.de>
10999
11000 Fontify CPP expressions correctly when starting in the middle of
11001 such a construct. Mainly for when jit-lock etc. starts a chunk
11002 here.
11003
11004 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11005 variable.
11006 (c-make-font-lock-search-form): New function, extracted from
11007 c-make-font-lock-search-function.
11008 (c-make-font-lock-search-function): Use the above function.
11009 (c-make-font-lock-context-search-function): New function.
11010 (c-cpp-matchers): Enhance the preprocessor expression case with
11011 the above function
11012 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11013 which takes an expression.
11014
11015 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11016
11017 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11018
11019 * window.el (display-buffer-reuse-window)
11020 (display-buffer-pop-up-window): Don't reuse or split a side
11021 window.
11022
11023 2011-08-19 Glenn Morris <rgm@gnu.org>
11024
11025 * files.el (hack-local-variables-prop-line, hack-local-variables):
11026 Downcase "Mode:". (Bug#9331)
11027
11028 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11029
11030 * international/characters.el: Add L and R categories.
11031
11032 * subr.el (bidi-string-mark-left-to-right): Rename from
11033 string-mark-left-to-right. Use category search.
11034
11035 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11036
11037 2011-08-18 Juri Linkov <juri@jurta.org>
11038
11039 * faces.el (error, warning, success): New faces with definitions
11040 copied from old default values of `font-lock-warning-face',
11041 `compilation-warning', `compilation-info' (bug#6117).
11042
11043 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11044
11045 * progmodes/compile.el (compilation-error): Inherit from `error'.
11046 (compilation-warning): Inherit from `warning'.
11047 (compilation-info): Inherit from `success'.
11048
11049 * dired.el (dired-marked): Inherit from `warning'.
11050 (dired-flagged): Inherit from `error'.
11051
11052 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11053
11054 * mail/smtpmail.el (auth-source): Require to avoid problems with
11055 binding variables (bug#9298). Also clean up some unused
11056 autoloads.
11057
11058 * net/network-stream.el (network-stream-open-starttls):
11059 Support using starttls.el without using gnutls-cli.
11060
11061 2011-08-17 Juri Linkov <juri@jurta.org>
11062
11063 * progmodes/grep.el (rgrep): Handle the case when
11064 `grep-find-command' is a cons cell (bug#9278).
11065
11066 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11067
11068 * window.el (display-buffer-pop-up-frame): Run frame creation
11069 function with BUFFER current (as special-display-popup-frame
11070 does). Reported by Drew Adams.
11071
11072 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11073
11074 * epa-mail.el: Simplify GnuPG group expansion using
11075 epg-expand-group.
11076 (epa-mail-group-alist, epa-mail-group-modtime)
11077 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11078 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11079 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11080 Remove.
11081
11082 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11083
11084 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11085
11086 2011-08-16 Alan Mackenzie <acm@muc.de>
11087
11088 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11089 Correct, to avoid the inside of macros.
11090
11091 2011-08-16 Richard Stallman <rms@gnu.org>
11092
11093 * epa-mail.el: Handle GnuPG group definitions.
11094 (epa-mail-group-alist, epa-mail-group-modtime)
11095 (epa-mail-gnupg-conf-file): New variables.
11096 (epa-mail-parse-groups, epa-mail-sync-groups)
11097 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11098 (epa-mail-expand-recipients): New functions.
11099 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11100
11101 * mail/rmail.el (rmail-epa-decrypt): New command.
11102
11103 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11104 Don't bind buffer-read-only, just inhibit-read-only.
11105 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11106 (epa-decrypt-armor-in-region): Make error message clearer.
11107
11108 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11111 and "a2b" to "ab" for `prefix'.
11112
11113 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11114
11115 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11116 filter groups.
11117 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11118 Fourquet (Bug#8804).
11119
11120 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11121
11122 * startup.el (argi): Declare as global variable (bug#9275).
11123
11124 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11125
11126 * subr.el (string-mark-left-to-right): Search the entire string
11127 for RTL script, not just the terminating character. Doc fix.
11128
11129 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11132 New function.
11133 (js--regexp-literal, js-syntax-propertize-function): Remove.
11134 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11135 (js-mode-map): Don't rebind electric keys.
11136 (js-insert-and-indent): Remove.
11137 (js-mode): Setup electric-layout and electric-indent instead.
11138
11139 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11140
11141 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11142
11143 * epa.el (epa-progress-callback-function): Fix the logic of
11144 displaying progress.
11145 * epa-file.el (epa-file-insert-file-contents): Make progress
11146 display more user-friendly.
11147 (epa-file-write-region): Ditto.
11148
11149 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11150
11151 * subr.el (string-mark-left-to-right): New function.
11152
11153 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11154 Use string-mark-left-to-right.
11155 (list-buffers-noselect): Caller changed.
11156
11157 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11158 Use string-mark-left-to-right.
11159 (tabulated-list-print): Recenter after moving point.
11160
11161 2011-08-10 Juri Linkov <juri@jurta.org>
11162
11163 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11164 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11165 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11166
11167 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11168
11169 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11170 (Bug#7554).
11171
11172 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11173
11174 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11175 character. (Bug#6594)
11176
11177 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11178
11179 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11180 (image-dired--with-db-file): New macro.
11181 (image-dired-write-tags, image-dired-remove-tag)
11182 (image-dired-create-gallery-lists, image-dired-write-comments)
11183 (image-dired-get-comment, image-dired-mark-tagged-files)
11184 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11185 (image-dired-gallery-generate): Use insert-file-contents.
11186
11187 * time.el (display-time-world-list, display-time-world-display):
11188 * time-stamp.el (time-stamp-string):
11189 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11190 set-time-zone-rule (Bug#7337).
11191
11192 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11193
11194 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11195 (epg-error-to-string, epg-errors-to-string): New function.
11196 (epg-wait-for-completion): Reverse errors list.
11197 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11198 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11199 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11200 (epg-sign-keys, epg-generate-key-from-file)
11201 (epg-generate-key-from-string): Format errors by using
11202 epg-errors-to-string (bug#9255).
11203 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11204
11205 2011-08-07 Juri Linkov <juri@jurta.org>
11206
11207 * faces.el (list-faces-display): Remove extra angle bracket
11208 from `help-mode-map'.
11209
11210 * info.el (Info-history-toc-nodes): Doc fix.
11211
11212 * longlines.el (longlines-mode): Doc fix.
11213
11214 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11217 of statements and in a few more cases (bug#9183).
11218
11219 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11220 New functions.
11221 (cl-transform-lambda): Use them (bug#9239).
11222
11223 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11224
11225 * window.el (display-buffer-same-window)
11226 (display-buffer-same-frame, display-buffer-other-window)
11227 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11228 (pop-to-buffer-other-window)
11229 (pop-to-buffer-same-frame-other-window)
11230 (pop-to-buffer-other-frame): Make them defuns.
11231 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11232
11233 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11234
11235 * subr.el (make-composed-keymap): Move from C. Change calling
11236 convention, and improve docstring to bring attention to a subtle point.
11237 * minibuffer.el (completing-read-default): Adjust accordingly.
11238
11239 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11240
11241 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11242 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11243
11244 * net/trampver.el: Update release number.
11245
11246 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11247
11248 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11249 "in" (bug#9190).
11250
11251 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11252
11253 * mail/sendmail.el (sendmail-query-once): Restore the current
11254 buffer after querying (bug#9074).
11255
11256 * dired.el (dired-flagged): Use different faces for marked and
11257 flagged files (bug#6117).
11258
11259 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11260 (bug#4433).
11261
11262 * ido.el (ido-mode): Switch off the message if called
11263 non-interactively.
11264
11265 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11266 before 587, since it appears that that's more likely to work for
11267 more people.
11268
11269 * cus-edit.el (custom-file): When running under emacs -q, always
11270 refuse to save the customizations, even if the .emacs file doesn't
11271 exist.
11272
11273 * info.el: Remove the `Info-beginning-of-buffer' function
11274 (bug#8325).
11275
11276 * net/network-stream.el (network-stream-open-starttls):
11277 Use `starttls-available-p' to see whether starttls.el can be used.
11278
11279 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11280
11281 * window.el (display-buffer-in-window): Don't set dedicated status
11282 of window here (Bug#9215).
11283 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11284 (display-buffer-pop-up-side-window)
11285 (display-buffer-in-side-window): Set dedicated status of window here.
11286
11287 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11288
11289 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11290 before binding generated-autoload-file.
11291
11292 2011-08-01 Deniz Dogan <deniz@dogan.se>
11293
11294 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11295
11296 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11297
11298 Sync with Tramp 2.2.2.
11299
11300 * net/trampver.el: Update release number.
11301
11302 2011-07-30 Juri Linkov <juri@jurta.org>
11303
11304 * dired-aux.el (dired-touch-initial): Remove function.
11305 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11306 current time, and `default' to the last modification time of the
11307 current marked file (bug#6887).
11308
11309 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11310
11311 * simple.el (goto-line): Use string-to-number to provide a
11312 numeric argument to read-number (bug#9163).
11313
11314 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11315
11316 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11317 connection process, it could be nil.
11318
11319 2011-07-27 Leo Liu <sdl.web@gmail.com>
11320
11321 Simplify url handling in rcirc-mode.
11322
11323 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11324 (rcirc-browse-url-at-mouse): Remove.
11325 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11326
11327 2011-07-26 Alan Mackenzie <acm@muc.de>
11328
11329 Fontify bitfield declarations properly.
11330
11331 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11332 (c-symbol-chars): Now exported as a lang variable.
11333 (c-not-primitive-type-keywords): New lang variable.
11334
11335 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11336 QT keyword "more" to prevent "more slots: ...." being spuriously
11337 parsed as a bitfield declaration.
11338
11339 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11340 Refactor and enhance to handle bitfield declarations.
11341 (c-punctuation-in): New function.
11342 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11343 declarations properly.
11344
11345 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11346
11347 * calendar/icalendar.el (icalendar--all-events): Take care of
11348 multiple vcalendars in a single file.
11349 (icalendar--convert-float-to-ical): Checkdoc fixes.
11350
11351 2011-07-25 Deniz Dogan <deniz@dogan.se>
11352
11353 * image.el (insert-image): Clarifying docstring.
11354
11355 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11356
11357 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11358 `tramp-send-command-and-check' if there is no error.
11359 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11360
11361 2011-07-22 Alan Mackenzie <acm@muc.de>
11362
11363 Prevent cc-langs.elc being loaded at run time.
11364
11365 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11366 cc-langs.
11367
11368 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11369 "(require 'cc-langs)". Quote a form so it will evaluate at
11370 (cc-mode's) compilation time.
11371
11372 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11373
11374 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11375 loading. (Bug#9114)
11376
11377 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11378
11379 * window.el (display-buffer-pop-up-window)
11380 (display-buffer-pop-up-side-window)
11381 (display-buffer-in-side-window): Call display-buffer-set-height
11382 and display-buffer-set-width after setting the new window's
11383 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11384
11385 2011-07-20 Sam Steingold <sds@gnu.org>
11386
11387 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11388 (etags-tags-included-tables): Call `convert-standard-filename' on
11389 the file names contained in TAGS so that windows Emacs can handle
11390 TAGS files created by cygwin ctags.
11391
11392 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11393
11394 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11395 which apparently didn't work.
11396
11397 2011-07-19 Roland Winkler <winkler@gnu.org>
11398
11399 * proced.el (proced-send-signal): For *Marked Processes* buffer
11400 put point at beginning of buffer.
11401
11402 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11403
11404 * proced.el (proced-format): Make header lines align with the text
11405 (bug#1779).
11406
11407 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11408
11409 * view.el (view-buffer): Allow running in `special' modes if we're
11410 visiting a file (bug#8615).
11411
11412 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11413
11414 * window.el (display-buffer-alist-of-strings-p)
11415 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11416 New functions.
11417 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11418 more accurately.
11419
11420 2011-07-18 Alan Mackenzie <acm@muc.de>
11421
11422 Fontify declarators properly when, e.g., a jit-lock chunk begins
11423 inside a declaration.
11424
11425 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11426
11427 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11428 New function.
11429 (c-complex-decl-matchers): Insert reference to
11430 c-font-lock-enclosing-decls.
11431
11432 * progmodes/cc-engine.el (c-backward-single-comment):
11433 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11434 to nil around calls to (forward-comment -1).
11435
11436 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11437
11438 * image.el (put-image): Doc typo fix.
11439
11440 * progmodes/etags.el (tags-search): Doc typo fix.
11441
11442 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11443 password if we get errors 550 to 554.
11444
11445 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11446
11447 * net/gnutls.el (gnutls-log-level): Remove.
11448
11449 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11450 indentation character (bug#6380).
11451
11452 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11453
11454 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11455 to clarify what the problem is (bug#4291).
11456
11457 * simple.el (current-kill): Clarify what
11458 `interprogram-paste-function' does (bug#7500).
11459 (auto-fill-mode): Document `auto-fill-function' in relation to
11460 `auto-fill-mode' (bug#2470).
11461
11462 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11463
11464 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11465 method if slot is read-only (bug#9035).
11466
11467 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11468
11469 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11470 * window.el (pop-to-buffer): Select window used even if it was
11471 selected before, see discussion of (Bug#8615), (Bug#6954).
11472 Pass argument NORECORD on to select-frame-set-input-focus.
11473
11474 2011-07-15 Glenn Morris <rgm@gnu.org>
11475
11476 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11477 Respect help-form.
11478
11479 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11480
11481 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11482 (gnutls-negotiate): Use it.
11483
11484 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11485
11486 * net/gnutls.el (gnutls-negotiate):
11487 Upcase `gnutls-algorithm-priority'.
11488
11489 2011-07-15 Glenn Morris <rgm@gnu.org>
11490
11491 * jka-compr.el (jka-compr-verbose): Move from here...
11492 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11493 Add missing :version tag.
11494 * info.el: No need to require jka-compr when compiling.
11495
11496 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11497
11498 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11499 (gnutls-negotiate): Use it.
11500
11501 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11502
11503 * info.el (Info-beginning-of-buffer): New command.
11504 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11505 announcing `b' as the key (bug#8325).
11506 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11507
11508 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11509
11510 * international/mule-cmds.el
11511 (describe-specified-language-support): Make the error message
11512 clearer (bug#8905).
11513
11514 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11515
11516 * isearch.el (isearch-barrier): Add a doc string, since it's
11517 mentioned in a function doc string (bug#8678).
11518
11519 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11520
11521 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11522 buffer argument (Bug#9083) and self-identifying label argument.
11523
11524 2011-07-15 Glenn Morris <rgm@gnu.org>
11525
11526 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11527
11528 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11529
11530 * man.el (Man-fontify-manpage): Fix message when formatting the
11531 man page (bug#7929).
11532
11533 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11534
11535 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11536 argument LRM; if non-nil, append an invisible LRM character to the
11537 buffer name.
11538 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11539 last argument non-nil, when formatting buffer names.
11540 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11541 paragraph direction.
11542
11543 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11544
11545 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11546 the man page name (bug#7929).
11547
11548 * image.el (put-image): Mention the `put-image' overlay property
11549 (bug#7834).
11550
11551 * scroll-bar.el (set-scroll-bar-mode): Mention that
11552 `scroll-bar-mode' lists the values (bug#7772).
11553
11554 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11555 command (bug#7729).
11556
11557 * rect.el (apply-on-rectangle): Return the point after the last
11558 operation.
11559 (string-rectangle): Go to the point after the last operation
11560 (bug#7522).
11561
11562 * printing.el (pr-toggle-region): Clarify the documentation
11563 slightly (bug#7493).
11564
11565 * time.el (display-time-update):
11566 Allow `display-time-mail-function' to return nil (bug#7158).
11567 Fix suggested by Detlev Zundel.
11568
11569 * vc/diff.el (diff): Clarify the order the file names are read
11570 (bug#7111).
11571
11572 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11573 the doc string (bug#7015).
11574
11575 * font-lock.el (font-lock-maximum-decoration): Mention what
11576 numeric levels mean (bug#6935).
11577
11578 * startup.el (initial-buffer-choice): Don't mention the `none'
11579 selection, which is against policy.
11580
11581 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11582
11583 * window.el (display-buffer-normalize-special):
11584 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11585
11586 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11587
11588 * subr.el (version<, version<=, version=): Mention "-CVS" and
11589 "-12345" alpha version numbers.
11590
11591 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11592
11593 * bindings.el: Add advertised binding for set-mark-command
11594 (Bug#5772).
11595
11596 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11597
11598 * bindings.el (mode-line-other-buffer):
11599 * bookmark.el (bookmark-bmenu-2-window):
11600 * bs.el (bs-cycle-next, bs-cycle-previous):
11601 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11602 switch-to-buffer.
11603
11604 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11605 Delete.
11606
11607 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11608
11609 * follow.el (follow-debug-message, follow-redisplay):
11610 * jka-cmpr-hook.el (with-auto-compression-mode):
11611 Fix typos in docstrings.
11612
11613 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11614
11615 * subr.el (with-silent-modifications): Clarify somewhat what the
11616 macro inhibits (bug#6525).
11617
11618 * simple.el (eval-expression): Note what it does if called
11619 interactively (bug#6495).
11620
11621 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11622
11623 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11624 Use pop-to-buffer buffer-or-name if it is nil.
11625
11626 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11627 Remove switch-to-buffer.
11628
11629 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11630
11631 * files.el (make-directory): Clarify that an error will be raised
11632 if there's an error (bug#6397).
11633
11634 * startup.el (initial-buffer-choice): Add `none' as a choice
11635 (bug#6234).
11636
11637 * subr.el (add-hook): Clarify section about buffer-local hooks
11638 (bug#6218).
11639
11640 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11641
11642 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11643
11644 * tabify.el (untabify): Preserve the current column so that point
11645 doesn't move (bug#6032).
11646
11647 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11648
11649 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11650 Rewrite to avoid awkward possessive "s" (bug#5986).
11651
11652 2011-07-13 Glenn Morris <rgm@gnu.org>
11653
11654 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11655 (dired-insert-directory): Give a message the first time
11656 if ls is found not to support --dired.
11657
11658 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11659
11660 * simple.el (toggle-truncate-lines): Clarify what is toggled
11661 (bug#5580). Text by Drew Adams.
11662
11663 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11664
11665 * simple.el (blink-matching-open): Make the error message from the
11666 last change less verbose.
11667
11668 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11669
11670 * font-lock.el (font-lock-comment-face): Use the high contrast
11671 "yellow" color for font-lock-comment-face on low color terminals
11672 using a dark background color (bug#4221).
11673
11674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11675
11676 * dired.el (dired-insert-set-properties): Make the doc string
11677 reflect what it does now (bug#5325).
11678
11679 * simple.el (blink-matching-open): Say that we were unable to find
11680 the match within the limit, if we're limited (bug#5122).
11681
11682 * international/mule-cmds.el (prefer-coding-system): Add an
11683 example (bug#4869).
11684
11685 * progmodes/etags.el (tags-search): Document `file-list-form'
11686 (bug#4731).
11687
11688 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11689
11690 * net/browse-url.el (browse-url-default-browser)
11691 (browse-url-browser-function): Make the default browser choice a
11692 bit more logical (bug#4300). Also clean up the doc string.
11693
11694 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11695
11696 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11697 binary endings (bug#4440).
11698
11699 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11700
11701 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11702 which can be pretty annoying (bug#8971).
11703
11704 * jka-compr.el (jka-compr-verbose): New variable, and use
11705 throughout (bug#8971).
11706
11707 * info.el (Info-find-file): Fall back on the installation
11708 directory if we can't find the info node anywhere else.
11709
11710 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11711
11712 * vc/vc.el (vc-revert-file):
11713 Don't set file time-stamp in the past. (Bug#5181)
11714
11715 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11716
11717 * files.el (after-find-file): Give a better error message when
11718 trying to find a symlink that points to a file that doesn't exist
11719 (bug#4398).
11720
11721 * progmodes/cc-vars.el: Remove (probably) misleading comment
11722 (bug#4396).
11723
11724 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11725
11726 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11727
11728 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11729
11730 * mouse-sel.el: Hack restoring functionality, while keeping
11731 compatibility with 2010-07-03 changes to mouse selection.
11732 (mouse-sel-primary-overlay): New var.
11733 (mouse-sel-selection-alist): Use it.
11734 (mouse-sel-mode): Doc fix; remove points that are default features
11735 of mouse.el.
11736
11737 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11738
11739 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11740 Fix previous fix (bug#2490).
11741
11742 2011-07-12 Roland Winkler <winkler@gnu.org>
11743
11744 * textmodes/bibtex.el (bibtex-initialize):
11745 Use pop-to-buffer-same-window.
11746 (bibtex-search-entries): Fix interactive call.
11747
11748 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
11750 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11751 Fontise bytecomp Error lines more correctly (bug#2490).
11752 Fix suggested by Johan Bockgård.
11753
11754 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11755
11756 * dired-x.el (dired-guess-default): Use `delete-dups'.
11757
11758 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11759
11760 * dired.el (dired-mark-prompt):
11761 * dired-aux.el (dired-read-shell-command): Doc fix.
11762
11763 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11764
11765 * mail/sendmail.el (sendmail-query-once):
11766 Use `customize-save-variable' unconditionally, now that it works under
11767 emacs -Q.
11768
11769 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11770
11771 * cus-edit.el (custom-file): Take an optional no-error variable.
11772 (customize-save-variable): Set the variable, and give a warning if
11773 running under "emacs -q".
11774
11775 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11776
11777 * loadhist.el (unload-feature-special-hooks):
11778 Add `auto-coding-functions', `fill-nobreak-predicate' and
11779 `find-directory-functions' (bug#5327).
11780
11781 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11782
11783 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11784
11785 * cus-edit.el (custom-guess-name-alist): -alist variables should
11786 use the `alist' type (bug#3120). Suggested by Drew Adams.
11787
11788 * printing.el: Add documentation to all the `pr-toggle-' commands.
11789
11790 2011-07-11 Leo Liu <sdl.web@gmail.com>
11791
11792 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11793 backends where it makes sense (bug#2623).
11794
11795 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11796
11797 * dired-x.el (dired-guess-default): Remove duplicate shell command
11798 entries (bug#2028).
11799 (dired-guess-default): Fix grammar in doc string (bug#2028).
11800 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11801
11802 * subr.el (remove-duplicates): New conveniency function.
11803
11804 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11807 (bug#1526).
11808
11809 2011-07-10 Martin Rudalics <rudalics@gmx.at>
11810
11811 * window.el (display-buffer-normalize-default): Don't invert
11812 meaning of even-window-heights. Reported by Eli Zaretskii
11813 <eliz@gnu.org>.
11814
11815 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
11816
11817 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
11818
11819 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
11820
11821 * window.el (display-buffer): Fix arguments to
11822 display-buffer-reuse-window in last change.
11823
11824 * faces.el (link): Use a less saturated blue on light backgrounds.
11825
11826 * startup.el (fancy-startup-text, fancy-about-text)
11827 (fancy-startup-tail): Use font-lock faces, for background safety.
11828
11829 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
11830
11831 * emulation/viper-cmd.el (viper-change-state-to-vi):
11832 Limit triggering of abbrev expansion (Bug#9038).
11833
11834 2011-07-09 Martin Rudalics <rudalics@gmx.at>
11835
11836 * window.el (display-buffer-default-specifiers): Remove.
11837 (display-buffer-macro-specifiers): Remove default specifiers.
11838 (display-buffer-alist): Default to nil.
11839 (display-buffer-reuse-window): New optional argument other-window.
11840 (display-buffer-pop-up-window): Allow splitting internal
11841 windows. Check whether a live window was created.
11842 (display-buffer-other-window-means-other-frame)
11843 (display-buffer-normalize-arguments): Rename to
11844 display-buffer-normalize-argument and rewrite. Set the
11845 other-window specifier.
11846 (display-buffer-normalize-special): New function.
11847 (display-buffer-normalize-options): Rename to
11848 display-buffer-normalize-default and rewrite.
11849 (display-buffer-normalize-options-inhibit): Remove.
11850 (display-buffer-normalize-specifiers): Rewrite.
11851 (display-buffer): Process other-window specifier and call
11852 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
11853 more faithfully.
11854 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
11855 (display-buffer-alist-set): Don't handle 'unset default values.
11856 (display-buffer-in-window, display-buffer-alist-set):
11857 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
11858 <tassilo@member.fsf.org>.
11859
11860 2011-07-09 Leo Liu <sdl.web@gmail.com>
11861
11862 * register.el (insert-register): Restore accidental change on
11863 2011-06-26. (Bug#9028)
11864
11865 2011-07-09 Glenn Morris <rgm@gnu.org>
11866
11867 * subr.el (remq): Handle the empty list. (Bug#9024)
11868
11869 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
11870
11871 * mail/sendmail.el (send-mail-function): No longer delay custom
11872 initialization.
11873 * custom.el (custom-initialize-delay): Doc fix.
11874
11875 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
11878
11879 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
11880
11881 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
11882 human-friendly prompt.
11883
11884 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
11887 provided by a particular plugin.
11888
11889 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11890
11891 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
11892 save customizations (with "emacs -Q"), just set the variable
11893 instead of erroring out.
11894
11895 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11896
11897 2011-07-08 Juri Linkov <juri@jurta.org>
11898
11899 * arc-mode.el (archive-zip-expunge, archive-zip-update)
11900 (archive-zip-update-case): Use 7z if found by `executable-find'.
11901 The order of searching the available programs is the same as in
11902 `archive-zip-extract' (bug#8968).
11903
11904 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
11907 (menu-bar-options-menu): Tweak descriptions.
11908
11909 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11910
11911 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
11912 menu items into verb phrases (bug#1421). Also refill to fit under
11913 80 columns.
11914
11915 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11916
11917 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
11918 (Info-read-node-name): Doc fix (Bug#1084).
11919
11920 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
11921 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
11922 (end-of-sexp, beginning-of-sexp)
11923 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
11924 (forward-symbol, forward-same-syntax, word-at-point)
11925 (sentence-at-point): Doc fix (Bug#1144).
11926
11927 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11928
11929 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
11930 should cover it (bug#1281).
11931
11932 * cus-edit.el (custom-show): Mark as obsolete.
11933
11934 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
11935 negotiation fails, then possibly try again with a non-encrypted
11936 connection (bug#9017).
11937
11938 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
11939 be used.
11940
11941 2011-07-07 Richard Stallman <rms@gnu.org>
11942
11943 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
11944 property, and handle its changed format.
11945 Look for the correct line number.
11946 Use file's line contents (but not past first =) to find
11947 correct line in message.
11948
11949 2011-07-07 Kenichi Handa <handa@m17n.org>
11950
11951 * international/characters.el (build-unicode-category-table):
11952 Delete it.
11953 (unicode-category-table): Set it by unicode-property-table-internal.
11954
11955 * international/mule-cmds.el (char-code-property-alist): Move to
11956 to src/chartab.c.
11957 (get-char-code-property): Call unicode-property-table-internal to
11958 load a file. Call get-unicode-property-internal where necessary.
11959 (put-char-code-property): Call unicode-property-table-internal to
11960 load a file. Call put-unicode-property-internal where necessary.
11961 put-unicode-property-internal where necessary.
11962 (char-code-property-description):
11963 Call unicode-property-table-internal to load a file.
11964
11965 * international/charprop.el:
11966 * international/uni-bidi.el:
11967 * international/uni-category.el:
11968 * international/uni-combining.el:
11969 * international/uni-comment.el:
11970 * international/uni-decimal.el:
11971 * international/uni-decomposition.el:
11972 * international/uni-digit.el:
11973 * international/uni-lowercase.el:
11974 * international/uni-mirrored.el:
11975 * international/uni-name.el:
11976 * international/uni-numeric.el:
11977 * international/uni-old-name.el:
11978 * international/uni-titlecase.el:
11979 * international/uni-uppercase.el: Regenerate.
11980
11981 * loadup.el: Load international/charprop.el before
11982 international/characters.
11983
11984 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
11985
11986 * window.el (next-buffer, previous-buffer): Signal an error if
11987 called from a minibuffer window.
11988
11989 * bindings.el: Revert 2011-07-04 change.
11990
11991 2011-07-06 Richard Stallman <rms@gnu.org>
11992
11993 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
11994 (rmail-mime-insert-bulk, rmail-mime-insert-text):
11995 Treat markers like ints.
11996 (rmail-mime-entity): Doc fix.
11997
11998 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11999
12000 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12001 defcustom again for backwards compatibility.
12002
12003 * simple.el (shell-command-on-region): Fill.
12004
12005 * dired-aux.el (dired-kill-line): Add a doc string.
12006
12007 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12008 to "\\sw\\|\\s_" (bug#358).
12009
12010 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12011 (dired-unmark-backward): Ditto.
12012 (dired-flag-backup-files): Ditto.
12013
12014 * dired-x.el (dired-mark-sexp): Ditto.
12015
12016 2011-07-06 Richard Stallman <rms@gnu.org>
12017
12018 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12019 (rmail-mime-entity): New arg TRUNCATED.
12020 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12021 New functions.
12022 (rmail-mime-save): Warn if entity is truncated.
12023 (rmail-mime-toggle-hidden): Likewise, for showing.
12024 (rmail-mime-process-multipart): Record when an entity is truncated.
12025
12026 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12027 if ENTITY is a string.
12028
12029 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12030
12031 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12032 of faces when `M-C-x'-ing their definitions (bug#8378).
12033 Also clean up the code slightly.
12034
12035 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12036 because that makes the colors go away.
12037
12038 * mail/sendmail.el (send-mail-function): Change the default to
12039 `sendmail-query-once'.
12040 (sendmail-query-once): Add an autoload cookie.
12041
12042 * net/network-stream.el (network-stream-open-starttls): Try using
12043 a plain connection even if the server offered STARTTLS, and we
12044 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12045 capability. This should make smtpmail.el work in slightly more
12046 configurations.
12047
12048 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12049
12050 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12051 New defun.
12052 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12053
12054 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12055
12056 * progmodes/sql.el: Version 3.0
12057 (sql-product-alist): Add product :completion-object,
12058 :completion-column, and :statement attributes.
12059 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12060 (sql-mode-syntax-table): Mark all punctuation.
12061 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12062 ansi keywords.
12063 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12064 (sql-mode-oracle-font-lock-keywords): Improve.
12065 (sql-oracle-show-reserved-words): New function for development.
12066 (sql-product-font-lock): Simplify for source code buffers.
12067 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12068 New functions.
12069 (sql-highlight-product): Set product specific syntax table.
12070 (sql-mode-map): Add statement movement functions.
12071 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12072 New variable.
12073 (sql-statement-regexp, sql-beginning-of-statement)
12074 (sql-end-of-statement, sql-signum): New functions.
12075 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12076 (sql-show-sqli-buffer): Bug fix.
12077 (sql-interactive-mode): Store connection data as buffer local.
12078 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12079 with sql-interactive-mode.
12080 (sql-save-connection): Save buffer local settings.
12081 (sql-connection-menu-filter): Change menu entry name.
12082 (sql-product-interactive): Bug fix.
12083 (sql-preoutput-hold): New variable.
12084 (sql-interactive-remove-continuation-prompt): Bug fixes.
12085 (sql-debug-redirect): New variable.
12086 (sql-str-literal): New function.
12087 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12088 Redesign.
12089 (sql-oracle-save-settings, sql-oracle-restore-settings)
12090 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12091 (sql-completion-object, sql-completion-column)
12092 (sql-completion-sqlbuf): New variables.
12093 (sql-build-completions-1, sql-build-completions)
12094 (sql-try-completion): New functions.
12095 (sql-read-table-name): Use them.
12096 (sql-contains-names): New buffer local variable.
12097 (sql-list-all, sql-list-table): Use it.
12098 (sql-oracle-completion-types): New variable.
12099 (sql-oracle-completion-object, sql-sqlite-completion-object)
12100 (sql-postgres-completion-object): New functions.
12101
12102 2011-07-06 Glenn Morris <rgm@gnu.org>
12103
12104 * window.el (pop-to-buffer): Doc fix.
12105
12106 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12107
12108 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12109
12110 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12111
12112 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12113
12114 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12115
12116 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * button.el (button): Inherit from link face. Suggested by Dan
12119 Nicolaescu.
12120
12121 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * progmodes/gdb-mi.el: Fit in 80 columns.
12124 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12125 switch-to-buffer.
12126
12127 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12128 if imenu is simply not configured (bug#8941).
12129
12130 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12131
12132 * allout.el (allout-post-undo-hook): New allout outline-change
12133 event hook to signal undo activity.
12134 (allout-post-command-business): Run allout-post-undo-hook if an
12135 undo just occurred.
12136 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12137 * allout-widgets.el (allout-widgets-after-undo-function):
12138 Ensure the integrity of the current item's decoration after it has been
12139 in the vicinity of an undo.
12140 (allout-widgets-mode): Include allout-widgets-after-undo-function
12141 on the new allout-post-undo-hook.
12142
12143 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12144
12145 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12146 Let define-derived-mode define it.
12147 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12148 cycles of abbrev-table inheritance (bug#8998).
12149
12150 2011-07-05 Roland Winkler <winkler@gnu.org>
12151
12152 * textmodes/bibtex.el: Add support for biblatex.
12153 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12154 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12155 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12156 (bibtex-entry-alist, bibtex-field-alist): New variables.
12157 (bibtex-entry-field-alist): Obsolete alias for
12158 bibtex-BibTeX-entry-alist.
12159 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12160 (bibtex-set-dialect): New command.
12161 (bibtex-entry-type, bibtex-entry-head)
12162 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12163 Bind via bibtex-set-dialect.
12164 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12165 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12166 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12167 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12168 Define via bibtex-set-dialect.
12169 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12170 Obey bibtex-no-opt-remove-re.
12171 (bibtex-vec-push, bibtex-vec-incr): New functions.
12172 (bibtex-format-entry, bibtex-field-list)
12173 (bibtex-print-help-message, bibtex-validate)
12174 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12175
12176 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * progmodes/compile.el (compilation-goto-locus):
12179 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12180 * bs.el (bs-cycle-next, bs-cycle-previous):
12181 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12182 * bindings.el (mode-line-other-buffer):
12183 * autoinsert.el (auto-insert):
12184 * arc-mode.el (archive-extract):
12185 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12186
12187 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12188
12189 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12190 Fix check of `emacs-lock-unlockable-modes'.
12191 Coerce true values of `emacs-lock--try-unlocking' to t.
12192
12193 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12196 * emacs-lock.el: New file.
12197
12198 2011-07-05 Julien Danjou <julien@danjou.info>
12199
12200 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12201 than `boundp' to check if face is set.
12202
12203 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12204
12205 * register.el (registerv-make):
12206 * window.el (window-min-height): Fix typos in docstrings.
12207
12208 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12209
12210 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12211 Update doc string.
12212
12213 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * server.el (server-execute): Catch quit and call
12216 `server-return-error' to pass the error back to emacsclient and
12217 close the connection (bug#8942).
12218
12219 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12220
12221 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12222 insecure exception for current topic. Also note that auto-saves
12223 are handled differently.
12224
12225 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12226 State variables for tracking auto-save inhibition situation.
12227
12228 (allout-write-contents-hook-handler): Rename from
12229 'allout-write-file-hook-handler', and describe how it depends on
12230 write-contents-functions sensitivity to non-nil value to prevent
12231 file write.
12232
12233 (allout-auto-save-hook-handler): Remove. auto-save does not check
12234 this in individual buffers, only in the starting buffer, so this
12235 is not the right way for us to inhibit auto-save in a buffer
12236 according to its condition.
12237
12238 (allout-mode): Use new allout-write-contents-hook-handler, and
12239 only with write-contents-functions. Remove auto-save provisions -
12240 they're implemented elsewhere.
12241
12242 (allout-before-change-handler): If undo is in progress, note that
12243 for attention of allout-post-command-business.
12244
12245 (allout-post-command-business): If the command we're following was
12246 an undo, check for change in the status of encrypted items and
12247 adjust auto-save inhibitions accordingly.
12248
12249 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12250 according to whether there are or aren't any plain-text topics
12251 pending encryption.
12252
12253 (allout-inhibit-auto-save-info-for-decryption):
12254 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12255 if there are plain-text topics pending encryption.
12256
12257 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12258 buffer-saved-size and some allout state to not inhibit auto-saves
12259 if there are no longer any plain-text topics pending encryption.
12260
12261 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12262 No longer provide for exemption of the current topic.
12263
12264 2011-07-04 Juri Linkov <juri@jurta.org>
12265
12266 Add 7z operations to delete and save changed members (bug#8968).
12267 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12268 New defcustoms.
12269 (archive-7z-write-file-member): New function.
12270 (archive-7z-summarize): Fix the number of dashes in the
12271 listing output.
12272
12273 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12274
12275 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12276 (bug#8958).
12277
12278 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12279
12280 * bindings.el: Ignore next-buffer and previous-buffer in
12281 minibuffer-local-map.
12282
12283 * font-lock.el (font-lock-builtin-face): Change light background
12284 color to dark slate blue (Bug#6693).
12285
12286 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12287
12288 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12289
12290 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12293 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12294 Add switch-to-buffer.
12295
12296 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12297
12298 * isearch.el (isearch-search-fun-function): Clarify further the
12299 meaning of the function returned.
12300
12301 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12302
12303 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12304
12305 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12306 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12307 Use it.
12308 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12309 `tramp-default-remote-path' does not exist.
12310 (tramp-send-command-and-read): New optional argument NOERROR.
12311 (tramp-open-connection-setup-interactive-shell)
12312 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12313 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12314 (tramp-process-sentinel): Flush also process' connection property.
12315 (tramp-sh-handle-start-file-process): Do not set process
12316 sentinel. It is done now ...
12317 (tramp-maybe-open-connection): ... here. (Bug#8929)
12318
12319 2011-07-04 MON KEY <monkey@sandpframing.com>
12320
12321 * play/animate.el (animate-string): Doc fixes and allow changing
12322 the buffer name (bug#5417).
12323
12324 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12325
12326 * play/animate.el (animation-buffer-name): Rename from *animate*.
12327
12328 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12329
12330 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12331 This is simpler and helps future-proof the code.
12332 (timer-until): Use time-subtract and float-time.
12333 (timer--time-less-p): Use time-less-p.
12334
12335 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12336
12337 * type-break.el (timep): Use the value of `float-time' to avoid a
12338 byte-compiler warning.
12339
12340 * server.el (server-eval-and-print): Return any result, even nil.
12341
12342 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12343
12344 * type-break.el: Accept time formats that the builtins accept.
12345 (timep, type-break-time-difference): Accept any format that
12346 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12347 This is simpler and helps future-proof the code.
12348 (type-break-time-difference): Round rather than ignoring
12349 subseconds components.
12350
12351 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12352
12353 * info.el (Info-apropos-matches): Make non-interactive, since it
12354 doesn't seem to do anything useful as a command (bug#8829).
12355
12356 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12357
12358 * frame.el (frame-background-mode, frame-set-background-mode):
12359 Move from faces.el.
12360 (frame-default-terminal-background): New function.
12361
12362 * custom.el (custom-push-theme): Don't record faces in `changed'
12363 theme; this doesn't work correctly for per-frame face settings.
12364 (disable-theme): Use face-set-after-frame-default to reset faces.
12365 (custom--frame-color-default): New function.
12366
12367 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12368
12369 * dired.el (dired-flagging-regexp): Remove unused variable
12370 (bug#8769).
12371
12372 2011-03-29 Kevin Ryde <user42@zip.com.au>
12373
12374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12375 `perl-Test2' extend to match possible "fail #N" rep count
12376 (bug#8377).
12377
12378 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12379
12380 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12381 `smtpmail-via-smtp' now returns the error instead of nil.
12382
12383 * isearch.el (isearch-search-fun-function): Clarify the doc string
12384 (bug#8101).
12385
12386 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12387
12388 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12389 unnecessary spaces (bug#8987).
12390
12391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12392
12393 * net/network-stream.el (open-network-stream): Use the
12394 :end-of-capability command thoughout.
12395
12396 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12397
12398 * net/network-stream.el (open-network-stream): Add the
12399 :end-of-capability command parameter, used by pop3.el.
12400
12401 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12402
12403 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12404
12405 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12406 for list)" (bug#6475).
12407
12408 * files.el (file-expand-wildcards): Ignore non-readable
12409 sub-directories while trying to find matches instead of signaling
12410 an error (bug#6297).
12411
12412 * man.el (Man-reference-regexp): Allow matching possible
12413 word-wrapped references (bug#6289).
12414
12415 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12416 for consistency with the other vc buffers (bug#6197).
12417 (vc-checkin): Ditto.
12418
12419 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12420
12421 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12422
12423 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12424
12425 * custom.el (defcustom): Clarify that :set is only used in the
12426 Customize user interface (bug#6089).
12427
12428 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12429 associated with a file, refuse to run instead of erroring out
12430 (bug#6084).
12431
12432 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12433 the doc string, since it appears that using `fill-column' always
12434 controls the width (bug#7845).
12435
12436 * simple.el (shell-command-on-region): Say where the error output
12437 went if `shell-command-default-error-buffer' is set (bug#6857).
12438
12439 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12440
12441 * allout.el (allout-yank-processing): Adjust cursor position for
12442 backwards-deleted space.
12443
12444 (allout-rebullet-heading): Register changes with
12445 allout-exposure-changed-hook, so the modified topic is properly
12446 decorated.
12447
12448 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12449
12450 * minibuffer.el (completion-in-region): Document PREDICATE
12451 (bug#7136).
12452
12453 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12454 of keyword/argument pairs (bug#6904).
12455
12456 * replace.el (multi-occur):
12457 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12458
12459 2011-07-02 Drew Adams <drew.adams@oracle.com>
12460
12461 * dired.el (dired-mark-if): Make the message about whether it's
12462 marking or unmarking clearer (bug#8523).
12463
12464 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12465
12466 * disp-table.el (display-table-print-array): New function.
12467 (describe-display-table): Use it to print the vectors more pretty
12468 (Bug#8859).
12469
12470 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12471
12472 * window.el (window-state-get-1): Don't assign clone numbers.
12473 Add clone-of item to list of window parameters.
12474 (window-state-put-2): Don't process clone numbers.
12475 (display-buffer-alist): Fix doc-string.
12476
12477 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * subr.el (remq): Don't allocate if it's not needed.
12480 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12481 (keymap--merge-bindings): New functions.
12482 (keymap-canonicalize): Use them to refine the canonicalization.
12483 * minibuffer.el (minibuffer-local-completion-map)
12484 (minibuffer-local-must-match-map): Move initialization from C.
12485 (minibuffer-local-filename-completion-map): Move initialization from C;
12486 don't inherit from anything here.
12487 (minibuffer-local-filename-must-match-map): Make obsolete.
12488 (completing-read-default): Use make-composed-keymap to combine
12489 minibuffer-local-filename-completion-map with either
12490 minibuffer-local-must-match-map or
12491 minibuffer-local-filename-completion-map.
12492
12493 2011-07-01 Glenn Morris <rgm@gnu.org>
12494
12495 * type-break.el (type-break-time-sum): Use dolist.
12496
12497 * textmodes/flyspell.el (flyspell-word-search-backward):
12498 Replace CL function.
12499
12500 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * mouse.el (mouse--strip-first-event): New function.
12503 (function-key-map): Use it to map fringe clicks to normal clicks
12504 by default.
12505
12506 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12507 (vc-bzr-revision-completion-table): Add support for annotate and date.
12508
12509 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12510 inherit from parent.
12511
12512 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12513
12514 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12515 (dired-show-file-type): Doc fixup (bug#8818).
12516
12517 * dired.el (dired-mode): Fix up the doc string as suggested by
12518 Drew Adams (bug#8817).
12519
12520 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12521 cookie, since the manual says that it should be possible to add
12522 this function to `find-file-hook' (bug#8709).
12523
12524 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12525
12526 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12527 here. Noted Ted Zlatanov as the maintainer.
12528 (cfengine-common-settings, cfengine-common-syntax): New functions
12529 to set up common things between `cfengine-mode' and
12530 `cfengine3-mode'.
12531 (cfengine3-mode): New mode.
12532 (cfengine3-defuns cfengine3-defuns-regex
12533 (cfengine3-class-selector-regex cfengine3-category-regex)
12534 (cfengine3-vartypes cfengine3-font-lock-keywords)
12535 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12536 (cfengine3-indent-line): Add from cfengine3.el.
12537
12538 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12539
12540 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12541
12542 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12543
12544 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12545
12546 * window.el (same-window-buffer-names, same-window-regexps)
12547 (same-window-p, special-display-frame-alist)
12548 (special-display-popup-frame, special-display-function)
12549 (special-display-buffer-names, special-display-regexps)
12550 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12551 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12552 (split-window-preferred-function, split-height-threshold)
12553 (split-width-threshold, even-window-heights)
12554 (display-buffer-mark-dedicated, window-splittable-p)
12555 (split-window-sensibly, window-safely-shrinkable-p):
12556 Un-obsolete.
12557 (display-buffer): Don't spread args with function specifier
12558 because special-display-popup-frame won't like it.
12559
12560 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12561
12562 Time-stamp simplifications and fixes.
12563 These improve accuracy slightly, and future-proof the code
12564 against some potential changes to current-time format.
12565
12566 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12567 by using time-since and float-time.
12568
12569 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12570 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12571 + NNN microseconds".
12572
12573 * type-break.el (type-break-time-sum): Rewrite using time-add.
12574
12575 * play/hanoi.el (hanoi-current-time-float): Remove.
12576 All uses replaced by float-time.
12577
12578 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12579 This yields a more-accurate answer.
12580 (rng-time-to-float): Remove; no longer needed.
12581
12582 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12583
12584 * calendar/timeclock.el (timeclock-seconds-to-time):
12585 Defalias to seconds-to-time, since they're the same thing.
12586
12587 * emacs-lisp/elp.el (elp-elapsed-time):
12588 * emacs-lisp/benchmark.el (benchmark-elapse):
12589 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12590
12591 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * window.el (bury-buffer): Don't iconify the only frame.
12594 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12595 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12596
12597 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12598
12599 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12600 Add mouse-yank-primary.
12601
12602 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12603
12604 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12605
12606 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12609 (find-library-name): Use it to find relative load names when provided
12610 absolute file name (bug#8803).
12611
12612 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12613
12614 * textmodes/flyspell.el (flyspell-word): Consider words that
12615 differ only in case as potential doublons (bug#5687).
12616
12617 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12618 Remove two rather uninteresting debugging-like messages to make
12619 debbugs.el more silent.
12620
12621 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12622 a password-like phrase.
12623
12624 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12625
12626 * progmodes/cc-guess.el: New file.
12627
12628 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12629
12630 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12631 derived from `c-basic-common-init'.
12632
12633 * progmodes/cc-mode.el (top-level): Require cc-guess.
12634 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12635
12636 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12637
12638 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12639
12640 2011-06-30 Alan Mackenzie <acm@muc.de>
12641
12642 * progmodes/cc-engine.el (c-guess-continued-construct):
12643 Correct the handling of template-args-cont, particularly for when font
12644 lock is disabled. Name this case as "CASE G".
12645
12646 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12647
12648 * allout.el (allout-yank-processing): Fix injection of extra space
12649 between bullet and non-whitespace character in first topic when
12650 pasting, ensuring that the actual spacing in the pasted topic
12651 following the bullet char is preserved. This extra space was
12652 causing pasted encrypted topics to get a decrypted status even
12653 when the content was actually still encrypted. Now the decryption
12654 status from before the paste is preserved.
12655
12656 (allout-flag-region): Set all allout overlays so they evaporate
12657 when reduced to zero length (evanescent), to prevent overlay
12658 leakage.
12659
12660 2011-06-30 Glenn Morris <rgm@gnu.org>
12661
12662 * w32-fns.el (w32-charset-info-alist): Declare.
12663
12664 * find-dired.el (find-grep-options): Simplify.
12665
12666 * term/ns-win.el (ns-set-resource): Declare.
12667
12668 * ses.el (row, col): Declare dynamic variables honestly.
12669
12670 * textmodes/reftex-parse.el (index-tags): Declare.
12671
12672 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12673
12674 * cus-edit.el (customize-push-and-save): New function.
12675
12676 * files.el (hack-local-variables-confirm): Use it.
12677
12678 * custom.el (load-theme): New arg NO-CONFIRM.
12679 Use customize-push-and-save (Bug#8720).
12680 (custom-enabled-themes): Doc fix.
12681
12682 * cus-theme.el (customize-create-theme)
12683 (custom-theme-merge-theme): Callers to load-theme changed.
12684
12685 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12686
12687 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12688 short URLs have at least one dot in them (bug #7614).
12689
12690 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12691 nil, because using a pty is apparently too slow (bug #895).
12692
12693 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
12695 * mail/sendmail.el (sendmail-query-once): New function.
12696 (sendmail-query-once-function): New variable.
12697
12698 2011-06-29 Glenn Morris <rgm@gnu.org>
12699
12700 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12701
12702 * ses.el (top-level): Require cl when compiling.
12703 (ses-set-localvars): Fix error statement.
12704 Call it at compile time to silence a storm of warnings.
12705
12706 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12707
12708 * window.el (normalize-live-buffer): Rename to
12709 window-normalize-buffer.
12710 (normalize-live-frame): Rename to window-normalize-frame.
12711 (normalize-any-window): Rename to window-normalize-any-window.
12712 (normalize-live-window): Rename to window-normalize-live-window.
12713 (make-window-atom): Rename to window-make-atom.
12714 (window-resize-reset): Rename to window--resize-reset.
12715 (window-resize-reset-1): Rename to window--resize-reset-1.
12716 (resize-mini-window): Rename to window--resize-mini-window.
12717 (resize-subwindows-skip-p): Rename to
12718 window--resize-subwindows-skip-p.
12719 (resize-subwindows-normal): Rename to
12720 window--resize-subwindows-normal.
12721 (resize-subwindows): Rename to window--resize-subwindows.
12722 (resize-other-windows): Rename to window--resize-siblings.
12723 (resize-this-window): Rename to window--resize-this-window.
12724 (resize-root-window): Rename to window--resize-root-window.
12725 (resize-root-window-vertically): Rename to
12726 window--resize-root-window-vertically.
12727 (normalize-buffer-to-display): Rename to
12728 window-normalize-buffer-to-display.
12729 (normalize-buffer-to-switch-to): Rename to
12730 window-normalize-buffer-to-switch-to.
12731 Correspondingly update all callers of the functions listed
12732 above.
12733 (display-buffer-alist, display-buffer-normalize-arguments)
12734 (display-buffer-normalize-options, display-buffer)
12735 (display-buffer-alist-set): Use "function" instead of
12736 "fun-with-args".
12737
12738 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12739
12740 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12741 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12742 debbugs.gnu.org. Mention acknowledgment email.
12743
12744 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12745
12746 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12747 buffer multibyteness, since it shouldn't matter.
12748
12749 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12750
12751 * window.el (display-buffer-in-side-window): Handle dedicated
12752 windows as in display-buffer-reuse-window.
12753 (display-buffer-normalize-alist): Use value of override
12754 specifier.
12755 (display-buffer-normalize-specifiers): Use value of
12756 other-window-means-other-frame specifier.
12757 (display-buffer-alist): Rewrite some texts in widgets.
12758 (display-buffer): Spread arguments when calling function
12759 specified by fun-with-args.
12760
12761 2011-06-28 Deniz Dogan <deniz@dogan.se>
12762
12763 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12764 Unnest `let'.
12765
12766 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12767 selectors (Bug#5732).
12768 (css-proprietary-nmstart-re): Use `regexp-opt'.
12769
12770 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12771
12772 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12773 (eshell-ls-date-format): New defcustom.
12774 (eshell-ls-file): Use it.
12775
12776 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12779
12780 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12781
12782 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12783 (ange-ftp-make-tmp-name): New arg.
12784 (ange-ftp-file-local-copy): Use it.
12785
12786 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12787
12788 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12789 no-conversion (Bug#8870).
12790
12791 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12792
12793 * window.el (window-right, window-left, window-child)
12794 (window-child-count, window-last-child)
12795 (window-iso-combination-p, walk-window-tree-1)
12796 (window-atom-check-1, window-tree-1, delete-window)
12797 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12798 new naming conventions - window-vchild, window-hchild,
12799 window-next and window-prev are now called window-top-child,
12800 window-left-child, window-next-sibling and window-prev-sibling
12801 respectively.
12802 (resize-window-reset): Rename to window-resize-reset.
12803 (resize-window-reset-1): Rename to window-resize-reset-1.
12804 (resize-window): Rename to window-resize.
12805 (window-min-height, window-min-width)
12806 (resize-mini-window, resize-this-window, resize-root-window)
12807 (resize-root-window-vertically, adjust-window-trailing-edge)
12808 (enlarge-window, shrink-window, maximize-window)
12809 (minimize-window, delete-window, quit-restore-window)
12810 (split-window, balance-windows, balance-windows-area-adjust)
12811 (balance-windows-area, window-state-put-2)
12812 (display-buffer-even-window-sizes, display-buffer-set-height)
12813 (display-buffer-set-width, set-window-text-height)
12814 (fit-window-to-buffer): Rename all "resize-window" prefixed
12815 calls to use the "window-resize" prefix convention.
12816 (display-buffer-alist): Fix symbol for label specifier.
12817 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
12818 corresponding specifier.
12819 Reported by Juanma Barranquero <lekktu@gmail.com>.
12820
12821 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12822
12823 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
12824 convention.
12825 (ses-call-printer): Does not pass an empty string to formatter when the
12826 cell is empty to keep from barking printer Calc math-format-value.
12827
12828 2011-06-27 Richard Stallman <rms@gnu.org>
12829
12830 * battery.el (battery-mode-line-limit): New variable.
12831 (battery-update): Handle it.
12832
12833 * mail/rmailmm.el (rmail-mime-process-multipart):
12834 Handle truncated messages.
12835
12836 2011-06-27 Glenn Morris <rgm@gnu.org>
12837
12838 * progmodes/flymake.el (flymake-err-line-patterns):
12839 Allow for column numbers in the ant/javac pattern. (Bug#8866)
12840
12841 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
12842
12843 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
12844 (ses--clean-!, ses--clean-_): New functions.
12845 (ses-range): Add configurability of readout order, and conversion
12846 to Calc vector.
12847
12848 * ses.el (ses-repair-cell-reference-all): New function.
12849 (ses-cell-symbol): Set macro as safe, so that it can be used in
12850 formulas.
12851
12852 * ses.el: Update cycle detection algorithm.
12853 (ses-localvars): Add ses--Dijkstra-attempt-nb and
12854 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
12855 (ses-set-localvars): New function.
12856 (ses-make-cell): Add property-list as a cell element.
12857 (ses-cell-property-get-fun, ses-cell-property-get)
12858 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
12859 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
12860 New functions.
12861 (ses-cell-property-set, ses-cell-property-pop)
12862 (ses-cell-property-get-handle): New macro.
12863 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
12864 New aliases, used for code readability.
12865 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
12866 cycle detection.
12867 (ses-self-reference-early-detection): New defcustom.
12868 (ses-formula-references): Robustify against self-referring cells.
12869 (ses-mode): Use ses-set-localvars.
12870 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
12871 before lauching the update processing.
12872 (ses-initialize-Dijkstra-attempt): New function.
12873 (ses-recalculate-cell): Update for cycle detection based on
12874 Dijkstra algorithm.
12875
12876 * ses.el: Fix commenting and indenting convention.
12877
12878 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * bs.el (bs-cycle-next): Complete last change.
12881
12882 2011-06-27 Drew Adams <drew.adams@oracle.com>
12883
12884 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
12885
12886 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12887
12888 * net/network-stream.el (network-stream-open-starttls):
12889 Don't re-get capabilities unless we've reestablished connection.
12890 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
12891
12892 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
12893 to binary to possibly avoid line encoding issues on Windows (among
12894 other things).
12895
12896 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897
12898 * net/network-stream.el (open-network-stream): Return an :error
12899 saying what the problem was, if possible.
12900
12901 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
12902 server.
12903
12904 * net/network-stream.el (network-stream-open-starttls): If we
12905 wanted to use STARTTLS, and the server offered it, but we weren't
12906 able to because we had no STARTTLS support, then close the connection.
12907 (open-network-stream): Return an :error element, if present.
12908
12909 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12910
12911 * hl-line.el (hl-line-sticky-flag): Doc fix.
12912 (global-hl-line-sticky-flag): New option (Bug#8323).
12913 (global-hl-line-highlight): Obey it.
12914
12915 * vc/vc.el (vc-revert-show-diff): Default to t.
12916
12917 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
12918
12919 * allout-widgets.el (allout-widgets-post-command-business):
12920 Stop decorating intermediate isearch matches. They're not being
12921 undecorated when an isearch is continued past, and isearch
12922 automatically collapses them. This leads to "widget leaks", where
12923 decorated items accumulate in collapsed areas. Lines with lots of
12924 hidden widgets can slow down cursor travel, substantially.
12925 Too much complicated machinery would be needed to ensure undecoration,
12926 so we're doing without this nicety.
12927
12928 (allout-widgets-tally-string): Don't try to do a hash-table-count
12929 of allout-widgets-tally when it's nil. This eliminates spurious "Error
12930 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
12931 *Messages* when allout-widgets-maintain-tally is t.
12932
12933 2011-06-26 Martin Rudalics <rudalics@gmx.at>
12934
12935 * window.el (display-buffer-normalize-argument): Rename to
12936 display-buffer-normalize-arguments. Handle special meaning of
12937 LABEL argument. Respect special-display-function when popping up
12938 a new frame. Fix code searching for a window showing the buffer
12939 on another frame.
12940 (display-buffer-normalize-specifiers):
12941 Call display-buffer-normalize-arguments.
12942 (display-buffer-in-window): Don't undedicate the window if its
12943 buffer remains the same.
12944 Reported by Drew Adams <drew.adams@oracle.com>.
12945 (display-buffer-alist): Add choice for same-window macro
12946 specfier.
12947 (display-buffer): Mention special meaning of LABEL argument in
12948 doc-string. Fix quoting. Don't pop up a new frame even as
12949 fallback.
12950
12951 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
12952
12953 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
12954 avoid deleting the current window in some cases (bug#8911).
12955
12956 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
12957
12958 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
12959 (Bug#8934)
12960
12961 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12962
12963 * net/network-stream.el (network-stream-open-starttls):
12964 Use built-in TLS support if `gnutls-available-p' is true.
12965 (network-stream-open-tls): Ditto.
12966
12967 2011-06-26 Leo Liu <sdl.web@gmail.com>
12968
12969 * register.el (registerv): New struct.
12970 (registerv-make): New function.
12971 (jump-to-register, describe-register-1, insert-register):
12972 Support the jump-func, print-func and insert-func slot of a registerv
12973 struct. (Bug#8415)
12974
12975 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
12976
12977 * vc/vc.el (vc-revert-show-diff): New defcustom.
12978 (vc-diff-internal): New arg specifying diff buffer.
12979 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
12980 reuse an existing *vc-diff* buffer (Bug#8927).
12981
12982 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
12983
12984 2011-06-26 Glenn Morris <rgm@gnu.org>
12985
12986 * progmodes/f90.el (f90-critical-indent): New option.
12987 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
12988 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
12989 (f90-mode): Doc fix.
12990 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
12991 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
12992 (f90-beginning-of-block, f90-next-block, f90-indent-region)
12993 (f90-match-end): Handle block, critical.
12994
12995 2011-06-25 Glenn Morris <rgm@gnu.org>
12996
12997 * calendar/diary-lib.el (diary-included-files): Doc fix.
12998 (diary-include-files): New function, extracted from
12999 diary-include-other-diary-files and diary-mark-included-diary-files.
13000 (diary-include-other-diary-files, diary-mark-included-diary-files):
13001 Just call diary-include-files.
13002 (diary-mark-entries): Reset diary-included-files on first call.
13003
13004 * calendar/diary-lib.el (diary-mark-entries)
13005 (diary-mark-included-diary-files):
13006 Visit included diary-files in temp buffers.
13007
13008 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13009 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13010 (f90-start-block-re, f90-imenu-generic-expression)
13011 (f90-looking-at-program-block-start, f90-no-block-limit):
13012 Add support for submodules.
13013
13014 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13015 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13016
13017 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13018
13019 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13020 buffer-file-type before setting its value, to avoid disastrous
13021 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13022
13023 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13026
13027 * ses.el (ses-unload-function):
13028 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13029
13030 * proced.el (proced-unload-function):
13031 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13032
13033 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13034
13035 * server.el (server-create-window-system-frame): Add parameters arg.
13036 (server-process-filter): Doc fix. Handle frame-parameters.
13037
13038 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13039
13040 Fix bug#8730, bug#8781.
13041
13042 * loadhist.el (unload--set-major-mode): New function.
13043 (unload-feature): Use it.
13044
13045 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13046 (python-unload-function): New function.
13047
13048 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13051
13052 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13053
13054 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13055 the candidates list.
13056
13057 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13058
13059 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13060
13061 2011-06-23 Richard Stallman <rms@gnu.org>
13062
13063 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13064 (rmail-variables): Set next-error-move-function.
13065 (rmail-what-message): Take argument POS.
13066 (rmail-next-error-move): New function.
13067
13068 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13071 messages for adjacent non-terminals.
13072
13073 2011-06-23 Richard Stallman <rms@gnu.org>
13074
13075 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13076 (rmail-show-message-1): Preserve buffer modified flag.
13077 (rmail-start-mail): Don't specify use of rmail-mail-return;
13078 that's done by mail-bury now.
13079 (rmail-mail-return): Handle arg NEWBUF.
13080
13081 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13082
13083 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13084 SIZE is a number.
13085
13086 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13087
13088 * window.el (get-lru-window, get-mru-window)
13089 (get-largest-window): Never return a minibuffer window.
13090 (display-buffer-pop-up-window): Fix a bug that could lead to
13091 reusing the minibuffer window.
13092 (display-buffer): Pass original specifier argument to
13093 display-buffer-function instead of the normalized one.
13094 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13095
13096 2011-06-22 Leo Liu <sdl.web@gmail.com>
13097
13098 * minibuffer.el (completing-read-function)
13099 (completing-read-default): Move from minibuf.c
13100
13101 2011-06-22 Richard Stallman <rms@gnu.org>
13102
13103 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13104 to Rmail even if not started by a special Rmail command.
13105
13106 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13107 Copy the buffer currently showing just one message.
13108
13109 2011-06-22 Roland Winkler <winkler@gnu.org>
13110
13111 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13112 (bibtex-clean-entry): First delete the old key so that a
13113 customized algorithm for generating the new key does not get
13114 confused by the old key.
13115 (bibtex-url): Obey regexp of first step.
13116 (bibtex-search-entries): Do not use add-to-list with local
13117 list-var.
13118
13119 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13120
13121 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13122 stored a user name, then query for the password first, instead of
13123 waiting for SMTP to give an error message and the trying again.
13124
13125 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13126
13127 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13128 BUFFER in call-process.
13129
13130 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13131
13132 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13133 QUIT twice.
13134 (smtpmail-try-auth-methods): Require user name and password from
13135 auth-source.
13136
13137 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13138
13139 * window.el (display-buffer-default-specifiers)
13140 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13141 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13142 (split-window): Normalize SIDE argument (Bug#8916).
13143
13144 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13145 (special-display-frame-alist, special-display-popup-frame):
13146 Remove duplicate declarations. These are now in window.el.
13147
13148 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13149
13150 * mail/smtpmail.el (smtpmail-via-smtp):
13151 Set :use-starttls-if-possible so that we always use STARTTLS if the
13152 server supports it. SMTP servers that support STARTTLS commonly
13153 require it.
13154
13155 * net/network-stream.el (network-stream-open-starttls): Support
13156 upgrading to STARTTLS always, even if we don't have built-in support.
13157 (open-network-stream): Add the :always-query-capabilities keyword.
13158
13159 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13160 upgrades with `open-network-stream', and rely solely on
13161 auth-source for all credentials. Big changes throughout the file,
13162 but in particular:
13163 (smtpmail-auth-credentials): Remove.
13164 (smtpmail-starttls-credentials): Remove.
13165 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13166 MAIL FROM, too.
13167
13168 * net/network-stream.el (network-stream-open-starttls):
13169 Provide support for client certificates both for external and built-in
13170 STARTTLS.
13171 (auth-source): Require.
13172 (open-network-stream): Document the :client-certificate keyword.
13173 (network-stream-certificate): Change cert-cert to cert and
13174 cert-key to key.
13175
13176 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13177
13178 * net/tramp-cache.el (top): Don't load the persistency file when
13179 "emacs -Q" has been called.
13180
13181 2011-06-21 Tim Harper <timcharper@gmail.com>
13182
13183 * term/ns-win.el (ns-initialize-window-system):
13184 Set application-specific `ApplePressAndHoldEnabled' system
13185 resource to NO as it is not yet supported by the NS port.
13186
13187 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13188
13189 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13190 (list-dynamic-libraries): ...not here.
13191
13192 2011-06-21 Leo Liu <sdl.web@gmail.com>
13193
13194 * subr.el (sha1): Implement sha1 using secure-hash.
13195
13196 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13197
13198 * window.el (display-buffer-alist): In default value do not
13199 enforce searching a window on any but the selected frame.
13200 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13201 (display-buffer-select-window): Remove function.
13202 (display-buffer-in-window): When a window on another frame gets
13203 reused, do not select it any more but just raise its frame if
13204 necessary (Bug#8851) and (Bug#8856).
13205 (display-buffer-normalize-options): Handle pop-up-frames related
13206 options more faithfully.
13207 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13208 window if it is on another frame.
13209 (display-buffer-alist, display-buffer-default-specifiers):
13210 Don't make new frame unsplittable by default.
13211 (display-buffer-normalize-argument): Fix doc-string typo and use
13212 'same-frame-other-window instead of 'other-window when associating
13213 with display-buffer-macro-specifiers.
13214
13215 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13216
13217 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13218 New functions.
13219 (5x5-mode-map, 5x5-mode-menu): Bind them.
13220 (5x5-draw-grid): Tweak the solver's rendering.
13221
13222 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13225 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13226
13227 2011-06-21 Drew Adams <drew.adams@oracle.com>
13228
13229 * menu-bar.el: Use function variable instead of switch-to-buffer.
13230 (menu-bar-select-buffer-function): New variable.
13231 (menu-bar-update-buffers): Use it (bug#8876).
13232
13233 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13234
13235 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13236 variable's status.
13237
13238 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13239
13240 * x-dnd.el (x-dnd-version-from-flags)
13241 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13242 and long as number (Bug#8899).
13243 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13244
13245 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13248 (completion-try-completion, completion-all-completions): Compute the
13249 metadata argument if it's missing; make it optional (bug#8795).
13250
13251 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13252 (widget-complete): Use new :completion-function property.
13253 (widget-completions-at-point): New function.
13254 (default): Use :completion-function instead of :complete.
13255 (widget-default-completions): Rename from widget-default-complete;
13256 Rewrite.
13257 (widget-string-complete, widget-file-complete, widget-color-complete):
13258 Remove functions.
13259 (file, symbol, function, variable, coding-system, color):
13260 * international/mule-cmds.el (default-input-method, charset)
13261 (language-info-custom-alist):
13262 * cus-edit.el (face): Use new property :completions.
13263
13264 * progmodes/pascal.el (pascal-completions-at-point): New function.
13265 (pascal-mode): Use it.
13266 (pascal-mode-map): Use completion-at-point.
13267 (pascal-toggle-completions): Make obsolete.
13268 (pascal-complete-word, pascal-show-completions):
13269 * progmodes/octave-mod.el (octave-complete-symbol):
13270 Redefine as obsolete alias.
13271 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13272 Signal absence of completion info for old Octave,
13273 (inferior-octave-complete): Redefine as obsolete alias.
13274 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13275 (meta-completions-at-point): Rename from meta-complete-symbol and
13276 adapt it for use on completion-at-point-functions.
13277 (meta-common-mode): Use it.
13278 (meta-looking-at-backward, meta-match-buffer): Remove.
13279 (meta-complete-symbol): Redefine as obsolete alias.
13280 (meta-common-mode-map): Use completion-at-point.
13281 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13282 (makefile-mode-map): Use completion-at-point.
13283 (makefile-completions-at-point): Rename from makefile-complete and
13284 adapt it for use on completion-at-point-functions.
13285 (makefile-mode): Use it.
13286 (makefile-complete): Redefine as obsolete alias.
13287
13288 2011-06-20 Deniz Dogan <deniz@dogan.se>
13289
13290 * net/rcirc.el: Delete trailing whitespaces once and for all.
13291
13292 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13293
13294 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13295
13296 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13297
13298 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13299
13300 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13301
13302 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13303
13304 * window.el (display-buffer-other-window-means-other-frame):
13305 Call display-buffer-normalize-alist.
13306 (display-buffer-normalize-specifiers-1): Rename to
13307 display-buffer-normalize-argument. New argument other-frame.
13308 Rewrite.
13309 (display-buffer-normalize-specifiers-2): Rename to
13310 display-buffer-normalize-options.
13311 (display-buffer-normalize-alist-1): New function.
13312 (display-buffer-normalize-specifiers-3): Rename to
13313 display-buffer-normalize-alist.
13314 Call display-buffer-normalize-alist-1.
13315 (display-buffer-normalize-options-inhibit): New variable.
13316 (display-buffer-normalize-specifiers): Rewrite calling
13317 display-buffer-normalize-alist,
13318 display-buffer-normalize-argument, and
13319 display-buffer-normalize-options. Don't call the latter if
13320 display-buffer-normalize-options-inhibit is non-nil.
13321 (frame-auto-delete): New option.
13322 (window-deletable-p): Use frame-auto-delete.
13323 (window-list-no-nils, window-state-ignored-parameters)
13324 (window-state-get-1, window-state-get, window-state-put-list)
13325 (window-state-put-1, window-state-put-2, window-state-put):
13326 New functions.
13327 (display-buffer-normalize-options): Move special-display-p group
13328 after pop-up-frame group (Bug#8851) and (Bug#8856).
13329
13330 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13331
13332 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13333 groups (Bug#8776).
13334 (rx-submatch-n): New function.
13335 (rx): Document it.
13336
13337 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13338 (Bug#8768).
13339
13340 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13341
13342 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13343
13344 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13345 anytime existing face settings are present (Bug#8889).
13346
13347 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13348 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13349 Remove unused argument.
13350
13351 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13352
13353 * window.el (display-buffer-default-specifiers):
13354 Remove pop-up-frame. Add pop-up-window-min-height,
13355 pop-up-window-min-width, and another reuse-window specifier
13356 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13357 (display-buffer-normalize-specifiers-2):
13358 Handle split-height-threshold and split-width-threshold also when
13359 pop-up-windows is unset. Add a reuse-window specifier for the
13360 case popping up a new window fails.
13361 (special-display-popup-frame): Remove double quoting.
13362 (display-buffer-normalize-specifiers-1): Fix thinko.
13363
13364 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13367 according to comint-completion-addsuffix.
13368
13369 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13370 (pcomplete-suffix-list): Mark as obsolete.
13371 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13372 pcomplete-seen in the closure.
13373 (pcomplete-comint-setup): Setup completion-at-point as well.
13374 (pcomplete--entries): New function.
13375 (pcomplete--env-regexp): New var.
13376 (pcomplete-entries): Rewrite to work with partial-completion and
13377 without relying on pcomplete-suffix-list.
13378 (pcomplete-pare-list): Remove, unused.
13379
13380 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13381
13382 * window.el (display-buffer-alist): Set pop-up-window-min-height
13383 and pop-up-window-min-width in default value. Reported by
13384 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13385 other-window-means-other-frame.
13386 (display-buffer-macro-specifiers): Comment out entry for
13387 other-window specifier.
13388 (display-buffer-other-window-means-other-frame): New function.
13389 (display-buffer-normalize-specifiers-1): New arguments
13390 buffer-name and label. Treat other-window case specially.
13391 (display-buffer-normalize-specifiers-2): Treat other-window case
13392 specially.
13393 (display-buffer-normalize-specifiers-3): New function.
13394 (display-buffer-normalize-specifiers):
13395 Call display-buffer-normalize-specifiers-3.
13396
13397 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13398
13399 * window.el (same-window-p): Fix two typos introduced when
13400 adding with-no-warnings.
13401 (display-buffer-normalize-specifiers-1): Don't check
13402 pop-up-frames for 'unset initialization.
13403 (display-buffer-normalize-specifiers-2): Major rewrite using
13404 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13405 (pop-up-frames, display-buffer-reuse-frames)
13406 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13407 Suggested by David Engster <deng@randomsample.de>.
13408 (even-window-heights): Initialize to 'unset.
13409 (display-buffer-alist-set): Handle new 'unset initializations.
13410 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13411 other window case.
13412
13413 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13414
13415 * window.el (display-buffer-normalize-specifiers-1):
13416 Respect current value of pop-up-frames for most reasonable values of
13417 second argument of display-buffer (Bug#8865).
13418 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13419 (switch-to-buffer-other-window-same-frame)
13420 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13421 Adams (Bug#8875).
13422 (display-buffer): Don't check noninteractive when calling
13423 display-buffer-pop-up-frame.
13424 (display-buffer-pop-up-frame): Never pop up a frame in
13425 noninteractive mode (Bug#8857).
13426 (enlarge-window, shrink-window): Don't report an error when the
13427 window can't be resized as requested (Bug#8862).
13428
13429 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13430
13431 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13432
13433 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13434
13435 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13436
13437 2011-06-15 Alan Mackenzie <acm@muc.de>
13438
13439 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13440 for declarators, disable knr checking to speed up for normal files.
13441 2: Refactor, replacing a sequence of nested if forms by a cond form.
13442
13443 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13444
13445 * net/network-stream.el (open-network-stream): Add the keyword
13446 :always-query-capabilities for the case where you want to force a
13447 `plain' network connection, but the protocol still requires the
13448 capabilitiy command (i.e., SMTP and EHLO).
13449
13450 * subr.el (process-live-p): Rename from `process-alive-p' for
13451 consistency with other `-live-p' functions.
13452
13453 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * window.el (same-window-buffer-names, same-window-regexps)
13456 (special-display-frame-alist, special-display-popup-frame)
13457 (special-display-function, special-display-buffer-names)
13458 (special-display-regexps, pop-up-frame-alist)
13459 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13460 (pop-up-windows, split-window-preferred-function)
13461 (split-height-threshold, split-width-threshold, even-window-heights)
13462 (display-buffer-mark-dedicated): Don't encourage the use of
13463 display-buffer-alist from Elisp code.
13464
13465 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13466
13467 * progmodes/python.el (python-mode): Derive from prog-mode.
13468 * progmodes/ps-mode.el (ps-mode):
13469 * progmodes/mixal-mode.el (mixal-mode):
13470 * progmodes/cfengine.el (cfengine-mode):
13471 * progmodes/ld-script.el (ld-script-mode): Likewise.
13472
13473 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13474
13475 * window.el (display-buffer-alist): Trim default value to avoid
13476 popping up a new frame (Bug#8857) or reusing an arbitrary window
13477 on another frame.
13478 (display-buffer): Do not fall back on popping up a new frame in
13479 batch mode (Bug#8857).
13480
13481 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13482
13483 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13484 (custom-theme-summary): New function.
13485 (customize-themes): Use it.
13486
13487 2011-06-13 Glenn Morris <rgm@gnu.org>
13488
13489 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13490
13491 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13492
13493 * help.el (help-window): Remove variable.
13494 (help-window-point-marker, temp-buffer-max-height)
13495 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13496 (help-print-return-message): Don't set help-window.
13497 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13498 (help-window-setup-finish): Remove.
13499 (help-window-display-message, help-window-setup)
13500 (with-help-window): Major rewrite based on new
13501 display-buffer-window variable.
13502
13503 * help-mode.el (help-mode-finish): Remove help-window related
13504 code.
13505
13506 * view.el (view-exits-all-viewing-windows): Remove reference to
13507 view-return-to-alist in doc-string.
13508 (view-return-to-alist): Make obsolete.
13509 (view-buffer): Call pop-to-buffer-same-window and remove
13510 undo-window code.
13511 (view-buffer-other-window): Call pop-to-buffer-other-window and
13512 simplify code. Ignore second argument.
13513 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13514 simplify code. Ignore second argument.
13515 (view-return-to-alist-update): Make obsolete.
13516 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13517 Rewrite using quit-restore window parameters.
13518 (view-mode-exit): Rename second argument to EXIT-ONLY.
13519 Rewrite using quit-restore-window.
13520 (View-exit, View-exit-and-edit, View-leave, View-quit)
13521 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13522 appropriate arguments.
13523 (view-end-message): Use quit-restore window parameter.
13524
13525 * window.el (display-buffer-function): Rewrite doc-string.
13526 (display-buffer-window, display-buffer-alist): New variables.
13527 (display-buffer-split-specifiers)
13528 (display-buffer-side-specifiers)
13529 (display-buffer-macro-specifiers): New constants.
13530 (display-buffer-even-window-sizes, display-buffer-set-height)
13531 (display-buffer-set-width, display-buffer-select-window)
13532 (display-buffer-in-window, display-buffer-reuse-window)
13533 (display-buffer-split-window-1, display-buffer-split-window)
13534 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13535 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13536 (display-buffer-in-side-window, normalize-buffer-to-display)
13537 (display-buffer-normalize-specifiers-1)
13538 (display-buffer-normalize-specifiers-2)
13539 (display-buffer-normalize-specifiers, display-buffer-frame):
13540 New functions.
13541 (display-buffer): Major rewrite.
13542 (display-buffer-other-window, display-buffer-other-frame)
13543 (pop-to-buffer, switch-to-buffer-other-window)
13544 (switch-to-buffer-other-frame): Rewrite.
13545 (display-buffer-same-window, display-buffer-same-frame)
13546 (display-buffer-same-frame-other-window)
13547 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13548 (pop-to-buffer-other-window)
13549 (pop-to-buffer-same-frame-other-window)
13550 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13551 (switch-to-buffer-other-window-same-frame): New functions.
13552 (same-window-p, special-display-p): Rewrite disabling warnings.
13553 Make obsolete.
13554 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13555 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13556 Make obsolete
13557 (same-window-buffer-names, same-window-regexps)
13558 (special-display-frame-alist, special-display-popup-frame)
13559 (special-display-function, special-display-buffer-names)
13560 (special-display-regexps, pop-up-frame-alist)
13561 (pop-up-frame-function, split-window-preferred-function)
13562 (split-height-threshold, split-width-threshold)
13563 (even-window-heights): Make obsolete.
13564
13565 2011-06-12 Glenn Morris <rgm@gnu.org>
13566
13567 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13568 Misc simplifications.
13569
13570 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13571
13572 * window.el (window-safely-shrinkable-p): Restore function which
13573 was inadvertently removed in change from 2011-06-11. Declare as
13574 obsolete.
13575
13576 * calendar/calendar.el (calendar-generate-window):
13577 Use window-iso-combined-p instead of combination of one-window-p and
13578 window-safely-shrinkable-p.
13579
13580 2011-06-12 Glenn Morris <rgm@gnu.org>
13581
13582 * progmodes/fortran.el (fortran-mode-syntax-table):
13583 * progmodes/f90.el (f90-mode-syntax-table):
13584 Set % to punctuation. (Bug#8820)
13585 (f90-find-tag-default): Remove, no longer needed.
13586
13587 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13588
13589 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13590
13591 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13592
13593 * image.el (image-animated-p): Return animation delay in seconds.
13594 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13595 (image-animate-timeout): Remove DELAY argument. Don't assume
13596 every subimage has the same delay; get it from image-animated-p.
13597 (image-animate): Caller changed.
13598
13599 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13600
13601 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13602 to ignored backtrace functions.
13603
13604 2011-06-11 Glenn Morris <rgm@gnu.org>
13605
13606 * calendar/appt.el (appt-disp-window-function): Doc fix.
13607 (appt-check): Handle overlapping appointments. (Bug#8337)
13608
13609 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13610
13611 * window.el (window-tree-1, window-tree): New functions, moving
13612 the latter to window.el.
13613 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13614 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13615 (bw-refresh-edges): Remove.
13616 (balance-windows-1, balance-windows-2): New functions.
13617 (balance-windows): Rewrite in terms of window tree functions,
13618 balance-windows-1 and balance-windows-2.
13619 (bw-adjust-window): Remove.
13620 (balance-windows-area-adjust): New function with functionality of
13621 bw-adjust-window but using resize-window.
13622 (set-window-text-height): Rewrite doc-string.
13623 Use normalize-live-window and resize-window.
13624 (enlarge-window-horizontally, shrink-window-horizontally):
13625 Rename argument to DELTA.
13626 (window-buffer-height): New function.
13627 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13628 Rewrite using new window resize routines.
13629 (kill-buffer-and-window, mouse-autoselect-window-select):
13630 Use ignore-errors instead of condition-case.
13631 (quit-window): Call delete-frame instead of delete-windows-on
13632 for the only buffer on frame.
13633
13634 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13635
13636 * loadup.el (top-level): Load window before files for the sake
13637 of replace-buffer-in-windows.
13638
13639 * files.el (read-buffer-to-switch)
13640 (switch-to-buffer-other-window)
13641 (switch-to-buffer-other-frame, display-buffer-other-frame):
13642 Move to window.el.
13643
13644 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13645 (previous-buffer): Move to window.el.
13646
13647 * bindings.el (unbury-buffer): Move to window.el.
13648
13649 * window.el (delete-other-windows-vertically): Move after
13650 definition of delete-other-windows.
13651 (other-window, delete-windows-on, replace-buffer-in-windows):
13652 Move here from window.c.
13653 (record-window-buffer, unrecord-window-buffer)
13654 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13655 (switch-to-next-buffer): New functions.
13656 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13657 from simple.el. Call switch-to-next-buffer.
13658 (previous-buffer): Move here from simple.el.
13659 Call switch-to-prev-buffer.
13660 (bury-buffer): Move here from buffer.c. Switch to previous
13661 buffer when window cannot be deleted.
13662 (unbury-buffer): Move here from bindings.el.
13663 (ctl-x-map): Move binding for other-window from window.c to
13664 here.
13665 (read-buffer-to-switch, switch-to-buffer-other-window)
13666 (switch-to-buffer-other-frame): Move here from files.el.
13667 (normalize-buffer-to-switch-to): New functions.
13668 (switch-to-buffer): Move here from buffer.c.
13669 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13670
13671 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13672
13673 * window.el (window-min-height, window-min-width): Move here
13674 from window.c. Add defcustoms and rewrite doc-strings.
13675 (resize-mini-window, resize-window): New functions.
13676 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13677 Move here from window.c.
13678 (maximize-window, minimize-window): New functions.
13679 (delete-window, delete-other-windows, split-window): Move here
13680 from window.c.
13681 (window-split-min-size): New function.
13682 (split-window-keep-point): Mention split-window-above-each-other
13683 instead of split-window-vertically.
13684 (split-window-above-each-other, split-window-vertically):
13685 Rename split-window-vertically to split-window-above-each-other
13686 and provide defalias for old definition.
13687 (split-window-side-by-side, split-window-horizontally):
13688 Rename split-window-horizontally to split-window-side-by-side
13689 and provide defalias for the old definition.
13690 (ctl-x-map): Move bindings for delete-window,
13691 delete-other-windows and enlarge-window here from window.c.
13692 Replace bindings for split-window-vertically and
13693 split-window-horizontally by bindings for
13694 split-window-above-each-other and split-window-side-by-side.
13695
13696 * cus-start.el (all): Remove entries for window-min-height and
13697 window-min-width. Add entries for window-splits and
13698 window-nest.
13699
13700 2011-06-09 Glenn Morris <rgm@gnu.org>
13701
13702 * calendar/appt.el (appt-mode-line): New function.
13703 (appt-check, appt-disp-window): Use it.
13704
13705 * files.el (hack-one-local-variable-eval-safep):
13706 Allow minor-modes with explicit +/-1 arguments.
13707
13708 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13709
13710 * term/xterm.el (xterm): Add defgroup.
13711 (xterm-extra-capabilities): Add defcustom to supply known xterm
13712 capabilities, skip querying them, or query them (default).
13713 (terminal-init-xterm): Use it.
13714 (terminal-init-xterm-modify-other-keys): New function to set up
13715 modifyOtherKeys support to simplify `terminal-init-xterm'.
13716
13717 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13718
13719 * window.el (resize-window-reset, resize-window-reset-1)
13720 (resize-subwindows-skip-p, resize-subwindows-normal)
13721 (resize-subwindows, resize-other-windows, resize-this-window)
13722 (resize-root-window, resize-root-window-vertically)
13723 (window-deletable-p, window-or-subwindow-p)
13724 (frame-root-window-p): New functions.
13725
13726 2011-06-09 Glenn Morris <rgm@gnu.org>
13727
13728 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13729 (ange-ftp-get-files): Use it.
13730
13731 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13732
13733 * mail/sendmail.el (mail-recover-1, mail-recover):
13734 * files.el (recover-file, recover-session):
13735 Handle dired-listing-switches not being just a single short option.
13736
13737 2011-06-09 Glenn Morris <rgm@gnu.org>
13738
13739 * calendar/appt.el (appt-display-message, appt-disp-window):
13740 Handle lists of appointments.
13741
13742 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13743
13744 * window.el (one-window-p): Move down in code.
13745 Rewrite doc-string.
13746 (window-current-scroll-bars): Rewrite doc-string.
13747 Normalize live window argument.
13748 (walk-windows, get-window-with-predicate, count-windows):
13749 Rewrite doc-string. Use window-list-1.
13750 (window-in-direction-2, window-in-direction, get-mru-window):
13751 New functions.
13752
13753 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13754
13755 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13756 Doc fix (Bug#8713).
13757
13758 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13759
13760 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13761
13762 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13763
13764 * loadhist.el (unload-feature-special-hooks):
13765 Add `comint-output-filter-functions'.
13766
13767 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13768
13769 * calendar/appt.el (appt-check): Move some initializations into the let.
13770
13771 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13772
13773 * window.el (window-height): Defalias to window-total-height.
13774 (window-width): Defalias to window-body-width.
13775
13776 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13777
13778 * image-mode.el (image-toggle-animation): New command.
13779 (image-mode-map): Bind it to RET.
13780 (image-mode): Update message.
13781 (image-toggle-display-image): Avoid a spurious cache flush.
13782 (image-transform-rotation): Doc fix.
13783 (image-transform-properties): Return quickly in the normal case.
13784 (image-animate-loop): Rename from image-animate-max-time.
13785
13786 * image.el (image-animate-max-time): Move to image-mode.el.
13787 (create-animated-image): Remove unnecessary function.
13788 (image-animate): Rename from image-animate-start. New arg.
13789 (image-animate-stop): Remove; just use image-animate-timer.
13790 (image-animate-timer): Use car-safe.
13791 (image-animate-timeout): Rename argument.
13792
13793 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13794
13795 * window.el (get-lru-window, get-largest-window): Move here from
13796 window.c. Rename first argument to ALL-FRAMES.
13797 Rephrase doc-strings.
13798 (get-buffer-window-list): Rewrite using window-list-1.
13799 Rephrase doc-string.
13800 (window-safe-min-height, window-safe-min-width): New constants.
13801 (window-size-ignore, window-min-size, window-min-size-1)
13802 (window-sizable, window-sizable-p, window-size-fixed-1)
13803 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13804 (window-max-delta-1, window-max-delta, window-resizable)
13805 (window-resizable-p, window-total-height, window-total-width)
13806 (window-body-width): New functions.
13807 (window-full-height-p, window-full-width-p): Rewrite using
13808 window-total-size.
13809 (window-body-height): Rewrite using window-body-size.
13810
13811 2011-06-06 Martin Rudalics <rudalics@gmx.at>
13812
13813 * window.el (window-right, window-left, window-child)
13814 (window-child-count, window-last-child, window-any-p)
13815 (normalize-live-buffer, normalize-live-frame)
13816 (normalize-any-window, normalize-live-window)
13817 (window-iso-combination-p, window-iso-combined-p)
13818 (window-iso-combinations)
13819 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
13820 (windows-with-parameter, window-with-parameter)
13821 (window-atom-root, make-window-atom, window-atom-check-1)
13822 (window-atom-check, window-side-check, window-check):
13823 New functions.
13824 (ignore-window-parameters, window-sides, window-sides-vertical)
13825 (window-sides-slots): New variables.
13826 (window-size-fixed): Move down in code. Minor doc-string fix.
13827
13828 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
13829
13830 * comint.el (comint-dynamic-complete-as-filename)
13831 (comint-dynamic-complete-filename): Correctly call
13832 completion-in-region.
13833
13834 2011-06-05 Deniz Dogan <deniz@dogan.se>
13835
13836 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
13837 in last change.
13838
13839 2011-06-05 Deniz Dogan <deniz@dogan.se>
13840
13841 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
13842 (rcirc): Use it to prompt for encryption.
13843
13844 2011-06-05 Roland Winkler <winkler@gnu.org>
13845
13846 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
13847 (bibtex-search-entries): New command bound to C-c C-a.
13848 (bibtex-display-entries): New function.
13849
13850 2011-06-05 Roland Winkler <winkler@gnu.org>
13851
13852 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
13853 (bibtex-insert-kill): After yanking insert newline if necessary.
13854 (bibtex-initialize): Call bibtex-string-files-init only once.
13855 (bibtex-mode): Do not call easy-menu-add.
13856 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
13857 (bibtex-yank): Set arg properly if nil.
13858
13859 2011-06-05 Roland Winkler <winkler@gnu.org>
13860
13861 * textmodes/bibtex.el (bibtex-search-entry-globally):
13862 New variable.
13863 (bibtex-search-entry): Use it.
13864
13865 2011-06-05 Roland Winkler <winkler@gnu.org>
13866
13867 * textmodes/bibtex.el (bibtex-entry-format): New option
13868 sort-fields.
13869 (bibtex-format-entry, bibtex-reformat): Honor this option.
13870 (bibtex-parse-entry): Return fields in proper order.
13871
13872 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
13873
13874 * doc-view.el (doc-view-remove-if): Move computation of result out
13875 of `dolist' to silence misleading lexical-binding warning.
13876
13877 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
13880 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
13881
13882 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13883
13884 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
13885 "SunOS 5.10".
13886
13887 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
13888
13889 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
13890 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
13891 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
13892 (tramp-parse-putty):
13893 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
13894 (tramp-completion-function-alist-ssh)
13895 (tramp-completion-function-alist-telnet)
13896 (tramp-completion-function-alist-su)
13897 (tramp-completion-function-alist-putty): Set `tramp-autoload'
13898 cookie.
13899
13900 * net/tramp-ftp.el:
13901 * net/tramp-sh.el:
13902 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
13903 load "tramp.el" `tramp-set-completion-function'.
13904
13905 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * shell.el: Require and use pcomplete.
13908 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
13909 (shell-completion-vars): Set pcomplete-default-completion-function.
13910
13911 2011-06-04 Deniz Dogan <deniz@dogan.se>
13912
13913 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
13914 `memq' (Bug#8799).
13915
13916 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
13919
13920 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
13921
13922 * bs.el (bs--mark-unmark, bs--nth-wrapper):
13923 * mpc.el (mpc-select-extend, mpc-songpointer-context):
13924 * vc/log-view.el (log-view-beginning-of-defun):
13925 * vc/smerge-mode.el (smerge-apply-resolution-patch)
13926 (smerge-refine-forward, smerge-refine-chopup-region):
13927 Silence warning for unused `dotimes' counter variables.
13928
13929 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13930
13931 * net/tramp.el (tramp-with-progress-reporter): Rename from
13932 with-progress-reporter. Use `declare'.
13933 * net/tramp-smb.el:
13934 * net/tramp-sh.el:
13935 * net/tramp-gvfs.el: Update all uses.
13936
13937 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
13938
13939 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
13940 buffer isn't killed before making it current.
13941
13942 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 Silence various byte-compiler warnings.
13945 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
13946 `access-type' and new obsolescence format.
13947 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
13948 new format.
13949 (byte-compile-check-variable): New `access-type' argument.
13950 Only warn if the access-type is obsolete.
13951 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13952 (byte-compile-variable-set): Adjust callers.
13953 * help-fns.el (describe-variable): Adjust to new obsolescence format.
13954 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
13955 setting it as obsolete.
13956 * simple.el (minibuffer-completing-symbol):
13957 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
13958 access as obsolete.
13959 * minibuffer.el (minibuffer-completing-file-name): Don't make it
13960 obsolete yet.
13961 * international/quail.el (quail-mouse-choose-completion): Remove unused
13962 code referring to obsolete var.
13963 (quail-choose-completion-string): Remove.
13964 * server.el (server-clients-with, server-kill-buffer-query-function)
13965 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
13966 * proced.el (proced-send-signal):
13967 * emacs-lisp/lisp.el (lisp-complete-symbol):
13968 Replace completion-annotate-function with completion-extra-properties.
13969
13970 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * simple.el (goto-line): Use read-number.
13973 (overriding-map-is-bound): Remove.
13974 (saved-overriding-map): Change default.
13975 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
13976 Take the map as argument.
13977 (universal-argument, negative-argument, digit-argument): Use it.
13978 (restore-overriding-map): Adjust.
13979 (do-auto-fill): Use fill-forward-paragraph.
13980 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
13981
13982 * minibuffer.el (minibuffer-inactive-mode-map): New var.
13983 (minibuffer-inactive-mode): New major mode.
13984 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
13985 the *Messages* buffer" hack.
13986 (mouse-popup-menubar): Don't burp if the event is a normal key.
13987
13988 Miscellaneous tweaks.
13989 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
13990 lexical scoping as in subr.el's dolist and dotimes.
13991 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
13992 Silence compiler warning.
13993 * thingatpt.el (forward-whitespace): Trivial coding style fix.
13994 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
13995 * international/ccl.el (ccl-compile): Trivial simplification.
13996 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
13997 * emacs-lisp/testcover.el (testcover-end): Remove spurious
13998 `printflag' argument.
13999 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14000 Purecopy the whole obsolescence data.
14001
14002 2011-06-01 Leo Liu <sdl.web@gmail.com>
14003
14004 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14005 improve doc-string as suggested by Marco Pessotto
14006 <melmothx@gmail.com>.
14007 (rcirc-print): Fix last change.
14008
14009 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * minibuffer.el (complete-with-action): Return nil for the metadata and
14012 boundaries of non-functional tables.
14013 (completion-table-dynamic): Return nil for the metadata.
14014 (completion-table-with-terminator): Add default case, using
14015 complete-with-action.
14016 (completion--metadata): New function.
14017 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14018 to try and avoid pathological performance problems.
14019 (completion--embedded-envvar-table): Return `category' metadata.
14020
14021 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14022
14023 * subr.el (process-alive-p): New tiny convenience function.
14024
14025 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14028 content but also its previous major mode.
14029
14030 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14031
14032 * emacs-lisp/debug.el (debug): Restore the previous content of the
14033 *Backtrace* buffer when we exit with C-M-c.
14034
14035 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * minibuffer.el: Add metadata method to completion tables.
14038 (completion-category-overrides): New defcustom.
14039 (completion-metadata, completion--field-metadata)
14040 (completion-metadata-get, completion--styles)
14041 (completion--cycle-threshold): New functions.
14042 (completion-try-completion, completion-all-completions):
14043 Add `metadata' argument to choose completion-styles.
14044 (completion--do-completion): Use metadata to choose cycling.
14045 (completion-all-sorted-completions): Use metadata for sorting.
14046 Remove :completion-cycle-penalty which is not needed any more.
14047 (completion--try-word-completion): Add `metadata' argument.
14048 (minibuffer-completion-help): Check metadata for annotation function
14049 and sorting.
14050 (completion-file-name-table): Return `category' metadata.
14051 (minibuffer-completing-file-name): Make obsolete.
14052 * simple.el (minibuffer-completing-symbol): Make obsolete.
14053 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14054 completion-try-completion.
14055
14056 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14059
14060 2011-05-30 Leo Liu <sdl.web@gmail.com>
14061
14062 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14063 (rcirc-print): Decode all incoming messages (bug#8744).
14064 (rcirc-decode-coding-system): Allow value nil for automatic coding
14065 system detection.
14066
14067 2011-06-01 Glenn Morris <rgm@gnu.org>
14068
14069 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14070
14071 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * image.el (image-animate-max-time): Allow nil and t values.
14074 Default to nil.
14075 (create-animated-image): Doc fix.
14076 (image-animate-start): Remove second arg; just use
14077 image-animate-max-time.
14078 (image-animate-timeout): Doc fix. Args changed.
14079
14080 * image-mode.el (image-toggle-display-image): Ensure that the
14081 image spec passed to the animate timer is the same object as in
14082 the buffer's display property (Bug#6981).
14083 (image-transform-properties): Doc fix.
14084
14085 * image.el (image-animate-max-time): Default to nil.
14086
14087 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14088
14089 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14090 entire buffer list (Bug#8184).
14091
14092 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14093
14094 * image.el (imagemagick-types-inhibit)
14095 (imagemagick-register-types): Doc fix.
14096
14097 2011-05-29 Deniz Dogan <deniz@dogan.se>
14098
14099 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14100 default.
14101
14102 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14103
14104 * select.el: Don't perform clipboard-manager saving in hooks;
14105 leave the hooks empty.
14106
14107 2011-05-28 Leo Liu <sdl.web@gmail.com>
14108
14109 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14110 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14111 (occur-edit-mode): New major mode (Bug#8463).
14112 (occur-after-change-function): New function.
14113 (occur-engine): Give Occur tags a read-only property.
14114
14115 2011-05-28 Kevin Ryde <user42@zip.com.au>
14116
14117 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14118
14119 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14120
14121 * bindings.el (help-echo): Make the initial non-indicator dash
14122 empty on graphical terminals (Bug#7295).
14123
14124 * files.el (auto-mode-alist): Move config rule after the
14125 in-stripping one (Bug#8547).
14126
14127 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14128
14129 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14130 setting (Bug#8740).
14131
14132 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14133
14134 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14135 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14136 (Bug#8539).
14137
14138 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14139
14140 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14141
14142 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14143
14144 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14145 (hs-hide-block-at-point, hs-find-block-beginning)
14146 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14147 (Bug#8279).
14148
14149 2011-05-28 Glenn Morris <rgm@gnu.org>
14150
14151 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14152
14153 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14154
14155 * help-fns.el (describe-function-1): If the function is a derived
14156 major mode, print the parent mode.
14157
14158 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14159 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14160
14161 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * minibuffer.el (completion--capf-wrapper): Check applicability before
14164 returning non-nil for non-exclusive completion data.
14165 * progmodes/etags.el (tags-completion-at-point-function):
14166 * info-look.el (info-lookup-completions-at-point): Mark as
14167 non-exclusive.
14168 (info-complete): Adjust accordingly.
14169
14170 * info-look.el: Convert to lexical-binding and completion-at-point.
14171 (info-lookup-completions-at-point): New function.
14172 (info-complete): Use it and completion-in-region.
14173
14174 2011-05-28 Drew Adams <drew.adams@oracle.com>
14175
14176 * isearch.el: Let M-e start with point at the first mismatched char.
14177 (isearch-fail-pos): New function.
14178 (isearch-edit-string): Use it.
14179
14180 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14181
14182 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14183
14184 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14185
14186 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14187 traversal functions for avl-trees.
14188 (avl-tree--stack): New struct.
14189 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14190 (avl-tree-enter): Add optional `updatefun' arg.
14191 (avl-tree--do-enter): Add optional `updatefun' arg.
14192 Change return value.
14193 (avl-tree-delete): Add optional `test' and `nilflag' args.
14194 (avl-tree--do-delete): Add `test' and `nilflag' args.
14195 Change return value.
14196 (avl-tree-member): Add optional `nilflag'
14197 (avl-tree-member-p): New function.
14198 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14199 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14200 (avl-tree-stack-empty-p): New functions.
14201
14202 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14203 avl-tree--del-balance1 and make it work both ways.
14204 (avl-tree--del-balance2): Remove.
14205 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14206 make it work both ways.
14207 (avl-tree--enter-balance2): Remove.
14208 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14209 New macros.
14210 (avl-tree--mapc, avl-tree-map): Add direction argument.
14211
14212 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14213
14214 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14215
14216 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14217
14218 * select.el: Support clipboard managers with built-in function
14219 x-clipboard-manager-save, via delete-frame-functions and
14220 kill-emacs-hook.
14221 (xselect-convert-to-targets): Add MULTIPLE target to list.
14222 (xselect-convert-to-save-targets): New function.
14223
14224 2011-05-27 Kenichi Handa <handa@m17n.org>
14225
14226 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14227 let-binding rfc2047-encode-encoded-words to nil.
14228
14229 2011-05-27 Glenn Morris <rgm@gnu.org>
14230
14231 * mail/emacsbug.el: Don't require url-util.
14232
14233 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14234
14235 * files.el (set-auto-mode):
14236 Also respect mode: entries at the end of the file. (Bug#8586)
14237
14238 2011-05-26 Glenn Morris <rgm@gnu.org>
14239
14240 * files.el (hack-local-variables-prop-line, hack-local-variables):
14241 Downcase mode names, as seems to be traditional.
14242 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14243
14244 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14245 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14246
14247 2011-05-25 Julien Danjou <julien@danjou.info>
14248
14249 * textmodes/rst.el (rst-define-level-faces): Do not define face
14250 symbol if it is already defined.
14251
14252 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14253
14254 * play/5x5.el (5x5-new-game, 5x5-randomize):
14255 Reset 5x5-solver-output to nil when a new grid is cast.
14256 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14257 these debugging traces, as defmacro breaks the compiled code.
14258
14259 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14260
14261 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14262
14263 2011-05-24 Leo Liu <sdl.web@gmail.com>
14264
14265 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14266 (vc-bzr-sha1): Adapt.
14267
14268 * sha1.el: Remove. Function `sha1' is now builtin.
14269
14270 * bindings.el: Provide sha1 feature.
14271
14272 2011-05-24 Kenichi Handa <handa@m17n.org>
14273
14274 * mail/sendmail.el: Require `rfc2047'.
14275 (mail-insert-from-field): Do not perform RFC2047 encoding.
14276 (mail-encode-header): New function.
14277 (sendmail-send-it): Set buffer-file-coding-system of the work
14278 buffer to the return value of select-message-coding-system.
14279 Call mail-encode-header.
14280
14281 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14282
14283 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14284
14285 * mail/supercite.el (sc-default-cite-frame):
14286 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14287
14288 2011-05-24 Glenn Morris <rgm@gnu.org>
14289
14290 * progmodes/python.el (brm-menu): Declare.
14291
14292 * emulation/viper.el (viper-set-hooks): Declare.
14293
14294 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14295 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14296 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14297 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14298 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14299 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14300
14301 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 Add an :exit-function for completion-at-point.
14304
14305 * minibuffer.el (completion--done): New fun.
14306 (completion--do-completion): Use it. New arg `expect-exact'.
14307 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14308 since completion--do-completion does it for us now.
14309 (minibuffer-force-complete): Use completion--done and
14310 completion--replace. Handle sole-completion case with more care.
14311 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14312 (completion-extra-properties): New var.
14313 (completion-annotate-function): Make obsolete.
14314 (minibuffer-completion-help): Adjust accordingly.
14315 Use completion-list-insert-choice-function.
14316 (completion-at-point, completion-help-at-point):
14317 Bind completion-extra-properties.
14318 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14319 * simple.el (completion-list-insert-choice-function): New var.
14320 (completion-setup-function): Preserve it.
14321 (choose-completion): Pay attention to it, shuffle the code a bit.
14322 (choose-completion-string): New arg `insert-function'.
14323
14324 * textmodes/bibtex.el: Convert to lexical binding.
14325 (bibtex-mode-map): Use completion-at-point.
14326 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14327 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14328 (bibtex-complete): Define as obsolete alias.
14329 (bibtex-complete-internal): Remove.
14330 (bibtex-format-entry): Remove unused sub-group in regexp.
14331 * shell.el (shell--command-completion-data)
14332 (shell-environment-variable-completion):
14333 * pcomplete.el (pcomplete-completions-at-point):
14334 * comint.el (comint--complete-file-name-data): Use :exit-function
14335 instead of completion-table-with-terminator so it also works for
14336 choose-completion.
14337
14338 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14339
14340 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14341
14342 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14343 (bug#8710).
14344
14345 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14346
14347 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14348
14349 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14350 customization variable and implement: If non-nil, auto-fill will
14351 be inhibited while on topic's header line.
14352
14353 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14354
14355 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14356 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14357 always have a solution in grid size = 5 cases.
14358 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14359 (5x5-solver-output, 5x5-log-buffer): New vars.
14360 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14361 Make these variables buffer local to achieve 5x5 multi-session-ness.
14362 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14363 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14364 (5x5-solve-suggest): New funs.
14365 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14366 randomize a grid so that we ensure that there is always a solution.
14367 (5x5-make-random-grid): Allow other movement than flipping.
14368
14369 2011-05-23 Kevin Ryde <user42@zip.com.au>
14370
14371 * emacs-lisp/advice.el (ad-read-advised-function):
14372 Use `function-called-at-point' as the default, if it has
14373 advice and passes PREDICATE.
14374
14375 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14378 byte-compile-lambda if it's actually a lambda.
14379
14380 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14381 Fix function quoting. Use backquote better.
14382
14383 2011-05-22 Yuanle Song <sylecn@gmail.com>
14384
14385 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14386 matching (Bug#8516).
14387
14388 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14389
14390 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14391 different face (Bug#8178).
14392
14393 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14394
14395 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14396 defface (Bug#8144).
14397
14398 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14401 funcall as well (bug#8712). Warn when performing those conversions.
14402 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14403
14404 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14405
14406 2011-05-22 Glenn Morris <rgm@gnu.org>
14407
14408 * files.el (hack-local-variables-prop-line): Small simplifications.
14409 (hack-local-variables, hack-local-variables-prop-line):
14410 If MODE-ONLY, return the mode, rather than just `t'.
14411
14412 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14415
14416 2011-05-21 Glenn Morris <rgm@gnu.org>
14417
14418 * files.el (hack-local-variables-prop-line, hack-local-variables):
14419 If only interested in the mode, don't bother doing the other stuff.
14420
14421 * image-mode.el (image-after-revert-hook):
14422 Redraw all frames on which the image is visible. (Bug#8567)
14423
14424 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14425
14426 * wid-edit.el (widget-checklist-match-inline):
14427 Fix 2011-04-19 change. (Bug#8649)
14428
14429 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14432 Also allow singlespace after single-letter capitals followed by a dot.
14433
14434 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14435 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14436
14437 2011-05-20 Nix <nix@esperi.org.uk>
14438
14439 * files.el (basic-save-buffer-2):
14440 Fix handling of break-hardlink-on-save with non-existent files.
14441
14442 2011-05-19 Deniz Dogan <deniz@dogan.se>
14443
14444 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14445 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14446
14447 2011-05-19 Glenn Morris <rgm@gnu.org>
14448
14449 * progmodes/f90.el (f90-type-def-re):
14450 Handle "type, bind(c)". (Bug#8691)
14451
14452 * emacs-lisp/autoload.el (batch-update-autoloads):
14453 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14454
14455 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14456
14457 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14458 property for the correct connection in case of multihops.
14459
14460 2011-05-18 Glenn Morris <rgm@gnu.org>
14461
14462 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14463 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14464
14465 Rationalize calendar handling of day and month abbrev-arrays.
14466 * calendar/calendar.el (calendar-customized-p): New function.
14467 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14468 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14469 Add :set function.
14470 (calendar-abbrev-length, calendar-day-abbrev-array)
14471 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14472 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14473 Elements may no longer be nil.
14474 (calendar-day-name, calendar-month-name):
14475 Update for changed nature of abbrev arrays.
14476 * calendar/diary-lib.el (diary-name-pattern):
14477 Update for changed nature of abbrev arrays.
14478 (diary-mark-entries-1): Update calendar-make-alist calls.
14479 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14480 * calendar/cal-html.el (cal-html-day-abbrev-array):
14481 Simply inherit from calendar-day-abbrev-array.
14482
14483 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * progmodes/grep.el (grep-mode): Disable default
14486 compilation-directory-matcher setting (bug#8684).
14487
14488 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14489
14490 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14491 instead of "head" and "tail". There were problems with SunOS 5.9,
14492 and it performs better.
14493
14494 2011-05-17 Glenn Morris <rgm@gnu.org>
14495
14496 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14497
14498 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14499 Replace obsolete function.
14500
14501 * shell.el (pcomplete-parse-arguments-function): Declare.
14502
14503 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14504 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14505 (appt-check): Doc fixes.
14506 (appt-disp-window-function, appt-delete-window-function):
14507 Remove needless special case in custom :type.
14508 (appt-display-count): Default to 0, not nil.
14509 (appt-check): Reset appt-display-count to 0, not nil.
14510
14511 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14512
14513 * progmodes/python.el (python-font-lock-keywords):
14514 Add the Python 3.X keyword "nonlocal" (bug#8639).
14515
14516 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14519
14520 2011-05-16 Kevin Ryde <user42@zip.com.au>
14521
14522 * info-look.el (makefile-automake-mode): New setups, looking in
14523 automake manual, then makefile-mode.
14524 (makefile-mode): Remove automake manual, have it just in
14525 makefile-automake-mode since there's various things different or
14526 not relevant to plain make.
14527 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14528 believe a hypothetical automake-mode would go to makefile-mode,
14529 not the other way around.
14530
14531 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14532
14533 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14534 hunk-end tags (Bug#8672).
14535
14536 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14537 vc-annotate-show-diff-revision-at-line (Bug#8671).
14538
14539 2011-05-14 Glenn Morris <rgm@gnu.org>
14540
14541 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14542 in the middle of an existing one with multiple authors. (Bug#8645)
14543 (change-log-font-lock-keywords): Also handle multiple author lines
14544 with leading tabs. (Bug#8644)
14545
14546 * calendar/appt.el (appt-check): Rename some local variables.
14547 Some simplification/reordering.
14548
14549 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14550 (feedmail-sendmail-f-doesnt-sell-me-out)
14551 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14552 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14553 (feedmail-queue-runner-message-sender): Set :version.
14554 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14555 (bbdb-dwim-net-address, vm-mail): Declare.
14556 (feedmail-binmail-gnulinuxish-template):
14557 Rename from feedmail-binmail-linuxish-template.
14558 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14559 Use insert-buffer-substring.
14560
14561 2011-05-14 Bill Carpenter <bill@carpenter.org>
14562
14563 * mail/feedmail.el (feedmail-patch-level): Increase.
14564 (feedmail-debug): New custom group.
14565 (feedmail-confirm-outgoing-timeout)
14566 (feedmail-sendmail-f-doesnt-sell-me-out)
14567 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14568 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14569 (feedmail-sender-line, feedmail-from-line)
14570 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14571 (feedmail-spray-this-address)
14572 (feedmail-spray-address-fiddle-plex-list)
14573 (feedmail-queue-use-send-time-for-date)
14574 (feedmail-queue-use-send-time-for-message-id)
14575 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14576 (feedmail-buffer-eating-function):
14577 Doc fixes.
14578 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14579 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14580 (feedmail-message-action-scroll-down): New functions.
14581 (feedmail-queue-directory, feedmail-queue-draft-directory):
14582 Use expand-file-name.
14583 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14584 Remove C-v help entry.
14585 (feedmail-queue-buffer-file-name): New variable.
14586 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14587 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14588 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14589 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14590 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14591 (feedmail-message-action-toggle-spray)
14592 (feedmail-run-the-queue-no-prompts)
14593 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14594 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14595 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14596 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14597 (feedmail-envelope-deducer, feedmail-fiddle-from)
14598 (feedmail-fiddle-sender, feedmail-default-date-generator)
14599 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14600 (feedmail-fiddle-spray-address)
14601 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14602 (feedmail-fiddle-list-of-fiddle-plexes)
14603 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14604 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14605 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14606 Change default. Doc fix.
14607 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14608 (feedmail-binmail-linuxish-template): New constant.
14609 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14610 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14611 (feedmail-send-it): Add debug call.
14612 Use feedmail-queue-buffer-file-name, and
14613 feedmail-send-it-immediately-wrapper.
14614 (feedmail-message-action-send): Add debug call.
14615 Use feedmail-send-it-immediately-wrapper.
14616 (feedmail-queue-express-to-queue): Add debug call.
14617 Run feedmail-queue-express-hook.
14618 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14619 (feedmail-message-action-help-blat):
14620 Rename from feedmail-queue-send-edit-prompt-help-first.
14621 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14622 Check line-endings. Handle errors better.
14623 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14624 Doc fix. Add debug call.
14625 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14626 Use feedmail-queue-send-edit-prompt-inner.
14627 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14628 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14629 from feedmail-queue-send-edit-prompt.
14630 (feedmail-queue-send-edit-prompt-help)
14631 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14632 (feedmail-tidy-up-slug): Add debug call.
14633 Respect feedmail-queue-slug-suspect-regexp.
14634 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14635 (feedmail-dump-message-to-queue): Add debug call.
14636 Expand queue-directory.
14637 (feedmail-dump-message-to-queue): Change message slightly.
14638 Use feedmail-say-chatter.
14639 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14640 (feedmail-send-it-immediately-wrapper): New function.
14641 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14642 Insert empty string rather than newline. Handle full-frame case.
14643 Use catch/throw. Use feedmail-say-chatter.
14644 (feedmail-fiddle-from): Try mail-host-address.
14645 (feedmail-default-message-id-generator): Doc fix.
14646 Bind system-time-locale. Handle missing end.
14647 (feedmail-fiddle-x-mailer): Add debug call.
14648 Handle feedmail-x-mailer-line being nil.
14649 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14650 Add debug call. Use buffer-substring-no-properties.
14651 (feedmail-say-debug, feedmail-say-chatter): New functions.
14652 (feedmail-find-eoh): Give an explicit error.
14653
14654 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14655
14656 * net/newst-treeview.el (newsticker-treeview-face): Change default
14657 family from helvetica to sans.
14658 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14659 etc/images/newsticker.
14660
14661 * net/newst-reader.el (newsticker-feed-face): Change default
14662 family from helvetica to sans.
14663
14664 * net/newst-plainview.el (newsticker-new-item-face)
14665 (newsticker-old-item-face, newsticker-immortal-item-face)
14666 (newsticker-obsolete-item-face, newsticker-date-face)
14667 (newsticker-statistics-face): Change default family from
14668 helvetica to sans.
14669 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14670 etc/images/newsticker.
14671
14672 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14673 (newsticker--process-auto-mark-filter-match): Tell user about
14674 auto-marking.
14675
14676 2011-05-13 Didier Verna <didier@xemacs.org>
14677
14678 Common Lisp indentation improvements on defmethod and lambda-lists.
14679 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14680 TODO entries.
14681 (lisp-lambda-list-keyword-parameter-indentation)
14682 (lisp-lambda-list-keyword-parameter-alignment)
14683 (lisp-lambda-list-keyword-alignment): New customizable user options.
14684 (lisp-indent-defun-method): Improve docstring.
14685 (extended-loop-p): Fix comment.
14686 (lisp-indent-lambda-list-keywords-regexp): New variable.
14687 (lisp-indent-lambda-list): New function.
14688 (lisp-indent-259): Use it.
14689 (lisp-indent-defmethod): Support for more than one
14690 method qualifier and properly indent methods lambda-lists.
14691 (defgeneric): Provide a missing common-lisp-indent-function property.
14692
14693 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14694
14695 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14696 bounds for the empty string (bug#8667).
14697
14698 2011-05-13 Glenn Morris <rgm@gnu.org>
14699
14700 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14701
14702 * mail/sendmail.el (sendmail-program): Try executable-find first.
14703 (sendmail-send-it): `sendmail-program' cannot be unbound.
14704
14705 * calendar/appt.el (appt-make-list): Simplify.
14706 (appt-time-msg-list): Doc fix.
14707 (appt-check): Change mode-line message at the time of the appointment.
14708
14709 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14710
14711 * progmodes/ld-script.el (ld-script-keywords)
14712 (ld-script-builtins): Update keywords list.
14713
14714 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14717
14718 * shell.el (shell-completion-vars): New function.
14719 (shell-mode):
14720 * simple.el (read-shell-command): Use it.
14721 (blink-matching-open): No need for " [...]" in minibuffer-message.
14722
14723 2011-05-12 Glenn Morris <rgm@gnu.org>
14724
14725 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14726 (appt-check): Simplify.
14727
14728 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14729
14730 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14731 literal "/dev/null".
14732
14733 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14734
14735 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14736 Fix typo.
14737
14738 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14739
14740 * progmodes/which-func.el (which-function):
14741 Use add-log-current-defun instead of add-log-current-defun-function,
14742 which might not be defined (Bug#8260).
14743
14744 2011-05-12 Glenn Morris <rgm@gnu.org>
14745
14746 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14747 Let byte-compile-initial-macro-environment always take precedence.
14748
14749 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14750
14751 * net/rcirc.el: Add support for SSL/TLS connections.
14752 (rcirc-server-alist): New field `encryption'.
14753 (rcirc): Check `encryption' settings.
14754 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14755 Merge make-local-variable into `set'.
14756 (rcirc--connection-open-p): New function.
14757 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14758 the process is not a network process (e.g. running gnutls-cli).
14759 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14760 Make rcirc-(en|de)code-coding-system local here.
14761 (rcirc-mode): Merge make-local-variable into `set'.
14762 (rcirc-parent-buffer): Make permanent buffer-local.
14763 (rcirc-multiline-minor-mode): Don't do it here.
14764 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14765 there's no server buffer.
14766
14767 2011-05-11 Glenn Morris <rgm@gnu.org>
14768
14769 * newcomment.el (comment-kill): Prefix "unused" local.
14770
14771 * term/w32console.el (get-screen-color): Declare.
14772
14773 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14774 Handle symbol elements of byte-compile-initial-macro-environment.
14775
14776 2011-05-10 Leo Liu <sdl.web@gmail.com>
14777
14778 * bookmark.el (bookmark-bmenu-mode-map):
14779 Bind bookmark-bmenu-search to `/'.
14780
14781 * mail/footnote.el: Convert to utf-8 encoding.
14782 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14783 (Footnote-unicode): New function.
14784 (footnote-style-alist): Add unicode style to the list.
14785 (footnote-style): Doc fix.
14786
14787 2011-05-10 Jim Meyering <meyering@redhat.com>
14788
14789 Fix doubled-word typos.
14790 * international/quail.el (quail-insert-kbd-layout): and and -> and
14791 * kermit.el: and and -> and
14792 * net/ldap.el (ldap-search-internal): to to -> to
14793 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14794 * progmodes/js.el (js-mode): and and -> and
14795 * textmodes/artist.el (artist-move-to-xy): at at -> at
14796 (artist-draw-region-trim-line-endings): if if -> if
14797 And Safetyc -> Safety.
14798 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14799
14800 2011-05-10 Glenn Morris <rgm@gnu.org>
14801 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * files.el (hack-one-local-variable-eval-safep):
14804 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14805
14806 2011-05-10 Glenn Morris <rgm@gnu.org>
14807
14808 * calendar/diary-lib.el (diary-list-entries-hook)
14809 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
14810 (diary-nongregorian-marking-hook, diary-list-entries)
14811 (diary-include-other-diary-files, diary-mark-entries)
14812 (diary-mark-included-diary-files): Doc fixes.
14813
14814 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14815
14816 * misc.el: Require tabulated-list.el during compilation.
14817
14818 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14819
14820 * progmodes/compile.el (compilation-start):
14821 Run compilation-filter-hook for the async case too.
14822 (compilation-filter-hook): Doc fix.
14823
14824 2011-05-09 Deniz Dogan <deniz@dogan.se>
14825
14826 * wdired.el: Remove outdated installation comment. Fix usage
14827 comment.
14828
14829 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
14830
14831 * misc.el: Implement new command `list-dynamic-libraries'.
14832 (list-dynamic-libraries--loaded-only-p): New variable.
14833 (list-dynamic-libraries--refresh): New function.
14834 (list-dynamic-libraries): New command.
14835
14836 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
14837
14838 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14839 Fix the ant regexp to handle end-line and end-column info from jikes.
14840 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
14841 higher priority to avoid clobbering by gnu.
14842
14843 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14844
14845 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
14846 if the face has existing theme settings (Bug#8454).
14847
14848 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
14849
14850 * progmodes/perl-mode.el (perl-imenu-generic-expression):
14851 Only match variables declared via `my' or `our' (Bug#8261).
14852
14853 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
14854 special file names `.' and `..' (Bug#8259).
14855
14856 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
14857
14858 * progmodes/grep.el (grep-mode-font-lock-keywords):
14859 Remove buffer-changing entries.
14860 (grep-filter): New function.
14861 (grep-mode): Add it to compilation-filter-hook.
14862
14863 * progmodes/compile.el (compilation-filter-hook)
14864 (compilation-filter-start): New defvars.
14865 (compilation-filter): Call compilation-filter-hook prior to
14866 updating the process mark.
14867
14868 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14869
14870 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
14871
14872 2011-05-07 Eli Zaretskii <eliz@gnu.org>
14873
14874 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
14875 mailclient-send-it even if window-system is nil. (Bug#8595)
14876
14877 * term/w32console.el (terminal-init-w32console):
14878 Call get-screen-color and use its output to set the frame
14879 background-mode. (Bug#8597)
14880
14881 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14882
14883 Make bytecomp.el understand that defmethod defines funs (bug#8631).
14884 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
14885 New functions.
14886 (defgeneric, eieio--defmethod): Use them.
14887 (eieio-defgeneric): Remove.
14888 (defmethod): Call defgeneric in a way visible to the byte-compiler.
14889
14890 2011-05-07 Glenn Morris <rgm@gnu.org>
14891
14892 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
14893 Use let rather than let*.
14894 (timeclock-find-discrep): Remove unused local.
14895
14896 * calendar/diary-lib.el (diary-comment-start): Doc fix.
14897
14898 * calendar/appt.el (appt-time-msg-list): Doc fix.
14899
14900 2011-05-06 Noah Friedman <friedman@splode.com>
14901
14902 * apropos.el (apropos-print-doc): Only use
14903 emacs-lisp-docstring-fill-column when it is bound to an integer,
14904 per that variable's documentation.
14905
14906 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
14909 and warnings are not silently discarded (e.g. use -d instead of -P).
14910
14911 2011-05-06 Glenn Morris <rgm@gnu.org>
14912
14913 * calendar/appt.el (appt-message-warning-time): Doc fix.
14914 (appt-warning-time-regexp): New option.
14915 (appt-make-list): Respect appt-message-warning-time.
14916
14917 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
14918 New options.
14919 (diary-add-to-list): Strip comments from the displayed string.
14920 (diary-mode): Set comment-start and comment-end.
14921
14922 * vc/diff-mode.el (smerge-refine-subst): Declare.
14923 (diff-refine-hunk): Don't require smerge-mode when compiling.
14924
14925 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
14926
14927 * simple.el (list-processes): Return nil as the docstring says.
14928
14929 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14930
14931 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
14932 to "".
14933 (ange-ftp-write-region, ange-ftp-insert-file-contents)
14934 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
14935 determining of binary transfer. (Bug#7383)
14936
14937 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
14938
14939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14940 Fix port computation bug. (Bug#8618)
14941
14942 2011-05-05 Glenn Morris <rgm@gnu.org>
14943
14944 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
14945
14946 * simple.el (shell-dynamic-complete-functions)
14947 (comint-dynamic-complete-functions): Declare.
14948
14949 * net/network-stream.el (gnutls-negotiate):
14950 * simple.el (tabulated-list-print): Fix declarations.
14951
14952 * progmodes/gud.el (syntax-symbol, syntax-point):
14953 Remove unnecessary and incorrect declarations.
14954
14955 * emacs-lisp/check-declare.el (check-declare-scan):
14956 Handle byte-compile-initial-macro-environment in bytecomp.el
14957
14958 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 Fix earlier half-done eieio-defmethod change (bug#8338).
14961 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
14962 Streamline and change calling convention.
14963 (defmethod): Adjust accordingly and simplify.
14964 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
14965 new eieio--defmethod.
14966 (slot-boundp): Minor CSE simplification.
14967
14968 2011-05-05 Milan Zamazal <pdm@zamazal.org>
14969
14970 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
14971 (glasses-make-readable): Use glasses-separate-capital-groups.
14972
14973 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
14974
14975 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
14976 (warning-series): Doc fix.
14977 (display-warning): Don't try to create the buffer if we just found it.
14978
14979 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
14980
14981 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
14982 (autoload-find-generated-file): New function.
14983 (generate-file-autoloads): Bind generated-autoload-file to
14984 buffer-file-name.
14985 (update-file-autoloads, update-directory-autoloads):
14986 Use autoload-find-generated-file. If called interactively, prompt for
14987 output file (Bug#7989).
14988 (batch-update-autoloads): Doc fix.
14989
14990 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
14991
14992 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
14993
14994 2011-05-04 Glenn Morris <rgm@gnu.org>
14995
14996 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
14997 function, so it follows changes in calendar-date-style.
14998 (diary-fancy-date-matcher): New function.
14999 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15000 (diary-fancy-font-lock-fontify-region-function):
15001 Use diary-fancy-date-pattern as a function.
15002
15003 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15004 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15005
15006 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15007
15008 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15009 instead of positional arguments. Allow :keylist and :crlfiles
15010 arguments.
15011 (open-gnutls-stream): Call it.
15012
15013 * net/network-stream.el (network-stream-open-starttls): Adjust to
15014 call `gnutls-negotiate' with :process and :hostname arguments.
15015
15016 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15017
15018 * minibuffer.el (completion--message): New function.
15019 (completion--do-completion, minibuffer-complete)
15020 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15021 (completion--do-completion): Don't ignore completion-auto-help when in
15022 icomplete-mode.
15023
15024 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15025 internal encoding (e.g. tibetan zero is not whitespace).
15026 (global-whitespace-mode): Prefer save-current-buffer.
15027 (whitespace-trailing-regexp): Remove useless save-match-data.
15028 (whitespace-empty-at-bob-regexp): Minor simplification.
15029
15030 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15033
15034 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15035
15036 * textmodes/ispell.el (ispell-add-per-file-word-list):
15037 Use `concat' to create string for insertion.
15038
15039 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15042 Avoid open-line which runs post-self-insert-hook.
15043 (bibtex-fill-entry): Remove unused `end' var.
15044
15045 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15046
15047 * textmodes/ispell.el (ispell-add-per-file-word-list):
15048 Protect against `nil' value of `comment-start' (Bug#8579).
15049
15050 2011-05-03 Leo Liu <sdl.web@gmail.com>
15051
15052 * isearch.el (isearch-yank-pop): New command.
15053 (isearch-mode-map): Bind it to `M-y'.
15054 (isearch-forward): Mention it.
15055
15056 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * simple.el (minibuffer-complete-shell-command): Remove.
15059 (minibuffer-local-shell-command-map): Use completion-at-point.
15060 (read-shell-command): Setup completion vars here instead.
15061 (read-expression-map): Bind TAB to symbol completion.
15062
15063 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15064 error directly rather via storing it into `results'.
15065
15066 2011-05-02 Leo Liu <sdl.web@gmail.com>
15067
15068 * vc/diff.el: Fix description.
15069
15070 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15071
15072 * server.el (server-eval-at): New function.
15073
15074 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075
15076 * net/network-stream.el (open-network-stream): Take a :nowait
15077 parameter and pass it on to `make-network-process'.
15078 (network-stream-open-plain): Ditto.
15079
15080 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15081
15082 * faces.el (face-spec-set-match-display): Don't match toolkit
15083 options on terminal frames.
15084
15085 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15086
15087 * progmodes/pascal.el: Use lexical binding.
15088 (pascal-mode-map): Remove author preferences.
15089
15090 * pcomplete.el (pcomplete-std-complete): Don't abuse
15091 completion-at-point.
15092
15093 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15094
15095 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15096 removing code that has been dead since 1991 or so.
15097
15098 * startup.el (command-line): When warning about "_emacs", use a
15099 delayed warning to allow the user to filter it out.
15100
15101 2011-04-28 Deniz Dogan <deniz@dogan.se>
15102
15103 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15104 user has not joined.
15105
15106 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15109 aren't any completions at point.
15110
15111 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15112
15113 * subr.el (display-delayed-warnings): New function.
15114 (delayed-warnings-hook): New variable.
15115
15116 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15117
15118 * minibuffer.el (completion-at-point, completion-help-at-point):
15119 Don't presume that a given completion-at-point-function will always
15120 use the same calling convention.
15121
15122 * pcomplete.el (pcomplete-completions-at-point):
15123 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15124 pcomplete-seen is non-nil.
15125 (pcomplete-comint-setup): Also recognize the new comint/shell
15126 completion functions.
15127 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15128 pcomplete-seen is non-nil.
15129
15130 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15131
15132 * calendar/icalendar.el (diary-lib): Add require statement.
15133 (icalendar--create-uid): Read out a uid from a text-property on
15134 the first character in the entry. This allows for code to add its
15135 own uid to the entry.
15136 (icalendar--convert-float-to-ical): Add export of
15137 `diary-float'-entries save for those with the optional DAY
15138 argument.
15139
15140 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15141
15142 * subr.el (shell-quote-argument): Use alternate escaping strategy
15143 when we spot a variable reference in a string.
15144
15145 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15146
15147 * cus-start.el (all): Define customization for debug-on-event.
15148
15149 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15150
15151 * subr.el (shell-quote-argument): Escape correctly under Windows.
15152
15153 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15156
15157 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15158
15159 * net/tramp.el (tramp-process-actions): Add POS argument.
15160 Delete region between POS and (pos).
15161
15162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15163 Use `nil' position in `tramp-process-actions' call.
15164 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15165
15166 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15167 position in `tramp-process-actions' call.
15168
15169 * net/trampver.el: Update release number.
15170
15171 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * custom.el (defcustom): Obey lexical-binding.
15174
15175 Fix octave-inf completion problems reported by Alexander Klimov.
15176 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15177 Inherit from octave-mode-syntax-table.
15178 (inferior-octave-mode): Set info-lookup-mode.
15179 (inferior-octave-completion-at-point): New function.
15180 (inferior-octave-complete): Use it and completion-in-region.
15181 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15182 comint-filename-completion.
15183 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15184 symbol elements which shouldn't be word elements.
15185 (octave-font-lock-keywords, octave-beginning-of-defun)
15186 (octave-function-header-regexp): Adjust regexps accordingly.
15187 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15188
15189 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15190
15191 * net/gnutls.el (gnutls-errorp): Declare before first use.
15192
15193 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15194
15195 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15196 verify-error, and verify-hostname-error parameters. Check whether
15197 default trustfile exists before going to use it. Add missing
15198 argument to gnutls-message-maybe call. Return value.
15199 Reported by Claudio Bley <claudio.bley@gmail.com>.
15200 (open-gnutls-stream): Add usage example.
15201
15202 * net/network-stream.el (network-stream-open-starttls): Give host
15203 parameter to `gnutls-negotiate'.
15204 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15205 * subr.el (shell-quote-argument): Escape correctly under Windows.
15206
15207 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15208
15209 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15210 Use correct match group (bug#8438).
15211
15212 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15213
15214 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15215 (package-menu--generate): New arg specifying packages to show.
15216 (package-menu-refresh, package-menu-execute, list-packages):
15217 Callers changed.
15218 (package-show-package-list): New function, replacing deleted
15219 package--list-packages (renamed because it is non-internal).
15220
15221 * finder.el (finder-list-matches): Use package-show-package-list
15222 instead of deleted package--list-packages.
15223
15224 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15225 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15226 (vc-annotate-mode-map): Bind it to RET.
15227
15228 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15229
15230 * progmodes/etags.el (next-file): Don't use set-buffer to change
15231 buffers (Bug#8478).
15232
15233 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15234
15235 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15236
15237 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15238 (apropos-accumulator): Doc fix.
15239 (apropos-function, apropos-macro, apropos-command)
15240 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15241 (apropos-plist): Add face property.
15242 (apropos-symbols-internal): Fix indentation.
15243 (apropos-print): Simplify help, and recognize apropos-multi-type.
15244 (apropos-print-doc): Use button-type-get to extract the button's
15245 face property. Fill docstring (Bug#8352).
15246
15247 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15248
15249 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15250
15251 * play/mpuz.el (mpuz-silent): Doc fix.
15252 (mpuz-mode-map): Use mapc.
15253 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15254 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15255 Fix typos in docstrings.
15256
15257 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15258 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15259
15260 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15261
15262 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15263
15264 * minibuffer.el (completion--do-completion): Avoid the "Next char
15265 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15266
15267 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15268 mouse-2 into unread-command-events, it is interpreted correctly.
15269
15270 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15271 (image-toggle-display): Doc fix.
15272
15273 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15274
15275 * textmodes/page.el (what-page): Use line-number-at-pos to
15276 calculate line number (Bug#6825).
15277
15278 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15279
15280 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15281 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15282 Pass argument NO-DEFAULT to `find-tag-interactive'.
15283
15284 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15285
15286 Lexical-binding cleanup.
15287
15288 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15289 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15290 * progmodes/ada-prj.el (ada-prj-initialize-values)
15291 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15292 (ada-prj-show-value):
15293 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15294 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15295 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15296 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15297 * progmodes/bug-reference.el (bug-reference-push-button):
15298 * progmodes/fortran.el (fortran-line-length):
15299 * progmodes/glasses.el (glasses-change):
15300 * progmodes/octave-mod.el (octave-fill-paragraph):
15301 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15302 (python-pdbtrack-grub-for-buffer, python-sentinel):
15303 * progmodes/sql.el (sql-save-connection):
15304 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15305 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15306 Mark unused parameters.
15307
15308 * progmodes/compile.el (compilation--flush-directory-cache)
15309 (compilation--flush-parse, compile-internal): Mark unused parameters.
15310 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15311 (compilation-next-error-function): Remove unused variable `timestamp'.
15312
15313 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15314 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15315
15316 * progmodes/dcl-mode.el (dcl-end-of-command):
15317 Remove unused variable `start'.
15318 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15319 (dcl-option-value-basic, dcl-option-value-offset)
15320 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15321 Mark unused parameters.
15322 (dcl-save-local-variable): Remove unused variable `val'.
15323 (mode): Declare.
15324
15325 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15326 Mark unused parameters.
15327 (delphi-ignore-changes): Move before first use.
15328 (delphi-charset-token-at): Remove unused variable `start'.
15329 (delphi-else-start): Remove unused variable `if-count'.
15330 (delphi-comment-block-start, delphi-comment-block-end):
15331 Remove unused variable `kind'.
15332 (delphi-indent-line): Remove unused variable `new-point'.
15333
15334 * progmodes/ebrowse.el (ebrowse-files-list)
15335 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15336 Mark unused parameters. Don't quote `lambda'.
15337 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15338 Don't quote `lambda'.
15339 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15340 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15341 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15342 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15343 Use `ignore-errors'.
15344 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15345 (ebrowse-view/find-file-and-search-pattern)
15346 (ebrowse-view/find-member-declaration/definition):
15347 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15348 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15349 Rename parameter PREFIX-ARG to PREFIX.
15350 (ebrowse-tags-read-name): Remove unused variables `start' and
15351 `member-info'.
15352 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15353 to `tags-file'.
15354
15355 * progmodes/etags.el (local-find-tag-hook): Declare.
15356 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15357 Mark unused parameters.
15358
15359 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15360 (executable-interpret): Mark unused parameter.
15361
15362 * progmodes/flymake.el (flymake-process-sentinel)
15363 (flymake-after-change-function)
15364 (flymake-create-temp-with-folder-structure)
15365 (flymake-get-include-dirs-dot): Mark unused parameters.
15366 (flymake-safe-delete-directory): Remove unused variable `err'.
15367
15368 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15369 (speedbar-timer-fn, speedbar-line-text)
15370 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15371 (speedbar-center-buffer-smartly): Declare functions.
15372 (gdb-find-watch-expression): Remove unused variable `array'.
15373 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15374 (gdb-starting): Mark unused parameters.
15375 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15376 (gdb-table-string): Remove unused variable `res'.
15377 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15378 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15379 (gdb-display-buffer): Remove unused variable `cur-size'.
15380
15381 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15382 allow lexical-binding compilation.
15383 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15384 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15385 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15386 Mark unused parameters.
15387 (gud-gdb-marker-filter): Remove unused variable `match'.
15388 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15389 lambda expressions and funcall them, instead of using `fset'.
15390
15391 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15392 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15393
15394 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15395 variable `header-beg'; use `let'.
15396
15397 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15398 `restart', `last-sexp' and `at-do'.
15399
15400 * progmodes/js.el (js--debug): Mark unused parameter.
15401 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15402 (js--splice-into-items): Remove unused variable `item'.
15403 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15404
15405 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15406 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15407 (makefile-complete): Remove unused variable `try'.
15408 (makefile-fill-paragraph, makefile-match-function-end):
15409 Mark unused parameters.
15410
15411 * progmodes/octave-inf.el (inferior-octave-complete):
15412 Remove unused variable `proc'.
15413 (inferior-octave-output-digest): Mark unused parameter.
15414
15415 * progmodes/perl-mode.el (perl-calculate-indent):
15416 Remove unused variable `err'.
15417
15418 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15419 (prolog-indent-line): Mark unused parameters.
15420 (prolog-indent-line): Remove unused variable `beg'.
15421
15422 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15423 (reporter-dont-compact-list): Declare.
15424
15425 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15426 Remove unused variable `char'.
15427 (sh-debug): Mark unused parameter.
15428 (sh-get-indent-info): Remove unused variable `start'.
15429 (sh-calculate-indent): Remove unused variable `var'.
15430
15431 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15432 (simula-electric-keyword): Remove unused variable `null'.
15433 (simula-search-backward, simula-search-forward): Remove unused
15434 variables `begin' and `end'.
15435
15436 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15437 Remove unused variable `pos'.
15438 (vera-electric-tab, vera-comment-uncomment-region):
15439 Mark unused parameters.
15440 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15441
15442 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15443
15444 * emacs-lisp/package.el (package--builtins, package-alist)
15445 (package-load-descriptor, package-built-in-p, package-activate)
15446 (define-package, package-installed-p)
15447 (package-compute-transaction, package-buffer-info)
15448 (package--push): Doc fix. Distinguish more clearly between
15449 version strings and version lists.
15450
15451 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15452
15453 Lexical-binding cleanup.
15454
15455 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15456 (5x5-make-mutate-best):
15457 * play/fortune.el (fortune-in-buffer):
15458 * play/gomoku.el (gomoku-init-display):
15459 * play/solitaire.el (solitaire, solitaire-do-check):
15460 * play/tetris.el (tetris-default-update-speed-function):
15461 Mark unused parameters.
15462
15463 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15464 (bubbles--shift): Remove unused variable `char-org'.
15465 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15466 (bubbles--show-images): Remove unused variable `char'.
15467
15468 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15469 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15470 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15471 (decipher-analyze-buffer): Use ?\s.
15472 (decipher-make-checkpoint): Remove unused variable `mapping'.
15473
15474 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15475
15476 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15477 Remove unused variable `result'; use `let'.
15478
15479 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15480 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15481 (gametree-children-shown-p, gametree-compute-reduced-score):
15482 Use `ignore-errors'.
15483
15484 * play/handwrite.el (ps-lpr-switches): Declare.
15485 (handwrite): Remove unused variables `pmin' and `lastp'.
15486
15487 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15488
15489 * play/landmark.el (landmark-init-display)
15490 (landmark-update-naught-weights): Mark unused parameters.
15491 (landmark-y): Remove unused variable `noise'. Simplify.
15492 (landmark-human-plays): Remove unused variable `score'.
15493
15494 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15495 (mpuz-try-proposal): Remove unused variable `game'.
15496
15497 * play/zone.el (life-patterns): Declare.
15498
15499 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15500
15501 * vc/vc.el (ediff-vc-internal): Declare function.
15502
15503 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * shell.el: Use lexical-binding and std completion UI.
15506 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15507 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15508 comint-preoutput-filter-functions rather than on
15509 comint-output-filter-functions.
15510 (shell-command-completion, shell--command-completion-data)
15511 (shell-filename-completion, shell-environment-variable-completion)
15512 (shell-c-a-p-replace-by-expanded-directory): New functions.
15513 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15514 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15515 (shell-dynamic-complete-environment-variable): Use them.
15516 (shell-dynamic-complete-as-environment-variable)
15517 (shell-dynamic-complete-as-command): Remove.
15518 (shell-match-partial-variable): Match past point.
15519 * comint.el: Clean up use of completion-at-point-functions.
15520 (comint-completion-at-point): New function.
15521 (comint-mode): Use it completion-at-point-functions.
15522 (comint-dynamic-complete): Make it obsolete.
15523 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15524 (comint-c-a-p-replace-by-expanded-history): New function.
15525 (comint-dynamic-complete-functions)
15526 (comint-replace-by-expanded-history): Use it.
15527 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15528 termination strings. Try harder to avoid second try-completion.
15529 (completion-in-region-mode-map): Disable bindings that don't work yet.
15530
15531 * comint.el: Use lexical-binding. Require CL.
15532 (comint-dynamic-complete-functions): Use comint-filename-completion.
15533 (comint-completion-addsuffix): Tweak custom type.
15534 (comint-filename-completion, comint--common-suffix)
15535 (comint--common-quoted-suffix, comint--table-subvert)
15536 (comint--complete-file-name-data): New functions.
15537 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15538 (comint-dynamic-list-filename-completions): Use them.
15539 (comint-dynamic-simple-complete): Make obsolete.
15540
15541 * minibuffer.el (completion-in-region-mode):
15542 Keep completion-in-region-mode--predicate global.
15543 (completion-in-region--postch):
15544 Assume completion-in-region-mode--predicate is not null.
15545
15546 * progmodes/flymake.el (flymake-start-syntax-check-process):
15547 Obey `dir'. Simplify.
15548
15549 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15550 we're in VC after all.
15551
15552 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15553
15554 * vc/vc.el (vc-diff-build-argument-list-internal)
15555 (vc-version-ediff, vc-ediff): New commands.
15556 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15557
15558 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15559
15560 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15561 add sanity check.
15562
15563 * obsolete/erc-hecomplete.el: Make obsolete.
15564 * obsolete/: Standardize obsolescence info in the header.
15565
15566 2011-04-20 Glenn Morris <rgm@gnu.org>
15567
15568 * calendar/solar.el (solar-horizontal-coordinates):
15569 Use the longitude argument rather than `calendar-longitude'.
15570 (solar-date-next-longitude): Remove unused locals.
15571
15572 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15573
15574 * whitespace.el: New version 13.2.1.
15575
15576 2011-04-20 felix <EmacsWiki> (tiny change)
15577
15578 * whitespace.el (global-whitespace-mode): Keep highlight when
15579 switching between major modes on a file.
15580
15581 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15584 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15585 multi-line comments as well.
15586
15587 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15588
15589 Lexical-binding cleanup.
15590
15591 * arc-mode.el (archive-mode-revert):
15592 * cmuscheme.el (scheme-interactively-start-process):
15593 * custom.el (custom-initialize-delay):
15594 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15595 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15596 * emacs-lock.el (emacs-lock-clear-sentinel):
15597 * ezimage.el (defezimage):
15598 * follow.el (follow-avoid-tail-recenter):
15599 * fringe.el (set-fringe-mode-1):
15600 * generic-x.el (bat-generic-mode-compile):
15601 * help-mode.el (help-info-variable, help-do-xref)
15602 (help-mode-revert-buffer):
15603 * help.el (view-emacs-todo):
15604 * iswitchb.el (iswitchb-completion-help):
15605 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15606 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15607 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15608 * locate.el (locate-update):
15609 * longlines.el (longlines-encode-region)
15610 (longlines-after-change-function):
15611 * outline.el (outline-isearch-open-invisible):
15612 * ps-def.el (declare-function, charset-dimension, char-width)
15613 (encode-char):
15614 * ps-mule.el (ps-mule-plot-string):
15615 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15616 (recentf-edit-list-select, recentf-edit-list-validate)
15617 (recentf-open-files-action):
15618 * rect.el (delete-whitespace-rectangle-line)
15619 (rectangle-number-line-callback):
15620 * register.el (window-configuration-to-register)
15621 (frame-configuration-to-register):
15622 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15623 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15624 (xselect-convert-to-targets, xselect-convert-to-delete)
15625 (xselect-convert-to-filename, xselect-convert-to-charpos)
15626 (xselect-convert-to-lineno, xselect-convert-to-colno)
15627 (xselect-convert-to-os, xselect-convert-to-host)
15628 (xselect-convert-to-user, xselect-convert-to-class)
15629 (xselect-convert-to-name, xselect-convert-to-integer)
15630 (xselect-convert-to-atom, xselect-convert-to-identity):
15631 * subr.el (declare, ignore, process-kill-without-query)
15632 (text-clone-maintain):
15633 * terminal.el (te-get-char, te-tic-sentinel):
15634 * tool-bar.el (tool-bar-make-keymap):
15635 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15636 * type-break.el (type-break-mode, type-break-noninteractive-query):
15637 * view.el (View-back-to-mark):
15638 * wid-browse.el (widget-browse-action, widget-browse-widget)
15639 (widget-browse-widgets, widget-browse-sexp):
15640 * widget.el (define-widget-keywords):
15641 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15642 Mark unused parameters.
15643
15644 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15645 (align-areas): Remove unused variable `look'.
15646 (align-region): Remove unused variables `real-end' and `pos-list'.
15647
15648 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15649
15650 * bindings.el (mode-line-modified, mode-line-remote):
15651 Mark unused parameters.
15652 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15653
15654 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15655 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15656
15657 * comint.el (comint-history-isearch-pop-state)
15658 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15659 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15660 (comint-substitute-in-file-name): Doc fix.
15661
15662 * completion.el (cmpl-statistics-block): Mark unused parameter.
15663 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15664 (save-completions-to-file, load-completions-from-file):
15665 Remove unused local variable `e'.
15666
15667 * composite.el (compose-chars): Remove unused variable `len'.
15668 (lgstring-insert-glyph): Remove unused variable `g'.
15669 (compose-glyph-string): Remove unused variables `ascent',
15670 `descent', `lbearing' and `rbearing'.
15671 (compose-glyph-string-relative): Remove unused variables
15672 `lbearing', `rbearing' and `wadjust'.
15673 (compose-gstring-for-graphic): Remove unused variables `header',
15674 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15675 (compose-gstring-for-terminal): Remove unused variables `header'
15676 and `nchars'. Use `let', not `let*'.
15677
15678 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15679 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15680 (Custom-buffer-done, custom-buffer-create-internal)
15681 (custom-browse-visibility-action, custom-browse-group-tag-action)
15682 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15683 (widget-magic-mouse-down-action, custom-toggle-parent)
15684 (custom-add-parent-links, custom-toggle-hide-variable)
15685 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15686 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15687 (custom-face-menu-create, custom-variable-menu-create, get)
15688 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15689 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15690 (customize-apropos): Remove unused variable `tests'.
15691 (custom-group-value-create): Remove unused variable `hidden-p'.
15692 (sort-fold-case): Declare.
15693
15694 * cus-theme.el (custom-reset-standard-faces-list)
15695 (custom-reset-standard-variables-list): Declare.
15696 (customize-create-theme, custom-theme-revert, custom-theme-write)
15697 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15698 Mark unused parameters.
15699
15700 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15701
15702 * delim-col.el (delimit-columns-max): Move defvar before first use.
15703
15704 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15705 (describe-char): Don't quote `lambda'. Mark unused parameter.
15706
15707 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15708 (auto-insert): Declare.
15709 (desktop-restore-file-buffer): Rename desktop-* parameters;
15710 mark unused ones.
15711 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15712 (desktop-buffer): Rename desktop-* parameters.
15713
15714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15715 (dframe-reposition-frame-xemacs, dframe-help-echo)
15716 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15717 Mark unused parameters.
15718
15719 * dired-aux.el (backup-extract-version-start, overwrite-query)
15720 (overwrite-backup-query, rename-regexp-query)
15721 (rename-non-directory-query): Declare.
15722 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15723 (dired-add-entry): Remove unused variable `orig-file-name'.
15724 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15725 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15726 `dired-copy-preserve-time' directly.
15727 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15728 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15729
15730 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15731 (dired-virtual-revert, dired-make-relative-symlink):
15732 Mark unused parameters.
15733 (manual-program): Declare.
15734 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15735 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15736 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15737
15738 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15739
15740 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15741
15742 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15743 Declare.
15744
15745 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15746
15747 * electric.el (Electric-command-loop): Rename parameter
15748 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15749
15750 * expand.el (expand-in-literal): Remove unused variable `here'.
15751
15752 * facemenu.el (facemenu-add-new-color):
15753 Remove unused variable `docstring'.
15754
15755 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15756 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15757 (face-attr-construct): Mark unused parameter. Doc fix.
15758 (read-color): Remove unused variable `hex-string'.
15759
15760 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15761 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15762 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15763 (display-buffer-other-frame): Remove unused variable `old-window'.
15764 (kill-buffer-hook): Declare.
15765 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15766 Mark unused parameters.
15767 (after-find-file): Pass 1 to `auto-save-mode', not t.
15768
15769 * files-x.el (auto-insert): Declare.
15770 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15771
15772 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15773 variable `buf'. Mark unused parameter.
15774 (find-lisp-insert-directory): Mark unused parameter.
15775
15776 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15777 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15778 (format-common-tail): Remove, unused.
15779 (format-deannotate-region): Remove unused variable `loc'.
15780 (format-annotate-region): Remove unused variable `p'.
15781 (format-annotate-single-property-change): Remove unused variables
15782 `default' and `tail'.
15783
15784 * forms.el (read-file-filter): Declare.
15785 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15786
15787 * frame.el (frame-creation-function-alist): Mark unused parameter.
15788 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15789
15790 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15791 Remove unused parameters.
15792 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15793 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15794
15795 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15796 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15797 (hfy-prepare-tag-map): Mark unused parameters.
15798 (htmlfontify-buffer): Use `called-interactively-p'.
15799
15800 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15801 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15802 (ibuffer-do-occur): Mark unused parameters.
15803 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15804 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15805
15806 * ibuffer.el: Don't quote `lambda'.
15807 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
15808 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
15809 Mark unused parameters.
15810
15811 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
15812 (ido-completing-read): Mark unused parameters.
15813 (ido-copy-current-word): Mark unused parameters;
15814 remove unused variable `name'.
15815 (ido-sort-merged-list): Remove unused parameter `dirs'.
15816
15817 * ielm.el (ielm-input-sender): Mark unused parameter.
15818 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
15819 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
15820 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
15821 `ielm-string' as a dynamic variable accessible from the IELM prompt.
15822 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
15823
15824 * image-dired.el (image-dired-display-thumbs): Remove unused
15825 variables `curr-file' and `count'.
15826 (image-dired-remove-tag): Remove unused variable `start'.
15827 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
15828 variable `curr-file'
15829 (image-dired-rotate-original): Remove unused variable `temp-file'.
15830 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
15831 Remove unused variable `file'.
15832 (image-dired-gallery-generate): Remove unused variable `curr'.
15833 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
15834
15835 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
15836
15837 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
15838
15839 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
15840
15841 * isearch.el (minibuffer-history-symbol): Declare.
15842 (isearch-edit-string): Remove unused variable `err'.
15843 (isearch-message-prefix, isearch-message-suffix):
15844 Mark unused parameters.
15845
15846 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
15847
15848 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
15849
15850 * makesum.el (double-column): Remove unused variable `cnt'.
15851
15852 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
15853 (ido-ignore-item-temp-list): Declare.
15854
15855 * mouse-drag.el (mouse-drag-throw): Remove unused variables
15856 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
15857 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
15858 (mouse-drag-drag): Remove unused variables `mouse-delta' and
15859 `mouse-col-delta'.
15860
15861 * mouse-sel.el (mouse-extend-internal):
15862 Remove unused variable `orig-window-frame'.
15863
15864 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
15865 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
15866 Move declarations before first use.
15867 (pcomplete-opt): Mark unused parameters; doc fix.
15868
15869 * proced.el (proced-revert): Mark unused parameter.
15870 (proced-send-signal): Remove unused variable `err'.
15871
15872 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
15873 Rename parameter PREFIX-ARG to ARG.
15874 (ps-basic-plot-string, ps-basic-plot-whitespace):
15875 Mark unused parameters.
15876
15877 * replace.el (replace-count): Define.
15878 (occur-revert-function): Mark unused parameters.
15879 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
15880 (isearch-case-fold-search, isearch-string): Declare.
15881 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
15882 bind `case-fold-search'. Remove unused variables `beg' and `end',
15883 and simplify.
15884 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
15885 COUNT and bind `replace-count'.
15886 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
15887 to COUNT.
15888
15889 * savehist.el (print-readably, print-string-length): Declare.
15890
15891 * shadowfile.el (shadow-expand-cluster-in-file-name):
15892 Remove unused variable `cluster'.
15893 (shadow-copy-file): Remove unused variable `i'.
15894 (shadow-noquery, shadow-clusters, shadow-site-cluster)
15895 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
15896 (shadow-define-literal-group, shadow-define-regexp-group)
15897 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
15898
15899 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
15900 (shell): Use `called-interactively-p'.
15901 (shell-directory-tracker): Remove unused variable `chdir-failure'.
15902
15903 * simple.el (compilation-context-lines, comint-file-name-quote-list)
15904 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
15905 (delete-backward-char): Remove unused variable `ocol'.
15906 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
15907 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
15908 (event-apply-hyper-modifier, event-apply-shift-modifier)
15909 (event-apply-control-modifier, event-apply-meta-modifier):
15910 Mark unused parameters.
15911 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
15912 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
15913
15914 * speedbar.el (speedbar-ignored-directory-expressions)
15915 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
15916 (speedbar-find-file, speedbar-dir-follow)
15917 (speedbar-directory-buttons-follow, speedbar-tag-find)
15918 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
15919 (speedbar-buffers-line-directory, speedbar-buffer-click):
15920 Mark unused parameters.
15921 (speedbar-tag-file): Remove unused variable `mode'.
15922 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
15923
15924 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
15925
15926 * talk.el (talk): Remove unused variable `display'.
15927
15928 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
15929 (tar-write-region-annotate): Mark unused parameter.
15930
15931 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
15932 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
15933 Declare them, wrapped in `with-no-warnings' to avoid replacing one
15934 warning by another.
15935
15936 * time-stamp.el (time-stamp-string-preprocess):
15937 Remove unused variable `require-padding'.
15938
15939 * tree-widget.el (widget-glyph-enable): Declare.
15940 (tree-widget-action): Mark unused parameter.
15941
15942 * w32-fns.el (x-get-selection): Mark unused parameter.
15943 (autoload-make-program, generated-autoload-file): Declare.
15944
15945 * wdired.el (wdired-revert): Mark unused parameters.
15946 (wdired-xcase-word): Remove unused variable `err'.
15947
15948 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
15949 (whitespace-help-scroll): Remove unused variable `data-help'.
15950
15951 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
15952 (widget-image-insert, widget-after-change, default)
15953 (widget-default-format-handler, widget-default-notify)
15954 (widget-default-prompt-value, widget-info-link-action)
15955 (widget-url-link-action, widget-function-link-action)
15956 (widget-variable-link-action, widget-file-link-action)
15957 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
15958 (widget-field-prompt-internal, widget-field-action, widget-field-match)
15959 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
15960 (widget-insert-button-action, widget-delete-button-action, visibility)
15961 (widget-documentation-link-action, widget-documentation-string-action)
15962 (widget-const-prompt-value, widget-regexp-match, symbol)
15963 (widget-coding-system-prompt-value)
15964 (widget-key-sequence-value-to-external, sexp)
15965 (widget-sexp-value-to-internal, character, vector, cons)
15966 (widget-choice-prompt-value, widget-boolean-prompt-value)
15967 (widget-color--choose-action): Mark unused parameters.
15968 (widget-item-match-inline, widget-choice-match-inline)
15969 (widget-checklist-match, widget-checklist-match-inline)
15970 (widget-group-match): Rename parameter VALUES to VALS.
15971 (widget-field-value-set): Remove unused variable `size'.
15972 (widget-color-action): Remove unused variables `value' and `start'.
15973
15974 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
15975 variable `dir'. Doc fix.
15976 (windmove-find-other-window): Don't pass it.
15977
15978 * window.el (count-windows): Mark unused parameter.
15979 (bw-adjust-window): Remove unused variable `err'.
15980
15981 * woman.el (woman-file-name): Remove unused variable `default'.
15982 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
15983 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
15984 (global-font-lock-mode): Declare.
15985 (woman-decode-region): Mark unused parameter.
15986 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
15987
15988 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
15989 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
15990 (x-dnd-handle-moz-url): Remove unused variable `title'.
15991 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
15992
15993 * xml.el (xml-parse-tag, xml-parse-attlist):
15994 Remove unused variable `pos'.
15995
15996 2011-04-19 Glenn Morris <rgm@gnu.org>
15997
15998 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
15999 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16000 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16001 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16002 * calendar/cal-html.el (cal-html-insert-minical):
16003 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16004 (calendar-mark-date-pattern):
16005 Prefix "unused" locals.
16006
16007 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16008 optional argument `style'.
16009
16010 * calendar/appt.el (appt-make-list):
16011 * calendar/cal-china.el (calendar-chinese-date-string):
16012 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16013 (diary-hebrew-yahrzeit):
16014 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16015 * calendar/calendar.el (calendar-generate-window):
16016 * calendar/time-date.el (time-to-days):
16017 Remove unused local variables.
16018
16019 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16022 glyphless-char-display table.
16023 (tabulated-list-glyphless-char-display): New var.
16024
16025 2011-04-18 Sam Steingold <sds@gnu.org>
16026
16027 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16028 to acknowledgments.
16029
16030 2011-04-17 Glenn Morris <rgm@gnu.org>
16031
16032 * calendar/diary-lib.el (diary-sexp-entry):
16033 * calendar/holidays.el (holiday-sexp):
16034 Set debug-on-error rather than the removed stack-trace-on-error.
16035
16036 2011-04-16 Glenn Morris <rgm@gnu.org>
16037
16038 * progmodes/f90.el: Use lexical-binding.
16039 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16040
16041 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16044 (mail-mode): Setup mailalias completion here instead.
16045 * mail/mailalias.el: Use lexical-binding.
16046 (pattern, mailalias-done): Declare dynamic.
16047 (mail-completion-at-point-function): New function, from mail-complete.
16048 (mail-complete): Use it.
16049 (mail-completion-expand): New function.
16050 (mail-get-names): Use it.
16051 (mail-directory, mail-directory-process, mail-directory-stream):
16052 Don't use `pattern' for lexically bound arg.
16053
16054 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16055
16056 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16057 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16058 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16059
16060 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16061 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16062 (byte-interactive-p): Define them again, for use when inlining
16063 old code.
16064
16065 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16066
16067 * loadup.el: Use `string-to-number', not `string-to-int'.
16068
16069 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16072 gud-gdb-complete-command.
16073 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16074 (gud-gdb-completion-at-point): New function.
16075 (gud-gdb-completions): Remove.
16076
16077 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16078
16079 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16080 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16081 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16082 whether `executable-find' is bound.
16083
16084 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16085
16086 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * minibuffer.el (completion-in-region-mode-predicate)
16089 (completion-in-region-mode--predicate): New vars.
16090 (completion-in-region, completion-in-region--postch)
16091 (completion-in-region-mode): Use them.
16092 (completion--capf-wrapper): Also return the hook function.
16093 (completion-at-point, completion-help-at-point):
16094 Adjust and provide a predicate.
16095
16096 Preserve arg names for advice of subr and lexical functions (bug#8457).
16097 * help-fns.el (help-function-arglist): Consolidate the subr and
16098 new-byte-code cases. Add argument `preserve-names' to extract names
16099 from the docstring when needed.
16100 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16101 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16102 (ad-arglist): Use help-function-arglist's new arg.
16103 (ad-definition-type): Use cond.
16104
16105 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16106
16107 * autorevert.el (auto-revert-handler):
16108 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16109 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16110 Don't quote lambda.
16111
16112 * image-mode.el (image-transform-set-scale):
16113 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16114
16115 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16116
16117 * net/network-stream.el (network-stream-open-starttls): Only do
16118 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16119 Upgrades via gnutls-cli are too slow to be done opportunistically.
16120
16121 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16122
16123 * dframe.el (dframe-current-frame): Remove spurious quote.
16124
16125 2011-04-12 Glenn Morris <rgm@gnu.org>
16126
16127 * calendar/cal-tex.el (cal-tex-end-document):
16128 Try to automatically use latin1 input if needed.
16129
16130 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16131 Don't try to cons a mark onto an empty element.
16132
16133 2011-04-11 Leo Liu <sdl.web@gmail.com>
16134
16135 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16136 buffers.
16137 (ido-kill-buffer-at-head): Support killing virtual buffers.
16138
16139 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16140
16141 * minibuffer.el (completion-show-inline-help): New var.
16142 (completion--do-completion, minibuffer-complete)
16143 (minibuffer-force-complete, minibuffer-complete-word):
16144 Inhibit minibuffer messages if completion-show-inline-help is nil.
16145
16146 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16147 to avoid interference from inline help (Bug#5849).
16148
16149 2011-04-10 Leo Liu <sdl.web@gmail.com>
16150
16151 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16152 Fix typo.
16153
16154 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16155
16156 * image-mode.el (image-toggle-display-image): Signal an error if
16157 not in Image mode.
16158 (image-transform-mode, image-transform-resize)
16159 (image-transform-set-rotation): Doc fix.
16160 (image-transform-set-resize): Delete.
16161 (image-transform-set-scale, image-transform-fit-to-height)
16162 (image-transform-fit-to-width): Handle image-toggle-display-image
16163 and image-transform-resize directly.
16164
16165 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16166
16167 * doc-view.el (doc-view-fit-width-to-window)
16168 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16169 New functions for fitting the shown image to the Emacs window size.
16170 (doc-view-mode-map): Add bindings for the new functions.
16171
16172 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16173
16174 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16175 Fix typo in docstring.
16176
16177 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16178
16179 * files.el (file-size-human-readable): Produce one digit after
16180 decimal, like "ls -lh" does.
16181
16182 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16183 the file size representation.
16184
16185 * simple.el (list-processes): If async subprocesses are not
16186 available, error out with a clear error message.
16187
16188 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16189
16190 * help.el (help-form-show): New function, to be called from C.
16191 Put help-form output in a buffer named differently than *Help*.
16192
16193 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16194
16195 * files.el (file-size-human-readable): New function.
16196
16197 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16198 computing the representation inline. Don't require `cl'.
16199
16200 2011-04-08 Glenn Morris <rgm@gnu.org>
16201
16202 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16203
16204 * net/browse-url.el (browse-url-firefox):
16205 Test system-type, not system-configuration.
16206
16207 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16208 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16209 Use log-edit-empty-buffer-p. (Bug#7598)
16210
16211 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16212 (rlogin-mode-map): Initialize in the defvar.
16213 (rlogin): Use ignore-errors.
16214
16215 * replace.el (occur-mode-map): Some fixes for menu items.
16216
16217 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16218
16219 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16220
16221 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16222
16223 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16224 issuing unused warnings.
16225
16226 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16227 macro directly.
16228
16229 * simple.el: Lisp reimplement of list-processes. Based on an
16230 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16231 (process-menu-mode): New major mode.
16232 (list-processes--refresh, list-processes):
16233 (process-menu-visit-buffer): New functions.
16234
16235 * files.el (save-buffers-kill-emacs): Don't assume any return
16236 value of list-processes, which is undocumented anyway.
16237
16238 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16239
16240 * emacs-lisp/tabulated-list.el: New file.
16241
16242 * emacs-lisp/package.el: Use Tabulated List mode.
16243 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16244 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16245 table format using Tabulated List mode variables.
16246 (package--push): New macro, replacing package-list-maybe-add.
16247 (package-menu--generate): Use package--push. Renamed from
16248 package--generate-package-list.
16249 (package-menu-refresh, list-packages): Use it.
16250 (package-menu--print-info): Rename from package-print-package.
16251 Return insertion data instead of inserting it directly.
16252 (package-menu-describe-package, package-menu-execute):
16253 Use tabulated-list-get-id.
16254 (package-menu-mark-delete, package-menu-mark-install)
16255 (package-menu-mark-unmark, package-menu-backup-unmark)
16256 (package-menu-mark-obsolete-for-deletion):
16257 Use tabulated-list-put-tag.
16258 (package--list-packages, package-menu-revert)
16259 (package-menu-get-package, package-menu-get-version)
16260 (package-menu-sort-by-column): Functions deleted.
16261 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16262 (package-menu--status-predicate, package-menu--version-predicate)
16263 (package-menu--name-predicate)
16264 (package-menu--description-predicate): Handle arguments in the
16265 Tabulated List format.
16266 (package-list-packages-no-fetch): Call list-packages.
16267
16268 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16269
16270 * files.el (after-find-file-from-revert-buffer): Remove variable.
16271 (after-find-file): Don't bind it.
16272 (revert-buffer-in-progress-p): New variable.
16273 (revert-buffer): Bind it.
16274 Pass nil for `after-find-file-from-revert-buffer'.
16275
16276 * saveplace.el (save-place-find-file-hook): Use new variable
16277 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16278
16279 2011-04-06 Glenn Morris <rgm@gnu.org>
16280
16281 * Makefile.in (AUTOGEN_VCS): New variable.
16282 (autoloads): Use $AUTOGEN_VCS.
16283
16284 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16285 * calendar/calendar.el (calendar-mode-map):
16286 Check for toolkit scroll bars. (Bug#8305)
16287
16288 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16289
16290 * minibuffer.el (completion-in-region--postch)
16291 (completion-in-region-mode): Remove unnecessary messages.
16292
16293 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16294
16295 * font-lock.el (font-lock-refresh-defaults):
16296 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16297 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16298
16299 * info.el (Info-directory-list, Info-read-node-name-2)
16300 (Info-split-parameter-string): Doc fixes.
16301 (Info-virtual-nodes): Reflow docstring.
16302 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16303 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16304 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16305 Fix typos in docstrings.
16306 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16307 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16308 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16309 (Info-restore-desktop-buffer): Mark unused parameters.
16310 (Info-directory-find-file, Info-directory-find-node)
16311 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16312 (Info-virtual-index-find-node, Info-apropos-find-file)
16313 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16314 Mark unused parameters; fix typos in docstrings.
16315 (Info-virtual-index): Remove unused local variable `nodename'.
16316
16317 2011-04-05 Deniz Dogan <deniz@dogan.se>
16318
16319 * net/rcirc.el: Update my e-mail address.
16320 (rcirc-mode-map): Remove M-o binding.
16321
16322 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16323
16324 * startup.el (command-line): Save the cursor's theme-face
16325 directly, instead of using face-override-spec.
16326
16327 * custom.el (load-theme): Minor optimization in assigning faces.
16328
16329 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16330
16331 * help-fns.el (describe-variable): Complete all variables having
16332 documentation, including keywords.
16333 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16334
16335 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16336
16337 Convert to lexical-binding.
16338
16339 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16340 (bs--get-marked-string, bs--get-modified-string)
16341 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16342 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16343 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16344
16345 * ehelp.el (electric-help-execute-extended)
16346 (electric-help-ctrl-x-prefix):
16347 * hexl.el (hexl-revert-buffer-function):
16348 * linum.el (linum-after-change, linum-after-scroll):
16349 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16350
16351 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16352
16353 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16354
16355 * epa-dired.el:
16356 * epa-mail.el:
16357 * epa-hook.el:
16358 * epa-file.el:
16359 * epa.el:
16360 * epg.el: Use lexical binding.
16361
16362 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16363
16364 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16365
16366 * textmodes/flyspell.el (flyspell-word): Recognize default
16367 dictionary case for flyspell-mark-duplications-exceptions.
16368 Use regexp matching for languages.
16369 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16370 default dictionary (Bug#7926).
16371
16372 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16373
16374 * emacs-lisp/package.el (package--with-work-buffer):
16375 Recognize https URLs.
16376
16377 * net/network-stream.el: Move from gnus/proto-stream.el.
16378 Change prefix to network-stream throughout.
16379 (open-protocol-stream): Merge into open-network-stream, leaving
16380 open-protocol-stream as an alias. Handle nil BUFFER args.
16381
16382 * subr.el (open-network-stream): Move to net/network-stream.el.
16383
16384 2011-04-02 Glenn Morris <rgm@gnu.org>
16385
16386 * find-dired.el (find-exec-terminator): New option.
16387 (find-ls-option): Test for -ls support.
16388 (find-ls-subdir-switches): Test for -b in find-ls-option.
16389 (find-dired, find-grep-dired): Doc fixes.
16390 (find-dired): Use find-exec-terminator.
16391
16392 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16393 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16394 (find-name-arg): Remove purecopy.
16395
16396 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16397 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16398 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16399 accordingly. Don't add the null-device if not needed.
16400
16401 * files.el (save-some-buffers): Doc fix.
16402
16403 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16404
16405 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16406
16407 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16408
16409 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16410 Use `dolist' rather than `mapcar'.
16411
16412 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16413
16414 Add lexical binding.
16415
16416 * subr.el (apply-partially): Use new closures rather than CL.
16417 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16418 (dolist, dotimes): Use slightly different expansion for lexical code.
16419 (functionp): Move to C.
16420 (letrec): New macro.
16421 (with-wrapper-hook): Use it and apply-partially instead of CL.
16422 (eval-after-load): Preserve lexical-binding.
16423 (save-window-excursion, with-output-to-temp-buffer): Turn them
16424 into macros.
16425
16426 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16427
16428 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16429 than the arglist.
16430 (help-add-fundoc-usage): Don't add `Not documented'.
16431 (help-function-arglist): Handle closures, subroutines, and new
16432 byte-code-functions.
16433 (help-make-usage): Remove leading underscores.
16434 (describe-function-1): Handle closures.
16435 (describe-variable): Use special-variable-p for completion.
16436
16437 * files.el (lexical-binding): Declare safe.
16438
16439 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16440 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16441 (pcase): Add `let' pattern.
16442 Change memoization so it actually works.
16443 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16444 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16445 <let>: New case.
16446
16447 * emacs-lisp/macroexp.el: Use lexical binding.
16448 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16449 Don't convert ' to #' without checking that it's indeed quoting
16450 a lambda.
16451
16452 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16453 Use eval-sexp-add-defvars.
16454 (eval-sexp-add-defvars): New fun.
16455
16456 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16457
16458 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16459 Don't autoload.
16460 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16461 than the internal `byte-compile-lambda'.
16462 (defmethod): Don't hide code under quotes.
16463 (eieio-defmethod): New `code' argument.
16464
16465 * emacs-lisp/eieio-comp.el: Remove.
16466
16467 * emacs-lisp/edebug.el (edebug-eval-defun)
16468 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16469 (edebug-toggle): Avoid `eval'.
16470
16471 * emacs-lisp/disass.el (disassemble-internal): Handle new
16472 `closure' objects.
16473 (disassemble-1): Handle new byte codes.
16474
16475 * emacs-lisp/cl.el (pushnew): Silence warning.
16476
16477 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16478 (cl-byte-compile-throw): Remove.
16479 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16480
16481 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16482 closures.
16483
16484 * emacs-lisp/cconv.el: New file.
16485
16486 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16487 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16488 (byte-compile-initial-macro-environment):
16489 Handle declare-function here.
16490 (byte-compile--lexical-environment): New var.
16491 (byte-stack-ref, byte-stack-set, byte-discardN)
16492 (byte-discardN-preserve-tos): New lap codes.
16493 (byte-interactive-p): Don't use any more.
16494 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16495 New macros.
16496 (byte-compile-lapcode): Use them and handle new lap codes.
16497 (byte-compile-obsolete): Remove.
16498 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16499 (byte-compile-arglist-warn): Check late def of inlinable funs.
16500 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16501 since they should have been expanded by now.
16502 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16503 (byte-compile-from-buffer): Remove unused second arg.
16504 (byte-compile-preprocess): New function.
16505 (byte-compile-toplevel-file-form): New function to distinguish
16506 file-form calls from outside from file-form calls from hunk-handlers.
16507 (byte-compile-file-form): Simplify.
16508 (byte-compile-file-form-defsubst): Remove.
16509 (byte-compile-file-form-defmumble): Simplify now that
16510 byte-compile-lambda always returns a byte-code-function.
16511 (byte-compile): Preprocess.
16512 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16513 Remove, not used any more.
16514 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16515 (byte-compile-make-args-desc): New funs.
16516 (byte-compile-lambda): Handle lexical functions. Always return
16517 a byte-code-function.
16518 (byte-compile-reserved-constants): New var, to make up room for
16519 closed-over variables.
16520 (byte-compile-constants-vector): Obey it.
16521 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16522 (byte-compile-macroexpand-declare-function): New function.
16523 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16524 byte-code-functions.
16525 (byte-compile-form): Check obsolescence here.
16526 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16527 (byte-compile-variable-ref): Remove.
16528 (byte-compile-dynamic-variable-op): New fun.
16529 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16530 (byte-compile-variable-set): New funs.
16531 (byte-compile-discard): Add 2 args.
16532 (byte-compile-stack-ref, byte-compile-stack-set)
16533 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16534 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16535 macroexpand-all instead.
16536 (byte-compile-quote-form): Remove.
16537 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16538 (byte-compile-bind, byte-compile-unbind): New funs.
16539 (byte-compile-let): Handle let* and lexical binding.
16540 (byte-compile-let*): Remove.
16541 (byte-compile-catch, byte-compile-unwind-protect)
16542 (byte-compile-track-mouse, byte-compile-condition-case):
16543 Handle a new :fun-body form, used for lexical scoping.
16544 (byte-compile-save-window-excursion)
16545 (byte-compile-with-output-to-temp-buffer): Remove.
16546 (byte-compile-defun): Simplify.
16547 (byte-compile-stack-adjustment): New fun.
16548 (byte-compile-out): Use it.
16549 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16550
16551 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16552 handler any more.
16553
16554 * emacs-lisp/byte-opt.el: Use lexical binding.
16555 (byte-inline-lapcode): Remove (to bytecomp).
16556 (byte-compile-inline-expand): Pay attention to inlining to/from
16557 lexically bound code.
16558 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16559 any more.
16560 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16561 any more and don't call compiler-macros.
16562 (byte-compile-splice-in-already-compiled-code): Remove.
16563 (byte-code): Don't inline any more.
16564 (disassemble-offset): Receive `bytes' as argument rather than via
16565 dynamic scoping.
16566 (byte-compile-tag-number): Declare before first use.
16567 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16568 `return' even if make-spliceable.
16569 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16570 obsolete interactive-p.
16571 (byte-optimize-lapcode): Optimize new lap-codes.
16572 Don't trip up on new form of `byte-constant' lap code.
16573
16574 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16575
16576 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16577
16578 * custom.el (custom-initialize-default, custom-declare-variable):
16579 Use `defvar'.
16580
16581 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16582 New variables.
16583 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16584 (COMPILE_FIRST): Add macroexp and cconv.
16585 * makefile.w32-in: Mirror changes in Makefile.in.
16586
16587 * vc/cvs-status.el:
16588 * vc/diff-mode.el:
16589 * vc/log-edit.el:
16590 * vc/log-view.el:
16591 * vc/smerge-mode.el:
16592 * textmodes/bibtex-style.el:
16593 * textmodes/css-mode.el:
16594 * startup.el:
16595 * uniquify.el:
16596 * minibuffer.el:
16597 * newcomment.el:
16598 * reveal.el:
16599 * server.el:
16600 * mpc.el:
16601 * emacs-lisp/smie.el:
16602 * doc-view.el:
16603 * dired.el:
16604 * abbrev.el: Use lexical binding.
16605
16606 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16607
16608 * info.el (info-display-manual): New function.
16609
16610 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16613
16614 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16615
16616 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16617 an entry for that server in rcirc-authinfo. (Bug#8385)
16618
16619 2011-03-31 Glenn Morris <rgm@gnu.org>
16620
16621 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16622
16623 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16624
16625 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16626
16627 * progmodes/python.el (python-default-interpreter)
16628 (python-python-command-args, python-jython-command-args)
16629 (python-which-shell, python-which-args, python-which-bufname)
16630 (python-file-queue, python-comint-output-filter-function)
16631 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16632 variables and functions.
16633
16634 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16635
16636 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16637 (completion-in-region-mode): New minor mode.
16638 (completion-in-region): Use it.
16639 (completion-in-region--data, completion-in-region-mode-map): New vars.
16640 (completion-in-region--postch): New function.
16641 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16642 New vars.
16643 (completion--capf-wrapper): New function.
16644 (completion-at-point): Use it to track well-behavedness of
16645 hook functions.
16646 (completion-help-at-point): New command.
16647
16648 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16649
16650 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16651 syntax class to search for whitespace on a single line
16652 (Message-ID: <4D938140.4030905@redhat.com>).
16653
16654 2011-03-30 Leo Liu <sdl.web@gmail.com>
16655
16656 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16657 New commands.
16658 (edit-abbrevs-map): Bind them here.
16659 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16660
16661 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16662
16663 * allout.el (allout-hide-by-annotation, allout-flag-region):
16664 Reduce possibility of overlay leakage by making them volatile.
16665
16666 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16667 hash is not shared between buffers. Mode initialization is
16668 responsible for giving it a useful starting value.
16669 (allout-item-span): Reduce possibility of overlay leakage by
16670 making them volatile.
16671 (allout-widgets-count-buttons-in-region): Add diagnostic function
16672 for tracking down button overlay leaks.
16673
16674 2011-03-29 Leo Liu <sdl.web@gmail.com>
16675
16676 * ido.el (ido-read-internal): Use the default history var
16677 minibuffer-history if no HISTORY is specified.
16678
16679 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16680
16681 * net/imap.el (imap-shell-open, imap-process-connection-type):
16682 Use imap-process-connection-type for 'shell' streams as well as
16683 Kerberos, SSL, other subprocesses.
16684
16685 2011-03-28 Leo Liu <sdl.web@gmail.com>
16686
16687 * abbrev.el (abbrev-table-empty-p): New function.
16688 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16689 nonempty ones. (Bug#5937)
16690
16691 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16692
16693 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16694
16695 2011-03-27 Leo Liu <sdl.web@gmail.com>
16696
16697 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16698 for foreground and background colors.
16699 (ansi-color-make-color-map): Adapt.
16700
16701 2011-03-25 Leo Liu <sdl.web@gmail.com>
16702
16703 * midnight.el (midnight-time-float): Remove. Note it calculates
16704 the microsecond component incorrectly and seconds-to-time does the
16705 same job.
16706 Remove redundant (require 'timer).
16707
16708 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16709 (ido-completions): Remove unused arguments. (Bug#8329)
16710
16711 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16712
16713 * minibuffer.el (completion--flush-all-sorted-completions):
16714 Remove itself from hook.
16715 (completion-at-point): Let the functions perform the completion
16716 immediately and return nil or t.
16717 * comint.el (comint-dynamic-complete-functions): Now identical to
16718 completion-at-point-functions.
16719 (comint-dynamic-list-input-ring): Remove unused var `index'.
16720 (comint--match-partial-filename, comint--unquote&expand-filename):
16721 New funs, split from comint-match-partial-filename.
16722 (comint-dynamic-complete): Use completion-at-point.
16723 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16724
16725 2011-03-24 Drew Adams <drew.adams@oracle.com>
16726
16727 * thingatpt.el: Support `defun'.
16728
16729 2011-03-23 Leo Liu <sdl.web@gmail.com>
16730
16731 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16732
16733 * help-mode.el (help-mode-finish): Tweak regexp.
16734
16735 2011-03-23 Glenn Morris <rgm@gnu.org>
16736
16737 * eshell/esh-opt.el (eshell-eval-using-options):
16738 Do not bind unused local variable `eshell-option-stub'.
16739
16740 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16741
16742 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16743
16744 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16745 keymap variable in `with-no-warnings' to avoid a warning when the
16746 keymap has been already `defconst'ed.
16747
16748 2011-03-22 Leo Liu <sdl.web@gmail.com>
16749
16750 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16751 encode all chars in abbrevs; otherwise use emacs-mule or
16752 utf-8-emacs. (Bug#8308)
16753
16754 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16755
16756 * simple.el (backward-delete-char-untabify):
16757 Avoid warning about using `delete-backward-char'.
16758
16759 * image.el (image-type-file-name-regexps): Make it variable.
16760 `imagemagick-register-types' modifies it, and the user may want
16761 to add new extensions for known image types.
16762 (imagemagick-register-types): Throw error if not using ImageMagick.
16763
16764 2011-03-22 Leo Liu <sdl.web@gmail.com>
16765
16766 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16767 located before rcirc-prompt-end-marker.
16768 (rcirc-complete): Error if point is not after rcirc prompt.
16769 Handle the case when table is nil.
16770 (rcirc-user-authenticated): Define to fix compiler warning.
16771
16772 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16773
16774 * custom.el (custom--inhibit-theme-enable): Make it affect only
16775 custom-theme-set-variables and custom-theme-set-faces.
16776 (provide-theme): Ignore custom--inhibit-theme-enable.
16777 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16778 (custom-enabling-themes): Delete variable.
16779 (enable-theme): Accept only loaded themes as arguments.
16780 Ignore the special custom-enabled-themes variable.
16781 (custom-enabled-themes): Forbid themes from setting this.
16782 Eliminate use of custom-enabling-themes.
16783 (custom-push-theme): Quote "changed" custom var entry.
16784
16785 2011-03-21 Leo Liu <sdl.web@gmail.com>
16786
16787 * ido.el (ido-read-internal): Add ido-selected to history instead
16788 of user input.
16789
16790 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16791
16792 * subr.el (deferred-action-list, deferred-action-function):
16793 Mark obsolete.
16794
16795 2011-03-21 Leo Liu <sdl.web@gmail.com>
16796
16797 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16798 change on 2011-02-13 (bug#8309).
16799
16800 * minibuffer.el (read-file-name-function): Change default value.
16801 (read-file-name--defaults): Rename from read-file-name-defaults.
16802 (read-file-name-default): Rename from read-file-name.
16803 (read-file-name): Call read-file-name-function.
16804
16805 2011-03-21 Glenn Morris <rgm@gnu.org>
16806
16807 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
16808 Doc fixes.
16809
16810 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
16811
16812 * cus-theme.el: Add missing provide statement.
16813 (customize-create-theme): Extract theme value correctly.
16814 (custom-theme-visit-theme): Autoload.
16815 (customize-create-theme): Prompt before inserting default faces.
16816
16817 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
16818
16819 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
16820 units and musical notes.
16821
16822 2011-03-20 Leo Liu <sdl.web@gmail.com>
16823
16824 * ido.el (ido-read-internal): Use completing-read-default.
16825 (ido-completing-read): Fix compatibility with completing-read.
16826
16827 2011-03-20 Christian Ohler <ohler@gnu.org>
16828
16829 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
16830 (ert-delete-all-tests): Use `called-interactively-p' rather than
16831 `interactive-p'.
16832 (ert--make-xrefs-region): Respect END.
16833
16834 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16835
16836 * dired-aux.el (dired-create-directory): Signal an error if the
16837 directory already exists (Bug#8246).
16838
16839 * facemenu.el (list-colors-display): Call list-faces-display
16840 inside with-help-window.
16841 (list-colors-print): Use display property to align the final
16842 column, instead of checking window-width.
16843
16844 2011-03-19 Eli Zaretskii <eliz@gnu.org>
16845
16846 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
16847 windows-nt systems.
16848 (emerge-protect-metachars): Quote correctly for ms-dos and
16849 windows-nt systems.
16850
16851 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
16852
16853 * info.el (info-initialize): Replace all uses of `:' with
16854 path-separator for compatibility with non-Unix systems.
16855 Cache quoting of path-separator. (Bug#8258)
16856
16857 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
16858
16859 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
16860 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
16861 (mouse-avoidance-mode): Fix typos in docstrings.
16862
16863 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
16864
16865 * startup.el (package-subdirectory-regexp): Move from package.el.
16866 Omit \\` and \\', and let callers add them.
16867
16868 * emacs-lisp/package.el (package-strip-version)
16869 (package-load-all-descriptors): Add \\` and \\' to
16870 package-subdirectory-regexp before using it.
16871 (package-untar-buffer): New arg DIR; ensure that file untars only
16872 into this expected directory. Remove superfluous delete-region.
16873 (package-unpack): Caller changed.
16874 (package-tar-file-info): Use package-subdirectory-regexp.
16875
16876 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
16879 diff-mode-shared-map (bug#8284).
16880 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
16881
16882 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16883
16884 * calendar/time-date.el (format-seconds): Use assoc instead of
16885 assoc-string, since assoc-string doesn't exist in XEmacs.
16886
16887 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
16888
16889 * custom.el (custom-known-themes): Reflow docstring.
16890 (custom-theme-load-path): Fix typo in docstring.
16891 (load-theme): Fix typo in error message.
16892 (custom-available-themes, custom-variable-theme-value):
16893 Use `let', not `let*'.
16894
16895 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16896
16897 * calc/README: Mention inclusion of musical notes.
16898
16899 * calc/calc-units.el (calc-lu-quant): Rename from
16900 `calc-logunits-quantity'.
16901 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
16902 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
16903 (calc-db): Rename from `calc-dblevel'.
16904 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
16905 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
16906 (calc-np): Rename from `calc-nplevel'.
16907 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
16908 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
16909 (calc-lu-plus): Rename from `calc-logunits-add'.
16910 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
16911 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
16912 (calc-lu-minus): Rename from `calc-logunits-sub'.
16913 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
16914 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
16915 (calc-lu-times): Rename from `calc-logunits-mul'.
16916 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
16917 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
16918 (calc-lu-divide): Rename from `calc-logunits-div'.
16919 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
16920 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
16921
16922 * calc/calc-ext.el (calc-init-extensions): Update the names of the
16923 functions being autoloaded.
16924
16925 * calc/calc.el (calc-lu-power-reference): Rename from
16926 `calc-logunits-power-reference'.
16927 (calc-lu-field-reference): Rename from
16928 `calc-logunits-field-reference'.
16929
16930 * calc/calc-help.el (calc-l-prefix-help):
16931 Mention musical note functions.
16932
16933 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
16934
16935 * minibuffer.el (completion-all-sorted-completions):
16936 Use :completion-cycle-penalty text property if present.
16937
16938 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
16939
16940 * allout.el (allout-yank-processing): Adjust for new rebulleting
16941 regime so bullet being yanked is used without prompting the user
16942 for a choice.
16943
16944 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16945
16946 * startup.el (command-line): Warn the user that _emacs is deprecated.
16947
16948 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
16949
16950 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
16951 (delphi-verbose, delphi-comment-face, delphi-string-face)
16952 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
16953 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
16954 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
16955 (delphi-new-comment-line, delphi-font-lock-defaults)
16956 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
16957 Fix typos in docstrings.
16958
16959 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
16960
16961 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
16962 Invert the roles of character and string values for INSTEAD, so a
16963 string is used for the more common case of a defaulting prompt.
16964
16965 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16966
16967 * progmodes/ruby-mode.el (ruby-backward-sexp):
16968 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
16969 * play/gamegrid.el (gamegrid-make-face):
16970 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
16971 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
16972 * notifications.el (notifications-notify):
16973 * net/xesam.el (xesam-search-engines):
16974 * net/quickurl.el (quickurl-list-insert):
16975 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
16976
16977 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
16978
16979 * startup.el (command-line): Update package subdirectory regexp.
16980
16981 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16982
16983 * allout.el (allout-abbreviate-flattened-numbering)
16984 (allout-mode-deactivate-hook): Fix up obsolescence "date".
16985
16986 * subr.el (read-char-choice): Only show the cursor after the prompt,
16987 not after the answer.
16988
16989 2011-03-15 Kevin Ryde <user42@zip.com.au>
16990
16991 * help-fns.el (variable-at-point): Skip leading quotes, if any
16992 (bug#8253).
16993
16994 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16995
16996 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
16997 warning message.
16998
16999 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17000
17001 * shell.el (shell): When called interactively, offer to change the
17002 shell file name on remote hosts.
17003
17004 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17005
17006 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17007 integration for LDAP parameters. The host, base, user or binddn,
17008 and secret tokens can be specified in a netrc file, for instance.
17009 This is optional because an `auth-source' parameter must be
17010 specified in the search attributes.
17011
17012 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17013
17014 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17015
17016 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17017
17018 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17019 into declaration. Remove redundant and harmful binding.
17020
17021 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17022
17023 * files.el (file-ownership-preserved-p): Pass `integer' as an
17024 explicit 2nd argument to `file-attributes'. If the file's owner
17025 is the Administrators group on Windows, and the current user is
17026 Administrator, consider that a match.
17027
17028 * server.el (server-ensure-safe-dir): Consider server directory
17029 safe on MS-Windows if its owner is the Administrators group while
17030 the current Emacs user is Administrator. Use `=' to compare
17031 numerical UIDs, since they could be integers or floats.
17032
17033 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17034
17035 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17036
17037 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17038
17039 Sync with Tramp 2.2.1.
17040
17041 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17042
17043 * net/trampver.el: Update release number.
17044
17045 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * progmodes/compile.el (compilation--previous-directory): Fix up
17048 various nil/dead-marker mismatches (bug#8014).
17049 (compilation-directory-properties, compilation-error-properties):
17050 Don't call it at a position past the one we're about to change.
17051
17052 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17053 Disable obsolescence warnings in the file that declares it.
17054
17055 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17056
17057 * allout-widgets.el (allout-widgets-tally):
17058 Initialize allout-widgets-tally as a hash table rather than nil to
17059 prevent mode-line redisplay warnings. Also, clarify the module
17060 description and fix a comment typo.
17061
17062 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17063
17064 * help-fns.el (describe-variable): Don't complete keywords.
17065 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17066
17067 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17068
17069 * emacs-lisp/package.el (package-version-join): Impose a standard
17070 string representation for pre/alpha/beta version lists.
17071 (package-unpack-single): Standardize the directory name by passing
17072 it through package-version-join.
17073 (package-strip-rcs-id): Accept any version string that does not
17074 signal an error in version-to-list.
17075
17076 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17077
17078 * simple.el (delete-trailing-whitespace): Return nil for the
17079 benefit of `write-file-functions'.
17080
17081 2011-03-10 Glenn Morris <rgm@gnu.org>
17082
17083 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17084
17085 * vc/vc-git.el (vc-git-program): New option.
17086 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17087 (vc-git--call): Use it.
17088
17089 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17090
17091 * cus-edit.el (Custom-newline): If no button at point, look
17092 for a subgroup button at start-of-line. (Bug#2298)
17093
17094 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17095
17096 2011-03-10 Julien Danjou <julien@danjou.info>
17097
17098 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17099 `cursor-type' is nil.
17100
17101 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17102
17103 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17104
17105 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17106
17107 * allout.el: Change so yank of distinctive-bullet items
17108 preserves the existing header prefix, rebulleting it if necessary,
17109 rather than replacing it. This is necessary for proper operation
17110 of cooperative addons like allout-widgets.
17111 (allout-make-topic-prefix, allout-rebullet-heading):
17112 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17113 value as alternate bullet to be used, instead of prompting the user
17114 for a bullet character.
17115
17116 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17117
17118 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17119 Do not use `tramp-file-name-port', because this returns also
17120 `tramp-default-port'.
17121
17122 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17123
17124 * net/rcirc.el (rcirc-handler-001): Remove useless
17125 with-rcirc-process-buffer.
17126 (rcirc-check-auth-status): Swap arguments to string-match.
17127
17128 2011-03-09 Glenn Morris <rgm@gnu.org>
17129
17130 * shell.el (shell-mode):
17131 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17132
17133 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17134 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17135
17136 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17137
17138 * emacs-lisp/package.el (package-refresh-contents)
17139 (package-menu-execute): Use condition-case-no-debug.
17140
17141 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17142
17143 * simple.el (shell-command-to-string): Use `process-file'.
17144
17145 * emacs-lisp/package.el (package-tar-file-info): Handle also
17146 remote files.
17147
17148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17149 Use `equal' for upload base check.
17150
17151 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17152
17153 * textmodes/texinfo.el (texinfo-environments):
17154 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17155
17156 2011-03-08 Glenn Morris <rgm@gnu.org>
17157
17158 * cus-start.el (cursor-in-non-selected-windows):
17159 Fix :set quoting oddness. (Bug#8192)
17160
17161 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17162 in some setf expressions. (Bug#2159)
17163
17164 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17165
17166 * custom.el (custom-available-themes): Return themes in
17167 alphabetical order.
17168
17169 See ChangeLog.15 for earlier changes.
17170
17171 ;; Local Variables:
17172 ;; coding: utf-8
17173 ;; End:
17174
17175 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17176
17177 This file is part of GNU Emacs.
17178
17179 GNU Emacs is free software: you can redistribute it and/or modify
17180 it under the terms of the GNU General Public License as published by
17181 the Free Software Foundation, either version 3 of the License, or
17182 (at your option) any later version.
17183
17184 GNU Emacs is distributed in the hope that it will be useful,
17185 but WITHOUT ANY WARRANTY; without even the implied warranty of
17186 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17187 GNU General Public License for more details.
17188
17189 You should have received a copy of the GNU General Public License
17190 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.