]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* align.el (align-region): Delete temporary markers.
[gnu-emacs] / lisp / ChangeLog
1 2012-08-09 Chong Yidong <cyd@gnu.org>
2
3 * align.el (align-region): Delete temporary markers (Bug#10047).
4 Plus some code cleanups.
5
6 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7
8 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10 (python-shell-internal-last-output): Use make-local-variable
11 instead of make-variable-buffer-local.
12
13 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
14
15 * progmodes/python.el: Enhancements to forward-sexp.
16 (python-nav-forward-sexp): Rename from
17 python-nav-forward-sexp-function.
18 (python-nav--forward-sexp, python-nav--backward-sexp): New
19 functions.
20
21 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
22
23 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
24 modes and simplification modes.
25
26 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * delsel.el (delete-selection-pre-hook): Don't propagate the
29 file-supersession signals (bug#12161).
30
31 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
34 (cl-map-extents): Add compatibility aliases (bug#12135).
35
36 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
37
38 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
39 tests by `ignore-error'.
40 (tramp-find-shell): Open also a new shell, when cache is already
41 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
42
43 2012-08-08 Juri Linkov <juri@jurta.org>
44
45 * bookmark.el: Add `defaults' property to the bookmark record.
46 (bookmark-current-buffer): Doc fix.
47 (bookmark-make-record): Add `defaults' property with default values
48 to the bookmark record.
49 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
50 with `bookmark-insert-current-bookmark'.
51 (bookmark-set): Get `defaults' property from the bookmark record
52 and use it in `read-from-minibuffer'.
53 (bookmark-insert-current-bookmark): Remove function.
54
55 * info.el (Info-bookmark-make-record): Add `defaults' property
56 with values of canonical Info node name, the current Info file
57 name and the current Info node name. (Bug#12107)
58
59 2012-08-08 Juri Linkov <juri@jurta.org>
60
61 * files.el (basic-save-buffer): Use `buffer-name' as the default
62 of `read-file-name' when buffer is not visiting a file (bug#12128).
63
64 2012-08-08 Juri Linkov <juri@jurta.org>
65
66 * info.el (Info-isearch-search): Doc fix.
67 (Info-search): Change search-failed message from "initial node" to
68 "end of node" (bug#12078).
69 (Info-isearch-search): Change `isearch-string-state' to
70 `isearch--state-string'.
71
72 2012-08-08 Glenn Morris <rgm@gnu.org>
73
74 * language/persian.el: Remove file.
75 * language/misc-lang.el: Move unique part of persian.el here.
76 * loadup.el: Remove language/persian.
77
78 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
79
80 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
81
82 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
83
84 * progmodes/python.el Fixed defsubst warning.
85 (python-syntax-context) Rename from python-info-ppss-context.
86 (python-syntax-context-type): Rename from
87 python-info-ppss-context-type.
88 (python-syntax-comment-or-string-p): Rename from
89 python-info-ppss-comment-or-string-p.
90
91 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
92
93 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
94
95 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
96
97 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
98 a defcustom that is quoted with backquote.
99
100 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
101 Fix handling of interactive spec when the body uses return.
102 (math-do-arg-check, math-define-function-body): Use backquote forms.
103 * calc/calc-ext.el (math-defcache): Likewise.
104 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
105 * allout.el (allout-new-exposure): Likewise.
106 * calc/calcalg2.el (math-tracing-integral): Likewise.
107 * info.el (Info-last-menu-item): Likewise.
108 * emulation/vip.el (vip-loop): Likewise.
109 * textmodes/artist.el (artist-funcall): Likewise.
110 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
111 Construct menu-item directly.
112
113 * progmodes/autoconf.el (font-lock-syntactic-keywords):
114 Don't declare.
115
116 2012-08-07 Chong Yidong <cyd@gnu.org>
117
118 * simple.el (deactivate-mark): Preserve text properties when
119 saving the primary selection (Bug#8384).
120
121 2012-08-07 Kevin Ryde <user42@zip.com.au>
122
123 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
124 (woman-parse-numeric-value): On a bad .IP line, issue a warning
125 and continue processing (Bug#12110).
126
127 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
130 syntax-propertize-function (bug#10095).
131
132 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * help-fns.el (help-fns--key-bindings, help-fns--signature)
135 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
136 describe-function-1.
137 (describe-function-1): Use them. Move compiler macro after sig.
138 (help-fns--compiler-macro): Use function-get. Assume we're already in
139 standard-output. Adjust layout to new call order.
140
141 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
142 re-binding a symbol that has a symbol-macro (bug#12119).
143
144 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
145
146 * language/persian.el: New file. (Bug#11812)
147 * loadup.el: Add language/persian.el.
148
149 2012-08-06 Chong Yidong <cyd@gnu.org>
150
151 * window.el (window--maybe-raise-frame): New function.
152 (window--display-buffer): Split off from here.
153 (display-buffer-reuse-window, display-buffer-pop-up-frame)
154 (display-buffer-pop-up-window, display-buffer-use-some-window):
155 Obey an inhibit-switch-frame action alist entry.
156 (display-buffer): Update doc.
157
158 * replace.el (occur-after-change-function): Avoid losing focus by
159 using the inhibit-switch-frame display parameter (Bug#12139).
160
161 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
162
163 Make internal shell process buffer names start with space.
164 * progmodes/python.el (python-shell-make-comint): Add optional
165 argument INTERNAL.
166 (run-python-internal): Use it.
167 (python-shell-internal-get-or-create-process): Check for new
168 internal buffer names.
169
170 2012-08-06 Glenn Morris <rgm@gnu.org>
171
172 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
173 Do less getting and setting of environment variables.
174
175 2012-08-05 Chong Yidong <cyd@gnu.org>
176
177 * proced.el (proced): Add substitution string to docstring to
178 trigger autoloading of the proced library on C-h f (Bug#1768).
179
180 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
181 Don't show defvars which have no second argument (Bug#8638).
182
183 * imenu.el (imenu-generic-expression): Move documentation here
184 from imenu--generic-function.
185 (imenu--generic-function): Refer to imenu-generic-expression.
186
187 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
188
189 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
190 indentation declaration.
191 (viper-loop): Add indentation declaration (Bug#7025).
192
193 2012-08-05 Chong Yidong <cyd@gnu.org>
194
195 * help-fns.el (describe-variable): Add hyperlink for
196 directory-local variables files. Improve buffer-local and
197 permanent-local reporting; suggested by MON KEY (Bug#6644).
198
199 * help-mode.el (help-dir-local-var-def): New button type.
200
201 * files.el (kill-buffer-hook): Provide a defvar.
202
203 2012-08-05 Glenn Morris <rgm@gnu.org>
204
205 * eshell/esh-ext.el (eshell/addpath):
206 Also update eshell-path-env. (Bug#12013)
207
208 2012-08-05 Chong Yidong <cyd@gnu.org>
209
210 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
211
212 * fringe.el (fringe-styles): Add docstring.
213 (fringe--check-mode): New function.
214 (set-fringe-mode, set-fringe-style): Use it.
215 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
216
217 * files.el (set-auto-mode): Fix invalid setq call.
218
219 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * isearch.el: Misc simplification; use defstruct.
222 (isearch-mode-map): Dense maps now work like sparse ones.
223 (isearch--state): New defstruct.
224 (isearch-string-state, isearch-message-state, isearch-point-state)
225 (isearch-success-state, isearch-forward-state)
226 (isearch-other-end-state, isearch-word-state, isearch-error-state)
227 (isearch-wrapped-state, isearch-barrier-state)
228 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
229 replaced by defstruct's accessors.
230 (isearch--set-state): Rename from isearch-top-state and change
231 calling convention.
232 (isearch-push-state): Use new isearch--get-state.
233 (isearch-toggle-word): Disable regexp when enabling word.
234 (isearch-message-prefix): Remove unused arg _c-q-hack.
235 (isearch-message-suffix): Remove unused arg _ellipsis.
236
237 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
238
239 * simple.el (list-processes--refresh): For a server use :host or
240 :local as the address.
241 (list-processes): Doc fix.
242
243 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
244
245 * lisp/mpc.el: Support password in host argument.
246 (mpc--proc-connect): Parse and use new password element.
247 Set mpc-proc variable instead of returning process.
248 (mpc-proc): Adjust accordingly.
249
250 2012-08-03 Eli Zaretskii <eliz@gnu.org>
251
252 * whitespace.el (whitespace-display-mappings): Use Unicode
253 codepoints, instead of emacs-mule codepoints. See
254 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
255 for the details.
256
257 * files.el (file-truename): Don't skip symlink-chasing part on
258 windows-nt. Incorporate the resolution of 8+3 short aliases on
259 Windows into the loop that recursively chases symlinks.
260 Compare directory and its parent case-insensitively on MS-Windows and
261 MS-DOS.
262
263 2012-08-03 Chong Yidong <cyd@gnu.org>
264
265 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
266
267 * sort.el (sort-regexp-fields): Doc fix.
268
269 2012-08-03 Tassilo Horn <tsdh@gnu.org>
270
271 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
272 labels regex position point at the expected place.
273
274 2012-08-03 MON KEY <monkey@sandpframing.com>
275
276 * net/imap.el (imap-interactive-login, imap-authenticate)
277 (imap-mailbox-lsub, imap-mailbox-list)
278 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
279 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
280 (imap-parse-response): Doc fix.
281
282 2012-08-03 João Távora <joaotavora@gmail.com>
283
284 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
285 if sexp scanning does not move point (Bug#5734).
286
287 2012-08-02 Tassilo Horn <tsdh@gnu.org>
288
289 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
290 Add listings, minted, and ctable packages.
291 (reftex-label-alist-builtin): Move listings, minted, and ctable
292 entries before LaTeX.
293 (reftex-label-alist): Docfix.
294
295 2012-08-02 Bastien Guerry <bzg@gnu.org>
296
297 * replace.el (occur): Fix docstring (bug#12122).
298
299 2012-08-02 Glenn Morris <rgm@gnu.org>
300
301 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
302
303 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
304
305 Obsolete alias inactivate-current-input-method-function (Bug#10150).
306 * international/mule-cmds.el: Create
307 inactivate-current-input-method-function as an obsolete alias for
308 deactivate-current-input-method-function. See Katsumi Yamaoka in
309 <http://bugs.gnu.org/10150#46>.
310
311 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
312
313 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
314 of nested `if's.
315
316 2012-08-01 Glenn Morris <rgm@gnu.org>
317
318 * progmodes/autoconf.el (autoconf-definition-regexp):
319 Add AH_TEMPLATE, adjust submatch numbering.
320 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
321 (autoconf-current-defun-function): Update for above change.
322 (autoconf-current-defun-function): First skip to end of current word.
323
324 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
325
326 * calendar/cal-html.el (cal-html-insert-agenda-days):
327 Fix typo. (Bug#12018)
328
329 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
330
331 Shell processes: enhancements to startup and CEDET compatibility.
332 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
333 (python-shell-make-comint): accept-process-output at startup.
334 (run-python-internal): Set inferior-python-mode-hook to nil.
335 (python-shell-internal-get-or-create-process): call sit-for.
336 (python-preoutput-result): Add obsolete alias.
337 (python-shell-internal-send-string): Use it.
338 (python-shell-send-setup-code): Remove call to
339 accept-process-output.
340
341 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
342
343 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
344 (Bug#12108)
345
346 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
347
348 * calc-mode.el (calc-basic-simplification-mode): Rename from
349 `calc-limited-simplification-mode'.
350 (calc-alg-simplification-mode): New function.
351 (calc-set-simplify-mode): Adjust message.
352
353 * calc.el (calc-set-mode-line): Adjust mode line display for
354 basic simplification mode.
355
356 * calc-help.el (calc-m-prefix-help): Update help message.
357
358 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
359 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
360
361 2012-07-31 Bastien Guerry <bzg@gnu.org>
362
363 * man.el (man): Fix comment. (bug#12101)
364
365 2012-07-31 Martin Rudalics <rudalics@gmx.at>
366
367 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
368 Don't return a non-nil value when no suitable buffer was found.
369
370 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
371
372 * progmodes/python.el (run-python-internal): Disable font lock for
373 internal shells.
374
375 2012-07-30 Stefan Merten <smerten@oekonux.de>
376
377 * rst.el: Silence `checkdoc-ispell'.
378 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
379 (rst-official-version, rst-official-cvs-rev)
380 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
381 (rst-mode-map): New key binding.
382
383 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
384
385 Update .PHONY listings in makefiles.
386 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
387 autoloads, update-subdirs, updates, bzr-update, update-authors,
388 compile-onefile, compile-calc, backup-compiled-files,
389 compile-after-backup, compile-one-process, mh-autoloads,
390 bootstrap-clean, distclean, maintainer-clean.
391
392 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
393
394 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
395 (calc-set-mode-line): Don't display "AlgSimp ".
396
397 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
398 (calc-lim-simplify-mode): New function.
399 (calc-set-simplify-mode): Default to 'alg.
400 (calc-default-simplify-mode): Make algebraic simplifications
401 the default.
402
403 * calc/calc-ext.el (calc-init-extensions): Remove binding for
404 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
405
406 * calc/calc-help.el (calc-m-prefix-help): Change messages to
407 indicate new simplification modes.
408
409 * calc/README: Mention new default simplification mode.
410
411 * calc/calc.el (math-normalize-error): New variable.
412 (math-normalize): Set `math-normalize-error' to t
413 when there's an error.
414
415 * calc/calc-alg.el (math-simplify): Don't simplify when
416 `math-normalize' returns an error.
417
418 2012-07-29 Eli Zaretskii <eliz@gnu.org>
419
420 * international/mule-cmds.el (set-locale-environment): Revert last
421 change, since display-graphic-p returns nil when this function is
422 called during startup. Instead...
423
424 * term/w32console.el (terminal-init-w32console): ...setup the
425 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
426
427 2012-07-29 Juri Linkov <juri@jurta.org>
428
429 * simple.el (goto-line): Don't display default line number in the
430 prompt because it should be displayed by `read-number' (bug#9952).
431 Add the current line number to the defaults of `goto-line' to
432 allow its easier modification by users with `M-n' (bug#9201).
433
434 * subr.el (read-number): Support multiple default values like in
435 other minibuffer reading functions. Replace `read' with
436 `string-to-number' for consistency with `number-to-string'.
437
438 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
439
440 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
441 * emulation/viper-init.el (viper-deactivate-input-method-action):
442 Rename from viper-inactivate-input-method-action.
443 (viper-deactivate-input-method):
444 Rename from viper-inactivate-input-method.
445 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
446 * international/mule-cmds.el (deactivate-input-method):
447 Rename from inactivate-input-method.
448 Also run input-method-deactivate-hook.
449 (deactivate-current-input-method-function):
450 Rename from inactivate-current-input-method-function.
451 (input-method-deactivate-hook): New hook.
452 (input-method-inactivate-hook): Mark obsolete.
453 (inactivate-input-method): Mark obsolete.
454
455 * international/quail.el (quail-activate):
456 Also run quail-deactivate-hook.
457 (quail-deactivate): Rename from quail-inactivate.
458 * international/robin.el (robin-activate):
459 Also run robin-deactivate-hook.
460 (robin-deactivate): Rename from robin-inactivate.
461
462 2012-07-29 Chong Yidong <cyd@gnu.org>
463
464 * simple.el (indicate-copied-region): New function.
465 (kill-ring-save): Split off from here.
466
467 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
468 (kill-rectangle): Set deactivate-mark to t on read-only error.
469
470 * register.el (copy-to-register, copy-rectangle-to-register):
471 Deactivate the mark, and use indicate-copied-region (Bug#10056).
472 (append-to-register, prepend-to-register): Call
473
474 2012-07-29 Juri Linkov <juri@jurta.org>
475
476 * simple.el (async-shell-command-buffer): New defcustom.
477 (shell-command): Use it. (Bug#4719)
478
479 2012-07-28 Eli Zaretskii <eliz@gnu.org>
480
481 * international/mule-cmds.el (set-locale-environment): In a
482 console session on MS-Windows, set up keyboard and terminal
483 encoding from the OEM codepage, not the ANSI codepage.
484 (Bug#12055)
485
486 2012-07-28 Chong Yidong <cyd@gnu.org>
487
488 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
489 gdb-get-location.
490
491 2012-07-28 Leo Liu <sdl.web@gmail.com>
492
493 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
494 the alist (bug#12029).
495
496 2012-07-28 Eli Zaretskii <eliz@gnu.org>
497
498 * makefile.w32-in (custom-deps, finder-data, updates, compile)
499 (compile-always, compile-first)
500 ($(lisp)/calendar/cal-loaddefs.el)
501 ($(lisp)/calendar/diary-loaddefs.el)
502 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
503 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
504 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
505 instead of on update-subdirs.
506 (bootstrap-clean): Delete $(lisp)/subdirs.el.
507
508 2012-07-28 Chong Yidong <cyd@gnu.org>
509
510 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
511 directory if vc-deduce-backend returns nil (Bug#7350).
512
513 * simple.el (delete-trailing-lines): New option.
514 (delete-trailing-whitespace): Obey it (Bug#11879).
515
516 2012-07-28 David Engster <deng@randomsample.de>
517
518 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
519 Explanation of new 'symbol-qnames feature in doc-strings.
520 (xml-maybe-do-ns): Return expanded names as plain symbols if
521 'symbol-qnames was provided in XML-NS argument (Bug#11916).
522 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
523
524 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
525
526 Consistent completion in inferior python with emacs -nw.
527 * progmodes/python.el (inferior-python-mode): replace "<tab>"
528 binding in inferior-python-mode-map with "\t".
529 (python-shell-completion-complete-at-point)
530 (python-completion-complete-at-point): Remove interactive spec.
531
532 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
533
534 * calc/calccomp.el (math-compose-expr): Undo previous change.
535
536 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
537
538 * progmodes/python.el (python-mode-map): Add keybinding for
539 run-python.
540 (python-shell-make-comint): Fix pop-to-buffer call.
541 (run-python): Autoload. New arg SHOW.
542 (python-shell-get-or-create-process): Do not pop python process
543 buffer.
544
545 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
546
547 * notifications.el (notifications-on-action-signal)
548 (notifications-on-closed-signal): Use also the bus address for the map.
549 (notifications-notify, notifications-close-notification)
550 (notifications-get-capabilities): Add optional argument BUS.
551
552 2012-07-27 Tassilo Horn <tsdh@gnu.org>
553
554 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
555 Add support for the lstlisting and minted environments, and for the
556 ctable macro.
557 * textmodes/reftex.el (reftex-compile-variables): Also recognize
558 labels written in keyvals syntax.
559
560 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
561
562 * calc/calccomp.el (math-compose-expr): Use parentheses when
563 there is a product in the denominator of a fraction.
564
565 2012-07-26 Eli Zaretskii <eliz@gnu.org>
566
567 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
568 ($(lisp)/calendar/diary-loaddefs.el)
569 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
570 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
571 Fixes failures in parallel bootstrap because subdirs.el is being
572 rewritten while the autoload files are built at the same time,
573 which needs to load subdirs.el.
574
575 2012-07-26 Martin Rudalics <rudalics@gmx.at>
576
577 * mouse.el (popup-menu): Fix doc-string and re-indent code.
578 (mouse-drag-line): Don't exit tracking when a switch-frame or
579 switch-window event occurs (Bug#12006).
580
581 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * mouse.el (popup-menu): Fix last change.
584
585 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 Autoload from Lisp with more care. Follow aliases when looking for
588 function properties.
589 * subr.el (autoloadp): New function.
590 (symbol-file): Use it.
591 (function-get): New function.
592 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
593 autoload-do-load.
594 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
595 (lisp-indent-function):
596 * emacs-lisp/gv.el (gv-get):
597 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
598 * emacs-lisp/byte-opt.el (byte-optimize-form):
599 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
600 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
601 Use function-get.
602 * emacs-lisp/cl.el: Don't propagate function properties any more.
603
604 * speedbar.el (speedbar-add-localized-speedbar-support):
605 * emacs-lisp/disass.el (disassemble-internal):
606 * desktop.el (desktop-load-file):
607 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
608 (describe-function-1):
609 * emacs-lisp/find-func.el (find-function-noselect):
610 * emacs-lisp/elp.el (elp-instrument-function):
611 * emacs-lisp/advice.el (ad-has-proper-definition):
612 * apropos.el (apropos-safe-documentation, apropos-macrop):
613 * emacs-lisp/debug.el (debug-on-entry):
614 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
615 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
616 * calc/calc.el (name): Use autoloadp & autoload-do-load.
617
618 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
619
620 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
621 function, not an obsolete variable (Bug#12046).
622
623 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
624
625 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
626
627 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
628
629 * emacs-lisp/pp.el (pp-display-expression): Select old selected
630 window only if it is still live (Bug#12034).
631
632 2012-07-25 Martin Rudalics <rudalics@gmx.at>
633
634 * subr.el (redirect-frame-focus): Add advertised calling
635 convention (Bug#12030).
636
637 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
638
639 Prefer typical American spelling for "acknowledgment".
640 * vc/add-log.el (change-log-acknowledgment): Rename from
641 change-log-acknowledgement, with an alias for the old name.
642
643 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
644
645 * calc-alg.el (math-simplify-divide): Don't cross multiply
646 in an equation when the lhs is a variable.
647
648 2012-07-24 Julien Danjou <julien@danjou.info>
649
650 * net/netrc.el (netrc-find-service-number, netrc-store-data):
651 Remove, unused.
652
653 2012-07-23 Eli Zaretskii <eliz@gnu.org>
654
655 * startup.el (command-line): Don't display an empty user name in
656 the error message about non-existent home directory, when
657 init-file-user was set to an empty string. See
658 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
659 for the details and context.
660
661 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
662
663 * ses.el (ses-cell-formula-aset): New macro.
664 (ses-cell-references-aset): New macro.
665 (ses-cell-p): New function.
666 (ses-rename-cell): Do no longer rely on complex operations like
667 ses-cell-set-formula or ses-set-cell to change the cell and handle
668 the undo at the same time, but rather use lower level new macros
669 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
670 the undo directly. Refresh the mode line.
671
672 2012-07-21 Leo Liu <sdl.web@gmail.com>
673
674 * progmodes/cc-cmds.el (c-defun-name):
675 Use match-string-no-properties instead for consistency.
676
677 2012-07-20 Leo Liu <sdl.web@gmail.com>
678
679 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
680 (Bug#7879)
681
682 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
683
684 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
687 * progmodes/bug-reference.el, misearch.el: Provide themselves
688 (bug#11915).
689
690 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
691 of narrowed buffer (bug#11966).
692
693 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
694
695 * ses.el (ses-rename-cell): Set new name also in reference list of
696 cells of which the renamed cell depends.
697
698 2012-07-20 Masatake YAMATO <yamato@redhat.com>
699
700 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
701 to check whether menu-bar is shown or not. If not shown,
702 show the menu-bar as a popup menu instead of using tmm.
703 * mouse.el (popup-menu): Accept `point' as `position' argument.
704
705 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
706
707 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
708 up inside string symbol literal (bug#11923).
709
710 2012-07-20 Eli Zaretskii <eliz@gnu.org>
711
712 * startup.el (fancy-startup-text): Read the whole tutorial, not
713 just its first 256 bytes. Prevents gibberish in display of the
714 tutorial title.
715
716 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
717
718 Drop idle buffer compaction due to an absence of the
719 proved efficiency.
720 * compact.el: Remove.
721
722 2012-07-19 Sam Steingold <sds@gnu.org>
723
724 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
725 vc-bzr-pull & vc-bzr-merge-branch.
726 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
727 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
728 for consistency with compilation-error-regexp-alist.
729 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
730 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
731 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
732 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
733
734 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
735
736 * emacs-lisp/chart.el: Use lexical-binding.
737 (chart-emacs-storage): Don't hardcode the list of entries.
738
739 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
740
741 Next round of tweaks caused by Fgarbage_collect changes.
742 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
743
744 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
745
746 Compact buffers when idle.
747 * compact.el: New file.
748
749 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * subr.el (eventp): Presume that if it looks vaguely like an event,
752 it's an event (bug#10190).
753
754 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
755
756 Enhancements to ppss related code (thanks Stefan).
757 * progmodes/python.el (python-indent-context)
758 (python-indent-calculate-indentation, python-indent-dedent-line)
759 (python-indent-electric-colon, python-nav-forward-block)
760 (python-mode-abbrev-table)
761 (python-info-assignment-continuation-line-p): Simplify checks
762 for ppss context.
763 (python-info-continuation-line-p): Cleanup.
764 (python-info-ppss-context): Do not catch 'quote.
765 (python-info-ppss-context-type)
766 (python-info-ppss-comment-or-string-p): Simplify.
767
768 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
769
770 * progmodes/python.el: Enhancements to eldoc support.
771 (python-info-current-symbol): New function.
772 (python-eldoc-at-point): Use python-info-current-symbol.
773 (python-info-current-defun): Fix cornercase on first defun scan.
774 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
775 and signal error when no inferior python process is available.
776
777 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
778
779 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
780 assume it's always t.
781 (vc-git-registered): Remove caching, the function is only called
782 once.
783 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
784
785 2012-07-18 Chong Yidong <cyd@gnu.org>
786
787 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
788
789 * simple.el (count-words): Report on narrowing (Bug#9959).
790
791 * bindings.el: Bind M-= to count-words.
792
793 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
794
795 2012-07-18 Masatake YAMATO <yamato@redhat.com>
796
797 * progmodes/sh-script.el (sh-imenu-generic-expression):
798 Capture a function with `function' keyword and without parentheses
799 like "function FOO" (bug#11856).
800
801 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
802
803 * window.el (split-window-sensibly): Make WINDOW argument
804 optional.
805
806 2012-07-18 Chong Yidong <cyd@gnu.org>
807
808 * subr.el (keyboard-translate): Doc fix (Bug#7261).
809
810 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
811 and make C-x 8 RET exit isearch (Bug#11439).
812
813 * international/iso-transl.el: Move isearch-mode-map key
814 definitions to isearch.el.
815
816 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
819 (eieio-defclass): Use gv-define-setter when possible.
820
821 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
822
823 Reflect recent changes in Fgarbage_collect.
824 * emacs-lisp/chart.el (chart-emacs-storage): Change to
825 reflect new format of data returned by Fgarbage_collect.
826
827 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
828
829 New utility functions + python-info-ppss-context fix (Bug#11910).
830 * progmodes/python.el (python-info-beginning-of-block-statement-p)
831 (python-info-ppss-comment-or-string-p): New functions.
832 (python-info-ppss-context): Small fix for string check.
833
834 2012-07-17 Juri Linkov <juri@jurta.org>
835
836 * dired-aux.el (dired-do-async-shell-command): Doc fix.
837 (dired-do-async-shell-command): Don't add `*' at the end of the
838 command (Bug#11815).
839 (dired-do-shell-command): Doc fix.
840 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
841 Join the individual commands using either "&" or ";" as the
842 separator depending on the values of these trailing characters.
843 At the end re-add the trailing "&". (Bug#10598)
844
845 * simple.el (async-shell-command): Sync the interactive spec with
846 `shell-command'. Doc fix.
847 (shell-command): Doc fix.
848
849 2012-07-17 Juri Linkov <juri@jurta.org>
850
851 * descr-text.el (describe-char): Fix format args. (Bug#10129)
852
853 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
854
855 Final renames and doc fixes for movement commands (bug#11899).
856 * progmodes/python.el (python-nav-beginning-of-statement):
857 Rename from python-nav-statement-start.
858 (python-nav-end-of-statement): Rename from
859 python-nav-statement-end.
860 (python-nav-beginning-of-block): Rename from
861 python-nav-block-start.
862 (python-nav-end-of-block): Rename from python-nav-block-end.
863
864 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
865
866 * progmodes/python.el (python-shell-send-string-no-output):
867 Allow accept-process-output to quit, keeping shell process ready for
868 future interactions (Bug#11868).
869
870 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
873
874 * emacs-lisp/elint.el (elint-find-args-in-code):
875 Use help-function-arglist, so as to handle lexical byte-code.
876
877 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
878 change (bug#11826).
879
880 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
883 Avoid spuriously marking the buffer as modified because of c-is-sws.
884
885 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
886 as not-a-comment (bug#11946).
887
888 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
889 for uninterned vars.
890
891 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
892 Use read-event since we don't really want to read chars but bytes.
893
894 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
895 $$..$$ but also $..$ using regexps (bug#11953).
896 Use tex-verbatim for \url and \path.
897 (tex-font-lock-keywords): Define as defconst like the others.
898 (tex-common-initialization): Don't use font-lock-syntax-table any more.
899
900 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
901
902 * international/mule-cmds.el (ucs-insert): Make it an obsolete
903 alias for insert-char.
904
905 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
906
907 * progmodes/python.el: Simplified imenu implementation.
908 (python-nav-jump-to-defun): Remove command.
909 (python-mode-map): Use `imenu' instead.
910 (python-nav-list-defun-positions-cache)
911 (python-imenu-include-defun-type, python-imenu-make-tree)
912 (python-imenu-subtree-root-label, python-imenu-index-alist):
913 Remove vars.
914 (python-nav-list-defun-positions, python-nav-read-defun)
915 (python-imenu-tree-assoc, python-imenu-make-element-tree)
916 (python-imenu-make-tree, python-imenu-create-index):
917 Remove functions.
918 (python-mode): Update to interact with imenu by setting
919 `imenu-extract-index-name-function' only.
920
921 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
922
923 * progmodes/python.el: Enhancements to navigation commands.
924 (python-nav-backward-sentence)
925 (python-nav-forward-sentence): Remove.
926 (python-nav-backward-statement, python-nav-forward-statement)
927 (python-nav-statement-start, python-nav-statement-end)
928 (python-nav-backward-block, python-nav-forward-block)
929 (python-nav-block-start, python-nav-block-end)
930 (python-nav-forward-sexp-function)
931 (python-info-current-line-comment-p)
932 (python-info-current-line-empty-p): New functions.
933 (python-indent-context): Use `python-nav-statement-start'.
934
935 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
936
937 * eshell/em-ls.el (eshell/ls): Use `apply'.
938
939 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
940 multi-hops, instead of Tramp internals.
941
942 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
943
944 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
945 when F1 and F2 are located on different hosts.
946
947 2012-07-14 Chong Yidong <cyd@gnu.org>
948
949 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
950 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
951 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
952 (xterm-mouse--read-event-sequence-1000)
953 (xterm-mouse--read-event-sequence-1006): New functions. For old
954 mouse protocol, handle M-mouse-X events correctly.
955 (xterm-mouse-event): New arg specifying mouse protocol.
956 (turn-on-xterm-mouse-tracking-on-terminal)
957 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
958 sequence to toggle extended coordinates on newer XTerms.
959 This appears to be harmless on terminals which do not support this.
960
961 2012-07-14 Leo Liu <sdl.web@gmail.com>
962
963 Add fringe bitmap indicators for flymake. (Bug#11253)
964 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
965 (flymake-make-overlay): New arg BITMAP.
966 (flymake-error-bitmap, flymake-warning-bitmap)
967 (flymake-fringe-indicator-position): New user variables.
968
969 * fringe.el: New bitmap exclamation-mark.
970
971 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
972
973 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
974 also (Bug#7879).
975
976 2012-07-14 Chong Yidong <cyd@gnu.org>
977
978 * electric.el (electric-pair-post-self-insert-function): Fix pair
979 insertion in empty-region case (Bug#11520).
980
981 2012-07-14 Chong Yidong <cyd@gnu.org>
982
983 * bindings.el: Consolidate ctl-x-r-map bindings.
984 Bind copy-rectangle-as-kill to C-x r w.
985
986 * rect.el, register.el: Move bindings to bindings.el.
987
988 2012-07-14 Reuben Thomas <rrt@sc3d.org>
989
990 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
991
992 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
993
994 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
995
996 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
997
998 * bindings.el (top): Use `mapc' instead of `mapcar'.
999
1000 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1001
1002 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
1003
1004 * progmodes/sql.el (sql-comint): Suppress the check for program on
1005 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1006 (Bug#11908)
1007
1008 2012-07-13 Chong Yidong <cyd@gnu.org>
1009
1010 * bindings.el: Assign a non-nil permanent-local property to
1011 per-buffer variables which lack a default value (Bug#11930).
1012
1013 * help-fns.el (describe-variable): In the "automatically becomes
1014 local" notice, take note of permanent-local variables.
1015
1016 2012-07-13 Chong Yidong <cyd@gnu.org>
1017
1018 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1019 to allow printing the message when called from Lisp.
1020
1021 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1022 Remove toggle-read-only.
1023
1024 * bs.el (bs-toggle-readonly):
1025 * buff-menu.el (Buffer-menu-toggle-read-only):
1026 Remove with-no-warnings around toggle-read-only.
1027
1028 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1029 Remove with-no-warnings around toggle-read-only.
1030 (ffap-read-only, ffap-read-only-other-window)
1031 (ffap-read-only-other-frame): Callers changed.
1032
1033 * help-mode.el: Don't require view package.
1034 (help-mode-finish): Set buffer-read-only instead of calling
1035 toggle-read-only.
1036
1037 * bindings.el (mode-line-toggle-read-only):
1038 * dired.el (dired-toggle-read-only):
1039 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1040 with non-nil second arg.
1041
1042 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1043 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1044 directly.
1045
1046 2012-07-12 Eli Zaretskii <eliz@gnu.org>
1047
1048 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1049 not incf.
1050
1051 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 More CL cleanups and reduction of use of cl.el.
1054 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1055 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1056 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1057 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1058 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1059 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1060 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1061 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1062 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1063 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1064 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1065 * eshell/em-cmpl.el, eshell/em-banner.el:
1066 * calendar/parse-time.el: Use cl-lib.
1067 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1068 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1069 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1070 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1071 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1072 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1073 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1074 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1075 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1076 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1077 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1078 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1079 `lambda' rather than with `quote'.
1080 (eshell-do-opt): Adjust accordingly.
1081 (eshell-process-option): Simplify.
1082 * eshell/esh-var.el:
1083 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1084 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1085 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1086 to `pcase--dontcare'.
1087 * emacs-lisp/cl.el (labels): Mark obsolete.
1088 (cl--letf, letf): Move to cl-lib.
1089 (cl--letf*, letf*): Remove.
1090 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1091 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1092 (cl-progv): Rewrite.
1093 (cl--letf, cl-letf): Move from cl.el.
1094 (cl-letf*): New macro.
1095 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1096
1097 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
1098
1099 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1100
1101 2012-07-11 Chong Yidong <cyd@gnu.org>
1102
1103 * vc/log-edit.el (log-edit-vc-backend): New variable.
1104 (log-edit): Doc fix.
1105
1106 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1107 argument of log-edit to set up all local variables.
1108 (vc-start-logentry): New optional arg specifying VC backend.
1109
1110 * vc/vc.el (vc-checkin): Use it.
1111 (vc-deduce-fileset): Handle Log Edit buffers.
1112 (vc-diff): Make first argument optional too.
1113
1114 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1115
1116 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1119 command, just in case. The function is not needed anymore.
1120 (eshell-external-command): Do not call `eshell-remote-command'.
1121
1122 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1123
1124 Reduce use of (require 'cl).
1125 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1126 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1127 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1128 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1129 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1130 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1131 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1132 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1133 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1134 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1135 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1136 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1137 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1138 (byte-compile-unfold-bcf, byte-compile-check-variable):
1139 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1140 (byte-compile-nilconstp):
1141 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1142 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1143
1144 * emacs-lisp/gv.el (cond): Make it a valid place.
1145 (if): Simplify slightly.
1146
1147 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1148 (pcase--self-quoting-p): New function.
1149 (pcase--u1): Use it.
1150
1151 2012-07-10 Glenn Morris <rgm@gnu.org>
1152
1153 * emacs-lisp/authors.el (authors-fixed-entries):
1154 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1155
1156 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1157
1158 Rename configure.in to configure.ac (Bug#11603).
1159 * emacs-lisp/authors.el (authors-canonical-file-name):
1160 * progmodes/autoconf.el (autoconf-mode):
1161 Prefer configure.ac to configure.in.
1162
1163 2012-07-08 Chong Yidong <cyd@gnu.org>
1164
1165 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1166 Implement the mouse-1-click-follows-link handling properly.
1167
1168 * info.el (Info-link-keymap): Use follow-link mechanism for
1169 header-line links (Bug#374).
1170
1171 * simple.el (deactivate-mark): Do not set the primary selection
1172 if another program has acquired it (Bug#11772).
1173
1174 2012-07-07 Kevin Ryde <user42@zip.com.au>
1175
1176 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1177 (woman-decode-region): Replace escaped-escapes without destroying
1178 bold or underline (Bug#11552).
1179 (woman2-process-escapes): Handle nofill regions (Bug#11591).
1180
1181 2012-07-07 Chong Yidong <cyd@gnu.org>
1182
1183 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
1184 (interprogram-cut-function, interprogram-paste-function):
1185 Mention that we typically mean the clipboard.
1186
1187 2012-07-06 Glenn Morris <rgm@gnu.org>
1188
1189 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1190
1191 * files.el (toggle-read-only): Restrict message to interactive use.
1192
1193 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
1194
1195 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1196
1197 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1198
1199 2012-07-06 Glenn Morris <rgm@gnu.org>
1200
1201 * Makefile.in (compile-one-process): Rename from "recompile".
1202
1203 * Makefile.in (bzr-update): "compile" is the same as "recompile
1204 autoloads", but parallelizable, so use that instead.
1205
1206 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * window.el (quit-window): Always restore window height when
1209 it's saved in quit-restore parameter (Bug#11810).
1210
1211 2012-07-06 Glenn Morris <rgm@gnu.org>
1212
1213 * simple.el (kill-whole-line): Doc tweak.
1214
1215 2012-07-06 Eli Zaretskii <eliz@gnu.org>
1216
1217 * files.el (file-relative-name): Compare file names
1218 case-insensitively if on MS-Windows or MS-DOS, or if
1219 read-file-name-completion-ignore-case is non-nil. Don't use
1220 case-fold-search for this purpose. (Bug#11827)
1221
1222 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1223
1224 * calendar/cal-dst.el (calendar-current-time-zone):
1225 Return calendar-current-time-zone-cache if non-nil.
1226
1227 2012-07-17 Masatake YAMATO <yamato@redhat.com>
1228 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1229
1230 * calendar/cal-dst.el (calendar-current-time-zone):
1231 Return calendar-current-time-zone-cache if non-nil.
1232
1233 2012-07-06 Glenn Morris <rgm@gnu.org>
1234
1235 * Makefile.in (cvs-update): Remove old alias.
1236
1237 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
1238
1239 Sync with Tramp 2.2.6-pre.
1240
1241 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1242 compatible declaration.
1243
1244 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1245 Protect `list-load-path-shadows' call.
1246
1247 * net/tramp-compat.el (top): Require packages, which aren't
1248 autoloaded anymore for XEmacs. Protect call of
1249 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1250 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1251 it hurts at least for SXEmacs.
1252 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1253 standard-value for `temporary-file-directory'.
1254
1255 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1256 Redirect stderr to /dev/null.
1257 (tramp-sh-handle-write-region): uid and gid can be floats.
1258 Reported by Russell Sim <russell.sim@gmail.com>.
1259 (tramp-sh-handle-vc-registered): Hide errors.
1260 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1261 and `start-file-process'.
1262 (tramp-maybe-open-connection): Check also whether `non-essential'
1263 is bound.
1264
1265 2012-07-04 Chong Yidong <cyd@gnu.org>
1266
1267 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1268 (xml-parse-tag): Likewise, and avoid changing entity tables.
1269 (xml-syntax-table): Define from scratch, making sure not to give
1270 x2000 and other Unicode spaces whitespace syntax, since those are
1271 not spaces in XML.
1272 (xml-parse-fragment): Delete unused function.
1273 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1274 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1275 (xml-entity-ref, xml-pe-reference-re)
1276 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1277 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1278 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1279 (xml-entity-value-re): Use syntax references in regexps where
1280 possible; no need to define inside a let-binding.
1281 (xml-parse-dtd): Use xml-pe-reference-re.
1282 (xml-entity-or-char-ref-re): New defconst.
1283 (xml-parse-string, xml-substitute-special): Use it.
1284
1285 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1286
1287 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1288 (find-file--read-only): New function.
1289 (find-file-read-only, find-file-read-only-other-window)
1290 (find-file-read-only-other-frame): Use it.
1291 (insert-file-contents-literally): Don't `fset'.
1292 (get-free-disk-space): Use locate-dominating-file.
1293
1294 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1295 function is already compiled.
1296
1297 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1298
1299 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
1300
1301 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1302 files on the same host.
1303
1304 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1305
1306 * help-fns.el (describe-function-1): Only call
1307 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1308
1309 2012-07-03 Chong Yidong <cyd@gnu.org>
1310
1311 * xml.el: Protect parser against XML bombs.
1312 (xml-entity-expansion-limit): New variable.
1313 (xml-parse-string, xml-substitute-special): Use it.
1314 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1315
1316 2012-07-03 Glenn Morris <rgm@gnu.org>
1317
1318 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1319 Allow linking to specific messages in debbugs reports (eg 123#5).
1320
1321 2012-07-02 Chong Yidong <cyd@gnu.org>
1322
1323 * xml.el: Fix entity and character reference expansion, allowing
1324 them to expand into markup as per XML spec.
1325 (xml-default-ns): New variable.
1326 (xml-entity-alist): Use XML spec definitions for lt and amp.
1327 (xml-parse-region): Make first two arguments optional.
1328 Discard text properties.
1329 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1330 All callers changed.
1331 (xml-parse-tag): Call xml-parse-tag-1. For backward
1332 compatibility, this function should not modify buffer contents.
1333 (xml-parse-tag-1): Fix opening-tag regexp.
1334 (xml-parse-string): Rewrite, handling entity and character
1335 references properly.
1336 (xml--entity-replacement-text): Signal an error if a parameter
1337 entity is undefined.
1338
1339 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * comint.el (comint-output-filter): Filter out repeated prompts.
1342
1343 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1344 and file-name-absolute-p.
1345 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1346 internal calls.
1347
1348 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1349
1350 Spelling fixes.
1351 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1352 Rename from byte-compile--refiy-function. All uses changed.
1353
1354 2012-07-01 Chong Yidong <cyd@gnu.org>
1355
1356 * xml.el (xml--parse-buffer): New function. Move most of
1357 xml-parse-region here.
1358 (xml-parse-region): Copy region into a temporary buffer, since
1359 parameter entity substitution requires changing buffer contents.
1360 Use xml--parse-buffer.
1361 (xml-parse-file): Use xml--parse-buffer.
1362 (xml-parse-dtd): Make parameter entity substitution work right.
1363 Use proper regexps for ELEMENT declarations (Bug#7172).
1364
1365 2012-06-30 Glenn Morris <rgm@gnu.org>
1366
1367 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1368
1369 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1370 Remove outdated and unnecessary dbus declarations.
1371
1372 2012-06-30 Eli Zaretskii <eliz@gnu.org>
1373
1374 * emacs-lisp/timer.el (timer-until): Subtract results of
1375 float-time, instead of taking float-time of the result of
1376 time-subtract, since float-time signals an error for negative time
1377 arguments.
1378
1379 2012-06-30 Chong Yidong <cyd@gnu.org>
1380
1381 * xml.el (xml-*-re): Convert defvars into defconsts, and
1382 eval-and-compile them so eval-and-compile works on derivatives.
1383 (xml--entity-replacement-text): Use eval-and-comple.
1384
1385 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * vc/vc-git.el (vc-git-registered): Use cache property
1388 `git-registered'.
1389 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1390 `vc-git-working-revision' in order to benefit from the cache.
1391 (vc-git-root): Use cache property `git-root'. (Bug#11757)
1392
1393 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1394
1395 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
1396 removed (likely outside Emacs). (Bug#11757)
1397
1398 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * emacs-lisp/cl-lib.el: Require macroexp.
1401
1402 2012-06-30 Chong Yidong <cyd@gnu.org>
1403
1404 * xml.el: Implement XML parameter entities.
1405 (xml-parameter-entity-alist): New variable.
1406 (xml-parse-region, xml-parse-fragment): Preserve previous values
1407 of xml-entity-alist and xml-parameter-entity-alist, so that
1408 repeated calls on different documents do not change them.
1409 (xml-parse-tag): Fix doctype regexp.
1410 (xml--entity-replacement-text): New function.
1411 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1412 properly requires url retrieval which is unimplemented.
1413 (xml-escape-string): Doc fix.
1414
1415 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1418
1419 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1420
1421 * fringe.el (fringe-mode): Doc fix.
1422
1423 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1426 is non-nil.
1427 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1428 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1429
1430 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
1431
1432 * calendar/cal-dst.el (calendar-current-time-zone):
1433 Return calendar-current-time-zone-cache if non-nil.
1434
1435 2012-06-29 Masatake YAMATO <yamato@redhat.com>
1436
1437 * progmodes/which-func.el (which-func-format):
1438 Add mouse-face. (Bug#11698)
1439
1440 2012-06-29 Leo Liu <sdl.web@gmail.com>
1441
1442 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1443
1444 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 * minibuffer.el (minibuffer-confirm-exit-commands):
1447 Add completion-at-point (bug#11725).
1448
1449 2012-06-29 Glenn Morris <rgm@gnu.org>
1450
1451 * progmodes/f90.el (f90-font-lock-keywords-2):
1452 Add some preprocessor elements. (Bug#10499)
1453
1454 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1455
1456 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1457 Use syntax-propertize (bug#11739).
1458
1459 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1462
1463 2012-06-28 Julien Danjou <julien@danjou.info>
1464
1465 * term.el (term-handle-colors-array): Use a set of new faces to
1466 color the terminal. Also uses :inverse-video property.
1467 (term-default-fg-color): Set to nil by default, deprecate in favor
1468 of `term-face'.
1469 (term-default-bg-color): Set to nil by default, deprecate in favor
1470 of `term-face'.
1471 (term-current-face): Use `term-face' by default.
1472 (term-bold-attribute): Variable deleted.
1473
1474 2012-06-28 Glenn Morris <rgm@gnu.org>
1475
1476 * simple.el (completion-list-mode-finish):
1477 Don't use toggle-read-only. (Since completion-list-mode has
1478 a special mode-class, it wasn't doing anything extra anyway.)
1479
1480 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 Make inlining of other-mode interpreted functions work (bug#11799).
1483 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1484 (byte-compile): Use it to fix compilation of lexical-binding closures.
1485 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1486 function, if needed.
1487
1488 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * help-mode.el (help-make-xrefs): Don't just withstand
1491 cyclic-variable-indirection but any error in documentation-property.
1492
1493 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1494 memory use.
1495 * bindings.el (bindings--define-key): New function.
1496 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1497 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1498 * bindings.el: Use it to purecopy define-key bindings.
1499
1500 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1501
1502 * emacs-lisp/cl.el (flet): Mark obsolete.
1503 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1504 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1505 * progmodes/js.el (js-c-fill-paragraph):
1506 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1507 (ebrowse-switch-member-buffer-to-derived-class):
1508 * play/5x5.el (5x5-solver): Use cl-flet.
1509
1510 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1511 (cl--symbol-function): New macro.
1512 (cl--letf, cl--letf*): Use it.
1513
1514 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1515 Strip "toggle-" if any.
1516
1517 2012-06-27 Glenn Morris <rgm@gnu.org>
1518
1519 * info.el (Info-default-directory-list): Move here from paths.el.
1520 * paths.el: Remove file, which is now empty.
1521 * loadup.el: No longer load "paths".
1522
1523 * custom.el (custom-initialize-delay): Doc fix.
1524
1525 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1526 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1527 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1528 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1529 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1530 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1531 * eshell/eshell.el (eshell-defgroup): Remove alias.
1532
1533 2012-06-27 Chong Yidong <cyd@gnu.org>
1534
1535 * help.el (help-enable-auto-load): New variable.
1536
1537 * help-fns.el (help-fns--autoloaded-p): New function.
1538 (describe-function-1): Refer to a function as "autoloaded" if it
1539 was autoloaded at any time in the past. Perform autoloading if
1540 help-enable-auto-load is non-nil.
1541
1542 2012-06-26 Eli Zaretskii <eliz@gnu.org>
1543
1544 * makefile.w32-in (compile, compile-always): Depend on
1545 update-subdirs, not on subdirs.el. Otherwise, several different
1546 sub-targets of 'bootstrap' running in parallel could
1547 simultaneously write to subdirs.el, producing a garbled file.
1548
1549 2012-06-26 Sam Steingold <sds@gnu.org>
1550
1551 * files.el (file-name-base): New convenience function.
1552 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1553 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1554 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1555 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1556 * textmodes/ispell.el, textmodes/reftex-ref.el:
1557 * textmodes/tex-mode.el: Use it.
1558 Did not touch cedet and org because they are maintained elsewhere.
1559
1560 2012-06-26 Martin Rudalics <rudalics@gmx.at>
1561
1562 * calendar/calendar.el (calendar-exit): Don't try to delete or
1563 iconify last frame. See:
1564 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1565
1566 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1567
1568 * server.el (server-process-filter): Remember dir in the
1569 process's `server-client-directory' properties.
1570
1571 2012-06-24 Chong Yidong <cyd@gnu.org>
1572
1573 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1574 non-tag text.
1575
1576 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1579
1580 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * help-fns.el (describe-variable): Don't croak when doc is not found.
1583 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1584 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1585 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1586 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1587 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1588 ((lambda ..) ..).
1589 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1590
1591 2012-06-23 Chong Yidong <cyd@gnu.org>
1592
1593 * info.el (Info-mouse-follow-link): Accept symbol values of
1594 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
1595 (Info-fontify-node): Use Info-link-keymap for all navigation
1596 buttons, with link-args property to perform the desired action.
1597 (Info-link-keymap): Doc fix.
1598 (Info-next-link-keymap, Info-prev-link-keymap)
1599 (Info-up-link-keymap): Delete now-unused keymaps.
1600
1601 2012-06-23 Chong Yidong <cyd@gnu.org>
1602
1603 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1604
1605 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1606 system abbrevs.
1607
1608 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1609
1610 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1613 (bug#11719).
1614
1615 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1616 the requote function doesn't work properly (bug#11714).
1617
1618 2012-06-23 Glenn Morris <rgm@gnu.org>
1619
1620 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1621
1622 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 Further GV/CL cleanups.
1625 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1626 gv-expander.
1627 (gv--defun-declaration): New function.
1628 (defun-declarations-alist): Use it.
1629 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1630 (gv-place): Autoload.
1631 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1632 original definition of dotimes and dolist.
1633 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1634 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1635 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1636 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1637 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1638 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1639 to the function's definition.
1640 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1641 * window.el:
1642 * files.el:
1643 * faces.el:
1644 * env.el: Don't use CL.
1645
1646 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1647
1648 Support higher-resolution time stamps (Bug#9000).
1649
1650 * calendar/time-date.el (with-decoded-time-value): New arg
1651 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1652 (encode-time-value): New optional arg PICO. New type 3.
1653 (time-to-seconds) [!float-time]: Support the new picoseconds
1654 component if it's used.
1655 (seconds-to-time, time-subtract, time-add):
1656 Support ps-resolution time stamps as well.
1657
1658 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1659 (timerp): Timer vectors now have length 9, not 8.
1660 (timer--time): Support new-style (4-part) time stamps.
1661 (timer-next-integral-multiple-of-time): Time stamps now have
1662 picosecond resolution, so take a bit more care about rounding.
1663 (timer-relative-time, timer-inc-time): New optional arg psecs.
1664 (timer-set-time-with-usecs): Set psecs to 0.
1665 (timer--activate): Check psecs component, too.
1666
1667 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1668
1669 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1672 Move the non-essential binding to the post/pre-command-hook where it is
1673 more obviously correct.
1674
1675 * subr.el (read-passwd): Don't use a history at all.
1676 * savehist.el (savehist-save): Remove password saved accidentally
1677 because of the above bug.
1678
1679 2012-06-22 Bastien Guerry <bzg@gnu.org>
1680
1681 * files.el (toggle-read-only): Display a message telling whether
1682 the buffer is read-only or not (bug#11726).
1683
1684 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * emacs-lisp/gv.el: New file.
1687 * subr.el (push, pop): Extend to generalized variables.
1688 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1689 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1690 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1691 gv-define-simple-setter, and gv-define-expander.
1692 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1693 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1694 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1695 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1696 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1697 gv-letplace.
1698 (cl-defstruct): Don't define setf-method any more.
1699 * emacs-lisp/cl.el (flet): Don't autoload.
1700 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1701 (define-setf-expander, defsetf, define-modify-macro)
1702 (cl-struct-setf-expander): Move from cl-lib.el.
1703 * emacs-lisp/syntax.el:
1704 * emacs-lisp/ewoc.el:
1705 * emacs-lisp/smie.el:
1706 * emacs-lisp/cconv.el:
1707 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1708 (timer--time): Use gv-define-simple-setter.
1709 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1710 to avoid coding-system problems in subr.el. Adjust all users.
1711 (macroexp--maxsize, macroexp-small-p): New functions.
1712 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1713 * scroll-bar.el (scroll-bar-mode):
1714 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1715 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1716 * winner.el (winner-configuration, winner-make-point-alist)
1717 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1718 * files.el (locate-file-completion-table): Avoid list*.
1719
1720 2012-06-22 Chong Yidong <cyd@gnu.org>
1721
1722 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1723 (dired-create-files): Doc fix (Bug#11329).
1724 (dired-do-copy): Doc fix (Bug#11334).
1725 (dired-mark-read-string): Doc fix (Bug#11553).
1726
1727 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1728 Doc fix (Bug#11326).
1729 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1730 (dired-dwim-target): Doc fix.
1731
1732 * wdired.el (wdired-mode): Doc fix.
1733
1734 2012-06-22 Glenn Morris <rgm@gnu.org>
1735
1736 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1737 (pcmpl-rpm-cache-stamp-file): New constant.
1738 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1739 (pcmpl-rpm-packages): Optionally cache list of packages.
1740
1741 * pcmpl-rpm.el (pcmpl-rpm): New group.
1742 (pcmpl-rpm-query-options): New option.
1743 (pcmpl-rpm-packages): No need to inline it.
1744 Use pcmpl-rpm-query-options.
1745
1746 * calendar/calendar.el (calendar-in-read-only-buffer):
1747 Avoid some needless mode changes.
1748
1749 2012-06-21 Chong Yidong <cyd@gnu.org>
1750
1751 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1752 (desktop-path): Remove . from the default value (Bug#10977).
1753 (desktop-read): Use user-emacs-directory if desktop-path is nil.
1754
1755 2012-06-20 Chong Yidong <cyd@gnu.org>
1756
1757 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1758
1759 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1760
1761 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1762 (bug#11201).
1763
1764 2012-06-20 Chong Yidong <cyd@gnu.org>
1765
1766 * term.el (term-window-width): Handle the case of a missing right
1767 fringe (Bug#8837).
1768 (term-check-size): Use window-text-height (Bug#5445).
1769 (term-mode): Use define-derived-mode. Minor cleanups.
1770 Set font-lock-defaults (Bug#7692).
1771 (term-move-columns, term-insert-char, term-emulate-terminal)
1772 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
1773
1774 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * net/ange-ftp.el (ange-ftp-get-passwd):
1777 Bind `enable-recursive-minibuffers'.
1778 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1779
1780 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1781
1782 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1783
1784 2012-06-19 Glenn Morris <rgm@gnu.org>
1785
1786 * progmodes/python.el (python-mode): Derive from prog-mode.
1787
1788 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1789
1790 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1791 (edt-user-menu-bar-update-buffers): New functions.
1792 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1793
1794 2012-06-19 Chong Yidong <cyd@gnu.org>
1795
1796 * subr.el (with-selected-window): Preserve the selected window's
1797 terminal's top-frame (Bug#4702).
1798
1799 * window.el (save-selected-window): Likewise.
1800
1801 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 * progmodes/python.el (python-rx-constituents): Move backquote.
1804 (python-skeleton-define, python-define-auxiliary-skeleton):
1805 Use `declare'.
1806
1807 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
1808
1809 * minibuffer.el (read-file-name-default): Revert the patch from
1810 2012-06-17.
1811
1812 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1815 (pcase--u1, pcase--q1): Don't use apply-partially.
1816
1817 2012-06-18 Glenn Morris <rgm@gnu.org>
1818
1819 * progmodes/python.el (python-proc, python-buffer)
1820 (python-send-receive, python-send-string): Fix obsolete versions.
1821
1822 2012-06-18 Martin Rudalics <rudalics@gmx.at>
1823
1824 * window.el (special-display-p): Completely remove stringp
1825 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1826
1827 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1830
1831 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1832
1833 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1834 * net/tramp-sh.el (tramp-maybe-open-connection):
1835 Throw if `non-essential' is non-nil.
1836
1837 2012-06-17 Martin Rudalics <rudalics@gmx.at>
1838
1839 * window.el (special-display-p): Signal an error if BUFFER-NAME
1840 is not a string (Bug#11713).
1841
1842 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1843
1844 * progmodes/python.el (python-info-beginning-of-backslash):
1845 Rename from python-info-beginning-of-backlash, as a spelling fix.
1846
1847 2012-06-17 Chong Yidong <cyd@gnu.org>
1848
1849 * term.el (term-emulate-terminal): If term-check-size is called,
1850 move point to the process mark without resetting point (Bug#4635).
1851
1852 2012-06-17 Glenn Morris <rgm@gnu.org>
1853
1854 * international/mule-cmds.el (mule-menu-keymap)
1855 (set-language-environment, set-locale-environment): Doc tweaks.
1856
1857 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1858
1859 * cus-face.el (custom-face-attributes): Add wave-style underline
1860 attribute.
1861 * faces.el (set-face-attribute): Update docstring to describe
1862 wave-style underline attribute.
1863
1864 2012-06-16 Chong Yidong <cyd@gnu.org>
1865
1866 * term/xterm.el (terminal-init-xterm): Discard input before
1867 querying background mode (Bug#10959).
1868
1869 2012-06-16 Stefan Merten <smerten@oekonux.de>
1870
1871 * textmodes/rst.el: Added and corrected some comments.
1872 (rst-re-alist-def): Improve symbol syntax.
1873 (rst-mode-syntax-table): Correct syntax entries.
1874 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1875 (rst-official-version, rst-official-cvs-rev): Update version
1876 information.
1877
1878 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1881 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1882
1883 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1884
1885 * progmodes/python.el: New python.el merge.
1886 (python-guess-indent): Obsolete var.
1887 (python-indent-guess-indent-offset): New defcustom.
1888 (python-indent): Obsolete var.
1889 (python-indent-offset): New defcustom.
1890 (python-python-command, python-jython-command): Delete var.
1891 (python-shell-interpreter): New defcustom.
1892 (python-pdbtrack-do-tracking-p): Delete var.
1893 (python-pdbtrack-activate): New defcustom.
1894 (python-use-skeletons): Obsolete var.
1895 (python-skeleton-autoinsert): New defcustom.
1896 (inferior-python-filter-regexp, python-continuation-offset)
1897 (python-honour-comment-indentation, python-indent-string-contents)
1898 (python-jython-packages, python-mode-hook)
1899 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1900 (python-shell-prompt-alist)
1901 (python-source-modes): Delete defcustoms.
1902 (python-check-buffer-name, python-eldoc-setup-code)
1903 (python-eldoc-string-code, python-ffap-setup-code)
1904 (python-ffap-string-code, python-fill-comment-function)
1905 (python-fill-decorator-function, python-fill-paren-function)
1906 (python-fill-string-function, python-imenu-include-defun-type)
1907 (python-imenu-make-tree, python-imenu-subtree-root-label)
1908 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1909 (python-shell-compilation-regexp-alist)
1910 (python-shell-completion-module-string-code)
1911 (python-shell-completion-pdb-string-code)
1912 (python-shell-completion-setup-code)
1913 (python-shell-completion-string-code)
1914 (python-shell-enable-font-lock, python-shell-exec-path)
1915 (python-shell-extra-pythonpaths)
1916 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1917 (python-shell-process-environment)
1918 (python-shell-prompt-block-regexp)
1919 (python-shell-prompt-output-regexp)
1920 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1921 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1922 (python-shell-virtualenv-path): New defcustoms.
1923 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1924 (inferior-python-mode-syntax-table, python--prompt-regexp)
1925 (python-buffer, python-command python-python-command)
1926 (python-default-template, python-imports, python-indent-index)
1927 (python-indent-list, python-indent-list-length)
1928 (python-mode-running, python-pdbtrack-is-tracking-p)
1929 (python-preoutput-continuation, python-preoutput-leftover)
1930 (python-preoutput-result, python-preoutput-skip-next-prompt)
1931 (python-prev-dir/file, python-recursing)
1932 (python-saved-check-command, python-version-checked)
1933 (python-which-func-length-limit)
1934 (view-return-to-alist): Delete vars.
1935 (python-check-custom-command, python-dotty-syntax-table)
1936 (python-imenu-index-alist, python-indent-current-level)
1937 (python-indent-dedenters, python-indent-levels)
1938 (python-nav-beginning-of-defun-regexp)
1939 (python-nav-list-defun-positions-cache)
1940 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1941 (python-shell-internal-buffer)
1942 (python-skeleton-available): New vars.
1943 (def-python-skeleton): Delete macro.
1944 (python-skeleton-define): New macro.
1945 (python-define-auxiliary-skeleton, python-rx): New macros.
1946 (python-insert-class): Delete command.
1947 (python-skeleton-class): New command.
1948 (python-insert-def): Delete command.
1949 (python-skeleton-def): New command.
1950 (python-insert-for): Delete command.
1951 (python-skeleton-for): New command.
1952 (python-insert-if): Delete command.
1953 (python-skeleton-if): New command.
1954 (python-insert-try/except, python-insert-try/finally): Delete commands.
1955 (python-skeleton-try): New command.
1956 (python-insert-while): Delete command.
1957 (python-skeleton-while): New command.
1958 (python-backspace): Delete command.
1959 (python-indent-dedent-line-backspace): New command.
1960 (python-electric-colon): Delete command.
1961 (python-indent-electric-colon): New command.
1962 (python-guess-indent): Delete command.
1963 (python-indent-guess-indent-offset): New command.
1964 (python-shift-left): Delete command.
1965 (python-indent-shift-left): New command.
1966 (python-shift-right): Delete command.
1967 (python-indent-shift-right): New command.
1968 (python-find-function): Delete command.
1969 (python-nav-jump-to-defun): New command.
1970 (python-next-statement): Delete command.
1971 (python-nav-forward-sentence): New command.
1972 (python-previous-statement): Delete command.
1973 (python-nav-backward-sentence): New command.
1974 (python-fill-paragraph): Delete command.
1975 (python-fill-paragraph-function): New command.
1976 (python-send-buffer): Delete command.
1977 (python-shell-send-buffer): New command.
1978 (python-send-defun): Delete command.
1979 (python-shell-send-defun): New command.
1980 (python-send-region, python-send-region-and-go): Delete commands.
1981 (python-shell-send-region)
1982 (python-shell-switch-to-shell): New commands.
1983 (python-send-string): Delete command.
1984 (python-shell-send-string): New command.
1985 (python-switch-to-python): Delete command.
1986 (python-shell-switch-to-shell): New command.
1987 (python-describe-symbol): Delete command.
1988 (python-eldoc-at-point): New command.
1989 (python--set-prompt-regexp, python-args-to-list)
1990 (python-after-info-look, python-check-version)
1991 (python-check-comint-prompt, python-find-imports)
1992 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1993 (python-unload-function, python-expand-template)
1994 (python-maybe-jython, python-preoutput-filter)
1995 (python-pdbtrack-get-source-buffer)
1996 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1997 (python-pdbtrack-toggle-stack-tracking)
1998 (python-pdbtrack-track-stack-file, python-initial-text)
1999 (python-first-word, python-comment-line-p, python-send-command)
2000 (python-setup-brm, python-sentinel, python-set-proc)
2001 (python-skip-out, python-input-filter, python-outdent-p)
2002 (python-outline-level, python-backslash-continuation-line-p)
2003 (python-end-of-block, python-end-of-statement, python-mark-block)
2004 (python-beginning-of-block, python-beginning-of-statement)
2005 (python-blank-line-p, python-beginning-of-string)
2006 (python-open-block-statement-p): Delete functions.
2007 (python-indent-line, python-indent-line-1): Delete functions.
2008 (python-indent-line): New function.
2009 (python-indentation-levels): Delete function.
2010 (python-indent-calculate-levels): New function.
2011 (python-proc): Delete function.
2012 (python-shell-get-process): New function.
2013 (python-send-receive): Delete function.
2014 (python-shell-send-string-no-output): New function.
2015 (python-module-path): Delete function.
2016 (python-ffap-module-path): New function.
2017 (python-completion-at-point)
2018 (python-symbol-completions): Delete functions.
2019 (python-completion-complete-at-point): New function.
2020 (python-load-file): Delete function.
2021 (python-shell-send-file): New function.
2022 (python-calculate-indentation): Delete function.
2023 (python-indent-calculate-indentation): New function.
2024 (python-skip-comments/blanks): Delete function.
2025 (python-util-forward-comment): New function.
2026 (python-continuation-line-p): Delete function.
2027 (python-info-continuation-line-p): New function.
2028 (python-which-func, python-current-defun): Delete function.
2029 (python-info-current-defun): New function.
2030 (python-beginning-of-defun): Delete function.
2031 (python-nav-beginning-of-defun): New function.
2032 (python-close-block-statement-p)
2033 (python-block-end-p): Delete function.
2034 (python-info-closing-block): New function.
2035 (python-comint-output-filter-function)
2036 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2037 (python-fill-comment, python-fill-decorator, python-fill-paren)
2038 (python-fill-string, python-imenu-make-element-tree)
2039 (python-imenu-make-tree, python-imenu-tree-assoc)
2040 (python-indent-context, python-indent-dedent-line)
2041 (python-indent-line-function)
2042 (python-indent-post-self-insert-function)
2043 (python-indent-toggle-levels)
2044 (python-info-assignment-continuation-line-p)
2045 (python-info-beginning-of-backlash)
2046 (python-info-block-continuation-line-p)
2047 (python-info-closing-block-message)
2048 (python-info-line-ends-backslash-p)
2049 (python-info-looking-at-beginning-of-defun)
2050 (python-info-ppss-context, python-info-ppss-context-type)
2051 (python-nav-list-defun-positions, python-nav-read-defun)
2052 (python-nav-sentence-end, python-nav-sentence-start)
2053 (python-pdbtrack-comint-output-filter-function)
2054 (python-pdbtrack-set-tracked-buffer)
2055 (python-shell-calculate-exec-path)
2056 (python-shell-calculate-process-environment)
2057 (python-shell-completion--do-completion-at-point)
2058 (python-shell-completion--get-completions)
2059 (python-shell-completion-complete-at-point)
2060 (python-shell-completion-complete-or-indent)
2061 (python-shell-get-or-create-process)
2062 (python-shell-get-process-name)
2063 (python-shell-internal-get-or-create-process)
2064 (python-shell-internal-get-process-name)
2065 (python-shell-internal-send-string, python-shell-make-comint)
2066 (python-shell-parse-command, python-shell-send-setup-code)
2067 (python-skeleton-add-menu-items)
2068 (python-util-clone-local-variables, python-util-position)
2069 (run-python-internal, python-indentation-levels)
2070 (python-nav-beginning-of-defun)
2071 (python-completion-complete-at-point): New functions.
2072 (run-python): Change arguments. New API requirements.
2073
2074 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2077 (bug#11649).
2078
2079 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2080 (macroexp--expand-all): Use it.
2081
2082 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2083 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2084 Use `cl-function' instead.
2085
2086 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
2087
2088 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2089 Suggested by Stefan Monnier while discussing bug#11657.
2090
2091 2012-06-14 Sam Steingold <sds@gnu.org>
2092
2093 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2094
2095 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * play/doctor.el (doctor-doc): Remove parameter and use
2098 doctor-sent instead of sent.
2099 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2100
2101 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * files.el: Require cl-lib.
2104 (file-name-non-special): Replace case -> cl-case.
2105
2106 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2107
2108 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2109 mapping from #' to function*.
2110
2111 2012-06-13 Chong Yidong <cyd@gnu.org>
2112
2113 * mouse.el (mouse-drag-track): Do not set the mark if the user
2114 releases the mouse without selecting anything (Bug#11588).
2115
2116 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2119 as well (bug#11646).
2120
2121 * loadup.el: Count byte-code functions as well.
2122
2123 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2124 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2125
2126 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2127 (bug#11649). Add cl-defun and cl-defmacro.
2128
2129 2012-06-13 Drew Adams <drew.adams@oracle.com>
2130
2131 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2132 Fix last change.
2133
2134 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
2135
2136 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2137 Otherwise, it blocks in batch mode.
2138
2139 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
2140
2141 * help-mode.el (bookmark-make-record-default): Declare.
2142
2143 2012-06-13 Chong Yidong <cyd@gnu.org>
2144
2145 * emacs-lisp/package.el (list-packages): Compute a list of
2146 packages that are newly-available since the last list-packages
2147 invocation.
2148 (package-menu--new-package-list): New var.
2149 (package-menu--generate, package-menu--print-info)
2150 (package-menu--status-predicate, package-menu-mark-install):
2151 Handle new status label "new".
2152
2153 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2156 conversion to backquotes.
2157
2158 2012-06-12 Chong Yidong <cyd@gnu.org>
2159
2160 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2161 Rename from gud-inhibit-global-bindings.
2162
2163 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2164
2165 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2166 hook from nxml-glyph-set-hook.
2167
2168 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2169 declaration.
2170
2171 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2172
2173 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2174 Convert to defcustom.
2175
2176 2012-06-12 Drew Adams <drew.adams@oracle.com>
2177
2178 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2179 New functions.
2180 (help-mode): Use them.
2181
2182 2012-06-11 Glenn Morris <rgm@gnu.org>
2183
2184 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2185 Use preprocessor face for directives.
2186 (fortran-directive-re): Doc fix.
2187
2188 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2191 conversion to backquotes (bug#11652).
2192
2193 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2194 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2195 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2196 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2197 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2198 (cl-ninth, cl-tenth): Mark them as inlinable.
2199 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2200 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2201 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2202 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2203 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2204 (cl-list*, cl-adjoin): Don't put an autoload manually.
2205 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2206 (cl--compiler-macro-list*): Add autoload cookie.
2207 (cl--compiler-macro-cXXr): New function.
2208
2209 * help-fns.el (help-fns--compiler-macro): New function extracted from
2210 describe-function-1; follow aliases and use `compiler-macro' property.
2211 (describe-function-1): Use it.
2212
2213 2012-06-11 Chong Yidong <cyd@gnu.org>
2214
2215 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2216 is uninstalled, if imagemagick is installed.
2217
2218 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * emacs-lisp/cl-lib.el: Use lexical-binding.
2221 (cl-map-extents, cl-maclisp-member): Remove.
2222 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2223 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2224 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2225 * emacs-lisp/cl-extra.el: Use lexical-binding.
2226 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2227 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2228 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2229 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2230 * emacs-lisp/cl-seq.el: Use lexical-binding.
2231 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2232 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2233 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2234 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2235 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2236 CL's internals.
2237
2238 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
2239
2240 Sync with Tramp 2.2.6-pre.
2241
2242 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2243 `print-length' and `print-level' to nil, in order to avoid
2244 truncation. Reported by Christopher Schmidt
2245 <christopher@ristopher.com>.
2246
2247 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2248
2249 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2250 New defmacro.
2251 (tramp-compat-copy-directory): Add optional argument
2252 COPY-CONTENTS. It is not handled yet.
2253
2254 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2255 (tramp-ftp-file-name-p): Simplify.
2256
2257 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2258 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2259 connection vector.
2260
2261 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2262 (tramp-methods): Do not use `tramp-password-end-of-line'.
2263 (tramp-completion-function-alist-putty): Handle UNIX case.
2264 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2265 (tramp-do-file-attributes-with-stat)
2266 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2267 gid as real numbers. They could run out of integer range on cygwin.
2268 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2269 (tramp-sh-handle-expand-file-name): Handle hops.
2270 (tramp-open-connection-setup-interactive-shell):
2271 Use `tramp-cleanup'. Move check for busyboxes ...
2272 (tramp-find-shell): ... here. Simplify implementation.
2273 Set "remote-shell" property also for alternative shells.
2274 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2275 If failing, a regular file would be written otherwise.
2276 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2277 (tramp-find-inline-encoding): Cache the coding commands in the
2278 process cache. Apply test command on the remote side, if defined.
2279 (tramp-find-inline-compress): Cache the compress commands in the
2280 process cache.
2281 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2282 when requested. Handle hops.
2283 (tramp-current-connection): New defvar.
2284 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2285 Throw `suppress', if there was a failed connection shortly before.
2286 Handle user interrupt. (Bug#10187)
2287 (tramp-get-inline-compress, tramp-get-inline-coding):
2288 Read connection properties from the process cache.
2289
2290 * net/tramp-smb.el (tramp-smb-server-version)
2291 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2292 New defconsts.
2293 (tramp-smb-prompt): Extend for powershell prompt.
2294 (tramp-smb-file-name-handler-alist): Add handlers for
2295 `process-file', `shell-command' and `start-file-process'.
2296 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2297 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2298 (tramp-smb-file-name-p): Simplify.
2299 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2300 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2301 (tramp-smb-shell-quote-argument): New defuns.
2302 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2303 Implement using "tar". By this, time-stamps are preserved.
2304 (tramp-smb-handle-copy-file): Handle also the case of directories.
2305 (tramp-smb-do-file-attributes-with-stat)
2306 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2307 Use `tramp-get-connection-buffer').
2308 (tramp-smb-handle-rename-file): Use "rename", when source and
2309 target are on the same share.
2310 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2311 Use `tramp-smb-server-version'.
2312 (tramp-smb-wait-for-output): Remove prompt.
2313
2314 * net/tramp.el (top): Require 'cl.
2315 (tramp-methods, tramp-rsh-end-of-line):
2316 Remove `tramp-password-end-of-line' from docstring.
2317 (tramp-save-ad-hoc-proxies): New defcustom.
2318 (tramp-completion-function-alist): Adapt docstring.
2319 (tramp-default-password-end-of-line): Remove defcustom.
2320 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2321 (tramp-user-regexp, tramp-file-name-regexp-unified)
2322 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2323 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2324 (tramp-remote-file-name-spec-regexp): New defconst.
2325 (tramp-file-name-structure): Extend structure for hops.
2326 (tramp-get-method-parameter): Move up.
2327 (tramp-file-name-p, tramp-dissect-file-name)
2328 (with-parsed-tramp-file-name): Handle hops.
2329 (tramp-file-name-hop): New defun.
2330 (tramp-make-tramp-file-name): New optional arg HOP.
2331 (tramp-message-show-progress-reporter-message): New defvar.
2332 (tramp-with-progress-reporter): Use it. We cannot use
2333 `tramp-message-show-message' here, because this suppresses also
2334 error buffers.
2335 (tramp-error-with-buffer): Suppress buffer view, if
2336 `tramp-message-show-message' is nil.
2337 Use `tramp-get-connection-buffer'.
2338 (tramp-cleanup): New defun.
2339 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2340 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2341 an error unchanged.
2342 (tramp-completion-handle-file-name-all-completions): Handle hops.
2343 Fix an error when called from ido.
2344 (tramp-completion-dissect-file-name): Use better local variable
2345 name. Add hop to the vector.
2346 (tramp-handle-insert-file-contents): Use progress-reporter for the
2347 whole scenario.
2348 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2349 to `t'.
2350 (tramp-check-for-regexp): Simplify search.
2351 (tramp-enter-password): Remove it. Move implementation ...
2352 (tramp-action-password): ... here.
2353 (tramp-mode-string-to-int, tramp-local-host-p)
2354 (tramp-make-tramp-temp-file, tramp-read-passwd)
2355 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2356 Set tramp-autoload cookie.
2357
2358 * net/trampver.el: Update release number.
2359
2360 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2361 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2364 (tramp-parse-group, tramp-parse-file)
2365 (tramp-parse-shostkeys-sknownhosts): New defuns.
2366 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2367 (tramp-parse-shosts-group, tramp-parse-sconfig)
2368 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2369 (tramp-parse-sknownhosts, tramp-parse-hosts)
2370 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2371 Use them.
2372 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2373 (tramp-parse-putty-group): Don't narrow.
2374 (tramp-parse-putty): Make a loop.
2375 (tramp-file-name-handler): Catch the `suppress' signal.
2376
2377 2012-06-11 Chong Yidong <cyd@gnu.org>
2378
2379 * image.el (imagemagick-register-types): Put the ImageMagick entry
2380 at the end of image-type-file-name-regexps.
2381
2382 2012-06-11 Johan Bockgård <bojohan@gnu.org>
2383
2384 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2385 (pcase, pcase-let*, pcase-dolist): Use them.
2386
2387 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/pcase.el (pcase--let*): New function.
2390 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2391 (pcase--expand): Use macroexp-let².
2392
2393 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2396 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2397 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2398 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2399 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2400 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2401
2402 2012-06-10 Glenn Morris <rgm@gnu.org>
2403
2404 * mail/rmail.el (rmail-yank-current-message): Leave point at
2405 correct position. (Bug#11660)
2406
2407 2012-06-10 Chong Yidong <cyd@gnu.org>
2408
2409 * allout-widgets.el: Fix code header.
2410
2411 2012-06-10 Chong Yidong <cyd@gnu.org>
2412
2413 * cus-edit.el (customize-changed-options-previous-release):
2414 Bump to 24.1.
2415
2416 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2417
2418 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2419
2420 2012-06-09 Chong Yidong <cyd@gnu.org>
2421
2422 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2423
2424 2012-06-09 Martin Rudalics <rudalics@gmx.at>
2425
2426 * window.el (special-display-popup-frame): Don't use
2427 window--display-buffer (Bug#11651).
2428
2429 2012-06-09 Eli Zaretskii <eliz@gnu.org>
2430
2431 Fix parallel builds: make sure loaddefs.el is not being written
2432 while Lisp files are compiled.
2433 (compile): Don't depend on 'mh-autoloads'.
2434 (compile-CMD, compile-SH): Depend on 'autoloads'.
2435 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2436
2437 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2438
2439 2012-06-09 Chong Yidong <cyd@gnu.org>
2440
2441 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2442 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2443 Doc fixes (Bug#11225).
2444
2445 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2448 a function if there's a clear indication that it has a compiler-macro.
2449 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2450 (macro-declarations-alist): Add arglist to declaration functions.
2451 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2452 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2453 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2454 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2455 Also add autoload to find the compiler macro.
2456 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2457 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2458 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2459 (cl--compiler-macro-get): New functions, replacing calls to
2460 cl-define-compiler-macro.
2461 (cl-typep) [compiler-macro]: Use macroexp-let².
2462
2463 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
2464
2465 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2466 string properly, fixes Bug#11473.
2467
2468 2012-06-08 Chong Yidong <cyd@gnu.org>
2469
2470 * faces.el (set-face-attribute): Doc fix.
2471 (modify-face): Don't use :bold and :italic.
2472 (error, warning, success): Tweak definitions.
2473
2474 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2475 (custom-modified, custom-set, custom-changed, custom-themed)
2476 (custom-saved, custom-button, custom-button-mouse)
2477 (custom-button-pressed, custom-state, custom-comment-tag)
2478 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2479 (custom-group-subtitle): Use new-style face specs.
2480 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2481 (custom-set-face, custom-changed-face, custom-saved-face)
2482 (custom-button-face, custom-button-pressed-face)
2483 (custom-documentation-face, custom-state-face)
2484 (custom-comment-face, custom-comment-tag-face)
2485 (custom-variable-tag-face, custom-variable-button-face)
2486 (custom-face-tag-face, custom-group-tag-face-1)
2487 (custom-group-tag-face): Remove obsolete face alias.
2488
2489 * epa.el (epa-validity-high, epa-validity-medium)
2490 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2491 (epa-field-name, epa-field-body):
2492 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2493 (font-lock-keyword-face, font-lock-builtin-face)
2494 (font-lock-function-name-face, font-lock-variable-name-face)
2495 (font-lock-type-face, font-lock-constant-face):
2496 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2497 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2498 * speedbar.el (speedbar-button-face, speedbar-file-face)
2499 (speedbar-directory-face, speedbar-tag-face)
2500 (speedbar-selected-face, speedbar-highlight-face)
2501 (speedbar-separator-face):
2502 * whitespace.el (whitespace-newline, whitespace-space)
2503 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2504 (whitespace-line, whitespace-space-before-tab)
2505 (whitespace-space-after-tab, whitespace-indentation)
2506 (whitespace-empty):
2507 * emulation/cua-base.el (cua-global-mark):
2508 * eshell/em-prompt.el (eshell-prompt):
2509 * net/newst-plainview.el (newsticker-new-item-face)
2510 (newsticker-old-item-face, newsticker-immortal-item-face)
2511 (newsticker-obsolete-item-face, newsticker-date-face)
2512 (newsticker-statistics-face, newsticker-default-face):
2513 * net/newst-reader.el (newsticker-feed-face)
2514 (newsticker-extra-face, newsticker-enclosure-face):
2515 * net/newst-treeview.el (newsticker-treeview-face)
2516 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2517 (newsticker-treeview-immortal-face)
2518 (newsticker-treeview-obsolete-face)
2519 (newsticker-treeview-selection-face):
2520 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2521 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2522 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2523 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2524 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2525 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2526 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2527 (mpuz-text):
2528 * progmodes/vera-mode.el (vera-font-lock-number)
2529 (vera-font-lock-function, vera-font-lock-interface):
2530 * textmodes/table.el (table-cell): Use new-style face specs, and
2531 don't use the old :bold and :italic attributes.
2532
2533 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2534 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2535 (ebrowse-member-class, ebrowse-progress): Likewise.
2536 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2537 (ebrowse-file-name-face, ebrowse-default-face)
2538 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2539 (ebrowse-progress-face): Remove obsolete faces.
2540
2541 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2542 Inherit from error and warning faces respectively.
2543
2544 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2545 Likewise.
2546 (flyspell-incorrect-face, flyspell-duplicate-face):
2547 Remove obsolete aliases.
2548
2549 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2552 Avoid infloop.
2553
2554 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * startup.el (argv, argi): Make lexically scoped.
2557 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2558 * emacs-lisp/cl-macs.el: Use lexical-binding.
2559 Rename cl-bind-* to cl--bind-*.
2560 * files.el: Don't require `cl' since it doesn't use it.
2561 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2562
2563 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
2564
2565 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2566 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2567 instead of calling external sort utility.
2568 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2569
2570 2012-06-08 Eli Zaretskii <eliz@gnu.org>
2571
2572 * descr-text.el (describe-char): Mention how to insert the
2573 character, if the current input method doesn't support it.
2574 See the discussion in this thread for the details:
2575 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2576
2577 2012-06-08 Sam Steingold <sds@gnu.org>
2578
2579 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2580 XF86Back to previous-buffer.
2581 (minibuffer-local-map): Bind them to next-history-element and
2582 previous-history-element respectively.
2583 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2584 help-go-back respectively.
2585 * info.el (Info-mode-map): Bind them to Info-history-forward and
2586 Info-history-back respectively.
2587 These are the keys next to Up on the ThinkPad keyboard.
2588
2589 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2590
2591 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2592 * emacs-lisp/cl-macs.el: Provide itself.
2593 (cl--labels-convert-cache): New var.
2594 (cl--labels-convert): New function.
2595 (cl-flet, cl-labels): New implementation with new semantics, relying on
2596 lexical-binding.
2597 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2598 (cl-closure-vars, cl--function-convert-cache)
2599 (cl--function-convert): Move from cl-macs.el.
2600 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2601 rename by removing the "cl-" prefix.
2602 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2603
2604 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2607 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2608 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2609 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2610 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2611 (cl-hash-table-count): Add old compatibility aliases.
2612
2613 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2614 Use macroexpand-all-environment instead.
2615 (cl--old-macroexpand): New var.
2616 (cl--sm-macroexpand): New function.
2617 (cl-symbol-macrolet): Use it during macro expansion.
2618 (cl--function-convert-cache): New var.
2619 (cl--function-convert): New function, extracted from
2620 cl-macroexpand-all.
2621 (cl-lexical-let): Use it.
2622
2623 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2624 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2625 (cl-member): Remove old alias.
2626
2627 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2628 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2629 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2630 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2631 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2632 (cl-macroexpand-cmacs): Remove var.
2633 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2634 Use macroexpand-all instead.
2635
2636 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2639 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2640 (macroexp-copyable-p): New functions and macros.
2641 * emacs-lisp/edebug.el (edebug-unwrap):
2642 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2643 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2644 (pcase--let*): Remove.
2645 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2646 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2647 macroexp-const-p instead.
2648 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2649
2650 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2651 instead of "cl-" for internal definitions. Use macroexp-const-p.
2652 (cl-old-bc-file-form): Remove var.
2653 (cl-const-exprs-p): Remove fun.
2654 (cl-labels, cl-macrolet): Use backquote.
2655 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2656 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2657 (cl-define-setf-expander): Rename from cl-define-setf-method.
2658 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2659
2660 * international/mule-cmds.el: Don't require CL.
2661 (view-hello-file): Don't use `letf'.
2662
2663 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * tmm.el (tmm-prompt): Use string-prefix-p.
2666 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2667 (tmm-add-prompt): Use minibuffer-completion-help.
2668 (tmm-delete-map): Remove.
2669
2670 * subr.el (kbd): Make it its own function.
2671
2672 2012-06-07 Stefan Merten <smerten@oekonux.de>
2673
2674 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2675 Silence compiler warnings. Fix versions.
2676 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
2677 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
2678 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
2679 (rst-package-emacs-version-alist): Correct Emacs version to
2680 represent major merge with upstream.
2681 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
2682
2683 2012-06-06 Glenn Morris <rgm@gnu.org>
2684
2685 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2686 Only print environment variables if set.
2687
2688 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2691 (macroexp--cons): Rename from maybe-cons.
2692 (macroexp--accumulate): Rename from macroexp-accumulate.
2693 (macroexp--all-forms): Rename from macroexpand-all-forms.
2694 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2695 (macroexp--expand-all): Rename from macroexpand-all-1.
2696
2697 2012-06-06 Sam Steingold <sds@gnu.org>
2698
2699 * calendar/calendar.el (calendar-in-read-only-buffer):
2700 Call `special-mode' to enable the standard read-only keybindings.
2701
2702 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2705 with "loading" messages (bug#11635).
2706
2707 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
2708
2709 * files.el (enable-remote-dir-locals): New option.
2710 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2711
2712 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2713 Ensure, that the temp directory is local.
2714
2715 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2716 `temporary-file-directory'.
2717
2718 * progmodes/python.el (python-send-region): Ensure, that the
2719 temporary file is created also in the remote case.
2720
2721 2012-06-06 Glenn Morris <rgm@gnu.org>
2722
2723 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2724 (vc-rcs-update-changelog): Use it.
2725
2726 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
2727
2728 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2729 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2730 (vc-sccs-diff): Replace use of the external vcdiff script.
2731
2732 2012-06-05 Glenn Morris <rgm@gnu.org>
2733
2734 * ledit.el: Move to obsolete/.
2735
2736 2012-06-05 Sam Steingold <sds@gnu.org>
2737
2738 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
2739 patch (Bug#11140).
2740
2741 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/cust-print.el: Move to obsolete.
2744
2745 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2746 compiler-macro expansion.
2747
2748 Add native compiler-macro support.
2749 * emacs-lisp/macroexp.el (macroexpand-all-1):
2750 Support compiler-macros directly. Properly follow aliases and apply
2751 the compiler macros more thoroughly.
2752 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2753 macroexpand now properly follows aliases.
2754 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2755 (cl-compiler-macroexpand): Use new prop.
2756 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2757
2758 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2759
2760 2012-06-05 Martin Rudalics <rudalics@gmx.at>
2761
2762 * window.el (get-lru-window, get-mru-window, get-largest-window):
2763 New argument NOT-SELECTED to avoid picking the selected window.
2764 (window--display-buffer-1, window--display-buffer-2): Replace by
2765 new function window--display-buffer
2766 (display-buffer-same-window, display-buffer-reuse-window)
2767 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2768 Use window--display-buffer.
2769 (display-buffer-use-some-window): Remove temporary dedication
2770 hack by calling get-lru-window and get-largest-window with
2771 NOT-SELECTED argument non-nil. Call window--display-buffer.
2772
2773 2012-06-05 Glenn Morris <rgm@gnu.org>
2774
2775 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2776 Replace external vcdiff script.
2777
2778 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2781
2782 2012-06-04 Chong Yidong <cyd@gnu.org>
2783
2784 * image.el (imagemagick-types-inhibit): Revert last change.
2785 Add INFO and M.
2786 (imagemagick-enabled-types): Remove CIN and EPS*.
2787
2788 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * emacs-lisp/cl-lib.el: Rename from cl.el.
2791 * emacs-lisp/cl.el: New compatibility file.
2792 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2793 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2794 to obey the "cl-" prefix.
2795 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2796
2797 2012-06-03 Glenn Morris <rgm@gnu.org>
2798
2799 * emacs-lisp/authors.el (authors-aliases): Addition.
2800
2801 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2802 Fix :version.
2803
2804 2012-06-03 Stefan Merten <smerten@oekonux.de>
2805
2806 * textmodes/rst.el: Add comments.
2807 (rst-transition, rst-adornment): New faces.
2808 (rst-adornment-faces-alist): Make default safe to reevaluate.
2809 Fixes
2810 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2811 Improve customization tags.
2812 (rst-define-level-faces): Clarify meaning.
2813
2814 2012-06-03 Chong Yidong <cyd@gnu.org>
2815
2816 * progmodes/compile.el (compilation-mode-line-fail)
2817 (compilation-mode-line-run, compilation-mode-line-exit):
2818 New faces.
2819 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2820
2821 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2822
2823 * progmodes/which-func.el (which-func-update-ediff-windows):
2824 New function. Use it in ediff-select-hook (Bug#11478).
2825
2826 2012-06-03 Chong Yidong <cyd@gnu.org>
2827
2828 * bindings.el: Remove explicit help text from format-mode-line.
2829 It is now supplied by mode-line-default-help-echo.
2830 (mode-line-front-space, mode-line-end-spaces)
2831 (mode-line-misc-info): New variables.
2832 (mode-line-modes, mode-line-position): Move the default value to
2833 the variable definition.
2834 (mode-line-default-help-echo): New defcustom.
2835 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2836 (mode-line-modified-help-echo): New functions.
2837 (mode-line-mule-info, mode-line-modified): Use them.
2838 (mode-line-eol-desc, propertized-buffer-identification):
2839 Consistency fixes for help text.
2840 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2841 set-buffer-file-coding-system (Bug#289).
2842 (mode-line-mule-info-help-echo): Update help text.
2843
2844 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * simple.el (execute-extended-command): Set real-this-command
2847 (bug#11506).
2848
2849 2012-06-02 Chong Yidong <cyd@gnu.org>
2850
2851 Remove incorrect uses of "modeline" in comments, docstrings, and
2852 function/variable names (Bug#10329).
2853
2854 * cus-edit.el (mode-line):
2855 * dframe.el (dframe-mouse-hscroll):
2856 * emacs-lisp/re-builder.el:
2857 * emacs-lisp/easy-mmode.el (define-minor-mode):
2858 * frame.el (set-frame-name):
2859 * help.el (lookup-minor-mode-from-indicator):
2860 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2861 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2862 (c-toggle-hungry-state):
2863 * progmodes/antlr-mode.el (antlr-language-alist):
2864 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2865 * progmodes/vhdl-mode.el (vhdl-mode):
2866 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2867 * term/ns-win.el (ns-face-at-pos):
2868 * term/sup-mouse.el (sup-mouse-report):
2869 * textmodes/flyspell.el (flyspell-mode-line-string):
2870 * textmodes/ispell.el (ispell-highlight-face):
2871 * textmodes/reftex-global.el:
2872 * vc/vc-arch.el (vc-arch-mode-line-string):
2873 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2874 * vc/vc-git.el (vc-git-mode-line-string):
2875 * vc/vc-hooks.el (vc-display-status)
2876 (vc-default-mode-line-string):
2877 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2878
2879 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2880
2881 * dired.el (dired-sort-set-mode-line): Rename from
2882 dired-sort-set-modeline. All callers changed.
2883
2884 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2885 eshell-status-in-modeline.
2886
2887 * foldout.el (foldout-mode-line-string): Rename from
2888 foldout-modeline-string. All callers changed.
2889 (foldout-update-mode-line): Rename from foldout-update-modeline.
2890
2891 * subr.el (redraw-modeline): Make into obsolete alias.
2892
2893 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2894 timeclock-modeline-display. Make old name an alias.
2895 (timeclock-update-mode-line): Likewise. All callers changed.
2896 (timeclock-mode-line-display): No need to check before using
2897 add-hook.
2898 (timeclock-relative, timeclock-day-over-hook)
2899 (timeclock-use-elapsed, timeclock-mode-string)
2900 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
2901
2902 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
2903 crisp-mode-modeline-string.
2904
2905 * play/solitaire.el (solitaire-build-mode-line): Rename from
2906 solitaire-build-modeline. All callers changed.
2907
2908 * play/zone.el (zone-hiding-mode-line): Rename from
2909 zone-hiding-modeline. All callers changed.
2910 (zone): Remove unusued `modeline-hidden-level' property.
2911
2912 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
2913 xscheme-modeline-initialize. All callers changed.
2914
2915 * strokes.el (strokes-lighter): Rename from
2916 strokes-modeline-string.
2917
2918 * textmodes/sgml-mode.el (html-face-tag-alist)
2919 (html-tag-face-alist): Use mode-line face instead of obsolete
2920 alias modeline.
2921
2922 2012-06-02 Stefan Merten <smerten@oekonux.de>
2923
2924 * textmodes/rst.el: Always require `cl'.
2925 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
2926
2927 2012-06-02 Chong Yidong <cyd@gnu.org>
2928
2929 * image.el (imagemagick-enabled-types): Rename from
2930 imagemagick-types-enable. Add many more types.
2931 (imagemagick-types-inhibit): Change default to nil.
2932 (imagemagick-filter-types): Caller changed.
2933
2934 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * emacs-lisp/cl-macs.el: Use backquotes.
2937 (cl-transform-function-property): Use eval-and-compile rather than
2938 abusing `require'.
2939 (defstruct): Use declare-function instead of with-no-warnings.
2940
2941 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
2942 (byte-compile-output-docform): Re-add the print-circle bindings.
2943 (byte-compile-fix-header): Use #$ just because it's shorter.
2944 (byte-compile-output-file-form): Remove defun/defmacro.
2945
2946 2012-06-01 Martin Rudalics <rudalics@gmx.at>
2947
2948 * simple.el (choose-completion): Remove now obsolete binding for
2949 owindow.
2950
2951 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
2954 in order to avoid "Stack overflow in regexp matcher".
2955
2956 2012-05-31 Glenn Morris <rgm@gnu.org>
2957
2958 * image.el: For clarity, call imagemagick-register-types at
2959 top-level, rather than relying on a custom :initialize.
2960 (imagemagick-types-enable): New option. (Bug#11557)
2961 (imagemagick-filter-types): New function. (Bug#7406)
2962 (imagemagick-register-types): Use imagemagick-filter-types.
2963 If disabling support, remove elements altogether rather
2964 than using an impossible regexp.
2965 (imagemagick-types-inhibit): Give it the default init function.
2966
2967 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
2970 Handle arbitrary file name lengths (Bug#11585).
2971
2972 2012-05-31 Martin Rudalics <rudalics@gmx.at>
2973
2974 * desktop.el (desktop-read): Clear previous and next buffers for
2975 all windows and bury *Messages* buffer (bug#11556).
2976
2977 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 Add `declare' for `defun'. Align `defmacro's with it.
2980 * emacs-lisp/easy-mmode.el (define-minor-mode)
2981 (define-globalized-minor-mode): Don't autoload the var definitions.
2982 * emacs-lisp/byte-run.el: Use lexical-binding.
2983 (defun-declarations-alist, macro-declarations-alist): New vars.
2984 (defmacro, defun): Use them.
2985 (make-obsolete, define-obsolete-function-alias)
2986 (make-obsolete-variable, define-obsolete-variable-alias):
2987 Use `declare'.
2988 (macro-declaration-function): Mark obsolete.
2989 * emacs-lisp/autoload.el: Use lexical-binding.
2990 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
2991
2992 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2993
2994 * textmodes/ispell.el (ispell-with-no-warnings):
2995 Define as a macro.
2996 (ispell-kill-ispell, ispell-change-dictionary):
2997 Use `called-interactively-p' for Emacs instead of obsolete
2998 `interactive-p'.
2999
3000 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3003 (macro-declaration-function): Move var from C code.
3004 (macro-declaration-function): Define function with defalias.
3005 * emacs-lisp/macroexp.el (macroexpand-all-1):
3006 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3007 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3008 defun/defmacro any more.
3009 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3010 Provide fallback for unknown arglist.
3011 (byte-compile-arglist-warn): Change calling convention.
3012 (byte-compile-output-file-form): Move print-vars binding.
3013 (byte-compile-output-docform): Simplify accordingly.
3014 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3015 (byte-compile-defmacro-declaration): Remove.
3016 (byte-compile-file-form-defmumble): Generalize to defalias.
3017 (byte-compile-output-as-comment): Return byte-positions.
3018 Simplify callers accordingly.
3019 (byte-compile-lambda): Use `assert'.
3020 (byte-compile-defun, byte-compile-defmacro): Remove.
3021 (byte-compile-file-form-defalias):
3022 Use byte-compile-file-form-defmumble.
3023 (byte-compile-defalias-warn): Remove.
3024
3025 2012-05-29 Stefan Merten <smerten@oekonux.de>
3026
3027 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
3028 possible. Fix authors. Improve comments. Improve loading of `cl'.
3029
3030 (rst-mode-abbrev-table): Merge definition.
3031 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3032 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3033
3034 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
3035
3036 * calendar/icalendar.el
3037 (icalendar-export-region): Export UID properly.
3038
3039 2012-05-29 Leo Liu <sdl.web@gmail.com>
3040 * calendar/icalendar.el (icalendar-import-format):
3041 Add `icalendar-import-format-uid' (Bug#11525).
3042 (icalendar-import-format-uid): New.
3043 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3044 Export UID.
3045
3046 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3049 different alternative patterns.
3050 (pcase-codegen): Be more careful to preserve identity.
3051 (pcase--u1): Don't forget to mark vars as used.
3052
3053 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3054 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3055 (byte-compile-from-buffer): ...rather than here.
3056
3057 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3058 functions from byte-compile-function-environment.
3059
3060 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
3061
3062 * window.el (window-deletable-p): Avoid deleting the root window
3063 of a frame with an active minibuffer.
3064
3065 2012-05-29 Martin Rudalics <rudalics@gmx.at>
3066
3067 * simple.el (choose-completion): Use quit-window (Bug#11567).
3068
3069 2012-05-29 Chong Yidong <cyd@gnu.org>
3070
3071 * whitespace.el (whitespace-cleanup): Fix usage of
3072 whitespace-empty-at-bob-regexp (Bug#11492).
3073
3074 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3075
3076 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3077 revert (Bug#11488).
3078
3079 2012-05-29 Juri Linkov <juri@jurta.org>
3080
3081 * isearch.el (isearch-mode-map): Bind `M-s _' to
3082 `isearch-toggle-symbol'. Bind `M-s c' to
3083 `isearch-toggle-case-fold'.
3084 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3085 (isearch-forward): Add `M-s _' to the docstring.
3086 (isearch-forward-symbol, isearch-toggle-case-fold)
3087 (isearch-symbol-regexp): New functions. (Bug#11381)
3088
3089 2012-05-29 Juri Linkov <juri@jurta.org>
3090
3091 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3092 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3093 a function, call it to get the regexp.
3094 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3095 property `isearch-message-prefix' instead of the string "word ".
3096 (isearch-search-fun-default): For the case of `isearch-word',
3097 return a lambda that calls re-search-forward/re-search-backward
3098 with a regexp returned by `word-search-regexp' or by the function
3099 in `isearch-word'.
3100
3101 2012-05-29 Juri Linkov <juri@jurta.org>
3102
3103 * isearch.el (isearch-search-fun-default): New function.
3104 (isearch-search-fun): Move default part to the new function
3105 `isearch-search-fun-default'.
3106 (isearch-search-fun-function): Set the default value to
3107 `isearch-search-fun-default'. (Bug#11381)
3108
3109 * comint.el (comint-history-isearch-end):
3110 Use `isearch-search-fun-default'.
3111 (comint-history-isearch-search): Use `isearch-search-fun-default'
3112 and remove spacial case for `isearch-word'.
3113 (comint-history-isearch-wrap): Remove spacial case for
3114 `isearch-word'.
3115
3116 * hexl.el (hexl-isearch-search-function):
3117 Use `isearch-search-fun-default'.
3118
3119 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3120 Use `word-search-regexp' for `isearch-word'.
3121
3122 * misearch.el (multi-isearch-search-fun):
3123 Use `isearch-search-fun-default'.
3124
3125 * simple.el (minibuffer-history-isearch-search):
3126 Use `isearch-search-fun-default' and remove spacial case for
3127 `isearch-word'.
3128 (minibuffer-history-isearch-wrap): Remove spacial case for
3129 `isearch-word'.
3130
3131 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3132 Remove spacial case for `isearch-word'.
3133 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3134
3135 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3136
3137 Decrease XEmacs incompatibilities.
3138 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3139 Use `string-match'.
3140 (flyspell-delete-region-overlays): Use alternative definition for
3141 XEmacs.
3142 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3143 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3144 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3145 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3146 `define-obsolete-face-alias' under XEmacs, but old method.
3147
3148 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3149 `with-no-warnings' definition or Emacs alias.
3150 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3151 (ispell-word): Do not use `region-p' if XEmacs.
3152
3153 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3154
3155 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3156 Check for `ispell-dictionary-base-alist' instead of full
3157 `ispell-dictionary-alist'.
3158 (ispell-init-process): Show spellchecker when starting new Ispell
3159 process.
3160
3161 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3164 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3165
3166 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * version.el (motif-version-string, gtk-version-string)
3169 (ns-version-string): Declare.
3170
3171 2012-05-27 Juri Linkov <juri@jurta.org>
3172
3173 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3174 after the `eval-defun-1' specialcaseing
3175 like in `edebug-eval-defun' (bug#10181).
3176
3177 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3178 like in `eval-defun-1'.
3179
3180 2012-05-27 Eli Zaretskii <eliz@gnu.org>
3181
3182 * mail/sendmail.el (mail-yank-region):
3183 Recognize rmail-yank-current-message in addition to insert-buffer.
3184 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
3185 a *mail* buffer created through rmail-start-mail with sendmail as
3186 mail-user-agent.
3187
3188 2012-05-27 Chong Yidong <cyd@gnu.org>
3189
3190 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3191 Default to 256 (Bug#11267).
3192
3193 * help.el (describe-mode): Doc fix.
3194
3195 2012-05-26 Glenn Morris <rgm@gnu.org>
3196
3197 * w32-fns.el (w32-init-info): Remove.
3198 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3199
3200 * info.el (info-initialize): For self-contained NS builds, put the
3201 included info/ directory at the front. (Bug#2791)
3202
3203 * paths.el (Info-default-directory-list): Make it a defcustom,
3204 mainly so that we can use custom-initialize-delay.
3205
3206 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3207
3208 * subr.el (buffer-has-markers-at): Mark obsolete.
3209
3210 * subr.el (lambda): Use declare.
3211
3212 * emacs-lisp/lisp-mode.el (lambda):
3213 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3214
3215 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3216
3217 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3218
3219 2012-05-26 Glenn Morris <rgm@gnu.org>
3220
3221 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3222
3223 2012-05-25 Glenn Morris <rgm@gnu.org>
3224
3225 * paths.el: Remove no-byte-compile.
3226 * loadup.el: No need to load paths.el uncompiled.
3227
3228 * image.el (imagemagick-types-inhibit): Doc fix.
3229
3230 * version.el: Remove no-byte-compile and associated formatting.
3231 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3232 is ancient code from when there was an "inc-vers.el".
3233
3234 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * progmodes/gdb-mi.el: Minor style changes.
3237 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3238 Turn into minor modes.
3239 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3240 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3241 (gdb-shell): Remove unneeded let-binding.
3242 (gdb-get-many-fields): Eliminate O(n²) behavior.
3243
3244 2012-05-25 Eli Zaretskii <eliz@gnu.org>
3245
3246 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3247 platforms that don't link in fontset.c.
3248
3249 2012-05-25 Juri Linkov <juri@jurta.org>
3250
3251 Use the same diff color scheme as in modern VCSes (bug#10181).
3252
3253 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3254 to avoid confusion with `diff-added' that now uses green colors.
3255 (diff-removed): Use shades of red.
3256 (diff-added): Use shades of green.
3257 (diff-changed): Leave just the yellow color.
3258 (diff-use-changed-face): New variable.
3259 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3260 how to highlight context diff changes.
3261 (diff-refine-change): Use shades of yellow.
3262 (diff-refine-removed): New face that uses shades of red.
3263 (diff-refine-added): New face that uses shades of green.
3264 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3265 `diff-refine-removed' in the call to `smerge-refine-subst'
3266 depending on the value of `diff-use-changed-face'.
3267
3268 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3269 (smerge-other): Use shades of green.
3270 (smerge-base): Use shades of yellow.
3271 (smerge-refined-change): Empty face.
3272 (smerge-refined-removed): New face that uses shades of red.
3273 (smerge-refined-added): New face that uses shades of green.
3274 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3275 args `props-r' and `props-a', and use them. Doc fix.
3276 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3277 on its value use different faces `smerge-refined-change',
3278 `smerge-refined-removed', `smerge-refined-added' in the call to
3279 `smerge-refine-subst'.
3280
3281 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3282 Add face condition `min-colors 88' with shades of red.
3283 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3284 `min-colors 88' with shades of green.
3285 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3286 `min-colors 88' with shades of yellow.
3287
3288 2012-05-24 Glenn Morris <rgm@gnu.org>
3289
3290 * paths.el (prune-directory-list, remote-shell-program): Move to...
3291 * files.el (prune-directory-list, remote-shell-program): ...here.
3292 For the latter, delay initialization, prefer ssh, just search PATH.
3293
3294 * paths.el (term-file-prefix): Move to faces.el (the only user).
3295 * faces.el (term-file-prefix): Move here, make it a defcustom.
3296
3297 * paths.el (news-directory, news-path, news-inews-program):
3298 Move to gnus/nnspool.el.
3299
3300 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3301
3302 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3303 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3304 Make the latter a defcustom, with a delayed initialization.
3305
3306 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3307 These were deleted from Gnus itself late 2010.
3308
3309 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
3310
3311 * progmodes/which-func.el (which-func-ff-hook):
3312 Check against user-error, not error.
3313
3314 * emacs-lisp/edebug.el (top): Do not load or set up loading of
3315 cl-specs.el, which no longer exists.
3316
3317 2012-05-22 Glenn Morris <rgm@gnu.org>
3318
3319 * info.el (info-emacs-bug): New command.
3320 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3321 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3322
3323 2012-05-21 Glenn Morris <rgm@gnu.org>
3324
3325 * makefile.w32-in (update-subdirs-SH):
3326 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3327
3328 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3331
3332 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3333 Simplify Maven regexp, and make sure the file can't start with a space
3334 (bug#11517).
3335
3336 2012-05-21 Glenn Morris <rgm@gnu.org>
3337
3338 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3339 Scrap superfluous subshells.
3340
3341 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3342
3343 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3344 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3345
3346 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3347
3348 * calc/calc.el (calc-ensure-consistent-units): New variable.
3349
3350 * calc/calc-units.el (math-consistent-units-p)
3351 (math-check-unit-consistency): New functions.
3352 (calc-quick-units, calc-convert-units):
3353 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3354 is non-nil.
3355 (calc-extract-units): Fix typo.
3356
3357 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3360
3361 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3362 (flyspell-default-deplacement-commands): Don't spell check after
3363 repeated window/frame switches (e.g. triggered by mouse-movement).
3364 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3365 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3366 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3367 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3368 Remove unused vars.
3369 (flyspell-get-casechars, flyspell-get-not-casechars):
3370 Simplify; Don't bother removing a ] just to add it back.
3371 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3372
3373 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3374
3375 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3376 New functions.
3377 (math-function-table): Add support for more C functions.
3378
3379 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3380
3381 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3382 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3383 Protect delay handling for otherchars against empty otherchars.
3384
3385 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3388 their respective macro declarations.
3389 * skeleton.el (define-skeleton):
3390 * progmodes/compile.el (define-compilation-mode):
3391 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3392 (define-ibuffer-filter):
3393 * emacs-lisp/generic.el (define-generic-mode):
3394 * emacs-lisp/easy-mmode.el (define-minor-mode)
3395 (define-globalized-minor-mode):
3396 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3397 * emacs-lisp/byte-run.el (defsubst):
3398 * custom.el (deftheme): Add doc-string metadata.
3399
3400 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3403
3404 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3407
3408 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3409 * emacs-lisp/cl-macs.el: Idem.
3410 * emacs-lisp/cl-specs.el: Remove.
3411
3412 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 Minor renaming of internal CL functions and variables.
3415 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3416 (cl--position): Rename from cl-position.
3417 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3418 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3419 (cl--random-state): Rename from *random-state*.
3420
3421 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3424 parens around the arg list (bug#11499).
3425
3426 2012-05-17 Juri Linkov <juri@jurta.org>
3427
3428 * isearch.el (word-search-regexp, word-search-backward)
3429 (word-search-forward, word-search-backward-lax)
3430 (word-search-forward-lax): Move functions from search.c
3431 (bug#10145, bug#11381).
3432
3433 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3434
3435 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3436 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3437 Delay for otherchars as for normal word components.
3438
3439 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * minibuffer.el (completion--sifn-requote): Fix last change.
3442 (minibuffer-local-must-match-filename-map):
3443 Move define-obsolete-variable-alias before its var.
3444
3445 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3448
3449 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3450 behavior.
3451 (completion--string-equal-p): New function.
3452 (completion--twq-all): Use it to get better assertion failure data.
3453
3454 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3455 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3456 (shell--requote-argument): New functions.
3457 (shell-completion-vars): Use them.
3458 (shell--parse-pcomplete-arguments): Rename from
3459 shell-parse-pcomplete-arguments.
3460 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3461 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3462 Obey comint-file-name-quote-list.
3463
3464 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3465 (smie-indent-keyword): Use it.
3466
3467 2012-05-14 Stefan Merten <smerten@oekonux.de>
3468
3469 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3470
3471 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * net/rlogin.el (rlogin-mode-map): Fix last change.
3474
3475 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
3476
3477 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3478 the following \r\n using a single `process-send-string', since the
3479 Lotus SMTP server refuses to accept any commands if they are sent
3480 with two `process-send-string's (Bug#11444).
3481
3482 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * shell.el (shell-parse-pcomplete-arguments):
3485 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
3486
3487 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3488
3489 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
3490 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3491 (image-transform-width, image-transform-fit-width): New functions.
3492 (image-transform-properties): Use them.
3493 (image-transform-check-size): New function.
3494 (image-toggle-display-image): Use it (for testing).
3495 (image-transform-set-rotation): Reduce angle mod 360.
3496 Delete obsolete comment.
3497
3498 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3499
3500 * image-mode.el: Fix scaling (bug#11399).
3501 (image-transform-resize): Doc fix.
3502 (image-transform-properties): Default scale is 1 and height should
3503 be an integer.
3504
3505 2012-05-13 Johan Bockgård <bojohan@gnu.org>
3506
3507 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3508 than hard-coding `car', to fix misbehavior when moving forward.
3509
3510 2012-05-13 Chong Yidong <cyd@gnu.org>
3511
3512 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3513 (tabulated-list-entries, tabulated-list-padding)
3514 (tabulated-list-sort-key): Make permanent-local.
3515
3516 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3517 (electric-buffer-list): Put electric buffer menu
3518 command descriptions in this docstring, instead of the docstring
3519 of electric-buffer-menu-mode. Code cleanups.
3520 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3521 Electric-buffer-menu-mode.
3522 (electric-buffer-update-highlight): Minor code cleanup.
3523
3524 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
3525
3526 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3527 (Bug#11447)
3528
3529 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 Move define-obsolete-variable-alias before the var's definition.
3532 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3533 * tooltip.el (tooltip-hook):
3534 * textmodes/reftex-toc.el (reftex-toc-map):
3535 * textmodes/reftex-sel.el (reftex-select-label-map)
3536 (reftex-select-bib-map):
3537 * textmodes/reftex-index.el (reftex-index-map)
3538 (reftex-index-phrases-map):
3539 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3540 * progmodes/meta-mode.el (meta-mode-map):
3541 * novice.el (disabled-command-hook):
3542 * loadhist.el (unload-hook-features-list):
3543 * frame.el (blink-cursor):
3544 * files.el (find-file-not-found-hooks, write-file-hooks)
3545 (write-contents-hooks):
3546 * emulation/tpu-edt.el (GOLD-map):
3547 * emacs-lock.el (emacs-lock-from-exiting):
3548 * emacs-lisp/generic.el (generic-font-lock-defaults):
3549 * emacs-lisp/chart.el (chart-map):
3550 * dos-fns.el (register-name-alist):
3551 * dired-x.el (dired-omit-files-p):
3552 * desktop.el (desktop-enable):
3553 * cus-edit.el (custom-mode-hook):
3554 * buff-menu.el (buffer-menu-mode-hook):
3555 * bookmark.el (bookmark-read-annotation-text-func)
3556 (bookmark-exit-hooks):
3557 * allout.el (allout-mode-deactivate-hook)
3558 (allout-exposure-change-hook, allout-structure-added-hook)
3559 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3560 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3561 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3562 comes before the corresponding variable's definition.
3563
3564 2012-05-12 Chong Yidong <cyd@gnu.org>
3565
3566 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
3567 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3568 (Buffer-menu-mode-map): Bind it.
3569 (Buffer-menu--pretty-name): Add a mouse-face property.
3570
3571 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3574 (prolog-upper-case-string, prolog-lower-case-string)
3575 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3576 (prolog-use-smie, prolog-smie-grammar): New vars.
3577 (prolog-smie-forward-token, prolog-smie-backward-token)
3578 (prolog-smie-rules): New funs.
3579 (prolog-comment-indent): Remove.
3580 (prolog-mode-variables): Use default comment indentation instead.
3581 Setup SMIE.
3582 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3583 (prolog-mode): Don't call them any more.
3584 (prolog-electric-colon, prolog-electric-dash)
3585 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3586
3587 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3588
3589 * minibuffer.el (completion--twq-all): Again, allow case differences.
3590
3591 * term.el: Move keymap initialization code to be more idiomatic.
3592 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3593 (term-terminal-menu): Move initialization into declaration.
3594 (term-escape-char): Let the user set it in her .emacs.
3595
3596 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3597 Provide SMIE-based indentation (not enabled by default yet).
3598 (sh-mode-map): Don't bind electric keys.
3599 Use electric-pair-mode instead of skeleton-pair.
3600 (sh-assignment-regexp): Fit within 80 columns.
3601 (sh-indent-supported): Specify actual shell name instead of boolean.
3602 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3603 (sh-maybe-here-document): Use it. Make obsolete.
3604 (sh-electric-here-document-mode) New minor mode.
3605 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3606 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3607 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3608 (sh-smie-rc-grammar, sh-use-smie): New vars.
3609 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3610 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3611 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3612 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3613 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3614 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3615 (sh-set-shell): Use smie-setup if requested.
3616
3617 * term.el (term-set-escape-char): Properly set term-escape-char.
3618 See http://stackoverflow.com/questions/10524656.
3619
3620 2012-05-10 Chong Yidong <cyd@gnu.org>
3621
3622 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3623 Use url-generic-parse-url, and handle host names and Windows
3624 filenames properly.
3625 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3626 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3627 URL schemes to work on.
3628 (ffap--toggle-read-only): New function.
3629 (ffap-read-only, ffap-read-only-other-window)
3630 (ffap-read-only-other-frame): Use it.
3631 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3632 necessary for ffap-url-unwrap-remote.
3633
3634 2012-05-10 Dave Abrahams <dave@boostpro.com>
3635
3636 * cus-start.el (create-lockfiles): Add it.
3637
3638 2012-05-09 Chong Yidong <cyd@gnu.org>
3639
3640 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3641 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3642
3643 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3646
3647 2012-05-09 Chong Yidong <cyd@gnu.org>
3648
3649 * ansi-color.el (ansi-color-process-output): Check for validity of
3650 comint-last-output-start before using it. This avoids a bad
3651 interaction with gdb-mi's input/output buffer.
3652
3653 2012-05-09 Glenn Morris <rgm@gnu.org>
3654
3655 * files.el (dir-locals-read-from-file):
3656 Mention dir-locals in any error message.
3657
3658 2012-05-09 Chong Yidong <cyd@gnu.org>
3659
3660 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3661 package (Bug#11410).
3662
3663 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3664 variables into description.
3665
3666 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3669 shell-delimiter-argument-list (bug#11348).
3670 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3671
3672 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
3673
3674 * textmodes/rst.el: Silence byte-compiler warnings.
3675 (rst-re-alist, rst-reset-section-caches): Move around.
3676 (rst-re): Use `characterp', not `char-valid-p'.
3677 (font-lock-beg, font-lock-end): Declare.
3678
3679 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3680 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3681
3682 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3683
3684 2012-05-08 Glenn Morris <rgm@gnu.org>
3685
3686 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3687
3688 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * vc/log-edit.el: Add GNU coding standards highlighting.
3691 (log-edit-font-lock-gnu-style)
3692 (log-edit-font-lock-gnu-keywords): New vars.
3693 (log-edit-font-lock-keywords): New fun.
3694 (log-edit-mode): Don't fold case in font-lock.
3695 (log-edit-font-lock-keywords): Do not assume case-folding.
3696
3697 * imenu.el: Misc cleanup. Make docstrings out of comments.
3698 Use lexical-binding.
3699 (imenu--index-alist, imenu--last-menubar-index-alist)
3700 (imenu-menubar-modified-tick): Use defvar-local.
3701 (imenu--split-menu): Remove unused var.
3702 (imenu--cleanup-seen): Declare as global.
3703 (imenu--cleanup): Use dolist.
3704
3705 * subr.el (defvar-local): Add debug spec and doc-string position.
3706
3707 2012-05-08 Glenn Morris <rgm@gnu.org>
3708
3709 * language/burmese.el, language/cham.el, language/czech.el:
3710 * language/english.el, language/georgian.el, language/greek.el:
3711 * language/japanese.el, language/khmer.el, language/korean.el:
3712 * language/lao.el, language/misc-lang.el, language/romanian.el:
3713 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3714 * language/thai.el, language/utf-8-lang.el:
3715 Remove no-byte-compile setting.
3716
3717 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3718
3719 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3720
3721 * progmodes/make-mode.el (makefile-browse):
3722 Remove unnecessary interactive. (Bug#11324)
3723
3724 2012-05-07 Glenn Morris <rgm@gnu.org>
3725
3726 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3727
3728 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3729
3730 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * loadup.el: Preload newcomment.el.
3733 * newcomment.el: Move autoload-only code to toplevel.
3734
3735 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3736 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3737 Handle new :right-align column property.
3738 (tabulated-list-print-col): Idem, plus use `display' text-property to
3739 try and preserve alignment for variable pitch fonts.
3740
3741 2012-05-07 Chong Yidong <cyd@gnu.org>
3742
3743 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3744 (tabulated-list-use-header-line): New var.
3745 (tabulated-list-init-header): Use it.
3746 (tabulated-list-print-fake-header): New function.
3747 (tabulated-list-print): Use it.
3748 (tabulated-list-sort-button-map): Add non-header-line commands.
3749 (tabulated-list-init-header): Add column name property to basic
3750 labels as well.
3751 (tabulated-list-col-sort): Handle non-header-line button case.
3752 (tabulated-list--sort-by-column-name): Fix a corner case.
3753
3754 * buff-menu.el (list-buffers--refresh):
3755 Handle Buffer-menu-use-header-line.
3756
3757 2012-05-06 Chong Yidong <cyd@gnu.org>
3758
3759 * buff-menu.el: Convert to Tabulated List mode.
3760 (Buffer-menu-buffer+size-width): Make obsolete.
3761 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3762 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3763 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3764 documentation into docstring of buffer-menu.
3765 (Buffer-menu-toggle-files-only): Add an informative message.
3766 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3767 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3768 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3769 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3770 (Buffer-menu-execute, Buffer-menu-select)
3771 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3772 (Buffer-menu-bury): Use Tabulated List machinery.
3773 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3774 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
3775 Delete.
3776 (list-buffers--refresh): New function.
3777 (list-buffers-noselect): Use it.
3778 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3779 (Buffer-menu--pretty-file-name): New helper functions.
3780
3781 * loadup.el: Preload tabulated-list.
3782
3783 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3784 tabulated-list-sort-column.
3785 (tabulated-list-init-header): Add the initial aligning space even
3786 if tabulated-list-padding is zero.
3787
3788 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3789
3790 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3791 whose cdr is not a cons cell correctly (bug#11038).
3792
3793 2012-05-06 Chong Yidong <cyd@gnu.org>
3794
3795 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3796 Accept additional plist in column descriptors.
3797 (tabulated-list-init-header): Obey it.
3798 (tabulated-list-get-entry): New function.
3799 (tabulated-list-put-tag): Use it. Use string-width instead of
3800 length.
3801 (tabulated-list--column-number): New function.
3802 (tabulated-list-print): Use it.
3803 (tabulated-list-print-col): New function.
3804 Set `tabulated-list-column-name' property on each column's text.
3805 (tabulated-list-print-entry): Use it.
3806 (tabulated-list-delete-entry, tabulated-list-set-col):
3807 New functions.
3808 (tabulated-list-sort-column): New command (Bug#11337).
3809
3810 * buff-menu.el (list-buffers): Move C-x C-b binding from
3811 buff-menu.el to bindings.el.
3812
3813 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3814 :advertised-binding feature.
3815
3816 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3817
3818 * progmodes/compile.el (compilation-internal-error-properties):
3819 Calculate start position correctly when end-col is set but
3820 end-line is not (Bug#11382).
3821
3822 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3823
3824 * man.el (Man-unindent): Use text-property-default-nonsticky to
3825 prevent untabify from inheriting face properties (Bug#11408).
3826
3827 2012-05-05 Stefan Merten <smerten@oekonux.de>
3828
3829 * textmodes/rst.el: Major merge with upstream development up to
3830 Docutils SVN r7399 / rst.el V1.2.1.
3831
3832 Clarify maintainership and authors.
3833
3834 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3835 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3836 (rst-official-version, rst-official-cvs-rev, rst-version)
3837 (rst-package-emacs-version-alist): New functions and variables
3838 for version information.
3839
3840 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3841 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3842 (rst-mode-syntax-table, rst-mode): New and corrected functions
3843 and variables representing reStructuredText features.
3844
3845 (rst-re): New function for reStructuredText regexes. Use in
3846 many places.
3847
3848 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3849 (rst-mode-map): Rebind keys.
3850
3851 (rst-mode-lazy, rst-font-lock-keywords)
3852 (rst-font-lock-extend-region)
3853 (rst-font-lock-extend-region-internal)
3854 (rst-font-lock-extend-region-extend)
3855 (rst-font-lock-find-unindented-line-limit)
3856 (rst-font-lock-find-unindented-line-match)
3857 (rst-adornment-level, rst-font-lock-adornment-level)
3858 (rst-font-lock-adornment-match)
3859 (rst-font-lock-handle-adornment-pre-match-form)
3860 (rst-font-lock-handle-adornment-matcher): Major revision of
3861 font-locking. Integrate with other code. Use `jit-lock-mode'.
3862
3863 (rst-preferred-adornments, rst-adjust-hook)
3864 (rst-new-adornment-down, rst-preferred-bullets)
3865 (rst-preferred-bullets, rst-indent, rst-indent-width)
3866 (rst-indent-field, rst-indent-literal-normal)
3867 (rst-indent-literal-minimized, rst-indent-comment): Change,
3868 extend and improve customization.
3869
3870 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3871 (rst-normalize-cursor-position, rst-get-decoration)
3872 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3873 (rst-rstrip, rst-toc-insert-find-delete-contents)
3874 (rst-shift-fill-region, rst-compute-bullet-tabs)
3875 (rst-debug-print-tabs, rst-debug-mark-found)
3876 (rst-shift-region-guts, rst-shift-region-right)
3877 (rst-shift-region-left, rst-use-char-classes)
3878 (rst-font-lock-keywords-function)
3879 (rst-font-lock-indentation-point)
3880 (rst-font-lock-find-unindented-line-begin)
3881 (rst-font-lock-find-unindented-line-end)
3882 (rst-font-lock-find-unindented-line)
3883 (rst-font-lock-adornment-point, rst-font-lock-level)
3884 (rst-adornment-level-alist): Remove functions and variables.
3885
3886 (rst-compare-adornments, rst-get-adornment-match)
3887 (rst-suggest-new-adornment, rst-get-adornments-around)
3888 (rst-adornment-complete-p, rst-get-next-adornment)
3889 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3890 (rst-straighten-adornments): Standardize function names to
3891 use "adornment" instead of "decoration". Correct callers.
3892 Similar standardizing in many places.
3893
3894 (rst-update-section, rst-adjust, rst-promote-region)
3895 (rst-enumerate-region, rst-bullet-list-region)
3896 (rst-repeat-last-character): Correct use of `interactive'.
3897
3898 (rst-classify-adornment, rst-find-all-adornments)
3899 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
3900 (rst-find-leftmost-column, rst-repeat-last-character):
3901 Refactor functions.
3902
3903 (rst-find-title-line, rst-reset-section-caches)
3904 (rst-get-adornments-around, rst-adjust-adornment-work)
3905 (rst-arabic-to-roman, rst-roman-to-arabic)
3906 (rst-insert-list-pos, rst-insert-list-new-item)
3907 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
3908 New functions.
3909
3910 (rst-all-sections, rst-section-hierarchy)
3911 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
3912 New variables.
3913
3914 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
3915 configuration instead of only buffer. Change where necessary.
3916
3917 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
3918 (rst-shift-region, rst-adaptive-fill): New functions for
3919 indentation and filling.
3920
3921 (rst-comment-line-break, rst-comment-indent)
3922 (rst-comment-insert-comment, rst-comment-region)
3923 (rst-uncomment-region): New functions for handling comments.
3924
3925 (rst-compile): Quote shell arguments.
3926
3927 (rst-compile-pdf-preview, rst-compile-slides-preview):
3928 Delete temporary files after use.
3929
3930 2012-05-05 Glenn Morris <rgm@gnu.org>
3931
3932 * calendar/cal-html.el: Optionally include holidays in the output.
3933 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
3934 (cal-html-holidays): New option.
3935 (cal-html-css-default): Add holiday entry.
3936 (holiday-in-range): Autoload it.
3937 (cal-html-htmlify-entry): Add optional class argument.
3938 (cal-html-htmlify-list): Add optional holidays argument.
3939 (cal-html-insert-agenda-days): Include holidays in the output.
3940 (cal-html-one-month): Maybe include holidays.
3941
3942 * calendar/holidays.el (holiday-in-range):
3943 Move here from cal-tex-list-holidays.
3944 * calendar/cal-tex.el (cal-tex-list-holidays):
3945 Make it an obsolete alias for holiday-in-range. Update all callers.
3946
3947 2012-05-05 Chong Yidong <cyd@gnu.org>
3948
3949 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
3950 Nextstep.
3951
3952 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
3953
3954 * files.el (file-auto-mode-skip): New var.
3955 (set-auto-mode-1): Use it.
3956
3957 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * repeat.el: Use lexical-binding.
3960 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
3961 (repeat-undo-count): Remove.
3962 (repeat):
3963 * progmodes/octave-mod.el (octave-abbrev-start):
3964 * progmodes/f90.el (f90-abbrev-start):
3965 * face-remap.el (text-scale-adjust):
3966 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
3967
3968 * emacs-lisp/pcase.el (pcase--let*): New function.
3969 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
3970 a bit more.
3971 (pcase--split-pred): Be more clever about ruling out overlap between
3972 a predicate and some constant pattern.
3973 (pcase--q1): Use `null' instead of (eq foo nil).
3974
3975 * subr.el (setq-local, defvar-local): New macros.
3976 (kbd): Redefine as an alias.
3977 (with-selected-window): Leave unrelated frames alone.
3978 (set-temporary-overlay-map): New function.
3979
3980 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * subr.el (user-error): New function.
3983 * window.el (switch-to-buffer):
3984 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
3985 (smerge-match-conflict):
3986 * simple.el (previous-matching-history-element)
3987 (next-matching-history-element, goto-history-element, undo-more)
3988 (undo-start):
3989 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
3990 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
3991 (next-file, tags-loop-scan, list-tags, complete-tag):
3992 * progmodes/compile.el (compilation-loop):
3993 * mouse.el (mouse-minibuffer-check):
3994 * man.el (Man-bgproc-sentinel, Man-goto-page):
3995 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
3996 (Info-history-forward, Info-follow-reference, Info-menu)
3997 (Info-extract-menu-item, Info-extract-menu-counting)
3998 (Info-forward-node, Info-backward-node, Info-next-menu-item)
3999 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4000 (Info-next-reference, Info-prev-reference, Info-index)
4001 (Info-index-next, Info-follow-nearest-node)
4002 (Info-copy-current-node-name):
4003 * imenu.el (imenu--make-index-alist)
4004 (imenu-default-create-index-function, imenu-add-to-menubar):
4005 * files.el (basic-save-buffer, recover-file):
4006 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4007 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4008 (checkdoc-message-text, checkdoc-defun):
4009 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4010 * cus-edit.el (customize-changed-options, customize-rogue)
4011 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4012 (custom-variable-mark-to-reset-standard)
4013 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4014 (custom-file):
4015 * completion.el (check-completion-length):
4016 * comint.el (comint-search-arg)
4017 (comint-previous-matching-input-string-position)
4018 (comint-previous-matching-input)
4019 (comint-replace-by-expanded-history-before-point, comint-send-input)
4020 (comint-copy-old-input, comint-backward-matching-input)
4021 (comint-goto-process-mark, comint-set-process-mark):
4022 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4023 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4024
4025 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * dabbrev.el (dabbrev--ignore-case-p): New function.
4028 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4029 Use it.
4030
4031 * files.el (automount-dir-prefix): Mark as obsolete.
4032
4033 2012-05-04 Glenn Morris <rgm@gnu.org>
4034
4035 * patcomp.el, play/bruce.el: Move to obsolete/.
4036
4037 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4038
4039 Fix minor Y10k bugs.
4040 * arc-mode.el (archive-unixdate):
4041 * autoinsert.el (auto-insert-alist):
4042 * calc/calc-forms.el (math-this-year):
4043 * emacs-lisp/copyright.el (copyright-current-year)
4044 (copyright-update-year, copyright):
4045 * tar-mode.el (tar-clip-time-string):
4046 * time.el (display-time-update):
4047 Don't assume years have 4 digits.
4048
4049 2012-05-04 Chong Yidong <cyd@gnu.org>
4050
4051 * dos-w32.el (file-name-buffer-file-type-alist)
4052 (direct-print-region-use-command-dot-com):
4053 * ffap.el (ffap-menu-regexp):
4054 * find-file.el (ff-special-constructs):
4055 * follow.el (follow-debug):
4056 * forms.el (forms--debug):
4057 * iswitchb.el (iswitchb-all-frames):
4058 * ido.el (ido-all-frames):
4059 * emacs-lisp/timer.el (timer-max-repeats):
4060 * mail/feedmail.el (feedmail-mail-send-hook)
4061 (feedmail-mail-send-hook-queued):
4062 * mail/footnote.el (footnote-signature-separator):
4063 * mail/mailabbrev.el (mail-alias-separator-string)
4064 (mail-abbrev-mode-regexp):
4065 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4066 * progmodes/idlwave.el (idlwave-libinfo-file)
4067 (idlwave-default-completion-case-is-down)
4068 (idlwave-library-routines): Convert defvars to defcustoms.
4069
4070 * mail/rmail.el (rmail-decode-mime-charset):
4071 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4072 (idlwave-shell-fix-inserted-breaks)
4073 (idlwave-shell-activate-alt-keybindings)
4074 (idlwave-shell-use-breakpoint-glyph):
4075 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4076
4077 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4080
4081 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4082
4083 * progmodes/verilog-mode.el (font-lock-keywords):
4084 Fix mis-highligting auto. Reported by Craig Barner.
4085 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4086 defines from global name space. Reported by Dan Dever.
4087 (verilog-auto-reset, verilog-auto-reset-widths)
4088 (verilog-auto-tieoff): Support using unbased numbers for
4089 AUTORESET and AUTOTIEOFF.
4090 (verilog-submit-bug-report): Update variable list.
4091 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4092 parenthesis from not matching. Reported by Michael Rytting.
4093 (verilog-auto-template-lint): Fix hash error when linting modules
4094 with no used templates.
4095 (verilog-warn, verilog-warn-error)
4096 (verilog-warn-fatal): When non-interactive report multiple
4097 warnings before exiting. Suggested by Brad Dobbie.
4098 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4099 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4100 to report unused template errors. Reported by Brad Dobbie.
4101 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4102 nets, bug438. Reported by Vns Blore.
4103 (verilog-auto-inout-module, verilog-auto-reg)
4104 (verilog-read-decls, verilog-read-sub-decls-sig)
4105 (verilog-signals-edit-wire-reg, verilog-signals-with):
4106 Fix passing of Verilog data types in ANSI input/output ports
4107 such as "output logic" into the AUTOs. Special case "wire" and
4108 "reg" for backwards compatibility presuming Verilog 2001.
4109 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4110 (verilog-preprocess): Fix replication of preprocess output.
4111 Reported by Brad Dobbie.
4112 (verilog-auto-inst-interfaced-ports):
4113 Create verilog-auto-inst-interfaced-ports, bug429.
4114 Reported by Julian Gorfajn.
4115 (verilog-after-save-font-hook)
4116 (verilog-before-save-font-hook): New variable.
4117 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4118 (verilog-save-font-mods): Wrap disabling fontification, reported
4119 by David Rogoff.
4120 (verilog-do-indent, verilog-pretty-declarations-auto)
4121 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4122 Reported by Pierre-David Pfister.
4123 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4124 of class declarations, bug292. Reported by Kevin Heilman.
4125 (verilog-read-decls): Fix 'parameter type' not appearing in
4126 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4127 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4128 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4129 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4130 Reported by David Kravitz.
4131
4132 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
4133
4134 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4135 assignment with tests in ifs and for loops.
4136 (verilog-extended-complete-re, verilog-complete-reg): Change so
4137 that DPI inport functions don't look like fuction declarations.
4138 (verilog-pretty-expr): Don't line up assignment
4139 operations to the test and increment in if and for loops
4140 (verilog-extended-complete-re, verilog-complete-reg): Change so
4141 that DPI inport functions don't look like fuction declarations.
4142
4143 2012-05-03 Kenichi Handa <handa@m17n.org>
4144
4145 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
4146 decoding, and show a warning message without signaling an error
4147 (Bug#11282).
4148
4149 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * emacs-lisp/bytecomp.el
4152 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4153 since cconv.el might have introduced :fun-body, internal-make-closure,
4154 and friends for bytecomp to handle (bug#11391).
4155 * custom.el (defcustom): Avoid ((λ ..) ..).
4156
4157 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4160
4161 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
4162
4163 * notifications.el (dbus-debug):
4164 * term/linux.el (gpm-mouse-enable):
4165 * term/screen.el (xterm-register-default-colors): Declare.
4166
4167 2012-05-02 Chong Yidong <cyd@gnu.org>
4168
4169 * cus-start.el (gc-cons-percentage, exec-suffixes)
4170 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4171 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4172 (make-cursor-line-fully-visible, void-text-area-pointer)
4173 (font-list-limit): Add customization data.
4174
4175 * allout.el (allout-exposure-change-functions)
4176 (allout-structure-added-functions)
4177 (allout-structure-deleted-functions)
4178 (allout-structure-shifted-functions): Rename abnormal hooks from
4179 *-hook, and convert to defcustoms.
4180 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4181 Convert to defcustoms.
4182 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4183
4184 * allout-widgets.el: Hook callers changed.
4185
4186 2012-05-02 Eli Zaretskii <eliz@gnu.org>
4187
4188 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4189 the yanked message in preference to the default value of
4190 buffer-file-coding-system.
4191
4192 2012-05-02 Martin Rudalics <rudalics@gmx.at>
4193
4194 * window.el (display-buffer--action-function-custom-type):
4195 Fix entry.
4196
4197 2012-05-02 Alan Mackenzie <acm@muc.de>
4198
4199 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4200
4201 2012-05-01 Glenn Morris <rgm@gnu.org>
4202
4203 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4204
4205 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4206
4207 * cus-edit.el (custom-variable-documentation): Simplify with format.
4208
4209 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4210 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * simple.el (suggest-key-bindings, execute-extended-command):
4213 Move from keyboard.c.
4214
4215 2012-05-01 Chong Yidong <cyd@gnu.org>
4216
4217 * follow.el: Eliminate advice.
4218 (set-process-filter, process-filter, sit-for): Advice deleted.
4219 (follow-mode-off-hook): Obsolete hook removed.
4220 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4221 Vars deleted.
4222 (follow-auto): Use a :set function.
4223 (follow-mode): Rewritten. Don't advise process filters.
4224 (follow-switch-to-current-buffer-all, follow-scroll-up)
4225 (follow-scroll-down): Assume follow-mode is bound.
4226 (follow-comint-scroll-to-bottom)
4227 (follow-align-compilation-windows): New functions.
4228 (follow--window-sorter): New function.
4229 (follow-all-followers): Use it to explicitly sort windows by their
4230 positions; don't make assumptions about next-window order.
4231 (follow-windows-start-end, follow-delete-other-windows-and-split)
4232 (follow-calc-win-start): Doc fix.
4233 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4234 vertical-motion unnecessarily.
4235 (follow-adjust-window): New function.
4236 (follow-post-command-hook): Use it.
4237 (follow-call-set-process-filter, follow-call-process-filter)
4238 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4239 (follow-stop-intercept-process-output, follow-generic-filter):
4240 Functions deleted.
4241 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
4242 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4243 New functions, replacing advice on scroll-bar-* commands.
4244 (follow-mwheel-scroll): New function (Bug#4112).
4245
4246 * comint.el (comint-adjust-point): New function.
4247 (comint-postoutput-scroll-to-bottom): Use it.
4248 Call follow-comint-scroll-to-bottom for Follow mode buffers.
4249
4250 2012-05-01 Glenn Morris <rgm@gnu.org>
4251
4252 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4253 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4254 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4255 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4256 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4257 Remove no-byte-compile setting.
4258
4259 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4260
4261 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4262 all-completions code to not return a number in the last cdr.
4263
4264 2012-04-30 Leo Liu <sdl.web@gmail.com>
4265
4266 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4267 read-only error.
4268
4269 2012-04-29 Chong Yidong <cyd@gnu.org>
4270
4271 * follow.el (follow-calc-win-end): Rewrite to handle partial
4272 screen lines correctly (Bug#8390).
4273 (follow-avoid-tail-recenter): Minor cleanup.
4274
4275 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 Avoid the obsolete `assoc' package.
4278 * speedbar.el (speedbar-refresh): Avoid adelete.
4279 (speedbar-file-lists): Simplify and avoid aput.
4280 * man.el (Man--sections, Man--refpages): New vars, replacing
4281 Man-sections-alist and Man-refpages-alist.
4282 (Man-build-section-alist, Man-build-references-alist):
4283 Use them; avoid aput.
4284 (Man--last-section, Man--last-refpage): New vars.
4285 (Man-follow-manual-reference): Use them.
4286 Use the `default' arg of completing-read.
4287 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4288
4289 2012-04-27 Chong Yidong <cyd@gnu.org>
4290
4291 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4292
4293 * startup.el (x-apply-session-resources): New function.
4294
4295 * term/ns-win.el (ns-initialize-window-system):
4296 * term/w32-win.el (w32-initialize-window-system):
4297 * term/x-win.el (x-initialize-window-system): Use it to properly
4298 set menu-bar-mode and other vars from X resources, even if the
4299 initial frame is not a window-system frame (Bug#2299).
4300
4301 * subr.el (read-key): Avoid running filter function when setting
4302 up temporary tool bar entries (Bug#9922).
4303
4304 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4305
4306 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4307 (Bug#11344)
4308
4309 2012-04-27 Chong Yidong <cyd@gnu.org>
4310
4311 * select.el (xselect--encode-string): New function, split from
4312 xselect-convert-to-string.
4313 (xselect-convert-to-string): Use it.
4314 (xselect-convert-to-filename, xselect-convert-to-os)
4315 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4316 returned strings are properly encoded (Bug#11315).
4317
4318 2012-04-27 Chong Yidong <cyd@gnu.org>
4319
4320 * simple.el (delete-active-region): Move to killing custom group.
4321
4322 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * progmodes/which-func.el (which-func-current): Quote %
4325 characters for mode-line processing.
4326
4327 2012-04-27 Chong Yidong <cyd@gnu.org>
4328
4329 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4330 reaching eob (Bug#11286).
4331
4332 2012-04-27 Eli Zaretskii <eliz@gnu.org>
4333
4334 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4335 (gdb): Make it buffer-local and init to zero.
4336 (gdb-control-commands-regexp): New variable.
4337 (gdb-send): Don't wrap in "-interpreter-exec console" if
4338 gdb-control-level is positive. Increment gdb-control-level
4339 whenever the command matches gdb-control-commands-regexp, and
4340 decrement it each time the command is "end". (Bug#11279)
4341
4342 2012-04-27 Martin Rudalics <rudalics@gmx.at>
4343
4344 * window.el (adjust-window-trailing-edge, enlarge-window)
4345 (shrink-window, window-resize):
4346 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4347 windows (Bug#11276).
4348
4349 2012-04-27 Chong Yidong <cyd@gnu.org>
4350
4351 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
4352 fix "missing prefix" warning. All callers changed.
4353
4354 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * emacs-lisp/assoc.el: Move to obsolete/.
4357
4358 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
4361
4362 * term/ns-win.el (ns-define-service):
4363 * progmodes/pascal.el (pascal-goto-defun):
4364 * progmodes/js.el (js--read-tab):
4365 * progmodes/etags.el (tags-lazy-completion-table):
4366 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4367 * emacs-lisp/ewoc.el (ewoc--wrap):
4368 * emacs-lisp/assoc.el (aput, adelete, amake):
4369 * doc-view.el (doc-view-convert-current-doc):
4370 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4371
4372 2012-04-26 Chong Yidong <cyd@gnu.org>
4373
4374 * image.el (image-type-from-buffer): Only return supported image
4375 type (Bug#9045).
4376
4377 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4378 value, for symmetry with diff-end-of-hunk.
4379 (diff-split-hunk, diff-find-source-location)
4380 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4381 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4382 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4383 compute the relevant hunk or file properly (Bug#6005).
4384 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4385
4386 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * vc/vc-mtn.el:
4389 * vc/vc-hg.el:
4390 * vc/vc-git.el:
4391 * vc/vc-dir.el:
4392 * vc/vc-cvs.el:
4393 * vc/vc-bzr.el:
4394 * vc/vc-arch.el:
4395 * vc/vc.el: Replace lexical-let by lexical-binding.
4396 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4397 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4398 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4399
4400 2012-04-26 Chong Yidong <cyd@gnu.org>
4401
4402 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4403 (diff-mode-shared-map): Bind it to / and [remap undo].
4404
4405 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4406 (ediff-window-setup-function): Use it as the default, to set up
4407 windows based on whether the current frame is graphical (Bug#2138).
4408 (ediff-choose-window-setup-function-automatically): Make obsolete.
4409
4410 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4411
4412 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * ffap.el: Remove old code for obsolete package.
4415 (ffap-complete-as-file-p): Remove.
4416
4417 Use completion-table-with-quoting for comint and pcomplete.
4418 * comint.el (comint--unquote&requote-argument)
4419 (comint--unquote-argument, comint--requote-argument): New functions.
4420 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4421 (comint-quote-filename): Use regexp-opt-charset.
4422 (comint--common-suffix, comint--common-quoted-suffix)
4423 (comint--table-subvert): Remove.
4424 (comint-unquote-function, comint-requote-function): New vars.
4425 (comint--complete-file-name-data): Use them with
4426 completion-table-with-quoting.
4427 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4428 * pcomplete.el (pcomplete-arg-quote-list)
4429 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4430 (pcomplete-unquote-argument-function): Default to non-nil.
4431 (pcomplete-unquote-argument): Simplify.
4432 (pcomplete--common-quoted-suffix): Remove.
4433 (pcomplete-requote-argument-function): New var.
4434 (pcomplete--common-suffix): New function.
4435 (pcomplete-completions-at-point): Use completion-table-with-quoting
4436 and completion-table-subvert.
4437
4438 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4439 (minibuffer--double-dollars): Preserve properties.
4440 (completion--sifn-requote): New function.
4441 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4442
4443 * minibuffer.el: Add support for completion of quoted/escaped data.
4444 (completion-table-with-quoting, completion-table-subvert): New funs.
4445 (completion--twq-try, completion--twq-all): New functions.
4446 (completion--nth-completion): New function.
4447 (completion-try-completion, completion-all-completions): Use it.
4448
4449 2012-04-25 Leo Liu <sdl.web@gmail.com>
4450
4451 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4452 Use compilation-message if available to find real filename.
4453
4454 2012-04-25 Chong Yidong <cyd@gnu.org>
4455
4456 * vc/diff-mode.el (diff-setup-whitespace): New function.
4457 (diff-mode): Use it.
4458
4459 * vc/diff.el (diff-sentinel):
4460 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4461 Whitespace mode variables based on diff style (Bug#8612).
4462
4463 2012-04-25 Leo Liu <sdl.web@gmail.com>
4464
4465 * progmodes/python.el (python-send-region): Add suffix .py to the
4466 temp file.
4467
4468 * files.el (auto-mode-alist): Use javascript-mode instead.
4469
4470 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4471
4472 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
4473
4474 * net/soap-client.el (soap-resolve-references-for-sequence-type)
4475 (soap-resolve-references-for-array-type): Hack to prevent self
4476 references, see Bug#9.
4477 (soap-parse-envelope): Report the contents of the 'detail' node
4478 when receiving a fault reply.
4479 (soap-parse-envelope): Report the contents of the entire 'detail' node.
4480
4481 * net/soap-inspect.el (soap-sample-value-for-simple-type)
4482 (soap-inspect-simple-type): New function.
4483
4484 * net/soap-client.el (soap-simple-type): New struct.
4485 (soap-default-xsd-types, soap-default-soapenc-types)
4486 (soap-decode-basic-type, soap-encode-basic-type):
4487 support unsignedInt and double basic types.
4488 (soap-resolve-references-for-simple-type)
4489 (soap-parse-simple-type, soap-encode-simple-type): New function.
4490 (soap-parse-schema): Parse xsd:simpleType declarations.
4491
4492 * net/soap-client.el (soap-default-xsd-types)
4493 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4494 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4495 the local name of "soapenc:Array".
4496 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
4497 decoding integer, byte and anyURI xsd types.
4498
4499 2012-04-25 Chong Yidong <cyd@gnu.org>
4500
4501 * cus-edit.el (custom-buffer-create-internal): Update header text.
4502
4503 2012-04-25 Eli Zaretskii <eliz@gnu.org>
4504
4505 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4506 settings on 'system-type', not on 'window-system'. On MS-Windows,
4507 set interactive-mode on in GDB.
4508
4509 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4512 (ruby-syntax-propertize-regexp): Remove.
4513 (ruby-syntax-propertize-function): Split regexp into chunks.
4514 Match following code directly.
4515
4516 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4517
4518 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4519 (ruby-syntax-propertize-regexp): New function.
4520 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4521 by a special keyword.
4522
4523 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4524 (ruby-syntax-general-delimiters-goto-beg)
4525 (ruby-syntax-propertize-general-delimiters): New functions.
4526 (ruby-syntax-propertize-function): Use them to handle GDL.
4527 (ruby-font-lock-keywords): Move old handling of GDL...
4528 (ruby-font-lock-syntactic-keywords): .. to here.
4529 (ruby-calculate-indent): Adjust indentation for GDL.
4530
4531 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
4532
4533 * notifications.el (top): Remove unneeded declarations.
4534 (notifications-specification-version): Change to "1.2".
4535 (notifications-interface, notifications-notify-method)
4536 (notifications-close-notification-method): Fix docstring.
4537 (notifications-get-capabilities-method): New defconst.
4538 (notifications-notify): Add :action-items, :resident and
4539 :transient hints. Change "image_data" to "image-data" and
4540 "image_path" to "image-path".
4541 (notifications-get-capabilities): New defun.
4542
4543 2012-04-24 Leo Liu <sdl.web@gmail.com>
4544
4545 * progmodes/python.el: Move hideshow setup to the end.
4546
4547 2012-04-24 Martin Rudalics <rudalics@gmx.at>
4548
4549 * window.el (handle-select-window): Clear echo area since this is
4550 no more done by read_char (Bug#11304).
4551
4552 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4555 and `/ M' to filter-derived-mode.
4556 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4557 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4558 (ibuffer-mark-by-mode): Use default rather than initial-input.
4559 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4560
4561 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4562
4563 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4564 (ibuffer-filter-by-derived-mode): New filter.
4565 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4566
4567 2012-04-23 Andreas Politz <politza@fh-trier.de>
4568
4569 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4570
4571 2012-04-23 Chong Yidong <cyd@gnu.org>
4572
4573 * cus-edit.el (customize-apropos, customize-apropos-options):
4574 Disable matching of non-option variables (Bug#11176).
4575 (customize-option, customize-option-other-window)
4576 (customize-changed-options): Doc fix.
4577 (customize-apropos-options, customize-apropos-faces)
4578 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4579
4580 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
4581 Fix word list splitting (Bug#11132).
4582 (apropos-symbol, apropos-keybinding, apropos-label)
4583 (apropos-property, apropos-function-button)
4584 (apropos-variable-button, apropos-misc-button): New faces.
4585 (apropos-symbol-face, apropos-keybinding-face)
4586 (apropos-label-face, apropos-property-face, apropos-match-face):
4587 Variables removed (Bug#8396).
4588 (apropos-library-button, apropos-format-plist, apropos-print)
4589 (apropos-print-doc, apropos-describe-plist): Callers changed.
4590
4591 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * net/xesam.el (xesam-mode-map): Use let-bound map in
4594 initialization. (Bug#11292)
4595
4596 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4597
4598 Preserve ispell session localwords when switching back to
4599 original buffer.
4600
4601 * textmodes/ispell.el (ispell-buffer-session-localwords):
4602 New buffer-local variable to hold buffer session localwords.
4603 (ispell-kill-ispell): Add option 'clear to delete session
4604 localwords.
4605 (ispell-command-loop, ispell-change-dictionary)
4606 (ispell-buffer-local-words): Preserve session localwords when
4607 needed.
4608
4609 * textmodes/flyspell.el (flyspell-process-localwords)
4610 (flyspell-do-correct): Preserve session localwords when needed.
4611
4612 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4613
4614 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4615 using obsolete `translation-table-for-input'.
4616 (ispell-word, ispell-process-line, ispell-complete-word):
4617 Use plain `insert' instead of removed `ispell-insert-word'.
4618
4619 2012-04-22 Chong Yidong <cyd@gnu.org>
4620
4621 * cus-edit.el (custom-variable-menu)
4622 (custom-variable-reset-saved, custom-face-menu)
4623 (custom-face-reset-saved): If there is no saved value, make the
4624 "reset-saved" operation bring back the default (Bug#9509).
4625 (custom-face-state): Properly detect themed faces.
4626
4627 * faces.el (face-spec-set): Stop supporting deprecated form of
4628 third arg.
4629
4630 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
4631
4632 Move functions from C to Lisp. Make non-blocking method calls
4633 the default. Implement further D-Bus standard interfaces.
4634
4635 * net/dbus.el (dbus-message-internal): Declare function.
4636 Remove unneeded function declarations.
4637 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4638 (dbus-message-type-method-return, dbus-message-type-error)
4639 (dbus-message-type-signal): Declare variables. Remove local
4640 definitions.
4641 (dbus-interface-dbus, dbus-interface-peer)
4642 (dbus-interface-introspectable, dbus-interface-properties)
4643 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4644 Adapt docstring.
4645 (dbus-interface-objectmanager): New defconst.
4646 (dbus-call-method, dbus-call-method-asynchronously)
4647 (dbus-send-signal, dbus-method-return-internal)
4648 (dbus-method-error-internal, dbus-register-service)
4649 (dbus-register-signal, dbus-register-method): New defuns, moved
4650 from dbusbind.c
4651 (dbus-call-method-handler, dbus-setenv)
4652 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4653 New defuns.
4654 (dbus-call-method-non-blocking): Make it an obsolete function.
4655 (dbus-unregister-object, dbus-unregister-service)
4656 (dbus-handle-event, dbus-register-property)
4657 (dbus-property-handler): Obey the new structure of
4658 `bus-registered-objects'.
4659 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4660 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4661 Use `dbus-call-method'.
4662
4663 2012-04-22 Chong Yidong <cyd@gnu.org>
4664
4665 * cus-edit.el (custom-commands, custom-reset-menu)
4666 (Custom-reset-standard): Tweak labels.
4667 (custom-reset-button-menu): Change default to t.
4668 (custom-buffer-create-internal): For the custom-reset-button-menu
4669 case, put the revert button first.
4670 (custom-group-subtitle): New face.
4671 (custom-group-value-create): Align docstring to a specific column.
4672
4673 * wid-edit.el (widget-documentation-link-add): Don't handle
4674 indentation in this function.
4675 (widget-documentation-string-indent-to): New function.
4676 (widget-documentation-string-value-create): Use it.
4677
4678 * autorevert.el (auto-revert):
4679 * epg-config.el (epg):
4680 * ibuffer.el (ibuffer):
4681 * mpc.el (mpc):
4682 * ses.el (ses):
4683 * eshell/eshell.el (eshell):
4684 * net/ange-ftp.el (ange-ftp):
4685 * progmodes/ebnf2ps.el (postscript):
4686 * progmodes/flymake.el (flymake):
4687 * progmodes/prolog.el (prolog):
4688 * progmodes/verilog-mode.el (verilog-mode):
4689 * progmodes/which-func.el (which-func):
4690 * term/xterm.el (xterm):
4691 * textmodes/picture.el (picture):
4692 * textmodes/tildify.el (tildify):
4693 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4694 customization buffers.
4695
4696 2012-04-22 Alan Mackenzie <acm@muc.de>
4697
4698 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4699 Adding a ) can hide the resulting (..) from searches. Fix it.
4700 Bound the backward search to the position of the existing (.
4701
4702 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
4703
4704 * progmodes/verilog-mode.el (verilog-mode): Check whether
4705 which-func-modes is t before adding verilog-mode.
4706 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4707
4708 2012-04-21 Leo Liu <sdl.web@gmail.com>
4709
4710 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
4711
4712 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4713
4714 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4715 filling of the last column of a table (Bug#5635).
4716 (woman-find-next-control-line): New arg, specifying an additional
4717 regexp component for the control line.
4718 (woman2-roff-buffer): Use it.
4719 (woman-break-table): New function.
4720 (woman2-TS): Use it.
4721
4722 2012-04-21 Chong Yidong <cyd@gnu.org>
4723
4724 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4725 (woman-horizontal-escapes, woman-negative-vertical-space)
4726 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4727 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4728
4729 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * minibuffer.el (completion-file-name-table): Complete user names.
4732
4733 2012-04-20 Leo Liu <sdl.web@gmail.com>
4734
4735 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4736 and pcase-let*.
4737
4738 2012-04-20 Chong Yidong <cyd@gnu.org>
4739
4740 * server.el (server-execute): Respect initial-buffer-choice if it
4741 is a string and there are no files to open (Bug#2825).
4742 (server-create-window-system-frame, server-create-tty-frame):
4743 Don't switch buffers here.
4744 (server-process-filter): Only try to open a window system frame if
4745 compiled with graphical support (Bug#8314).
4746
4747 2012-04-20 Dan Nicolaescu <dann@gnu.org>
4748
4749 * battery.el (battery-echo-area-format): Display remaining time
4750 for sysfs backend too (Bug#11269).
4751 (battery-linux-sysfs): Fix conditional for the charge.
4752
4753 2012-04-20 Chong Yidong <cyd@gnu.org>
4754
4755 * progmodes/gdb-mi.el (gdb): Revert previous change.
4756 (gdb-inferior-io--init-proc): New function.
4757 (gdb-init-1): Use it.
4758 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4759 responsible for allocating a new pty and hooking it to gdb when
4760 the old pty gets an EIO due to process exit.
4761 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4762 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4763 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4764
4765 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4766
4767 * window.el (window-min-size, window-sizable, window-min-delta)
4768 (window-max-delta, window--resizable, window-resizable)
4769 (window-total-size, window-full-height-p, window-full-width-p)
4770 (window-in-direction, window--resize-mini-window, window-resize)
4771 (window--resize-child-windows-normal)
4772 (window--resize-child-windows, window--resize-siblings)
4773 (window--resize-this-window, adjust-window-trailing-edge)
4774 (enlarge-window, shrink-window): Doc fixes.
4775
4776 2012-04-20 Chong Yidong <cyd@gnu.org>
4777
4778 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4779 New function to call delete-process on the gdb-inferior buffer's pty.
4780 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4781 pty process (Bug#11273).
4782 (gdb-update): New arg to suppress talking to the gdb process.
4783 (gdb-done-or-error): Use it.
4784 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4785 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4786 sentinel not being called.
4787
4788 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4789
4790 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4791
4792 2012-04-20 Glenn Morris <rgm@gnu.org>
4793
4794 * net/network-stream.el (open-network-stream): Doc fix.
4795
4796 2012-04-20 Chong Yidong <cyd@gnu.org>
4797
4798 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4799
4800 2012-04-20 Alan Mackenzie <acm@muc.de>
4801
4802 Ensure searching for keywords is case sensitive.
4803
4804 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4805 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4806 (c-defun-name, c-mark-function, c-cpp-define-name)
4807 (c-comment-indent, c-scan-conditionals, c-indent-defun)
4808 (c-context-line-break): Bind case-fold-search to nil.
4809
4810 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4811 Bind case-fold-search to nil.
4812
4813 2012-04-20 Chong Yidong <cyd@gnu.org>
4814
4815 * mail/sendmail.el (mail-bury): Call return action with the right
4816 Rmail buffer (Bug#11242).
4817
4818 * server.el (server-process-filter): Handle corner case where both
4819 tty and nowait options are present (Bug#11102).
4820
4821 2012-04-20 Eli Zaretskii <eliz@gnu.org>
4822
4823 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
4824 (top level): Put into the executable the ident-style '$Id:' tag on
4825 windows-nt as well.
4826
4827 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * electric.el (electric-indent-post-self-insert-function): Check that
4830 electric-indent-mode is enabled in current buffer.
4831
4832 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4833
4834 * imenu.el (imenu-progress-message): Restore; it is "used" in
4835 erc/erc-imenu.el and net/snmp-mode.el.
4836
4837 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4840 (mouse-avoidance-nudge-mouse): Remove unused binding.
4841
4842 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4843
4844 * descr-text.el (describe-char):
4845 * progmodes/python.el (python-describe-symbol):
4846 Don't call `toggle-read-only', set `buffer-read-only'.
4847
4848 * imenu.el (imenu-default-goto-function): Mark unused args.
4849 (imenu-progress-message): Remove obsolete macro; all callers changed.
4850
4851 * subr.el (keymap-canonicalize): Remove unused binding.
4852 (read-passwd): Mark unused arg.
4853
4854 * tutorial.el (tutorial--display-changes): Remove unused binding.
4855 (tutorial--save-tutorial-to): Remove unused variable.
4856
4857 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4858 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4859 (package-generate-autoloads, package-menu--generate)
4860 (package-menu--find-upgrades): Remove unused bindings.
4861
4862 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4863 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4864 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4865 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4866 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4867 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4868 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4869 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4870 (cua-delete-char-rectangle): Mark unused args.
4871 (cua-align-rectangle): Remove unused binding.
4872
4873 * mail/rmail.el (compilation--message->loc)
4874 (epa--find-coding-system-for-mime-charset): Declare.
4875
4876 * net/dbus.el (dbus-register-service): Declare.
4877 (dbus-name-owner-changed-handler): Remove unused binding.
4878
4879 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4880 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4881 (nxml-scan-backward-within): Mark unused arg.
4882 (nxml-dynamic-markup-word): Remove unused binding.
4883
4884 * mouse.el (mouse-menu-major-mode-map):
4885 * emacs-lisp/authors.el (authors-scan-change-log)
4886 (authors-add-to-author-list):
4887 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4888 * emacs-lisp/smie.el (smie-auto-fill):
4889 * mail/sendmail.el (mail-bury):
4890 * mail/unrmail.el (unrmail):
4891 * net/tls.el (open-tls-stream):
4892 * textmodes/picture.el (picture-mouse-set-point):
4893 Remove unused bindings.
4894
4895 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * net/tramp.el (tramp-action-password): Let-bind
4898 `enable-recursive-minibuffers' to t.
4899
4900 2012-04-18 Sam Steingold <sds@gnu.org>
4901
4902 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
4903 instead of 'string to accommodate values like [f11].
4904 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
4905 * progmodes/gdb-mi.el: Likewise.
4906
4907 2012-04-18 Leo Liu <sdl.web@gmail.com>
4908
4909 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
4910 current buffer.
4911 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
4912 LOCAL is nil.
4913
4914 2012-04-18 Chong Yidong <cyd@gnu.org>
4915
4916 * simple.el (line-move): Use forward-line if in batch mode
4917 (Bug#11053).
4918
4919 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
4920
4921 * files.el (after-find-file): Do not try to add a final newline if
4922 the buffer is read-only (Bug#11156).
4923
4924 2012-04-17 Richard Stallman <rms@gnu.org>
4925
4926 * mail/rmail.el (rmail-start-mail):
4927 Pass (rmail-mail-return...) for the return-action.
4928 Pass (rmail-yank-current-message...) for the yank-action.
4929 (rmail-yank-current-message): New function.
4930 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
4931 (rmail-reply): Likewise.
4932 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
4933
4934 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
4935 buffer, not the last. Reject temp buffers. Use the rmail-mode
4936 buffer, not newbuf.
4937
4938 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
4939
4940 * server.el (server-ensure-safe-dir): Simplify.
4941
4942 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * emacs-lisp/smie.el: Provide smarter auto-filling.
4945 (smie-auto-fill): New function.
4946 (smie-setup): Use it.
4947
4948 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
4949
4950 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
4951
4952 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
4953 (comment-indent): Use it.
4954
4955 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4956
4957 * ses.el: The overall change is to add cell renaming, that is
4958 setting fancy names for cell symbols other than name matching
4959 "\\`[A-Z]+[0-9]+\\'" regexp .
4960 (ses-localvars): Add ses--renamed-cell-symb-list.
4961 (ses-create-cell-variable): New defun.
4962 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4963 (ses-relocate-formula): Relocate formulas only for cells the
4964 symbols of which are not renamed, i.e. symbols whose names do not
4965 match regexp "\\`[A-Z]+[0-9]+\\'".
4966 (ses-relocate-all): Relocate values only for cells the symbols of
4967 which are not renamed.
4968 (ses-load): Create cells variables as the (ses-cell ...) are read,
4969 in order to check row col consistency with cell symbol name only
4970 for cells that are not renamed.
4971 (ses-replace-name-in-formula): New defun.
4972 (ses-rename-cell): New defun.
4973
4974 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
4975
4976 * progmodes/perl-mode.el (perl-indent-parens-as-block):
4977 New option (bug#11118).
4978 (perl-calculate-indent): Respect it.
4979
4980 2012-04-17 Glenn Morris <rgm@gnu.org>
4981
4982 * dired-aux.el (dired-mark-read-string): Doc fix.
4983
4984 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
4985
4986 * dired-aux.el (dired-mark-read-string): Offer optional completion.
4987 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
4988
4989 2012-04-17 Glenn Morris <rgm@gnu.org>
4990
4991 * mouse.el (mouse-drag-track):
4992 * speedbar.el (speedbar-frame-mode):
4993 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
4994
4995 2012-04-16 Leo Liu <sdl.web@gmail.com>
4996
4997 * progmodes/python.el: Trivial cleanup.
4998
4999 2012-04-16 Glenn Morris <rgm@gnu.org>
5000
5001 * vc/vc.el (vc-string-prefix-p):
5002 * vc/pcvs-util.el (cvs-string-prefix-p):
5003 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5004 * mpc.el (mpc-string-prefix-p):
5005 Make all of these into obsolete aliases for string-prefix-p.
5006 Update callers.
5007 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5008
5009 * textmodes/two-column.el: Move custom options to the start.
5010 (frame-width): Remove compat definition.
5011 (2C-associate-buffer, 2C-dissociate):
5012 Use with-current-buffer rather than save-excursion.
5013 (2C-dissociate): Force a mode-line update.
5014 (2C-autoscroll): Use ignore-errors.
5015
5016 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5017 Autoload trivia.
5018
5019 * emacs-lisp/cl-extra.el (*random-state*):
5020 Remove unnecessary declaration.
5021
5022 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5023
5024 * play/cookie1.el (cookie-snarf):
5025 Give an explicit error if input file cannot be read.
5026
5027 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5028
5029 * progmodes/perl-mode.el (c-macro-expand):
5030 Remove unnecessary autoload (it is in loaddefs.el).
5031
5032 * textmodes/picture.el (picture-desired-column)
5033 (picture-update-desired-column): Convert comments to doc-strings.
5034 (picture-substitute): Remove function.
5035 (picture-mode-map): Initialize in the defvar.
5036
5037 * woman.el: Remove eval-after-load for tar-mode.
5038 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5039 (woman-tar-extract-file): Autoload it.
5040
5041 * frame.el (automatic-hscrolling): Make this alias obsolete.
5042
5043 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5044
5045 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
5046 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
5047 (ispell-dictionary-base-alist): Revert to original XEmacs
5048 friendly version for default. [:alpha:] will be added in
5049 `ispell-set-spellchecker-params' if needed.
5050
5051 2012-04-16 Chong Yidong <cyd@gnu.org>
5052
5053 * image.el (imagemagick--file-regexp): New variable.
5054 (imagemagick-register-types): Use it.
5055 (imagemagick-types-inhibit): Add :set function. Allow new value
5056 of t to inhibit all types.
5057
5058 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5059 so we can preload it.
5060
5061 * loadup.el (fboundp): Preload regexp-opt, needed by
5062 imagemagick-register-types.
5063
5064 2012-04-15 Chong Yidong <cyd@gnu.org>
5065
5066 * frame.el (scrolling): Remove nearly unused customization group.
5067
5068 * scroll-all.el (scroll-all-mode): Move to windows group.
5069
5070 2012-04-15 Chong Yidong <cyd@gnu.org>
5071
5072 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5073
5074 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 Avoid the use of ((lambda ...) ...) in lexical-binding code.
5077 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
5078
5079 2012-04-15 Glenn Morris <rgm@gnu.org>
5080
5081 * simple.el (process-file-side-effects): Doc fix.
5082
5083 2012-04-15 Glenn Morris <rgm@gnu.org>
5084
5085 * international/mule-cmds.el (set-language-environment): Doc fix.
5086
5087 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5088
5089 * server.el (server-auth-key, server-generate-key): Doc fixes.
5090 (server-get-auth-key): Doc fix. Use `string-match-p'.
5091 (server-start): Reflow docstring.
5092
5093 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5094
5095 * server.el (server-generate-key): `called-interactively-p'
5096 requires a parameter.
5097
5098 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
5099
5100 * server.el (server-auth-key): New variable.
5101 (server-generate-key, server-get-auth-key): New function.
5102 (server-start): Use the new variable and functions to allow
5103 setting a permanent server key (bug#9423).
5104
5105 2012-04-14 Leo Liu <sdl.web@gmail.com>
5106
5107 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5108
5109 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5110
5111 Spelling fixes.
5112 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5113 Emacs uses American spelling.
5114
5115 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
5116
5117 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5118 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5119 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5120 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5121
5122 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * progmodes/which-func.el (which-func-modes): Change default.
5125
5126 2012-04-14 Kim F. Storm <storm@cua.dk>
5127
5128 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5129 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5130
5131 2012-04-14 Chong Yidong <cyd@gnu.org>
5132
5133 * custom.el (custom-theme-set-variables): Doc fix.
5134
5135 2012-04-14 Glenn Morris <rgm@gnu.org>
5136
5137 * international/mule.el (set-auto-coding-for-load): Doc fix.
5138
5139 2012-04-14 Alan Mackenzie <acm@muc.de>
5140
5141 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5142 imenu work again for Objective C Mode. Correct the *-index values,
5143 these having been disturbed by a previous change in 2011-08.
5144
5145 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5146 Correct two search limits.
5147
5148 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5151
5152 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * international/characters.el: Fix sorting.
5155
5156 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5157
5158 * international/characters.el: Add more missing Latin case pairs.
5159
5160 2012-04-14 Glenn Morris <rgm@gnu.org>
5161
5162 * files.el (dir-locals-set-class-variables): Doc fix.
5163
5164 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5165
5166 * international/characters.el: Add set-case-syntax-pair call for
5167 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5168 counterpart. (Bug#11209)
5169
5170 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5171
5172 2012-04-14 Glenn Morris <rgm@gnu.org>
5173
5174 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5175
5176 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5177
5178 * textmodes/ispell.el (ispell-dictionary-base-alist):
5179 Add data for Hebrew.
5180
5181 2012-04-14 Chong Yidong <cyd@gnu.org>
5182
5183 * net/rcirc.el (rcirc-cmd-quit):
5184 Revert 2012-03-18 change (Bug#11192).
5185
5186 2012-04-14 Glenn Morris <rgm@gnu.org>
5187
5188 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5189
5190 2012-04-14 Eli Zaretskii <eliz@gnu.org>
5191
5192 * minibuffer.el (completion-in-region-mode-map):
5193 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
5194
5195 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5196
5197 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5198
5199 2012-04-13 Masatake YAMATO <yamato@redhat.com>
5200
5201 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5202 to allow `C-M-f' and `C-M-b' to move to the nearest path
5203 separator (bug#9511).
5204
5205 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5206
5207 * avoid.el: Require cl when compiling. And also move the
5208 `provide' to the end.
5209
5210 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5211
5212 * avoid.el (mouse-avoidance-banish-position): New variable.
5213 (mouse-avoidance-banish-destination): Use it (bug#10165).
5214
5215 2012-04-13 Leo Liu <sdl.web@gmail.com>
5216
5217 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5218
5219 2012-04-13 Ken Brown <kbrown@cornell.edu>
5220
5221 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
5222 this is no longer needed now that cygstart understands file:// URLs.
5223 (browse-url-filename-alist): For the same reason, don't modify
5224 file:// URLs on Cygwin.
5225
5226 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5229 the region on shift if the binding is already shifted (bug#11221).
5230
5231 2012-04-12 Glenn Morris <rgm@gnu.org>
5232
5233 * mail/mailpost.el: Move to obsolete/.
5234
5235 2012-04-12 Drew Adams <drew.adams@oracle.com>
5236
5237 * imenu.el (imenu--generic-function): Ignore invisible definitions
5238 (bug#10123).
5239
5240 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5241
5242 * hexl.el (hexl-bits): New variable.
5243 (hexl-options): Mention the variable in the doc string.
5244 (hexl-rulerise, hexl-line-displen): New functions.
5245 (hexl-mode): Mention the new variable.
5246 (hexl-mode, hexl-current-address, hexl-current-address):
5247 Use the displen.
5248 (hexl-ascii-start-column): New function.
5249 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5250 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5251
5252 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5253
5254 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5255 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5256 the encoding, as expected by hunspell.
5257
5258 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * battery.el (battery--linux-sysfs-regexp): New const.
5261 (battery-status-function): Use it. Remove yeeloong special case.
5262 (battery-yeeloong-sysfs): Remove.
5263 (battery-echo-area-format): Remove yeeloong special case.
5264
5265 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5268 Reported by Noah Friedman.
5269
5270 * subr.el (read-passwd): Use read-string.
5271
5272 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5273
5274 * vcursor.el (vcursor-move): Increase the priority of the overlay
5275 (bug#9663).
5276
5277 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5278
5279 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5280 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5281
5282 2012-04-11 William Stevenson <yhvh2000@gmail.com>
5283
5284 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5285 define-minor-mode (bug#10760).
5286
5287 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
5288
5289 * progmodes/grep.el (rgrep): Tweak the find command line so
5290 that directories matching `grep-find-ignored-files' won't be
5291 pruned (bug#10351).
5292
5293 2012-04-11 Chong Yidong <cyd@gnu.org>
5294
5295 * startup.el (command-line): Remove support for long-obsolete
5296 variable font-lock-face-attributes.
5297
5298 2012-04-11 Glenn Morris <rgm@gnu.org>
5299
5300 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5301
5302 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * window.el (window--state-get-1): Obey window-point-insertion-type.
5305
5306 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5307
5308 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5309 to previous function when point is on the first character of a
5310 function. Take care of that in `narrow-to-defun' (bug#6157).
5311
5312 2012-04-11 Glenn Morris <rgm@gnu.org>
5313
5314 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5315 not just file-errors.
5316
5317 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5318 (vc-bzr-sha1): Use internal sha1.
5319
5320 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5323
5324 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5325
5326 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5327 that start in the middle of the line (bug#10496).
5328
5329 2012-04-10 Dan Nicolaescu <dann@gnu.org>
5330
5331 * battery.el (battery-linux-proc-acpi): Only one battery is
5332 discharged at a time, but that seems to confuse battery.el when
5333 computing `rate-type' for the battery not being discharged
5334 (bug#10332).
5335
5336 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5339
5340 * international/quail.el: Use dolist and simplify.
5341 (quail-define-package, quail-update-keyboard-layout)
5342 (quail-define-rules): Use dolist.
5343 (quail-insert-kbd-layout, quail-get-translation): CSE.
5344
5345 * tmm.el: Use dolist, remove left over hook.
5346 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5347 Use dolist.
5348 (calendar-load-hook): Don't mess with it.
5349
5350 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5351 Use derived-mode-p. Run the diff asynchronously.
5352
5353 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5354
5355 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5356
5357 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5360 (list-dynamic-libraries--loaded): New function.
5361 (list-dynamic-libraries--refresh): Use it.
5362
5363 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
5364
5365 * progmodes/python.el (python-fill-paragraph):
5366 Make python-fill-region in a multiline string work when font-lock is
5367 disabled (bug#7018).
5368
5369 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5370
5371 * language/european.el (cp775): Add oem/legacy (en)coding on
5372 DOS/MS Windows for the Baltic languages. There are still plenty
5373 of texts written in this encoding/codepage (bug#6519).
5374
5375 2012-04-10 Glenn Morris <rgm@gnu.org>
5376
5377 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5378 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5379
5380 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5381
5382 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
5383 next-line "n" and previous-line "p" in order to make recentf more
5384 consistent with ibuffer, dired or org-mode (bug#9387).
5385
5386 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5387
5388 * image.el (put-image): Return the overlay created instead of the
5389 optional input string (bug#7834). Note that this may break code
5390 that is (for some reason or other) depending on `put-image'
5391 returning the string.
5392
5393 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5394
5395 * simple.el (zap-to-char): Allow zapping using input methods
5396 (bug#1580).
5397
5398 * textmodes/fill.el (fill-region): Leave point and mark where they
5399 were before filling (bug#5399).
5400
5401 2012-04-09 Glenn Morris <rgm@gnu.org>
5402
5403 * version.el (emacs-bzr-get-version):
5404 Handle lightweight checkouts of local branches.
5405
5406 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5407
5408 * international/characters.el: Recover lost case pairs. (Bug#11209)
5409
5410 2012-04-09 Chong Yidong <cyd@gnu.org>
5411
5412 * custom.el (custom-variable-p): Return nil for non-symbol
5413 arguments instead of signaling an error.
5414 (user-variable-p): Obsolete alias for custom-variable-p.
5415
5416 * apropos.el (apropos-variable):
5417 * files-x.el (read-file-local-variable):
5418 * simple.el (set-variable):
5419 * woman.el (woman-mini-help):
5420 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5421
5422 2012-04-09 Glenn Morris <rgm@gnu.org>
5423
5424 * startup.el (normal-top-level): Don't look for leim-list.el
5425 in places where it will not be found. (Bug#910)
5426
5427 * international/mule-cmds.el (set-default-coding-systems):
5428 * files.el (normal-mode):
5429 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5430 This function was removed with ucs-tables.el in 2008.
5431
5432 2012-04-08 Eli Zaretskii <eliz@gnu.org>
5433
5434 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5435 ispell-encoding8-command to "-i", without a trailing space.
5436 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5437 separate command-line arguments, to specify the encoding, since
5438 that's how hunspell expects it.
5439
5440 2012-04-08 Glenn Morris <rgm@gnu.org>
5441
5442 * loadup.el: Load bindings before cus-start.
5443 This reduces somewhat the number of "rogue" settings in emacs -Q.
5444
5445 2012-04-07 Glenn Morris <rgm@gnu.org>
5446
5447 * version.el (emacs-bzr-get-version): New function.
5448 (emacs-bzr-version): New variable.
5449 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5450 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5451
5452 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5453
5454 * international/uni-bidi.el, international/uni-category.el:
5455 * international/uni-combining.el, international/uni-decimal.el:
5456 * international/uni-decomposition.el, international/uni-digit.el:
5457 * international/uni-lowercase.el, international/uni-mirrored.el:
5458 * international/uni-name.el, international/uni-numeric.el:
5459 * international/uni-titlecase.el, international/uni-uppercase.el:
5460 Update for Unicode 6.1.
5461
5462 2012-04-07 Eli Zaretskii <eliz@gnu.org>
5463
5464 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5465
5466 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5467
5468 * window.el (shrink-window): Mention the `window-min-height'
5469 variable in the doc string.
5470
5471 2012-04-05 Bastien Guerry <bzg@altern.org>
5472
5473 * color.el (color-lighten-name): Fix typo.
5474
5475 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * server.el (server--on-display-p): New function.
5478 (server--on-display-p): Use it.
5479
5480 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5481
5482 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5483 (bug#11145).
5484
5485 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * comint.el (comint--common-quoted-suffix): Check string boundary
5488 before comparing (bug#11158).
5489 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5490
5491 2012-04-04 Chong Yidong <cyd@gnu.org>
5492
5493 * minibuffer.el (completion-extra-properties): Doc fix.
5494
5495 * subr.el (delayed-warnings-hook): Doc fix.
5496
5497 2012-04-04 Daiki Ueno <ueno@unixuser.org>
5498
5499 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5500 selection (Bug#11159).
5501 (epa-insert-keys): Inform that the default public key will be
5502 exported if no key is selected.
5503
5504 2012-04-04 Richard Stallman <rms@gnu.org>
5505
5506 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5507
5508 2012-04-03 Chong Yidong <cyd@gnu.org>
5509
5510 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5511 mail-insert-file, not its obsolete alias mail-attach-file.
5512
5513 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
5514
5515 * notifications.el (notifications-notify): Fix docstring.
5516
5517 2012-04-02 Glenn Morris <rgm@gnu.org>
5518
5519 * emacs-lisp/authors.el (authors-aliases): Another addition.
5520
5521 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5524 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5525 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5526
5527 2012-04-01 Chong Yidong <cyd@gnu.org>
5528
5529 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5530 Handle root directory properly.
5531 (copy-directory): Caller changed.
5532
5533 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5534 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5535
5536 2012-03-31 Glenn Morris <rgm@gnu.org>
5537
5538 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5539
5540 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5541
5542 * calendar/calendar.el (calendar-window-list)
5543 (calendar-hide-window): Restore. (Bug#11140)
5544 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5545
5546 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5547
5548 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5549
5550 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5551 Check if file is a symlink (Bug#10489).
5552
5553 * files.el (copy-directory): Likewise.
5554
5555 2012-03-30 Chong Yidong <cyd@gnu.org>
5556
5557 * image.el (imagemagick-types-inhibit)
5558 (imagemagick-register-types): Doc fix.
5559
5560 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5561
5562 * textmodes/ispell.el (ispell-get-extended-character-mode):
5563 Disable extended-char-mode for hunspell. hunspell does not support it
5564 and treats ~word as ordinary words in pipe mode.
5565
5566 2012-03-30 Glenn Morris <rgm@gnu.org>
5567
5568 * tutorial.el (help-with-tutorial): Ensure local variables don't
5569 happen to make the buffer read-only. (Bug#11127)
5570
5571 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5572
5573 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5574 (perl-calculate-indent): Return `noindent' in strings.
5575
5576 2012-03-28 Sam Steingold <sds@gnu.org>
5577
5578 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5579 instead of the broken adhockery which does not prevent calendar
5580 buffers from being displayed at random after exit.
5581 (calendar-window-list, calendar-hide-window): Remove the broken
5582 adhockery.
5583
5584 2012-03-28 Glenn Morris <rgm@gnu.org>
5585
5586 * replace.el (query-replace-map): Doc fix.
5587
5588 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5589
5590 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5591 contents. (Bug#11109)
5592
5593 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5596 (bug#11077).
5597 (avl-tree--check, avl-tree--check-node): New funs.
5598
5599 2012-03-27 Martin Rudalics <rudalics@gmx.at>
5600
5601 * window.el (switch-to-visible-buffer): New option.
5602 (switch-to-prev-buffer, switch-to-next-buffer):
5603 Observe switch-to-visible-buffer. Make sure that checking for a window
5604 showing a buffer already is done on the same frame.
5605
5606 2012-03-27 Glenn Morris <rgm@gnu.org>
5607
5608 * startup.el (mail-host-address): Doc fix.
5609
5610 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5613 than 197 variables.
5614
5615 2012-03-26 Ami Fischman <ami@fischman.org>
5616
5617 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5618
5619 2012-03-26 Glenn Morris <rgm@gnu.org>
5620
5621 * files.el (save-buffers-kill-emacs): Doc fix.
5622
5623 * startup.el (normal-top-level, command-line, command-line-1):
5624 Give them doc strings.
5625
5626 2012-03-25 Eli Zaretskii <eliz@gnu.org>
5627
5628 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
5629 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
5630
5631 2012-03-25 Chong Yidong <cyd@gnu.org>
5632
5633 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5634 theme if it was previously enabled before (Bug#11031).
5635
5636 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5637 spec with custom-face-get-current-spec if its :shown-value is not
5638 determined yet (Bug#9337).
5639 (customize-create-theme, custom-theme-revert): Doc fixes.
5640
5641 * button.el (button-at): Minor addition to docstring.
5642
5643 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
5644
5645 * vc/vc.el (vc-merge): Fix a prompt.
5646
5647 2012-03-24 Chong Yidong <cyd@gnu.org>
5648
5649 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5650 point (Bug#9623).
5651
5652 * button.el (button-at): Minor addition to docstring.
5653
5654 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * newcomment.el (comment-choose-indent): No space after BOL.
5657
5658 2012-03-22 Sam Steingold <sds@gnu.org>
5659
5660 * window.el (switch-to-prev-buffer): Revert last patch because the
5661 bug turned out to be an advertised feature (Elisp manual 28.14).
5662
5663 2012-03-22 Glenn Morris <rgm@gnu.org>
5664
5665 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5666 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5667
5668 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5669
5670 * net/network-stream.el (network-stream-open-starttls): Make error
5671 message under Windows be less misleading.
5672
5673 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5674
5675 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5676 understands (bug#9942).
5677
5678 2012-03-22 Chong Yidong <cyd@gnu.org>
5679
5680 * simple.el (end-of-visible-line): Handle return value of
5681 next-single-property-change properly (Bug#9371).
5682
5683 2012-03-22 Kenichi Handa <handa@m17n.org>
5684
5685 * international/quail.el (quail-insert-kbd-layout): Fix previous
5686 change. To avoid unwanted bidi reordering, use
5687 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5688
5689 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5690
5691 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5692 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5693 (ruby-beginning-of-indent): Be more careful with the difference
5694 between word-boundary and symbol boundary.
5695 (ruby-mode-syntax-table): Make : a symbol constituent.
5696
5697 2012-03-21 Andreas Politz <politza@fh-trier.de>
5698
5699 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5700
5701 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5702
5703 * progmodes/etags.el (tags-completion-at-point-function):
5704 Improve last fix.
5705
5706 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5707
5708 2012-03-21 Sam Steingold <sds@gnu.org>
5709
5710 * progmodes/etags.el (tags-completion-at-point-function):
5711 Avoid the error when point is inside the pattern.
5712
5713 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5714
5715 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5716 line (Bug#10855).
5717
5718 2012-03-21 Drew Adams <drew.adams@oracle.com>
5719
5720 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5721
5722 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5723
5724 * ido.el (ido-set-current-directory, ido-read-internal)
5725 (ido-choose-completion-string, ido-completion-help): Handle nil
5726 value of ido-completion-buffer (Bug#11008).
5727
5728 2012-03-21 Sam Steingold <sds@gnu.org>
5729
5730 * window.el (switch-to-prev-buffer): Do not switch to a visible
5731 window previous buffer, just like with the frame previous buffers.
5732
5733 2012-03-21 Chong Yidong <cyd@gnu.org>
5734
5735 * faces.el (make-face, make-empty-face, copy-face):
5736 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5737 Doc fixes.
5738
5739 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5742 (widget-complete): Remove broken use of it.
5743
5744 2012-03-20 Chong Yidong <cyd@gnu.org>
5745
5746 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5747 Use string-width and truncate-string-width to handle arbitrary
5748 characters.
5749
5750 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5751
5752 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5753 to draw rectangles, not squares. (Regression introduced by revno
5754 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5755
5756 2012-03-18 Chong Yidong <cyd@gnu.org>
5757
5758 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5759 it is not yet defined (for temacs).
5760
5761 2012-03-18 Leo Liu <sdl.web@gmail.com>
5762
5763 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
5764
5765 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5766
5767 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5768 (ispell-choices-win-default-height, ispell-silently-savep)
5769 (ispell-dictionary-alist, ispell-encoding8-command)
5770 (ispell-check-version, ispell-aspell-find-dictionary)
5771 (ispell-valid-dictionary-list, ispell-words-keyword)
5772 (ispell-get-word, ispell-internal-change-dictionary)
5773 (ispell-region, ispell-skip-region-list)
5774 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5775 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5776 (ispell-message-text-end, ispell-message)
5777 (ispell-buffer-local-parsing): Doc fix.
5778
5779 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
5780
5781 * htmlfontify.el: Add support for code block fontification for ODT
5782 export (Bug #9914).
5783 (hfy-optimisations): Define new option
5784 `body-text-only'
5785 (hfy-fontify-buffer): Honor above setting.
5786 (hfy-begin-span, hfy-end-span): New routines factored out form
5787 `hfy-fontify-buffer'.
5788 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5789 that permit insertion of custom tags.
5790 (hfy-fontify-buffer): Use above handlers.
5791 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5792 (hfy-face-to-css): Re-defined to be a variable.
5793 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
5794 over multiple runs. This is made possible by having the caller let
5795 bind a special variable `hfy-user-sheet-assoc'.
5796 (htmlfontify-string): New defun.
5797 (hfy-compile-face-map): Make sure that the last char in the
5798 buffer is correctly fontified.
5799 (hfy-face-resolve-face): Whitespace only change.
5800
5801 2012-03-17 Eli Zaretskii <eliz@gnu.org>
5802
5803 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5804 message more clear.
5805
5806 2012-03-16 Leo Liu <sdl.web@gmail.com>
5807
5808 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5809
5810 2012-03-16 Alan Mackenzie <acm@muc.de>
5811
5812 Further optimise the handling of large macros.
5813
5814 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5815 limit to a call of `c-literal-limits'.
5816 (c-determine-+ve-limit): New function.
5817 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5818 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
5819 In CASE 5B, restrict a search limit to 500.
5820 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5821
5822 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5823 Restrict macro bounds to +-500 from after-change's BEG END.
5824
5825 2012-03-16 Leo Liu <sdl.web@gmail.com>
5826
5827 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5828
5829 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5830
5831 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
5832 `special-mode' setting of `buffer-read-only'. (Bug#11010)
5833
5834 2012-03-16 Glenn Morris <rgm@gnu.org>
5835
5836 * view.el (view-buffer, view-buffer-other-window)
5837 (view-buffer-other-frame): Doc fixes re special mode-class.
5838
5839 * subr.el (eval-after-load): If named feature is provided not from
5840 a file, run after-load forms. (Bug#10946)
5841
5842 * calendar/calendar.el (calendar-insert-at-column):
5843 Handle non-unit-width characters a bit better. (Bug#10978)
5844
5845 2012-03-15 Chong Yidong <cyd@gnu.org>
5846
5847 * emacs-lisp/ring.el (ring-extend): New function.
5848 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5849
5850 * comint.el (comint-read-input-ring)
5851 (comint-add-to-input-history): Grow comint-input-ring lazily.
5852
5853 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5856 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5857
5858 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5859 (imenu-add-to-menubar): Don't add a redundant index.
5860 (imenu-update-menubar): Handle a dynamically composed keymap.
5861
5862 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5863
5864 * mail/sendmail.el (mail-encode-header):
5865 Bind rfc2047-encode-encoded-words to nil.
5866
5867 2012-03-13 Glenn Morris <rgm@gnu.org>
5868
5869 * calendar/calendar.el (calendar-string-spread):
5870 Handle non-unit-width characters a bit better. (Bug#10978)
5871
5872 2012-03-13 Leo Liu <sdl.web@gmail.com>
5873
5874 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5875 directory and file as argument (Bug#10822).
5876
5877 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5878
5879 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5880 For dynamically generated code, follow $PC.
5881 (gdb-disassembly-handler-custom): Handle no function name case.
5882
5883 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5884
5885 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5886 * emulation/ws-mode.el (ws-query-replace):
5887 * sort.el (sort-regexp-fields):
5888 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5889
5890 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * dabbrev.el: Fix cycle completion order (bug#10963).
5893 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5894 (dabbrev-completion): Don't use an obarray; provide
5895 a cycle-sort-function.
5896
5897 2012-03-12 Leo Liu <sdl.web@gmail.com>
5898
5899 * simple.el (kill-new): Use equal-including-properties for comparison.
5900 (kill-do-not-save-duplicates): Doc fix.
5901
5902 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * dabbrev.el: Fix cycle completion (bug#10963).
5905 Use lexical binding and wrap to 80 columns.
5906 (dabbrev-completion): Delay computing the list of completions.
5907
5908 2012-03-12 Kenichi Handa <handa@m17n.org>
5909
5910 * international/quail.el (quail-insert-kbd-layout): Surround each
5911 row by LRO and PDF instead of inserting many LRMs. Pad the left
5912 and right of each non-spacing marks. Insert invisible space
5913 between lower and upper characters to prevent composition.
5914
5915 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * minibuffer.el (minibuffer-complete): Don't get confused when the
5918 function is run twice via different commands (bug#10958).
5919 (complete-with-action): Fix docstring.
5920
5921 2012-03-12 Chong Yidong <cyd@gnu.org>
5922
5923 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
5924 (nxml-completion-at-point-function): New function.
5925 (nxml-mode): Use it.
5926 (nxml-bind-meta-tab-to-complete-flag): Default to t.
5927
5928 * emacs-lisp/package.el (package-unpack, package-unpack-single):
5929 Load generated autoloads file before byte compiling (Bug#10970).
5930 (package--make-autoloads-and-compile): New helper fun.
5931
5932 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
5933
5934 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
5935
5936 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * autorevert.el (auto-revert-handler): Ensure, that
5939 file-readable-p is applied only for local files or in
5940 auto-revert-tail-mode.
5941
5942 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 * server.el (server-eval-at): Handle non-tcp connections.
5945 Decode result string.
5946
5947 * server.el (server-msg-size): New constant.
5948 (server-reply-print): New function.
5949 (server-eval-and-print): Use it.
5950 (server-eval-at): Use server-quote-arg and server-unquote-arg.
5951 Handle -print-nonl.
5952
5953 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
5954
5955 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
5956 (Bug#10987).
5957
5958 2012-03-11 Chong Yidong <cyd@gnu.org>
5959
5960 * simple.el (goto-line): Doc fix (Bug#9938).
5961
5962 * subr.el (save-window-excursion): Doc fix (Bug#9979).
5963
5964 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
5965 when finished (Bug#10963).
5966
5967 2012-03-11 Martin Rudalics <rudalics@gmx.at>
5968
5969 * window.el (split-window-below): Fix bug in case where
5970 split-window-keep-point is nil (Bug#10971).
5971
5972 2012-03-11 Juri Linkov <juri@jurta.org>
5973
5974 * replace.el (replace-highlight): Set isearch-word to nil
5975 unconditionally. (Bug#10887)
5976
5977 2012-03-10 Eli Zaretskii <eliz@gnu.org>
5978
5979 * net/mairix.el (mairix-replace-invalid-chars): Rename from
5980 mairix-replace-illegal-chars; all callers changed. Don't remove
5981 ^, ~, and = characters: they are meaningful in mairix search specs.
5982 (mairix-widget-create-query): Add usage information about mairix
5983 search forms: negating words, searching for substrings, etc.
5984
5985 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
5986
5987 * international/fontset.el (font-encoding-alist): Add an entry for
5988 ksx1001 (Bug#5667).
5989
5990 2012-03-10 Richard Stallman <rms@gnu.org>
5991
5992 * mail/sendmail.el (mail-encode-header):
5993 Set rfc2047-encode-encoded-words.
5994
5995 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
5996
5997 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
5998 view buffer means not swapped.
5999 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6000 (rmail-write-region-annotate): Error if real text has disappeared.
6001
6002 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6003
6004 2012-03-10 Chong Yidong <cyd@gnu.org>
6005
6006 * emulation/cua-rect.el (cua--init-rectangles):
6007 * emulation/cua-base.el (cua--init-keymaps):
6008 Add delete-forward-char to remappings (Bug#9666).
6009
6010 2012-03-10 Martin Rudalics <rudalics@gmx.at>
6011
6012 * speedbar.el (speedbar-unhighlight-one-tag-line):
6013 Avoid unhighlighting due to frame switching (Bug#10275).
6014
6015 2012-03-10 Chong Yidong <cyd@gnu.org>
6016
6017 * minibuffer.el (completion-in-region, completion-help-at-point):
6018 Give the completion field overlay a high priority (Bug#6830).
6019
6020 * dired.el (dired-goto-file): Recognize absolute file name
6021 listings (Bug#7126).
6022 (dired-goto-file-1): New helper function.
6023 (dired-toggle-read-only): Inhibit warnings.
6024
6025 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
6026
6027 * net/dbus.el (dbus-property-handler): Return empty array if
6028 there are no properties.
6029
6030 2012-03-09 Leo Liu <sdl.web@gmail.com>
6031
6032 * savehist.el (savehist-printable): Stricter check for string
6033 value (Bug#10937).
6034
6035 2012-03-09 Eli Zaretskii <eliz@gnu.org>
6036
6037 * mail/smtpmail.el (smtpmail-send-it):
6038 Bind coding-system-for-write to *-unix, so that FCC files are kept in
6039 valid mbox format.
6040
6041 2012-03-09 Glenn Morris <rgm@gnu.org>
6042
6043 * files.el (dir-locals-find-file):
6044 Don't check result is regular, readable.
6045 (dir-locals-read-from-file): Demote errors.
6046
6047 2012-03-08 Eli Zaretskii <eliz@gnu.org>
6048
6049 * international/quail.el (quail-insert-kbd-layout):
6050 Insert invisible LRM characters before each character in a keyboard
6051 layout cell, to prevent their reordering by bidi display engine.
6052 For details, see the discussion in
6053 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6054
6055 2012-03-08 Alan Mackenzie <acm@muc.de>
6056
6057 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6058 the starting position; make it extend the marked region when
6059 invoked repeatedly - all under appropriate circumstances.
6060 Fixes bugs #5525, #10906.
6061
6062 2012-03-08 Glenn Morris <rgm@gnu.org>
6063
6064 * files.el (locate-dominating-file, dir-locals-find-file):
6065 Undo 2012-03-06 change.
6066
6067 2012-03-07 Eli Zaretskii <eliz@gnu.org>
6068
6069 * international/quail.el (quail-help):
6070 Force bidi-paragraph-direction be left-to-right. See discussion in
6071 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6072 for the reason.
6073
6074 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
6075
6076 Avoid superfluous registering of signals. (Bug#10807)
6077
6078 * notifications.el (notifications-on-action-object)
6079 (notifications-on-close-object): New defvars.
6080 (notifications-on-action-signal, notifications-on-closed-signal):
6081 Unregister the signal if not needed any longer.
6082 (notifications-notify): Register `notifications-action-signal' or
6083 `notifications-closed-signal', if :on-action or :on-close has been
6084 passed as argument.
6085
6086 2012-03-07 Chong Yidong <cyd@gnu.org>
6087
6088 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6089 non-X platforms.
6090
6091 2012-03-06 Glenn Morris <rgm@gnu.org>
6092
6093 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6094 (x-disown-selection-internal, x-get-selection-internal):
6095 Doc fix (add arglist signatures). (Bug#10783)
6096
6097 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6098
6099 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6100 Handle breakpoints with no "type".
6101
6102 2012-03-06 Glenn Morris <rgm@gnu.org>
6103
6104 * files.el (locate-dominating-file): Add optional predicate argument.
6105 (dir-locals-find-file): Make use of above change.
6106
6107 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6108
6109 * info.el (Info-insert-dir): Also try "dir.gz".
6110
6111 2012-03-06 Glenn Morris <rgm@gnu.org>
6112
6113 * files.el (dir-locals-find-file):
6114 Ignore non-readable or non-regular files. (Bug#10928)
6115
6116 * files.el (locate-dominating-file): Doc fix.
6117
6118 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6119
6120 * calendar/calendar.el (calendar-set-mode-line):
6121 `getenv' returns a string. (Bug#10951)
6122
6123 2012-03-05 Leo Liu <sdl.web@gmail.com>
6124
6125 * simple.el (backward-delete-char-untabify): Constrain point to
6126 field (Bug#10939).
6127
6128 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6129
6130 2012-03-05 Chong Yidong <cyd@gnu.org>
6131
6132 * simple.el (count-words): If called from Lisp, return the word
6133 count, for symmetry with `count-lines'. Arglist changed.
6134 (count-words--message): Args changed. Consolidate counting code
6135 from count-words and count-words-region.
6136 (count-words-region): Caller changed.
6137 (count-lines-region): Make it an obsolete alias.
6138
6139 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6140
6141 * saveplace.el (save-place-to-alist)
6142 (save-place-ignore-files-regexp): Allow value nil to disable this
6143 feature.
6144
6145 2012-03-04 Chong Yidong <cyd@gnu.org>
6146
6147 * faces.el (face-spec-reset-face): For the default face, reset the
6148 attributes to default values (Bug#10748).
6149
6150 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6151
6152 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6153 previous patch: Check `message-send-mail-function', and not the
6154 default function (bug#10897).
6155
6156 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
6157
6158 * notifications.el (notifications-on-action-signal)
6159 (notifications-on-closed-signal): Check for unique service name of
6160 incoming event. Fix error in removing entry.
6161 (top): Register for signals with wildcard service name.
6162 (notifications-notify): Use daemon unique service name for map entries.
6163
6164 2012-03-04 Chong Yidong <cyd@gnu.org>
6165
6166 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
6167
6168 2012-03-04 Glenn Morris <rgm@gnu.org>
6169
6170 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6171 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6172 (expand-abbrev, define-abbrev-table): Doc fixes.
6173
6174 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6175
6176 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6177 `message-default-send-mail-function' and not `send-mail-function'
6178 when doing the prompting for `sendmail-query-once' before sending
6179 in Message buffers (bug#10897).
6180
6181 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6182 This is inconsistent with all the other stream functions, which leave
6183 the setting up to the higher levels (if so wanted) (bug#10931).
6184
6185 2012-03-02 Alan Mackenzie <acm@muc.de>
6186
6187 Depessimize the handling of very large macros.
6188
6189 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6190 (c-macro-cache-syntactic): New variables to implement a one
6191 element macro cache.
6192 (c-invalidate-macro-cache): New function.
6193 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6194 Adapt to use the new cache.
6195 (c-state-safe-place): Use better the cache of safe positions.
6196 (c-state-semi-nonlit-pos-cache)
6197 (c-state-semi-nonlit-pos-cache-limit):
6198 New variables for...
6199 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6200 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
6201 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6202 Use c-state-semi-safe-place.
6203
6204 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6205 Add c-invalidate-macro-cache to the C, C++, Obj entries.
6206
6207 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
6208
6209 * jka-compr.el (jka-compr-call-process):
6210 Apply `file-accessible-directory-p' only when the default directory is
6211 not remote.
6212
6213 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6216 access of FILE2, if FILE1 does not exist.
6217
6218 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6219 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6220
6221 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6222 Add "PAGER=" to `process-environment'.
6223
6224 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6225
6226 * progmodes/sql.el: Bug fix
6227 (sql-get-login-ext): Save login values in globals.
6228 (sql-get-login): Use new version of `sql-get-login-ext'.
6229 (sql-interactive-mode): Set global `sql-connection' to nil.
6230 (sql-connect): Set global values for connection.
6231 (sql-product-interactive): Save global values as buffer local.
6232
6233 2012-02-29 Leo Liu <sdl.web@gmail.com>
6234
6235 * abbrev.el (define-abbrevs): Reset sys to nil.
6236
6237 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6238
6239 * files.el (file-equal-p): Rename from `files-equal-p'.
6240 Return nil when one or both files don't exist.
6241 (file-subdir-of-p): Now only top directory must exists,
6242 return nil if it doesn't.
6243 (copy-directory): No need to test with `file-subdir-of-p' after
6244 creating dir.
6245 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6246 to `file-equal-p'.
6247
6248 2012-02-28 Glenn Morris <rgm@gnu.org>
6249
6250 * shell.el (shell-mode):
6251 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6252 * play/landmark.el (landmark-font-lock-face-O):
6253 * play/handwrite.el (handwrite):
6254 * play/gomoku.el (gomoku-O):
6255 * net/browse-url.el (browse-url-browser-display):
6256 * international/mule.el (define-charset):
6257 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6258 * filesets.el (filesets-find-file-delay):
6259 * eshell/em-xtra.el (eshell-xtra):
6260 * eshell/em-unix.el (eshell-grep):
6261 * emulation/viper.el (viper-mode):
6262 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6263 * emacs-lisp/easymenu.el (easy-menu-define):
6264 * calendar/timeclock.el (timeclock-use-display-time):
6265 * bs.el (bs-mode):
6266 * bookmark.el (bookmark-save-flag):
6267 Doc fix (standardize possessive apostrophe usage).
6268
6269 2012-02-27 Chong Yidong <cyd@gnu.org>
6270
6271 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6272 Fix key-binding lookup for ESC key (Bug#9146).
6273
6274 * font-lock.el (font-lock-specified-p): Rename from
6275 font-lock-spec-present. Callers changed.
6276
6277 2012-02-27 Daniel Hackney <dan@haxney.org>
6278
6279 * emacs-lisp/package.el (package-compute-transaction):
6280 Handle holding a package version to t in package-load-list.
6281
6282 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
6283
6284 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6285 (tramp-get-inode, tramp-get-device): Use cached values.
6286
6287 2012-02-26 Alan Mackenzie <acm@muc.de>
6288
6289 Check there is a font-lock specification before doing initial
6290 fontification.
6291
6292 * font-core.el (font-lock-mode): Move the conditional from
6293 :after-hook to font-lock-initial-fontify.
6294 (font-lock-default-function): Move the check for a specification
6295 to font-lock-spec-present.
6296
6297 * font-lock.el (font-lock-initial-fontify): Call ...
6298 (font-lock-spec-present): New function.
6299
6300 2012-02-26 Jim Blandy <jimb@red-bean.com>
6301
6302 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6303 (gdb-send): Apply it to the operand of the '-interpreter-exec
6304 console' command, so that we can pass arguments with (say) quotes
6305 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6306
6307 2012-02-26 Chong Yidong <cyd@gnu.org>
6308
6309 * help-fns.el (describe-function-1): Clarify description of
6310 remapping (Bug#10844).
6311
6312 * files.el (files-equal-p): Doc fix.
6313 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6314 and quit the loop once a mismatch is found.
6315
6316 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
6317
6318 * bs.el (bs--show-with-configuration): Don't throw an error
6319 if the window cannot be split; otherwise, subsequent calls to
6320 bs-show fail, restoring a stale window config. (Bug#10882)
6321
6322 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6323
6324 * term/ns-win.el (global-map): Bind ns-drag-file to
6325 ns-find-file (Bug#5855, Bug#10050).
6326
6327 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6328
6329 * calendar/parse-time.el (parse-time-string): Allow extractor to
6330 return nil.
6331
6332 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
6333
6334 * net/tramp.el (tramp-file-name-for-operation):
6335 Add `files-equal-p' and `file-subdir-of-p'.
6336
6337 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6338 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6339 Add COPY-CONTENTS argument.
6340
6341 2012-02-25 Chong Yidong <cyd@gnu.org>
6342
6343 Add custom groups for VC backends, for consistency with vc-bzr.
6344
6345 * vc/vc-arch.el (vc-arch):
6346 * vc/vc-cvs.el (vc-cvs):
6347 * vc/vc-git.el (vc-git):
6348 * vc/vc-hg.el (vc-hg):
6349 * vc/vc-mtn.el (vc-mtn):
6350 * vc/vc-rcs.el (vc-rcs):
6351 * vc/vc-sccs.el (vc-sccs):
6352 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6353 All relevant defcustoms reassigned.
6354
6355 2012-02-25 Chong Yidong <cyd@gnu.org>
6356
6357 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6358
6359 * term/x-win.el (x-initialize-window-system): Reduce default for
6360 x-selection-timeout to 5 seconds (Bug#8869).
6361
6362 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6363
6364 * files.el (files-equal-p, file-subdir-of-p): New functions.
6365 (copy-directory): Error when trying to copy a directory on itself.
6366 Add missing copy-contents arg to tramp handler.
6367 * dired-aux.el (dired-copy-file-recursive): Same.
6368 (dired-create-files): Modify destination when source is equal to
6369 dest when copying files.
6370 Return also when dest is a subdir of source. (Bug#10489)
6371
6372 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
6373
6374 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6375 (Bug#10874)
6376
6377 2012-02-23 Alan Mackenzie <acm@muc.de>
6378
6379 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6380 parameter "after-hook:" to allow the expansion to run code after
6381 the execution of the mode hooks.
6382
6383 * font-lock.el (font-lock-initial-fontify): New function extracted
6384 from font-lock-mode-internal.
6385
6386 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
6387 :after-hook.
6388
6389 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6392 (completion--cache-all-sorted-completions): New function.
6393 (completion-all-sorted-completions): Use it.
6394 (completion--do-completion, minibuffer-force-complete):
6395 Use it to re-instate the flush hook.
6396
6397 * icomplete.el (icomplete-completions): Replace last fix with a better
6398 one (bug#10850).
6399
6400 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6401
6402 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6403 when it might call us back infinitely (bug#10797).
6404
6405 2012-02-23 Glenn Morris <rgm@gnu.org>
6406
6407 * minibuffer.el (completion-category-overrides): Doc fix.
6408
6409 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6412 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6413
6414 2012-02-23 Glenn Morris <rgm@gnu.org>
6415
6416 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
6417 (authors-obsolete-files-regexps, authors-ignored-files)
6418 (authors-ambiguous-files, authors-renamed-files-alist):
6419 Add more entries.
6420
6421 2012-02-23 Juri Linkov <juri@jurta.org>
6422
6423 * isearch.el (isearch-occur): Sync interactive spec with occur's
6424 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6425
6426 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6427
6428 2012-02-22 Juri Linkov <juri@jurta.org>
6429
6430 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6431 (ucs-insert): Doc fix. Check for hex digits in the string.
6432 Don't display `nil' in the error message. (Bug#10857)
6433
6434 2012-02-22 Alan Mackenzie <acm@muc.de>
6435
6436 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
6437
6438 2012-02-22 Glenn Morris <rgm@gnu.org>
6439
6440 * ffap.el (ffap-c-path):
6441 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6442
6443 2012-02-22 Chong Yidong <cyd@gnu.org>
6444
6445 * custom.el (load-theme): Doc fix.
6446
6447 2012-02-22 Glenn Morris <rgm@gnu.org>
6448
6449 * dired-x.el (dired-guess-shell-alist-default):
6450 Remove escape sequences from nroff output. (Bug#172)
6451
6452 2012-02-21 Glenn Morris <rgm@gnu.org>
6453
6454 * vc/emerge.el (emerge-defvar-local):
6455 Set `permanent-local' property rather than unused `preserved'.
6456
6457 * textmodes/picture.el (picture-delete-char): New alias.
6458 (picture-mode-map): Use it. (Bug#10860)
6459 (picture-mode): Doc fix.
6460
6461 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
6462
6463 * newcomment.el (uncomment-region-default): Remove unused binding.
6464
6465 2012-02-21 Glenn Morris <rgm@gnu.org>
6466
6467 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6468 (picture-self-insert, picture-tab-chars): Doc fix.
6469 (picture-mode-map): Fix C-a, C-e.
6470
6471 2012-02-20 Glenn Morris <rgm@gnu.org>
6472
6473 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6474
6475 2012-02-20 Leo Liu <sdl.web@gmail.com>
6476
6477 * icomplete.el (icomplete-completions): Check FROM arg before
6478 passing to substring (Bug#10850).
6479
6480 2012-02-19 Chong Yidong <cyd@gnu.org>
6481
6482 * comint.el: Require ansi-color.
6483 (comint-output-filter-functions): Add ansi-color-process-output.
6484
6485 * ansi-color.el: Don't set comint-output-filter-functions; it is
6486 now in the initial value defined in comint.el.
6487 (ansi-color-apply-face-function): New variable.
6488 (ansi-color-apply-on-region): Use it.
6489 (ansi-color-apply-overlay-face): New function.
6490
6491 * shell.el (shell): No need to require ansi-color.
6492 (shell-mode): Use ansi-color-apply-face-function to highlight
6493 color escapes using font-lock-face property (Bug#10835).
6494
6495 2012-02-19 Chong Yidong <cyd@gnu.org>
6496
6497 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6498 mode-line formats (Bug#10839).
6499
6500 2012-02-18 Glenn Morris <rgm@gnu.org>
6501
6502 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6503
6504 * mail/undigest.el (unforward-rmail-message): Doc fix.
6505
6506 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6507
6508 2012-02-18 Eli Zaretskii <eliz@gnu.org>
6509
6510 * international/characters.el (script-list): Sync with the latest
6511 Unicode Character Database.
6512
6513 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6514
6515 * international/titdic-cnv.el: Remove duplicate coding tag.
6516 * language/cham.el: Likewise.
6517 * language/tai-viet.el: Likewise.
6518
6519 2012-02-18 Glenn Morris <rgm@gnu.org>
6520
6521 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6522 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6523 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6524 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6525 * calendar/holidays.el (holiday-bahai-holidays)
6526 (calendar-holidays, list-holidays):
6527 Use utf-8 Bahá'í in doc-strings, menus, etc.
6528
6529 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6530
6531 * saveplace.el (save-place-ignore-files-regexp): New variable
6532 allowing for excluding files from saving their location of point.
6533 The default value matches the temporary commit message editing
6534 files from Git, SVN, Bazaar, and Mercurial.
6535 (save-place-to-alist): Use it.
6536
6537 2012-02-17 Lawrence Mitchell <wence@gmx.li>
6538 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * newcomment.el (uncomment-region-default): Don't leave extra space
6541 when an arg is provided (bug#8150).
6542
6543 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6544
6545 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
6546
6547 2012-02-17 Glenn Morris <rgm@gnu.org>
6548
6549 * net/socks.el: Require network-stream. (Bug#10599)
6550
6551 2012-02-17 Kenichi Handa <handa@m17n.org>
6552
6553 * international/charprop.el:
6554 * international/uni-name.el:
6555 * international/uni-old-name.el:
6556 * international/uni-comment.el: Regenerate.
6557
6558 2012-02-16 Glenn Morris <rgm@gnu.org>
6559
6560 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6561 Interactively in calendar buffer, give an error if not on a date.
6562
6563 2012-02-15 Glenn Morris <rgm@gnu.org>
6564
6565 * shell.el (shell-delimiter-argument-list):
6566 Revert 2011-02-17 change. (Bug#8027)
6567
6568 2012-02-15 Chong Yidong <cyd@gnu.org>
6569
6570 * minibuffer.el (completion-at-point-functions): Doc fix.
6571
6572 * custom.el (defcustom): Doc fix; note use of defvar.
6573
6574 2012-02-15 Glenn Morris <rgm@gnu.org>
6575
6576 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6577 Doc fixes.
6578
6579 2012-02-14 Glenn Morris <rgm@gnu.org>
6580
6581 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6582
6583 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6584
6585 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6586 way the ports list is computed.
6587 (smtpmail-query-smtp-server): Prompt the user for a port number if
6588 we can't connect to any of the standard ports (bug#10810).
6589
6590 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6591
6592 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6593
6594 2012-02-13 Glenn Morris <rgm@gnu.org>
6595
6596 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6597
6598 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6599
6600 * net/gnutls.el (gnutls-trustfiles): New variable.
6601 (gnutls-negotiate): Use it.
6602
6603 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6604
6605 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6606 does its stuff if Gnus is running.
6607
6608 2012-02-13 Alan Mackenzie <acm@muc.de>
6609
6610 Fix a loop in c-set-fl-decl-start.
6611
6612 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
6613 c-backward-syntactic-ws actually moves backwards.
6614
6615 2012-02-13 Leo Liu <sdl.web@gmail.com>
6616
6617 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6618 beginning so that all \C-o chars are removed.
6619
6620 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6621
6622 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
6623
6624 2012-02-12 Alan Mackenzie <acm@muc.de>
6625
6626 Fix infinite loop with long macros.
6627 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
6628
6629 2012-02-12 Chong Yidong <cyd@gnu.org>
6630
6631 * window.el (display-buffer): Doc fix (Bug#10785).
6632
6633 2012-02-12 Glenn Morris <rgm@gnu.org>
6634
6635 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6636 (x-disown-selection-internal, x-get-selection-internal):
6637 Sync docs with the xselect.c versions.
6638
6639 * allout-widgets.el: Add missing license notice.
6640
6641 2012-02-11 Glenn Morris <rgm@gnu.org>
6642
6643 * select.el (x-get-selection-internal, x-own-selection-internal)
6644 (x-disown-selection-internal):
6645 * x-dnd.el (x-get-selection-internal): Update declarations.
6646
6647 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6648
6649 * window.el (window-sides-slots):
6650 * tool-bar.el (tool-bar-position):
6651 * term/xterm.el (xterm-extra-capabilities):
6652 * ses.el (ses-self-reference-early-detection):
6653 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6654 (verilog-auto-wire-type)
6655 (verilog-auto-delete-trailing-whitespace)
6656 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6657 (verilog-auto-tieoff-declaration):
6658 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6659 (sql-oracle-statement-starters, sql-oracle-scan-on):
6660 * progmodes/prolog.el (prolog-align-comments-flag)
6661 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6662 (prolog-left-indent-regexp, prolog-paren-indent-p)
6663 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6664 (prolog-types, prolog-mode-specificators)
6665 (prolog-determinism-specificators, prolog-directives)
6666 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6667 (prolog-electric-dot-flag)
6668 (prolog-electric-dot-full-predicate-template)
6669 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6670 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6671 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6672 (prolog-program-switches, prolog-prompt-regexp)
6673 (prolog-debug-on-string, prolog-debug-off-string)
6674 (prolog-trace-on-string, prolog-trace-off-string)
6675 (prolog-zip-on-string, prolog-zip-off-string)
6676 (prolog-use-standard-consult-compile-method-flag)
6677 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6678 (prolog-imenu-max-lines, prolog-info-predicate-index)
6679 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6680 (prolog-char-quote-workaround):
6681 * progmodes/cc-vars.el (c-defun-tactic):
6682 * net/tramp.el (tramp-encoding-command-interactive)
6683 (tramp-local-end-of-line):
6684 * net/soap-client.el (soap-client):
6685 * net/netrc.el (netrc-file):
6686 * net/gnutls.el (gnutls):
6687 * minibuffer.el (completion-category-overrides)
6688 (completion-cycle-threshold)
6689 (completion-pcm-complete-word-inserts-delimiters):
6690 * man.el (Man-name-local-regexp):
6691 * mail/feedmail.el (feedmail-display-full-frame):
6692 * international/characters.el (glyphless-char-display-control):
6693 * eshell/em-ls.el (eshell-ls-date-format):
6694 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6695 (lisp-lambda-list-keyword-parameter-indentation)
6696 (lisp-lambda-list-keyword-parameter-alignment):
6697 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6698 * dired-x.el (dired-omit-verbose):
6699 * cus-theme.el (custom-theme-allow-multiple-selections):
6700 * calc/calc.el (calc-highlight-selections-with-faces)
6701 (calc-lu-field-reference, calc-lu-power-reference)
6702 (calc-note-threshold):
6703 * battery.el (battery-mode-line-limit):
6704 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6705 (archive-7z-update):
6706 * allout.el (allout-prefixed-keybindings)
6707 (allout-unprefixed-keybindings)
6708 (allout-inhibit-auto-fill-on-headline)
6709 (allout-flattened-numbering-abbreviation):
6710 * allout-widgets.el (allout-widgets-auto-activation)
6711 (allout-widgets-icons-dark-subdir)
6712 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6713 (allout-widgets-theme-dark-background)
6714 (allout-widgets-theme-light-background)
6715 (allout-widgets-item-image-properties-emacs)
6716 (allout-widgets-item-image-properties-xemacs)
6717 (allout-widgets-run-unit-tests-on-load)
6718 (allout-widgets-time-decoration-activity)
6719 (allout-widgets-hook-error-post-time)
6720 (allout-widgets-track-decoration):
6721 Add missing :version tags to new defcustoms and defgroups.
6722
6723 * progmodes/sql.el (sql-ansi-statement-starters)
6724 (sql-oracle-statement-starters): Add custom type.
6725
6726 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6727 (prolog-system-version): Give it a type.
6728
6729 2012-02-11 Eli Zaretskii <eliz@gnu.org>
6730
6731 * term/pc-win.el (x-select-text, x-selection-owner-p)
6732 (x-own-selection-internal, x-disown-selection-internal)
6733 (x-get-selection-internal): Sync doc strings and argument lists
6734 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6735
6736 2012-02-11 Leo Liu <sdl.web@gmail.com>
6737
6738 * progmodes/python.el (python-end-of-statement): Fix infinite
6739 loop. (Bug#10788)
6740
6741 2012-02-10 Glenn Morris <rgm@gnu.org>
6742
6743 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6744 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6745
6746 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6747
6748 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6749 about SMTP before checking the From header.
6750
6751 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
6752 into own function for reuse by emacsbug.el.
6753
6754 2012-02-10 Leo Liu <sdl.web@gmail.com>
6755
6756 * subr.el (condition-case-unless-debug): Rename from
6757 condition-case-no-debug. All callers changed.
6758 (with-demoted-errors): Fix caller.
6759
6760 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6761 * nxml/rng-valid.el (rng-do-some-validation):
6762 * emacs-lisp/package.el (package-refresh-contents)
6763 (package-menu-execute):
6764 * desktop.el (desktop-create-buffer):
6765 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
6766
6767 2012-02-10 Glenn Morris <rgm@gnu.org>
6768
6769 * textmodes/bibtex.el:
6770 Add missing :version tags for new/changed defcustoms.
6771
6772 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6773
6774 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
6775
6776 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6777 (smtpmail-via-smtp): Use it, or fall back on the From address.
6778 (smtpmail-send-it): Ditto.
6779
6780 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6783 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6784 (byte-compile-tmp-var): New const.
6785 (byte-compile-defvar): Use it to minimize .elc size.
6786 Just use `defvar' rather than simulate it (bug#10761).
6787
6788 2012-02-09 Glenn Morris <rgm@gnu.org>
6789
6790 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6791
6792 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6793 Add :version tags.
6794
6795 * progmodes/compile.el (compilation-error-screen-columns)
6796 (compilation-first-column, compilation-filter-start): Doc fixes.
6797
6798 * vc/log-view.el (log-view-toggle-entry-display):
6799 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6800
6801 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6802 (report-emacs-bug-can-use-xdg-email):
6803 (report-emacs-bug-insert-to-mailer): Doc fixes.
6804 (report-emacs-bug): Message fix.
6805
6806 * net/browse-url.el (browse-url-can-use-xdg-open)
6807 (browse-url-xdg-open): Doc fixes.
6808
6809 * electric.el (electric-indent-mode, electric-pair-mode)
6810 (electric-layout-rules, electric-layout-mode): Doc fixes.
6811 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6812
6813 2012-02-08 Martin Rudalics <rudalics@gmx.at>
6814
6815 * server.el (server-unselect-display): Don't inadvertently kill
6816 the current buffer. (Bug#10729)
6817
6818 2012-02-08 Glenn Morris <rgm@gnu.org>
6819
6820 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6821 (sql-list-table): Doc fixes.
6822
6823 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6824 Comment out (does nothing).
6825
6826 * completion.el (dynamic-completion-mode):
6827 * dirtrack.el (dirtrack-debug-mode):
6828 * electric.el (electric-layout-mode):
6829 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6830 * face-remap.el (text-scale-mode, buffer-face-mode):
6831 * iimage.el (iimage-mode):
6832 * image-mode.el (image-transform-mode):
6833 * minibuffer.el (completion-in-region-mode):
6834 * scroll-lock.el (scroll-lock-mode):
6835 * simple.el (next-error-follow-minor-mode):
6836 * tar-mode.el (tar-subfile-mode):
6837 * tooltip.el (tooltip-mode):
6838 * vcursor.el (vcursor-use-vcursor-map):
6839 * wid-browse.el (widget-minor-mode):
6840 * emulation/tpu-edt.el (tpu-edt-mode):
6841 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6842 * international/iso-ascii.el (iso-ascii-mode):
6843 * language/thai-util.el (thai-word-mode):
6844 * mail/supercite.el (sc-minor-mode):
6845 * net/goto-addr.el (goto-address-mode):
6846 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6847 * progmodes/cwarn.el (cwarn-mode):
6848 * progmodes/flymake.el (flymake-mode):
6849 * progmodes/glasses.el (glasses-mode):
6850 * progmodes/hideshow.el (hs-minor-mode):
6851 * progmodes/pascal.el (pascal-outline-mode):
6852 * textmodes/enriched.el (enriched-mode):
6853 * vc/smerge-mode.el (smerge-mode):
6854 Doc fixes (minor mode argument).
6855
6856 2012-02-07 Eli Zaretskii <eliz@gnu.org>
6857
6858 * ls-lisp.el (ls-lisp-sanitize): New function.
6859 (ls-lisp-insert-directory): Use it to fix or remove any elements
6860 in file-alist with missing attributes. (Bug#4673)
6861
6862 2012-02-07 Alan Mackenzie <acm@muc.de>
6863
6864 Fix spurious recognition of c-in-knr-argdecl.
6865
6866 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6867 putative K&R region.
6868
6869 2012-02-07 Alan Mackenzie <acm@muc.de>
6870
6871 * progmodes/cc-engine.el (c-forward-objc-directive):
6872 Prevent looping in "#pragma mark @implementation".
6873
6874 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
6875
6876 * notifications.el (notifications-on-closed-signal): Make `reason'
6877 optional. (Bug#10744)
6878
6879 2012-02-07 Glenn Morris <rgm@gnu.org>
6880
6881 * emacs-lisp/easy-mmode.el (define-minor-mode):
6882 Doc fixes for the macro and the mode it defines.
6883
6884 * image.el (imagemagick-types-inhibit): Doc fix.
6885
6886 * cus-start.el (imagemagick-render-type): Add it.
6887
6888 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6889
6890 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6891 Set the default at load time, too, so that `font-lock-fontify-buffer'
6892 can be called without setting up the entire mode first. This fixes
6893 a bug in `mm-inline-text' with C MIME parts.
6894
6895 2012-02-06 Chong Yidong <cyd@gnu.org>
6896
6897 * simple.el (list-processes--refresh): Delete exited processes
6898 (Bug#8094).
6899
6900 * comint.el (comint-next-prompt): next-single-char-property-change
6901 and prev-single-char-property-change never return nil (Bug#8657).
6902
6903 * custom.el (defcustom): Doc fix (Bug#9711).
6904
6905 2012-02-05 Chong Yidong <cyd@gnu.org>
6906
6907 * cus-edit.el (custom-variable-reset-backup): Quote the value
6908 before storing it in the customized-value property (Bug#6712).
6909 (custom-display): Add a customization type tag.
6910 (custom-buffer-create-internal): Improve tooltip message.
6911
6912 * wid-edit.el (widget-field-value-get): New optional arg to
6913 suppress trailing whitespace truncation.
6914 (character): Use it (Bug#2689).
6915
6916 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
6917
6918 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
6919 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
6920
6921 2012-02-05 Chong Yidong <cyd@gnu.org>
6922
6923 * cus-edit.el (custom-variable-value-create): For mismatched
6924 types, show the current value (Bug#7600).
6925
6926 * custom.el (defcustom): Doc fix.
6927
6928 2012-02-05 Glenn Morris <rgm@gnu.org>
6929
6930 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
6931
6932 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
6933
6934 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
6935 (pp-buffer): Use `ignore-errors', `looking-at-p'.
6936 (pp-last-sexp): Use `looking-at-p'.
6937
6938 2012-02-04 Glenn Morris <rgm@gnu.org>
6939
6940 * files.el (revert-buffer):
6941 Doc fix (mention revert-buffer-in-progress-p).
6942
6943 * emacs-lisp/ert-x.el (ert-simulate-command):
6944 Check deferred-action-list (which is obsolete) is bound.
6945
6946 * subr.el (with-wrapper-hook): Doc fixes.
6947
6948 * simple.el (filter-buffer-substring-functions)
6949 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
6950
6951 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
6952
6953 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
6954 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
6955
6956 2012-02-04 Leo Liu <sdl.web@gmail.com>
6957
6958 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
6959
6960 2012-02-04 Glenn Morris <rgm@gnu.org>
6961
6962 * image.el (image-extension-data): Add obsolete alias.
6963
6964 * isearch.el (isearch-update): Doc fix.
6965
6966 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
6967
6968 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
6969
6970 2012-02-03 Glenn Morris <rgm@gnu.org>
6971
6972 * image.el (image-animated-p): Doc fix. Use image-animated-types.
6973 (image-animate-timeout): Doc fix.
6974
6975 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
6976
6977 2012-02-02 Glenn Morris <rgm@gnu.org>
6978
6979 * server.el (server-auth-dir): Doc fix.
6980 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
6981
6982 * subr.el (run-mode-hooks): Doc fix.
6983
6984 2012-02-02 Juri Linkov <juri@jurta.org>
6985
6986 * image-mode.el (image-toggle-display-image): Remove tautological
6987 `major-mode' from the `derived-mode-p' test.
6988
6989 2012-02-02 Kenichi Handa <handa@m17n.org>
6990
6991 * composite.el (compose-region): Cancel previous change.
6992
6993 2012-02-02 Kenichi Handa <handa@m17n.org>
6994
6995 * composite.el (compose-region, compose-string): Signal error for
6996 a null string component (Bug#6988).
6997
6998 2012-02-01 Chong Yidong <cyd@gnu.org>
6999
7000 * view.el (view-buffer-other-window, view-buffer-other-frame):
7001 Handle special modes like view-buffer (Bug#10650).
7002 (view-buffer): Simplify.
7003
7004 * frame.el (set-frame-font): Tweak meaning of third argument.
7005
7006 * dynamic-setting.el (font-setting-change-default-font):
7007 Use set-frame-font (Bug#9982).
7008
7009 2012-02-01 Glenn Morris <rgm@gnu.org>
7010
7011 * progmodes/compile.el (compilation-internal-error-properties):
7012 Respect compilation-first-column in the "*compilation*" buffer.
7013
7014 * emacs-lisp/easy-mmode.el (define-minor-mode):
7015 Relax :variable's test for a named function.
7016
7017 2012-01-31 Alan Mackenzie <acm@muc.de>
7018
7019 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7020 off by one error.
7021
7022 2012-01-31 Chong Yidong <cyd@gnu.org>
7023
7024 * frame.el (set-frame-font): New arg ALL-FRAMES.
7025
7026 * menu-bar.el (menu-set-font): Use set-frame-font.
7027
7028 * faces.el (face-spec-reset-face): Don't apply unspecified
7029 attribute values to the default face.
7030
7031 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
7032
7033 * progmodes/cwarn.el (cwarn): Remove dead link.
7034 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7035 Remove * from defcustom docstrings.
7036 (turn-on-cwarn-mode): Make obsolete.
7037 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7038 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7039
7040 2012-01-31 Glenn Morris <rgm@gnu.org>
7041
7042 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
7043 Fix :variable handling of mode a symbol not equal to modefun.
7044 Allow named functions to be used as the cdr of :variable.
7045
7046 2012-01-30 Glenn Morris <rgm@gnu.org>
7047
7048 * emacs-lisp/authors.el (authors-fixed-entries):
7049 Remove reference to deleted file rnewspost.el.
7050
7051 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
7052
7053 * window.el (window-with-parameter): Remove unused variable `windows'.
7054 (window--side-check): Remove unused variable `code'.
7055 (window--resize-siblings): Remove unused variable `first'.
7056 (adjust-window-trailing-edge): Remove unused variable `failed'.
7057 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7058 Use `let', not `let*'.
7059 (balance-windows-2): Remove unused variable `found'.
7060 (window--state-put-2): Remove unused variable `splits'.
7061 (window-state-put): Remove unused variable `selected'.
7062 (same-window-p): Use `string-match-p'.
7063 (display-buffer-assq-regexp): Remove unused variable `value'.
7064 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7065 Mark argument ALIST as ignored.
7066 (pop-to-buffer): Remove unused variable `old-window'.
7067
7068 2012-01-29 Eli Zaretskii <eliz@gnu.org>
7069
7070 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7071 and .lzma compressed files.
7072
7073 2012-01-29 Chong Yidong <cyd@gnu.org>
7074
7075 * frame.el (window-system-default-frame-alist): Doc fix.
7076
7077 * dynamic-setting.el (font-setting-change-default-font): Don't
7078 change the default face if SET-FONT argument is non-nil (Bug#9982).
7079
7080 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7081
7082 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7083
7084 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
7085
7086 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7087 breakpoints in files outside current directory (Bug#6098).
7088
7089 2012-01-29 Chong Yidong <cyd@gnu.org>
7090
7091 * progmodes/python.el: Require ansi-color at top-level.
7092
7093 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7094 Define and use in Emacs Lisp mode (Bug#9360).
7095 (lisp-mode-abbrev-table): Add doc.
7096 (lisp-mode-variables): Don't set local-abbrev-table.
7097 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7098
7099 2012-01-28 Roland Winkler <winkler@gnu.org>
7100
7101 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7102
7103 2012-01-28 Roland Winkler <winkler@gnu.org>
7104
7105 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7106 (bibtex-set-dialect): Use it. Either set global values of
7107 dialect-dependent variables or bind these variables buffer-locally
7108 (Bug#10254).
7109 (bibtex-mode): Call bibtex-set-dialect via
7110 hack-local-variables-hook.
7111 (bibtex-dialect): Update docstring.
7112 Add safe-local-variable predicate.
7113 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7114 bibtex-set-dialect.
7115 (bibtex-mode-map): Define menu for each dialect.
7116 (bibtex-entry): Fix docstring.
7117
7118 2012-01-28 Chong Yidong <cyd@gnu.org>
7119
7120 * eshell/esh-arg.el (eshell-quote-argument): New function.
7121
7122 * eshell/esh-ext.el (eshell-invoke-batch-file):
7123 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7124 first arg to eshell-parse-command (Bug#10523).
7125
7126 2012-01-28 Drew Adams <drew.adams@oracle.com>
7127
7128 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7129 `default-directory' is non-nil.
7130
7131 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7132
7133 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7134 line that displays system-configuration-options. (Bug#9924)
7135
7136 2012-01-28 Drew Adams <drew.adams@oracle.com>
7137
7138 * descr-text.el (describe-char): Show information about POS, in
7139 addition to information about the character at POS. Improve and
7140 update the doc string. Change "code point" to "code point in
7141 charset", to avoid confusion with the character's Unicode code
7142 point shown above that. (Bug#10129)
7143
7144 2012-01-28 Eli Zaretskii <eliz@gnu.org>
7145
7146 * descr-text.el (describe-char): Show the raw character, not only
7147 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7148 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7149 for the reasons.
7150
7151 2012-01-28 Phil Hagelberg <phil@hagelb.org>
7152
7153 * emacs-lisp/package.el (package-install):
7154 Run package-refresh-contents if there is no archive yet (Bug#9798).
7155
7156 2012-01-28 Chong Yidong <cyd@gnu.org>
7157
7158 * emacs-lisp/package.el (package-maybe-load-descriptor):
7159 New function, split from package-maybe-load-descriptor.
7160 (package-maybe-load-descriptor): Use it.
7161 (package-download-transaction): Fully load required packages
7162 inside the loop, so that `require' calls work (Bug#10593).
7163 (package-install): No need to call package-initialize now.
7164
7165 2012-01-28 Chong Yidong <cyd@gnu.org>
7166
7167 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7168
7169 * tooltip.el (tooltip-mode): Doc fix.
7170 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7171
7172 * frame.el (set-cursor-color): Doc fix (Bug#352).
7173
7174 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7175 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7176
7177 * cus-edit.el (custom-buffer-create-internal): Fix search button
7178 action (Bug#10542).
7179 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
7180
7181 2012-01-27 Eduard Wiebe <usenet@pusto.de>
7182
7183 * dired.el (dired-mark-files-regexp):
7184 Include any subdirectory components. (Bug#10445)
7185
7186 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7187
7188 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7189 Handle [host]:port syntax. (Bug#10533)
7190
7191 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
7192
7193 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7194
7195 2012-01-26 Glenn Morris <rgm@gnu.org>
7196
7197 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7198 * term.el (term-raw-escape-map): Use Control-X-prefix.
7199 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7200
7201 2012-01-25 Martin Rudalics <rudalics@gmx.at>
7202
7203 * window.el (window-state-get, window--state-get-1): Don't deal
7204 with fixed-sizeness of windows. Simplify code.
7205
7206 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7207
7208 * window.el (window--state-get-1, window--state-put-2):
7209 Don't save and restore the mark.
7210
7211 2012-01-25 Chong Yidong <cyd@gnu.org>
7212
7213 * custom.el (custom-variable-p): Doc fix.
7214
7215 2012-01-25 Glenn Morris <rgm@gnu.org>
7216
7217 * dired.el (dired-goto-file): Handle some of the more common
7218 characters that `ls -b' escapes. (Bug#10596)
7219
7220 * progmodes/compile.el (compilation-next-error-function):
7221 Respect compilation-first-column in the "*compilation*" buffer.
7222 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7223
7224 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7225
7226 2012-01-24 Glenn Morris <rgm@gnu.org>
7227
7228 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7229
7230 2012-01-24 Julien Danjou <julien@danjou.info>
7231
7232 * color.el (color-rgb-to-hsl): Fix value computing.
7233 (color-hue-to-rgb): New function.
7234 (color-hsl-to-rgb): New function.
7235 (color-clamp, color-saturate-hsl, color-saturate-name)
7236 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7237 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7238
7239 2012-01-24 Glenn Morris <rgm@gnu.org>
7240
7241 * vc/vc-rcs.el (vc-rcs-create-tag):
7242 * vc/vc-sccs.el (vc-sccs-create-tag):
7243 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7244
7245 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7246
7247 * eshell/esh-util.el (eshell-read-hosts-file):
7248 Skip comment lines. (Bug#10549)
7249
7250 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7251
7252 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * subr.el (display-delayed-warnings): Doc fix.
7255 (collapse-delayed-warnings): New function to collapse identical
7256 adjacent warnings.
7257 (delayed-warnings-hook): Add it.
7258
7259 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
7260
7261 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7262
7263 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7264 (tramp-default-user-alist): Don't add "pscp".
7265 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7266 property "login-as", if set. (Bug#10530)
7267
7268 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
7269
7270 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7271 "plink1" and "psftp". (Bug#10530)
7272
7273 2012-01-21 Kenichi Handa <handa@m17n.org>
7274
7275 * international/mule-cmds.el (prefer-coding-system): Show a
7276 warning message if the default value of file-name-coding-system
7277 was not changed.
7278
7279 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7280
7281 * windmove.el (windmove-reference-loc):
7282 Fix windmove-reference-loc miscalculation.
7283
7284 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7285
7286 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7287 default unit.
7288
7289 2012-01-21 Glenn Morris <rgm@gnu.org>
7290
7291 * international/mule.el (auto-coding-alist): Add .tbz.
7292
7293 * files.el (local-enable-local-variables): Doc fix.
7294 (inhibit-local-variables-regexps): Rename from
7295 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7296 Doc fix. Add some extensions from auto-coding-alist.
7297 (inhibit-local-variables-suffixes):
7298 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7299 (inhibit-local-variables-p):
7300 New function, extracted from set-auto-mode-1.
7301 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7302 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7303 (hack-local-variables): Doc fix. Make the mode-only case
7304 respect enable-local-variables and friends.
7305 Respect inhibit-local-variables-regexps for file-locals, but
7306 not for directory-locals.
7307 (set-visited-file-name):
7308 Take account of inhibit-local-variables-regexps.
7309 Whether it applies may change as the file name is changed.
7310 * jka-cmpr-hook.el (jka-compr-install):
7311 * jka-compr.el (jka-compr-uninstall):
7312 Update for inhibit-first-line-modes-suffixes name change.
7313
7314 2012-01-20 Martin Rudalics <rudalics@gmx.at>
7315
7316 * help-macro.el (make-help-screen): Temporarily restore original
7317 binding for minor-mode-map-alist (Bug#10454).
7318
7319 2012-01-19 Julien Danjou <julien@danjou.info>
7320
7321 * color.el (color-name-to-rgb): Use the white color to find the max
7322 color component value and return correctly computed values.
7323 (color-name-to-rgb): Add missing float conversion for max value.
7324
7325 2012-01-19 Martin Rudalics <rudalics@gmx.at>
7326
7327 * window.el (window--state-get-1, window-state-get): Do not use
7328 special state value for window-persistent-parameters.
7329 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
7330 (window--state-put-2): Reset all window parameters to nil before
7331 assigning values of persistent parameters.
7332
7333 2012-01-18 Alan Mackenzie <acm@muc.de>
7334
7335 Eliminate sluggishness and hangs in fontification of "semicolon
7336 deserts".
7337
7338 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7339 Change value 10000 -> 3000.
7340 (c-state-safe-place): Reformulate so it doesn't stack up an
7341 infinite number of wrong entries in c-state-nonlit-pos-cache.
7342 (c-determine-limit-get-base, c-determine-limit): New functions to
7343 determine backward search limits disregarding literals.
7344 (c-find-decl-spots): Amend commenting.
7345 (c-cheap-inside-bracelist-p): New function which detects "={".
7346
7347 * progmodes/cc-fonts.el
7348 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7349 backward search.
7350 (c-font-lock-declarations): Fix an occurrence of point being
7351 undefined. Check additionally for point being in a bracelist or
7352 near a macro invocation without a semicolon so as to avoid a
7353 fruitless time consuming search for a declarator. Give a more
7354 precise search limit for declarators using the new
7355 c-determine-limit.
7356
7357 2012-01-18 Glenn Morris <rgm@gnu.org>
7358
7359 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7360 (set-auto-mode): Doc fixes.
7361
7362 2012-01-17 Glenn Morris <rgm@gnu.org>
7363
7364 * isearch.el (search-nonincremental-instead): Fix doc typo.
7365
7366 * dired.el (dired-insert-directory): Handle newlines in directory name.
7367 (dired-build-subdir-alist): Unescape newlines in directory name.
7368
7369 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
7370
7371 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7372 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7373 (tramp-action-terminal): Use it. (Bug#10530)
7374
7375 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7378
7379 2012-01-16 Martin Rudalics <rudalics@gmx.at>
7380
7381 * window.el (window-state-ignored-parameters): Remove variable.
7382 (window--state-get-1): Rename argument MARKERS to IGNORE.
7383 Handle persistent window parameters. Make copy of clone-of
7384 parameter only if requested. (Bug#10348)
7385 (window--state-put-2): Install a window parameter only if it has
7386 a non-nil value or an existing parameter shall be overwritten.
7387
7388 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
7389
7390 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7391
7392 2012-01-14 Eli Zaretskii <eliz@gnu.org>
7393
7394 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7395 don't pass the (nil) value of `upnode' to string-match.
7396
7397 2012-01-14 Chong Yidong <cyd@gnu.org>
7398
7399 * startup.el (command-line): Fix X resource class for cursorColor.
7400 Fix values recognized by the cursorBlink resource.
7401
7402 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7403
7404 * epg.el (epg--make-temp-file): Avoid permission race condition
7405 when running on old Emacs versions (bug#10403).
7406
7407 2012-01-14 Glenn Morris <rgm@gnu.org>
7408
7409 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7410
7411 2012-01-13 Alan Mackenzie <acm@muc.de>
7412
7413 Fix filling for when filladapt mode is enabled.
7414
7415 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7416 c-mask-paragraph, pass in `fill-paragraph' rather than
7417 `fill-region-as-paragraph'. (This is a reversion of a previous
7418 change.)
7419 * progmodes/cc-mode.el (c-basic-common-init):
7420 Make fill-paragraph-handle-comment buffer local and set it to nil.
7421
7422 2012-01-13 Glenn Morris <rgm@gnu.org>
7423
7424 * dired.el (dired-switches-escape-p): New function.
7425 (dired-insert-directory): Use dired-switches-escape-p.
7426 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7427
7428 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7429
7430 2012-01-12 Glenn Morris <rgm@gnu.org>
7431
7432 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7433 changes in adaptive-fill-regexp. (Bug#10276)
7434
7435 2012-01-11 Alan Mackenzie <acm@muc.de>
7436
7437 Fix Emacs bug #10463 - put `widen's around the critical spots.
7438
7439 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
7440 widen around each invocation of c-state-pp-to-literal. Remove an
7441 unused let variable.
7442
7443 2012-01-11 Glenn Morris <rgm@gnu.org>
7444
7445 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
7446 Doc fix.
7447
7448 2012-01-10 Chong Yidong <cyd@gnu.org>
7449
7450 * net/network-stream.el (network-stream-open-starttls):
7451 Avoid emitting a confusing error message when the server gives a bad
7452 response to the capability command.
7453
7454 2012-01-10 Glenn Morris <rgm@gnu.org>
7455
7456 * mail/unrmail.el (unrmail): Tweak previous change.
7457
7458 2012-01-09 Chong Yidong <cyd@gnu.org>
7459
7460 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7461
7462 2012-01-08 Alan Mackenzie <acm@muc.de>
7463
7464 Optimise font locking in long enum definitions.
7465
7466 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7467 arm to a cond form to handle enums.
7468 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7469 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7470
7471 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
7472
7473 * files.el (move-file-to-trash): Preserve default file modes on error.
7474 (Bug#10401)
7475
7476 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7477
7478 * faces.el (set-face-attribute): Clarify the meaning of the nil
7479 frame (bug#10294).
7480
7481 * subr.el (with-selected-frame): Mention that the selected frame
7482 is restored (bug#9980).
7483
7484 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7485 (bug#9759).
7486
7487 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
7488 (password-read): Don't autoload unused function.
7489
7490 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
7491
7492 * progmodes/which-func.el (which-func-mode): Turn into a
7493 non-interactive function and mark as obsolete (bug#10428).
7494
7495 2012-01-06 Chong Yidong <cyd@gnu.org>
7496
7497 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7498 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7499 functions, along with 1 and -1.
7500
7501 2012-01-06 Eli Zaretskii <eliz@gnu.org>
7502
7503 * time.el (display-time-load-average)
7504 (display-time-default-load-average): Doc fixes. See the thread
7505 starting at
7506 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7507 for the details.
7508
7509 2012-01-06 Glenn Morris <rgm@gnu.org>
7510
7511 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7512 has no messages. (Bug#10377)
7513
7514 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7515 than Info-edit. (Bug#10385)
7516
7517 * time.el (display-time-load-average, display-time-next-load-average):
7518 Doc fixes.
7519
7520 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7521 local setting of buffer-read-only to the input buffer. (Bug#10419)
7522
7523 * calendar/calendar.el (calendar-mode):
7524 Locally set scroll-margin to 0. (Bug#10379)
7525
7526 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
7527
7528 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7529
7530 2012-01-05 Glenn Morris <rgm@gnu.org>
7531
7532 * eshell/em-unix.el (diff-no-select): Autoload it.
7533 (eshell/diff): Use diff-no-select. (Bug#10420)
7534
7535 2012-01-05 Chong Yidong <cyd@gnu.org>
7536
7537 * shell.el (shell-dynamic-complete-functions): Revert last change.
7538 (shell-command-completion-function): New function.
7539 (shell-completion-vars): Use it to implement
7540 shell-completion-execonly (Bug#10417).
7541
7542 * custom.el (enable-theme): Don't set custom-safe-themes.
7543
7544 * cus-theme.el (custom-theme-merge-theme):
7545 Ignore custom-enabled-themes and custom-safe-themes.
7546
7547 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7548
7549 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7550 first prompt in `sql-interacive-mode'.
7551 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
7552 keywords.
7553 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
7554 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7555 context of original buffer. Invoke `sql-login-hook'.
7556
7557 2012-01-04 Eli Zaretskii <eliz@gnu.org>
7558
7559 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7560 letters in cite-prefix.
7561
7562 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563
7564 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7565
7566 2012-01-03 Chong Yidong <cyd@gnu.org>
7567
7568 * shell.el (shell-dynamic-complete-functions):
7569 Put pcomplete-completions-at-point, so as to try
7570 comint-filename-completion first (Bug#10417).
7571
7572 2012-01-02 Richard Stallman <rms@gnu.org>
7573
7574 * battery.el (battery-status-function):
7575 Detect when to use battery-yeeloong-sysfs.
7576 (battery-echo-area-format): Add string for Yeeloong.
7577 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7578 (battery-yeeloong-sysfs): New function.
7579
7580 2012-01-02 Chong Yidong <cyd@gnu.org>
7581
7582 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7583 (dirtrack): Merge code for handling relative filenames in prompt
7584 from shell-dir-cookie-watcher.
7585 (dirtrack-debug-message): New arg to avoid excess format calls.
7586
7587 * shell.el (shell-dir-cookie-re): Variable deleted.
7588 (shell-dir-cookie-watcher): Function deleted.
7589 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7590 with dirtrack-mode.
7591
7592 2012-01-01 Eli Zaretskii <eliz@gnu.org>
7593
7594 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7595 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
7596 libgnutls-26.dll.
7597
7598 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7599
7600 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7601
7602 2011-12-31 Eli Zaretskii <eliz@gnu.org>
7603
7604 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7605 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7606
7607 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
7608
7609 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7610 also for alternative shells.
7611 (tramp-open-connection-setup-interactive-shell): Check, whether
7612 the shell is a busybox.
7613 (tramp-send-command): Don't suppress multiple prompts for
7614 busyboxes, it hurts.
7615
7616 2011-12-28 Chong Yidong <cyd@gnu.org>
7617
7618 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7619 (gdb-get-source-file): Move mode line update to
7620 gdb-get-source-file (Bug#10087).
7621
7622 2011-12-25 Chong Yidong <cyd@gnu.org>
7623
7624 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7625 gud-gdb-marker-filter without taking it as an argument.
7626 (gud-gdb-run-command-fetch-lines): Caller changed.
7627 (gud-gdb-completion-function): New variable.
7628 (gud-gdb-completion-at-point): Use it.
7629 (gud-gdb-completions-1): Split from gud-gdb-completions.
7630
7631 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7632 function as separate arguments.
7633 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7634 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7635 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7636 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7637 (gdb-stopped, def-gdb-auto-update-trigger)
7638 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
7639 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7640 Callers changed.
7641 (gud-gdbmi-completions): New function.
7642 (gdb): Use it for generating the completion table.
7643
7644 2011-12-24 Alan Mackenzie <acm@muc.de>
7645
7646 Introduce a mechanism to widen the region used in context font
7647 locking. Use this to protect declarations from losing their contexts.
7648
7649 * progmodes/cc-langs.el (c-before-font-lock-functions):
7650 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
7651 (c-before-context-fontification-functions): New defvar, a list of
7652 functions to be run just before context (etc.) font locking.
7653
7654 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
7655 New, functionality extracted from
7656 c-neutralize-syntax-in-and-mark-CPP.
7657 (c-in-after-change-fontification): New variable.
7658 (c-after-change): Set c-in-after-change-fontification.
7659 (c-set-fl-decl-start): Rejig its interface, so it can be called
7660 from both after-change and context fontifying.
7661 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7662 New functions.
7663 (c-standard-font-lock-fontify-region-function): New variable.
7664 (c-font-lock-fontify-region): New function.
7665
7666 2011-12-24 Juri Linkov <juri@jurta.org>
7667
7668 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7669 (Bug#10348)
7670
7671 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
7672
7673 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7674 existence of source file. (Bug#10325)
7675
7676 2011-12-23 Alan Mackenzie <acm@muc.de>
7677
7678 Fix unstable fontification inside templates.
7679
7680 * progmodes/cc-langs.el (c-before-font-lock-functions):
7681 Newly created from the singular version. The (c c++ objc) entry now
7682 additionally has c-set-fl-decl-start. The other languages (apart
7683 from AWK) have that as a single entry.
7684
7685 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7686 The functionality for "local" declarations has been extracted to
7687 c-set-fl-decl-start.
7688
7689 * progmodes/cc-mode.el (c-common-init, c-after-change):
7690 Changes due to pluralisation of c-before-font-lock-functions.
7691 (c-set-fl-decl-start): New function, extracted from
7692 c-font-lock-enclosing-decls and enhanced.
7693
7694 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
7695
7696 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7697
7698 2011-12-22 Juri Linkov <juri@jurta.org>
7699
7700 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7701
7702 2011-12-22 Chong Yidong <cyd@gnu.org>
7703
7704 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7705
7706 2011-12-21 Drew Adams <drew.adams@oracle.com>
7707
7708 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7709
7710 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7711
7712 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7713
7714 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7715
7716 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7717 highlighting and support. Fix up comments for capitalization.
7718 (cfengine-mode-debug): New var.
7719 (cfengine3-mode): Change the modeline indicator to "CFE3".
7720 (cfengine3-font-lock-keywords): Improve defun highlighting.
7721 (cfengine2-actions): Rename from `cfengine-actions'.
7722 (cfengine2-font-lock-keywords): Rename from
7723 `cfengine-font-lock-keywords'.
7724 (cfengine2-imenu-expression): Rename from
7725 `cfengine-imenu-expression'.
7726 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7727 (cfengine2-beginning-of-defun): Rename from
7728 `cfengine-beginning-of-defun'.
7729 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7730 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7731 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7732 modeline indicator to "CFE2".
7733 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7734 (cfengine-mode-abbrevs): Mark obsolete.
7735
7736 2011-12-21 Chong Yidong <cyd@gnu.org>
7737
7738 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7739 filename argument.
7740
7741 2011-12-20 Martin Rudalics <rudalics@gmx.at>
7742
7743 * window.el (window-normalize-buffer-to-display): Remove.
7744 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7745
7746 2011-12-19 Chong Yidong <cyd@gnu.org>
7747
7748 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7749 Don't signal an error in a predicate function; return non-nil.
7750 (vc-dir-mark-file): Move the error here.
7751 (vc-dir-mark-unmark): If acting on the region, keep going if one
7752 of the entries cannot be marked/unmarked.
7753 (vc-dir-mark-all-files): If current entry is a directory, mark
7754 only child files, as documented.
7755
7756 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7757
7758 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7759 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7760 addition.
7761
7762 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7763
7764 * term/ns-win.el (ns-get-selection-internal)
7765 (ns-store-selection-internal): Declare.
7766 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7767 Declare as obsolete.
7768 (ns-get-pasteboard, ns-paste-secondary):
7769 Use ns-get-selection-internal.
7770 (ns-set-pasteboard, ns-copy-including-secondary):
7771 Use ns-store-selection-internal.
7772
7773 2011-12-17 Chong Yidong <cyd@gnu.org>
7774
7775 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
7776 (vc-deduce-fileset): Doc fix.
7777
7778 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7779
7780 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7781
7782 2011-12-13 Sam Steingold <sds@gnu.org>
7783
7784 * man.el (Man-getpage-in-background): When running under a
7785 window-system, ignore $MANWIDTH and $COLUMNS.
7786
7787 2011-12-15 Kenichi Handa <handa@m17n.org>
7788
7789 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7790 (setup-ethiopic-environment-internal): Comment out key-binding for
7791 ethio-toggle-punctuation.
7792
7793 2011-12-13 Alan Mackenzie <acm@muc.de>
7794
7795 Add the switch statement to AWK Mode.
7796
7797 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
7798 "default" to the keywords regexp.
7799
7800 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
7801 expression as the rest.
7802 (c-nonlabel-token-key): Allow string literals for AWK.
7803 Refactor for the other modes.
7804
7805 Large brace-block initialisation makes CC Mode slow: Fix.
7806 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
7807 routines. Limit backward searching in c-font-lock-enclosing.decl.
7808
7809 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7810 pp-state and literal type in addition to the limits.
7811 (c-state-safe-place): New defun, extracted from c-state-literal-at.
7812 (c-state-literal-at): Use the above new defun.
7813 (c-slow-in-literal, c-fast-in-literal): Remove.
7814 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
7815
7816 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7817 being in a literal. Add a limit for backward searching.
7818
7819 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7820 c-slow-in-literal.
7821
7822 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7825
7826 2011-12-13 Martin Rudalics <rudalics@gmx.at>
7827
7828 * window.el (delete-other-windows): Use correct frame in call to
7829 window-with-parameter.
7830
7831 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7832
7833 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7834 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7835 (makefile-gmake-statements, makefile-makepp-statements):
7836 Use it and add new makepp keywords.
7837 (makefile-makepp-font-lock-keywords): Add new patterns.
7838 (makefile-match-function-end): Match new [...] and [[...]].
7839
7840 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * ses.el (ses-call-printer-return, ses-cell-property-get)
7843 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7844 (ses-create-cell-variable, ses-reset-header-string)
7845 (ses-cell-set-formula, ses-repair-cell-reference-all)
7846 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7847 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7848 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7849 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7850 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7851 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7852 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7853 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7854 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7855 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7856 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7857 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7858
7859 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7860
7861 * ses.el: The overall change is to add cell renaming, that is
7862 setting fancy names for cell symbols other than name matching
7863 "\\`[A-Z]+[0-9]+\\'" regexp .
7864 (ses-create-cell-variable): New defun.
7865 (ses-relocate-formula): Relocate formulas only for cells the
7866 symbols of which are not renamed, i.e. symbols whose names do not
7867 match regexp "\\`[A-Z]+[0-9]+\\'".
7868 (ses-relocate-all): Relocate values only for cells the symbols of
7869 which are not renamed.
7870 (ses-load): Create cells variables as the (ses-cell ...) are read,
7871 in order to check row col consistency with cell symbol name only
7872 for cells that are not renamed.
7873 (ses-replace-name-in-formula): New defun.
7874 (ses-rename-cell): New defun.
7875
7876 2011-12-11 Chong Yidong <cyd@gnu.org>
7877
7878 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7879 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7880
7881 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7882
7883 * window.el (other-window): Fix docstring.
7884
7885 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7886
7887 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
7888 `from' or `to' address before taking its substring.
7889 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
7890 encoded name is chopped in the middle of the encoded string, and
7891 thus displayed encoded.
7892
7893 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
7894
7895 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7896
7897 2011-12-10 Eli Zaretskii <eliz@gnu.org>
7898
7899 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
7900 to use texinfo-update-node and commands that call it if the
7901 Texinfo file uses @node lines without next/prev/up pointers.
7902 Correct outdated description about texinfo-master-menu.
7903 (texinfo-all-menus-update, texinfo-master-menu)
7904 (texinfo-update-node, texinfo-every-node-update)
7905 (texinfo-multiple-files-update): Doc fix. Warn against updating
7906 all the @node lines.
7907 (texinfo-master-menu): Only call texinfo-update-node if the prefix
7908 argument is numeric. Explain better in the doc string what the
7909 function really does.
7910 (texinfo-insert-master-menu-list): Improve the error message
7911 displayed if there's no menu in the Top node.
7912 (Bug#2975) See also this thread:
7913 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
7914
7915 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
7916
7917 * speedbar.el (speedbar-supported-extension-expressions):
7918 Add .adb and .ads, commonly used for Ada source code (bug#10256).
7919
7920 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * printing.el (pr-mode-alist):
7923 * simple.el (filter-buffer-substring-functions)
7924 (completion-list-insert-choice-function):
7925 * window.el (window-with-parameter, window-atom-root)
7926 (window-sides-slots, window-size-fixed, window-min-delta)
7927 (window-max-delta, window--resize-mini-window)
7928 (window--resize-child-windows-normal, window-tree)
7929 (delete-other-windows, quit-window, split-window)
7930 (display-buffer-record-window, special-display-buffer-names)
7931 (special-display-regexps, special-display-popup-frame)
7932 (same-window-p, split-window-sensibly)
7933 (display-buffer-overriding-action, display-buffer-alist)
7934 (display-buffer-base-action, display-buffer, switch-to-buffer)
7935 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
7936 (fit-window-to-buffer, recenter-positions)
7937 (mouse-autoselect-window-state, mouse-autoselect-window-select):
7938 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
7939 and remove unneeded backslashes in docstrings.
7940
7941 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
7944
7945 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
7946 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
7947 end in ".mk".
7948 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
7949 when reading the makefile (bug#10116).
7950
7951 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
7954 (bug#10116).
7955
7956 2011-12-06 Glenn Morris <rgm@gnu.org>
7957
7958 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
7959
7960 2011-12-06 Chong Yidong <cyd@gnu.org>
7961
7962 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
7963
7964 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
7965
7966 * textmodes/table.el (table-shorten-cell): Fix typo.
7967
7968 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
7969
7970 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
7971
7972 2011-12-05 Eli Zaretskii <eliz@gnu.org>
7973
7974 * descr-text.el (describe-char): Fix display of strong
7975 right-to-left characters and directional embeddings and overrides.
7976
7977 * simple.el (what-cursor-position): Fix display of codepoints of
7978 strong right-to-left characters.
7979
7980 2011-12-05 Chong Yidong <cyd@gnu.org>
7981
7982 * faces.el (read-color): Doc fix.
7983
7984 2011-12-05 Glenn Morris <rgm@gnu.org>
7985
7986 * align.el (align--set-marker): Add doc-string.
7987 Don't try to move something that is not a marker. (Bug#10216)
7988
7989 2011-12-04 Glenn Morris <rgm@gnu.org>
7990
7991 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
7992 overly zealous deletion of trailing whitespace.
7993
7994 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
7995
7996 * server.el (server-delete-client): On Windows, do not try to delete
7997 the only terminal.
7998 (server-process-filter): On Windows, treat requests for a tty frame as
7999 if they were for a GUI frame if the running server is in GUI mode.
8000
8001 2011-12-03 Glenn Morris <rgm@gnu.org>
8002
8003 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8004
8005 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * electric.el: Streamline electric-indent's hook.
8008 (electric-indent-chars): Revert to simple list.
8009 (electric-indent-functions): New var.
8010 (electric-indent-post-self-insert-function): Use it.
8011
8012 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8013 there's no inferior buffer (bug#10196).
8014 (prolog-consult-compile): Don't use toggle-read-only.
8015
8016 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
8017
8018 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8019 interrupt. (Bug#10187)
8020
8021 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8022
8023 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8024 (bug#9160).
8025
8026 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8027 (bug#10191).
8028
8029 2011-12-02 Juri Linkov <juri@jurta.org>
8030
8031 * info.el (Info-search): Display "end of manual" when Isearch
8032 reaches the end of single-file Info manual. (Bug#9918)
8033
8034 2011-12-02 Eli Zaretskii <eliz@gnu.org>
8035
8036 * isearch.el (isearch-message-prefix): Run the input method part
8037 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8038
8039 2011-12-02 Juri Linkov <juri@jurta.org>
8040
8041 * isearch.el (isearch-occur): Use `word-search-regexp' for
8042 `isearch-word'.
8043 (isearch-search-and-update): Add condition for `isearch-word' and
8044 call `word-search-regexp'. (Bug#10145)
8045
8046 2011-12-01 Glenn Morris <rgm@gnu.org>
8047
8048 * eshell/em-hist.el (eshell-hist-initialize):
8049 Handle eshell-history-size nil and HISTSIZE set or unset.
8050 (eshell-history-file-name, eshell-history-size): Fix custom type.
8051
8052 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8055
8056 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
8057
8058 * progmodes/verilog-mode.el (verilog-pretty-expr):
8059 Rework verilog-pretty-expr to handle new assignment operators in system
8060 verilog, such as += *= and the like.
8061 (verilog-assignment-operator-re): Regular expression to find the
8062 assigment operator in a verilog assignment.
8063 (verilog-assignment-operation-re): Regular expression to find an
8064 assignment statement for pretty-expr.
8065 (verilog-in-attribute-p): Query returns true if point is in an
8066 attribute context; used to skip these for expression line up from
8067 pretty-expr.
8068 (verilog-in-parameter-p): Query returns true if point is in an
8069 parameter definition context; used to skip these for expression
8070 line up from pretty-expr.
8071 (verilog-in-parenthesis-p): Query returns true if point is in a
8072 parenthetical expression, specifically ( ) but not [ ] or { };
8073 used by pretty-expr.
8074 (verilog-just-one-space): If there is no space, don't add one.
8075 (verilog-get-lineup-indent-2): Specifically skip just attribute
8076 contexts for expression lineup, rather than skipping all
8077 parenthetical expressions.
8078 (verilog-calculate-indent): Fix comment, and fix indent.
8079 (verilog-do-indent): Indent declarations in lists (suggested by
8080 Joachim Lechner).
8081 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8082 skeleton items.
8083 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8084 by Alain Mellan).
8085
8086 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
8087
8088 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8089 parameters with embedded comments. Reported by Ray Stevens.
8090 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8091 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8092 Reported by Tim Holt.
8093 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8094 instantiated by upper module causing wrong expansion until AUTOed a
8095 second time. Reported by K C Buckenmaier.
8096 (verilog-diff-auto): Fix showing .* as a difference when
8097 `verilog-auto-star-save' off. Reported by Dan Dever.
8098 (verilog-auto-reset, verilog-read-always-signals)
8099 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8100 temporary signals in reset list if
8101 verilog-auto-reset-blocking-in-non is nil, and match assignment
8102 style to each signal's assignment type, bug381.
8103 Reported by Thomas Esposito.
8104 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8105 (verilog-uvm-statement-re): Support UVM indentation and
8106 highlighting, with old OVM keywords only.
8107 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
8108 Support AUTOTIEOFF creating non-wire data types.
8109 Suggested by Jonathan Greenlaw.
8110 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8111 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8112 (verilog-inject-sense, verilog-read-inst-pins)
8113 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8114 Fix mismatching parenthesis inside commented out code when deleting
8115 AUTOINST, bug383. Reported by Jonathan Greenlaw.
8116 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8117 non-numeric vector width. Reported by Alex Reed.
8118 (verilog-auto-ascii-enum): Add "onehot" option to work around not
8119 detecting signals with parameter widths. Reported by Alex Reed.
8120 (verilog-auto-delete-trailing-whitespace):
8121 With `verilog-auto-delete-trailing-whitespace' remove trailing
8122 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8123 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8124 Fix verilog-scan-cache corruption when running user AUTO expansion
8125 hooks that call indentation routines.
8126 (verilog-simplify-range-expression): Fix typo ignoring lower case
8127 identifiers.
8128 (verilog-delete-auto): Fix delete-autos to also remove user created
8129 automatics, as long as they start with AUTO.
8130 (verilog-batch-diff-auto, verilog-diff-auto)
8131 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8132 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8133 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8134 (verilog-in-paren-quick, verilog-re-search-backward-quick)
8135 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8136 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
8137 is disabled and its cache will get corrupt, causing AUTOS not to
8138 expand. Instead use only -quick functions.
8139 (verilog-scan-region): Fix scanning over escaped quotes.
8140 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8141 (verilog-re-search-backward-quick)
8142 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8143 related functions now ignore strings, to fix misparsing of strings
8144 with magic comments embedded in them.
8145 (verilog-read-auto-template):
8146 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8147 Reported by Brad Dobbie.
8148 (verilog-read-auto-template):
8149 Fix 'verilog-auto-inst-template-numbers' with comments.
8150 Reported by Brad Dobbie.
8151 (verilog-auto-inst, verilog-auto-inst-param)
8152 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8153 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8154 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
8155 debugging templates without merge conflicts, bug357.
8156 Reported by Brad Dobbie.
8157 (verilog-read-auto-template):
8158 Fix verilog-auto-inst-template-numbers with multiple templates.
8159 Reported by Brad Dobbie.
8160 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8161 abbrevs so user won't be asked to save.
8162 (verilog-read-auto-lisp-present): Fix to start at beginning of
8163 buffer in case called outside of verilog-auto.
8164 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8165 to "X-2". Reported by Matthew Myers.
8166 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8167 all inputs from module templates. Reported by Leith Johnson.
8168 (verilog-module-inside-filename-p): Fix locating programs as with
8169 modules.
8170 (verilog-auto-inst-port): Fix vl-width expressions when using
8171 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8172 (verilog-decls-get-regs, verilog-decls-get-signals,
8173 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8174 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8175 verilog-read-decls): Combine reg and wire structures into one var
8176 structure to represent SystemVerilog concepts.
8177 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8178 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
8179 (verilog-auto-wire-type, verilog-insert-definition):
8180 Add verilog-auto-wire-type and AUTOLOGIC to support using
8181 SystemVerilog "logic" keyword instead of "wire"/"reg".
8182 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8183 to declares outputs that also have assignments (presumably in an
8184 ifdef or generate if so there's not a driver conflict).
8185 Reported by Matthew Myers.
8186 (verilog-auto-declare-nettype, verilog-insert-definition):
8187 Add verilog-auto-declare-nettype to fix declarations using
8188 `default_nettype none. Reported by Julian Gorfajn.
8189 (verilog-read-always-signals-recurse, verilog-read-decls)
8190 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8191 malformed end statement, bug325. Reported by Joshua Wise and
8192 Andrew Drake.
8193 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8194 (verilog-inst-comment-re): Fix not deleting Interfaced comment
8195 when expanding .* in interfaces, bug320.
8196 Reported by Pierre-David Pfister.
8197 (verilog-read-module-name): Fix import statements between module
8198 name and open parenthesis, bug317.
8199 Reported by Pierre-David Pfister.
8200 (verilog-simplify-range-expression): Fix simplification of
8201 multiplications inside AUTOWIRE connections, bug303.
8202 (verilog-auto-inst-port): Support parameter expansion in
8203 multidimensional arrays.
8204 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8205 after "assert property". Reported by Julian Gorfajn.
8206 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8207 with multiplication, bug303.
8208 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8209 Reported by Jan Frode Lonnum.
8210
8211 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8214 (hfy-shell-file-name, hfy-shell):
8215 * international/fontset.el (x-decompose-font-name): Fix typos.
8216
8217 2011-11-29 Ken Brown <kbrown@cornell.edu>
8218
8219 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8220 (gdb-version): Remove defvar.
8221 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8222 (gdb-gud-context-command, gdb-non-stop-handler)
8223 (gdb-current-context-command, gdb-stopped): Use it.
8224 (gdb-init-1): Enable pretty printing here.
8225 (gdb-non-stop-handler): Don't enable pretty-printing here.
8226 Check to see if the target supports non-stop mode; if not, turn off
8227 non-stop mode. Use the following.
8228 (gdb-check-target-async): New defun.
8229 (gud-watch, gdb-stopped): Fix whitespace.
8230 (gdb-get-source-file): Don't try to display the source file if
8231 `gdb-main-file' is nil.
8232
8233 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * align.el: Try to generate fewer markers (bug#10047).
8236 (align--set-marker): New macro.
8237 (align-region): Use it.
8238
8239 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8242
8243 2011-11-29 Chong Yidong <cyd@gnu.org>
8244
8245 * indent.el (indent-for-tab-command, indent-according-to-mode):
8246 Doc fix.
8247 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8248
8249 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
8250
8251 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8252 aware of remote file names. (Bug#10124)
8253
8254 2011-11-29 Chong Yidong <cyd@gnu.org>
8255
8256 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8257
8258 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * files.el (find-file): Don't use force-same-window (bug#10144).
8261 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8262 use pop-to-buffer if the selected window can't be used.
8263 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8264
8265 2011-11-28 Eli Zaretskii <eliz@gnu.org>
8266
8267 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8268 special-mode-map.
8269
8270 2011-11-28 Chong Yidong <cyd@gnu.org>
8271
8272 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8273
8274 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
8275
8276 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8277 gdb-get-source-file-list on gdb-create-source-file-list.
8278
8279 2011-11-26 Eli Zaretskii <eliz@gnu.org>
8280
8281 * whitespace.el (whitespace-newline): Use a different foreground
8282 color for 16-color light-background displays.
8283
8284 2011-11-24 Chong Yidong <cyd@gnu.org>
8285
8286 * window.el (display-buffer--special-action): Doc fix.
8287
8288 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8291 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8292 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8293 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8294 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8295 (avl-tree-stack-first):
8296 * emacs-lisp/cconv.el (cconv--analyse-use):
8297 * net/gnutls.el (gnutls-negotiate): Fix typos.
8298
8299 2011-11-24 Glenn Morris <rgm@gnu.org>
8300
8301 * lpr.el (lpr-windows-system, lpr-lp-system):
8302 * mail/binhex.el (binhex-begin-line):
8303 * progmodes/grep.el (grep-history, grep-find-history):
8304 * textmodes/flyspell.el:
8305 * vc/pcvs-defs.el (cvs-global-menu):
8306 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8307 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8308 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8309
8310 * net/tls.el: Fix case of "GnuTLS".
8311
8312 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8313
8314 * version.el (emacs-build-system): Give it a doc-string.
8315
8316 2011-11-24 Juri Linkov <juri@jurta.org>
8317
8318 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8319
8320 2011-11-24 Glenn Morris <rgm@gnu.org>
8321
8322 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8323 if called on a non-mime message just toggle the headers. (Bug#8006)
8324
8325 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
8326
8327 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8328 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8329 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8330 (allout-rebullet-heading, allout-open-sibtopic)
8331 (allout-toggle-current-subtree-encryption)
8332 (allout-toggle-subtree-encryption, allout-encrypt-string)
8333 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8334 (allout-distinctive-bullets-string, allout-auto-activation):
8335 * window.el (window-normalize-buffer-to-display):
8336 * progmodes/verilog-mode.el (verilog-batch-indent):
8337 * textmodes/bibtex.el (bibtex-field-braces-opt)
8338 (bibtex-field-strings-opt):
8339 * vc/cvs-status.el (cvs-tree-merge):
8340 Fix typos.
8341
8342 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
8343
8344 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8345 `non-essential' to t, in order to avoid remote connections.
8346
8347 2011-11-23 Eli Zaretskii <eliz@gnu.org>
8348
8349 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8350 On MS-DOS and MS-Windows, compare with loaddefs.el
8351 case-insensitively.
8352
8353 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8354
8355 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8356
8357 2011-11-23 Glenn Morris <rgm@gnu.org>
8358
8359 * paths.el (rmail-file-name): Reformat the doc-string so that it
8360 is picked up.
8361
8362 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8363 (rmail-auto-file): Ignore case in the "special" field names,
8364 as mail-fetch-field does for all others.
8365
8366 * mail/rmail.el (rmail-forward):
8367 * mail/rmailkwd.el (rmail-set-label):
8368 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8369 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8370
8371 * mail/rmail.el (rmail-current-message): Doc fix.
8372
8373 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8374
8375 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8378
8379 2011-11-22 Glenn Morris <rgm@gnu.org>
8380
8381 * mail/rmailmm.el (test-rmail-mime-handler)
8382 (test-rmail-mime-bulk-handler)
8383 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8384
8385 2011-11-21 Juri Linkov <juri@jurta.org>
8386
8387 * calc/calc.el (calc-read-key-sequence):
8388 Let-bind `input-method-function' to nil. (Bug#10018)
8389
8390 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8393 Tell the caller that the next line needs recomputation, even
8394 though it doesn't start a sexp (bug#10094).
8395
8396 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8399
8400 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8403 Use force-same-window.
8404
8405 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8406
8407 * descr-text.el (describe-char-unicode-data):
8408 * json.el (json-string-escape):
8409 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8410 (Footnote-unicode, Footnote-style-p):
8411 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8412
8413 2011-11-20 Chong Yidong <cyd@gnu.org>
8414
8415 * window.el (replace-buffer-in-windows): Restore interactive spec.
8416
8417 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8420
8421 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8422 (byte-compile-global-not-obsolete-vars): New var.
8423 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8424 Use it.
8425 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8426
8427 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8430 * progmodes/pascal.el (electric-pascal-equal):
8431 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8432 * xml.el (xml-substitute-special): Fix typos.
8433
8434 2011-11-20 Glenn Morris <rgm@gnu.org>
8435
8436 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8437 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8438 Doc fixes.
8439 (rmail-decode-mime-charset): Mark as obsolete.
8440
8441 * mail/rmailsum.el (rmail-message-regexp-p-1):
8442 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8443 Before using mime functions, check they are set. (Bug#10077)
8444
8445 2011-11-19 Juri Linkov <juri@jurta.org>
8446
8447 * info.el (Info-finder-find-node): Use `package--builtins' instead
8448 of `package-alist'. Use node names formed by the pattern "Keyword "
8449 and the keyword name.
8450
8451 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8452
8453 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
8454
8455 2011-11-19 Juri Linkov <juri@jurta.org>
8456
8457 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8458 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8459 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8460 `old-history', `old-history-forward'. Add let-binding
8461 `window-selected'. Remove calls to `kill-buffer',
8462 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8463 before calling `Info-find-node', so `Info-find-node-2' will reread
8464 the Info file. Restore window positions only when `window-selected'
8465 is non-nil.
8466
8467 2011-11-19 Juri Linkov <juri@jurta.org>
8468
8469 * isearch.el (isearch-lazy-highlight-new-loop):
8470 Remove condition `(not isearch-error)'. (Bug#9918)
8471
8472 * misearch.el (multi-isearch-search-fun): Add condition
8473 `(not bound)' to ignore lazy-highlighting search.
8474 Add the search-failed message "end of multi" when the end of
8475 multi-sequence is reached. Uncapitalize the search-failed
8476 message "Repeat for next buffer".
8477
8478 * info.el (Info-search): Add the search-failed message
8479 "end of the manual" when the end of the manual is reached
8480 in Isearch mode.
8481
8482 2011-11-19 Juri Linkov <juri@jurta.org>
8483
8484 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8485 Use non-destructive `remove' instead of `delete' because
8486 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8487 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8488
8489 2011-11-19 Juri Linkov <juri@jurta.org>
8490
8491 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8492 to nil instead of binding `search-ring' and `regexp-search-ring'.
8493 (Bug#9185)
8494
8495 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8496
8497 * simple.el (line-move): Force movement by logical lines for any
8498 hscrolled window, not only when auto-hscroll-mode is on.
8499 (line-move-visual): Update doc string to that effect. (Bug#10076)
8500
8501 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8502
8503 * language/european.el (macintosh): Define as alias for mac-roman.
8504
8505 2011-11-19 Eli Zaretskii <eliz@gnu.org>
8506
8507 * mail/rmailmm.el (rmail-mime-display-header)
8508 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8509 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8510 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8511 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8512 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8513 of a raw aref.
8514 (rmail-mime-entity-segment): To get past the tagline, move forward
8515 2 more lines, to account for the 2 empty lines that precede and
8516 follow the line with the buttons.
8517 (rmail-mime-update-tagline): Move one more line, to get past the
8518 empty line that follows the buttons in the tagline. (Bug#9520)
8519
8520 2011-11-19 Martin Rudalics <rudalics@gmx.at>
8521
8522 * window.el (window-max-delta-1, window-min-delta-1)
8523 (window-min-size-1, window-state-get-1, window-state-put-1)
8524 (window-state-put-2): Use "window--" prefix.
8525
8526 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8529 (smie-warning-count): New var.
8530 (smie-set-prec2tab): Use it.
8531 (smie-bnf->prec2): Improve warnings. Add docstring.
8532 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8533 (smie-bnf--set-class): New function.
8534 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8535 corner case.
8536
8537 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8538 (compilation-error-properties, compilation-move-to-column):
8539 Handle compilation-first-column while in the target buffer.
8540
8541 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8542 Don't hardcode point-min==1.
8543
8544 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8545 (eshell-rewrite-for-command): Remove workaround.
8546 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8547 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8548 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8549
8550 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8551
8552 2011-11-17 Glenn Morris <rgm@gnu.org>
8553
8554 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8555 Ignore buffer-local generated-autoload-file if it is the same
8556 as the global value. (Bug#10049)
8557
8558 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8561 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8562 (reftex-toc-previous-heading, reftex-toc-max-level)
8563 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8564 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8565 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8566 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8567 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8568 (reftex-toc-rename-label, reftex-toc-visit-location)
8569 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8570 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8571 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8572 leaving "*toc*" only for references to the buffer.
8573
8574 2011-11-17 Martin Rudalics <rudalics@gmx.at>
8575
8576 * window.el (window-resize, delete-window, split-window):
8577 Replace window-splits by window-combination-resize.
8578 * cus-start.el (window-splits): Replace by window-combination-resize.
8579
8580 2011-11-17 Glenn Morris <rgm@gnu.org>
8581
8582 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8583 Make bash entry derive from sh entry, not shell entry.
8584
8585 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
8586
8587 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8588 local file name.
8589
8590 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8591
8592 * menu-bar.el (menu-bar-file-menu):
8593 * printing.el (pr-ps-utility):
8594 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8595 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8596 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8597 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8598 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8599 (icalendar--convert-cyclic-to-ical)
8600 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8601 (icalendar--convert-ical-to-diary)
8602 (icalendar--convert-recurring-to-diary)
8603 (icalendar--convert-non-recurring-all-day-to-diary)
8604 (icalendar-import-format-sample):
8605 * progmodes/idlw-shell.el (idlwave-shell-mode):
8606 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8607 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8608 (vhdl-ps-print-init): Fix typos.
8609
8610 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8611
8612 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8613 FSF and collapse date sequence, obscure author/maintainer email address
8614 better, remove extra version line, track relocation of author's webpage.
8615
8616 * progmodes/python.el (python-pdbtrack-input-prompt)
8617 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8618 regular python pdb prompts. Adjustments shamelessly taken exactly as
8619 suggested in EmacsWiki page (tiny change):
8620 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8621
8622 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * expand.el (expand-pos, expand-index, expand-point):
8625 Remove redundant info from docstring.
8626 (expand-add-abbrevs): Doc fix.
8627 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8628 (expand-sample-perl-mode-expand-list): Fix typos.
8629
8630 * net/dbus.el (dbus-event-member-name):
8631 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8632 * term/pc-win.el (msdos-create-frame-with-faces):
8633 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8634
8635 2011-11-16 Martin Rudalics <rudalics@gmx.at>
8636
8637 * window.el (split-window, window-state-get-1)
8638 (window-state-put-1, window-state-put-2): Rename occurrences of
8639 window-nest to window-combination-limit.
8640 * cus-start.el (window-nest): Rename to window-combination-limit.
8641
8642 2011-11-16 Chong Yidong <cyd@gnu.org>
8643
8644 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8645 regexp (Bug#10033).
8646
8647 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8650 `completing-read' will remove *Completions* and will preserve
8651 current-buffer for us.
8652 (tmm-add-prompt): Users of *Completions* will always (re)set its
8653 major mode.
8654 (tmm-old-comp-map): Remove.
8655
8656 2011-11-16 Glenn Morris <rgm@gnu.org>
8657
8658 * mail/rmailedit.el: Require rmailmm when compiling.
8659 (rmail-old-mime-state): New declaration.
8660 (rmail-edit-current-message): If editing a mime message,
8661 edit the "raw" message from the mbox buffer.
8662 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8663
8664 2011-11-15 Glenn Morris <rgm@gnu.org>
8665
8666 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8667 which wasn't being used. Add optional arg to force given state.
8668 (rmail-mime): Add optional arg to force given state.
8669
8670 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8671
8672 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8673 * frame.el (display-mm-dimensions-alist):
8674 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8675 (outline-move-subtree-down):
8676 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8677 (newsticker--treeview-do-get-node):
8678 * net/quickurl.el (quickurl-list-buffer-name):
8679 * progmodes/dcl-mode.el (dcl-mode):
8680 * progmodes/gdb-mi.el (gdb-mapcar*):
8681 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8682
8683 2011-11-15 Glenn Morris <rgm@gnu.org>
8684
8685 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8686 in a boolean sense, so just make it a boolean, and fix the doc.
8687 (rmail-show-mime-function, rmail-mime-feature)
8688 (rmail-require-mime-maybe): Doc fixes.
8689 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8690
8691 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8692
8693 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8696 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8697 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8698 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8699
8700 2011-11-15 Glenn Morris <rgm@gnu.org>
8701
8702 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8703 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8704 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8705 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8706 (rmail-mime, rmail-show-mime): Doc fixes.
8707
8708 * term/ns-win.el (mode-line-frame-identification):
8709 Leave it alone. (Bug#10051)
8710
8711 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8712
8713 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8714 Handle empty buffers. (Bug#9978)
8715
8716 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
8717
8718 * international/mule.el (define-charset):
8719 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8720 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8721 * progmodes/verilog-mode.el (verilog-backward-token):
8722 * textmodes/ispell.el (lookup-words):
8723 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8724
8725 2011-11-14 Glenn Morris <rgm@gnu.org>
8726
8727 * progmodes/executable.el
8728 (executable-make-buffer-file-executable-if-script-p):
8729 Handle file-modes returning nil.
8730
8731 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8732 message - not necessary, and causes problems. (Bug#9831)
8733
8734 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8735
8736 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8737
8738 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8739 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8740 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8741
8742 2011-11-12 Martin Rudalics <rudalics@gmx.at>
8743
8744 * window.el (window-resize, delete-window): Use window-splits
8745 variable instead of function.
8746 (window-state-get-1, window-state-put-2, window-state-put):
8747 Don't deal with windows' splits status.
8748
8749 2011-11-12 Glenn Morris <rgm@gnu.org>
8750
8751 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8752 (apropos-documentation): Doc fixes.
8753
8754 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
8755
8756 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8757 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8758
8759 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8760
8761 * electric.el (electric-indent-post-self-insert-function): Make it
8762 possible for a char to only indent in some circumstances.
8763 (electric-indent-mode): Simplify.
8764
8765 2011-11-11 Martin Rudalics <rudalics@gmx.at>
8766
8767 * window.el (windows-with-parameter): Remove unused function.
8768 (windows-at-side): Rename to window-at-side-list.
8769 (window-check, window-atom-check, window-atom-check-1)
8770 (window-side-check, window-size-ignore, window-size-fixed-1)
8771 (window-in-direction-2): Prefix with "window--".
8772 (window-tree-1): Rename to window--subtree, fix doc-string.
8773
8774 2011-11-11 Glenn Morris <rgm@gnu.org>
8775
8776 * subr.el (eval-after-load): If FILE is already loaded,
8777 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8778
8779 2011-11-10 Glenn Morris <rgm@gnu.org>
8780
8781 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8782 Call svn via vc-svn-command rather than vc-do-command.
8783 (vc-svn-command): Add --non-interactive. (Bug#9993)
8784 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8785
8786 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8787 Add toggle-read-only. (Bug#7292)
8788 * files.el (toggle-read-only): Mention that it should only
8789 be used interactively. (Bug#10006)
8790
8791 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8794 Adjust regexp for OCaml warnings.
8795
8796 * electric.el (electric-pair-post-self-insert-function): Let user
8797 turn it off buffer-locally (bug#9932).
8798
8799 * progmodes/python.el (python-beginning-of-statement):
8800 Rewrite (bug#2703).
8801
8802 * progmodes/compile.el: Better handle TABs (bug#9749).
8803 (compilation-internal-error-properties)
8804 (compilation-next-error-function): Obey the target buffer's
8805 compilation-error-screen-columns.
8806
8807 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * progmodes/meta-mode.el: Remove obsolete comments.
8810 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8811 Fix typos in docstrings.
8812
8813 2011-11-09 Martin Rudalics <rudalics@gmx.at>
8814
8815 * window.el (window-size-fixed-p): Rewrite doc-string.
8816 (window-resizable-p): Rename to window--resizable-p. Update callers.
8817 (window--resizable): New function. Make all callers of
8818 window-resizable call window--resizable instead.
8819 (window-resizable): Rewrite in terms of window--resizable.
8820
8821 2011-11-08 Glenn Morris <rgm@gnu.org>
8822
8823 * progmodes/delphi.el (delphi-mode-syntax-table):
8824 Let define-derived-mode define a proper syntax table. (Bug#9994)
8825
8826 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * window.el: Stay away from defsubst.
8829 (window-list-no-nils): Remove.
8830 (window-state-get-1, window-state-get): Use backquote instead.
8831
8832 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8833
8834 * emacs-lisp/find-func.el (find-function-read):
8835 Fix incorrect use of default argument in `completing-read'.
8836
8837 2011-11-08 Martin Rudalics <rudalics@gmx.at>
8838
8839 * window.el (display-buffer-function, special-display-function):
8840 Mention display-buffer-record-window but do not mention
8841 help-setup parameter in doc-strings.
8842 (window-min-delta): Fix doc-string typo.
8843
8844 2011-11-08 Chong Yidong <cyd@gnu.org>
8845
8846 * window.el (window-total-height, window-total-width): Doc fix.
8847 (window-body-size): Move from C.
8848 (window-body-height, window-body-width): Move to C.
8849
8850 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * window.el: Make special-display like display-buffer-alist (bug#9532).
8853 (display-buffer--special-action): New function, morphed
8854 from display-buffer--special.
8855 (display-buffer): Use it to handle special-display-buffers at higher
8856 priority (just after display-buffer-alist).
8857 (display-buffer-fallback-action, display-buffer--other-frame-action)
8858 (pop-to-buffer-same-window): Remove display-buffer--special.
8859
8860 2011-11-07 Glenn Morris <rgm@gnu.org>
8861
8862 * calendar/cal-menu.el (cal-menu-set-date-title):
8863 Do nothing if not in a calendar. (Bug#9976)
8864
8865 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * files.el (find-file): Always use selected-window.
8868
8869 2011-11-07 Martin Rudalics <rudalics@gmx.at>
8870
8871 * window.el (window-combinations): Make WINDOW argument
8872 mandatory. Rewrite doc-string.
8873 (walk-window-subtree, window-atom-check, window-min-delta)
8874 (window-max-delta, window--resize-this-window)
8875 (window--resize-root-window-vertically, window-tree)
8876 (balance-windows, window-state-put): Rewrite doc-strings as to
8877 not mention the term "subwindow".
8878 (window--resize-subwindows-skip-p): Rename to
8879 window--resize-child-windows-skip-p.
8880 (window--resize-subwindows-normal): Rename to
8881 window--resize-child-windows-normal.
8882 (window--resize-subwindows): Rename to
8883 window--resize-child-windows.
8884 (window-or-subwindow-p): Rename to window--in-subtree-p.
8885
8886 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8887
8888 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8889 Ensure that mbox format messages end in two newlines (Bug#9974).
8890
8891 2011-11-06 Chong Yidong <cyd@gnu.org>
8892
8893 * window.el (window-combination-p): Function deleted; its
8894 side-effect is not used in any existing code.
8895 (window-combinations, window-combined-p): Call window-*-child
8896 directly.
8897
8898 2011-11-05 Chong Yidong <cyd@gnu.org>
8899
8900 * window.el (window-valid-p): Rename from window-any-p.
8901 (window-size-ignore, window-state-get): Callers changed.
8902 (window-normalize-window): Rename from window-normalize-any-window.
8903 New arg LIVE-ONLY, replacing window-normalize-live-window.
8904 (window-normalize-live-window): Delete.
8905 (window-combination-p, window-combined-p, window-combinations)
8906 (walk-window-subtree, window-atom-root, window-min-size)
8907 (window-sizable, window-sizable-p, window-size-fixed-p)
8908 (window-min-delta, window-max-delta, window-resizable)
8909 (window-resizable-p, window-full-height-p, window-full-width-p)
8910 (window-current-scroll-bars, window-point-1, set-window-point-1)
8911 (window-at-side-p, window-in-direction, window-resize)
8912 (adjust-window-trailing-edge, maximize-window, minimize-window)
8913 (window-deletable-p, delete-window, delete-other-windows)
8914 (record-window-buffer, unrecord-window-buffer)
8915 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
8916 (quit-window, split-window, window-state-put)
8917 (set-window-text-height, fit-window-to-buffer)
8918 (shrink-window-if-larger-than-buffer): Callers changed.
8919
8920 2011-11-04 Eli Zaretskii <eliz@gnu.org>
8921
8922 * mail/rmail.el (rmail-simplified-subject): Decode subject with
8923 rfc2047-decode-string.
8924 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
8925 warnings.
8926
8927 * window.el (window-body-height, window-body-width): Mention in
8928 the doc string that the return values are in frame's canonical
8929 units. (Bug#9949)
8930
8931 2011-11-03 Alan Mackenzie <acm@muc.de>
8932
8933 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
8934 change in cc-engine.el.
8935
8936 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 * window.el (switch-to-buffer): Use `force-same-window' interactively.
8939
8940 2011-11-02 Martin Rudalics <rudalics@gmx.at>
8941
8942 * window.el (quit-window): Call unrecord-window-buffer after
8943 showing another buffer in the window. (Bug#9937)
8944 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
8945
8946 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
8947
8948 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
8949 Accept status with more than 9 shelves. (Bug#9935)
8950 Reported by Colin D Bennett <colin@gibibit.com>.
8951
8952 2011-11-01 Martin Rudalics <rudalics@gmx.at>
8953
8954 * help.el (with-help-window): Don't reference
8955 temp-buffer-show-specifiers in doc-string.
8956
8957 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
8958
8959 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
8960 menu-item.
8961
8962 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8963
8964 * whitespace.el: New version 13.2.2.
8965 (whitespace-newline-mode): Disable properly. Reported by Sarah
8966 <EmacsWiki>.
8967
8968 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
8969
8970 * net/newst-treeview.el: Remove "Time-stamp".
8971 (newsticker--group-manage-orphan-feeds): Do not call
8972 newsticker--treeview-tree-update.
8973 (newsticker-treeview-update, newsticker-treeview):
8974 Call newsticker--treeview-tree-update if necessary.
8975
8976 2011-10-30 Martin Rudalics <rudalics@gmx.at>
8977
8978 * window.el (window-iso-combination-p, window-iso-combined-p)
8979 (window-iso-combinations): Remove "iso-" infix.
8980 Suggested by Chong Yidong.
8981 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
8982 (window-max-delta-1, window-resize, window--resize-siblings)
8983 (window--resize-this-window, adjust-window-trailing-edge)
8984 (split-window, balance-windows-1)
8985 (shrink-window-if-larger-than-buffer):
8986 * calendar/calendar.el (calendar-generate-window):
8987 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
8988
8989 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
8992 in place (bug#9907).
8993 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
8994 (eshell-rewrite-if-command, eshell-rewrite-for-command)
8995 (eshell-structure-basic-command, eshell-rewrite-while-command)
8996 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
8997 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
8998 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
8999 (eshell-do-pipelines-synchronously, eshell-eval-command):
9000 Use backquotes and prefer setq to set.
9001 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9002 (eshell-macrop): Use functionp.
9003 (eshell-do-eval): Handle multiple expressions in `while' body.
9004
9005 2011-10-30 Chong Yidong <cyd@gnu.org>
9006
9007 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9008 instead of set-mark (Bug#9810).
9009
9010 2011-10-30 Chong Yidong <cyd@gnu.org>
9011
9012 * window.el (split-window-below, split-window-right): Rename from
9013 split-window-above-each-other and split-window-side-by-side
9014 respectively. All callers changed.
9015 (split-window-sensibly, split-window-sensibly): Use them.
9016 (split-window-keep-point): Doc fix.
9017
9018 * isearch.el: Add isearch-scroll property to split-window-below
9019 and split-window-right.
9020
9021 * follow.el (follow-mode):
9022 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9023 * progmodes/ada-xref.el (ada-gdb-application):
9024 * emulation/vip.el (vip-buffer-in-two-windows):
9025 * image-dired.el (image-dired-dired-with-window-configuration):
9026 * dired-x.el (dired-do-find-marked-files):
9027 * dired.el (dired-pop-to-buffer):
9028 * bs.el (bs--show-with-configuration):
9029 * vc/emerge.el (emerge-setup-windows):
9030 * textmodes/two-column.el (2C-two-columns):
9031 * textmodes/reftex-toc.el (reftex-toc):
9032 * progmodes/gdb-mi.el (gdb-setup-windows):
9033 * progmodes/fortran.el (fortran-window-create):
9034 * net/newst-treeview.el (newsticker--treeview-window-init):
9035 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9036 * emulation/tpu-edt.el (tpu-gold-map):
9037 * emulation/crisp.el (crisp-mode-map):
9038 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9039
9040 2011-10-29 Chong Yidong <cyd@gnu.org>
9041
9042 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9043
9044 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9045
9046 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9047 forged Ispell output (Bug#7904).
9048
9049 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9050
9051 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * doc-view.el: Avoid ugly errors about not finding nil.
9054 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9055 (doc-view-dvipdf-program, doc-view-unoconv-program)
9056 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9057 Avoid nil or absolute file name as default value.
9058 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9059
9060 2011-10-28 Alan Mackenzie <acm@muc.de>
9061
9062 * progmodes/cc-defs.el (c-version): -> 5.32.2.
9063
9064 2011-10-28 Alan Mackenzie <acm@muc.de>
9065
9066 Amend the handling of c-beginning/end-of-defun in nested declaration
9067 scopes.
9068
9069 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9070 cc-langs.el. Change it to a defcustom.
9071
9072 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9073 cc-vars.el.
9074
9075 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9076 Prevent "class foo : bar" being spuriously recognized as a label.
9077
9078 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
9079 Add parameter `inclusive' (to include enclosing braces in the region).
9080 (c-widen-to-enclosing-decl-scope): New function.
9081 (c-while-widening-to-decl-block): New macro.
9082 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9083 outward for defun boundaries, and correspondingly change symbol
9084 `respect-enclosure' to `go-outward'.
9085 (c-declaration-limits): Change algorithm to report only the "innermost"
9086 defun's boundaries.
9087
9088 2011-10-28 Deniz Dogan <deniz@dogan.se>
9089
9090 * net/rcirc.el (rcirc-mode): Use hard newlines.
9091
9092 2011-10-28 Alan Mackenzie <acm@muc.de>
9093
9094 Amend to indent and fontify macros "which include their own semicolon"
9095 correctly, using the "virtual semicolon" mechanism.
9096
9097 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
9098
9099 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
9100 Recode to scan one line at a time rather than having \n and \r
9101 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
9102 (c-forward-label): Amend for virtual semicolons.
9103 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
9104
9105 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9106 of the new C macros.
9107
9108 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
9109 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9110 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
9111 (c-opt-cpp-macro-define): Make into a full language variable.
9112 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9113 AWK Mode (including \n, \r) removed, no longer needed.
9114
9115 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9116 Invoke c-make-macro-with-semi-re.
9117
9118 * progmodes/cc-vars.el (c-macro-with-semi-re):
9119 (c-macro-names-with-semicolon): New variables.
9120 (c-make-macro-with-semi-re): New function.
9121
9122 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * vc/log-edit.el: Fill empty field rather than adding new one.
9125 (log-edit-add-field): New function.
9126 (log-edit-insert-changelog): Use it.
9127
9128 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9129
9130 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9131
9132 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9133
9134 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9135 (gdb--check-interpreter): New function.
9136 (gdb): Use it.
9137
9138 2011-10-27 Glenn Morris <rgm@gnu.org>
9139
9140 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9141 (least-positive-float, least-negative-float)
9142 (least-positive-normalized-float, least-negative-normalized-float)
9143 (float-epsilon, float-negative-epsilon):
9144 Remove unnecessary declarations.
9145
9146 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9147 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9148 (least-positive-float, least-negative-float)
9149 (least-positive-normalized-float, least-negative-normalized-float)
9150 (float-epsilon, float-negative-epsilon): Add doc-strings,
9151 based on those in cl.texi.
9152
9153 * files.el (set-visited-file-name): If the major-mode changed,
9154 reload the local variables. (Bug#9796)
9155
9156 2011-10-27 Chong Yidong <cyd@gnu.org>
9157
9158 * subr.el (change-major-mode-after-body-hook): New hook.
9159 (run-mode-hooks): Run it.
9160
9161 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9162 Use change-major-mode-before-body-hook.
9163
9164 * simple.el (fundamental-mode):
9165 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9166 change introducing fundamental-mode-hook.
9167
9168 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
9169
9170 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
9171
9172 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
9173
9174 * ido.el (ido-file-name-all-completions-1): Do not require
9175 tramp.el explicitly. (Bug#7583)
9176
9177 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * progmodes/octave-mod.el:
9180 * progmodes/octave-inf.el: Update maintainer.
9181
9182 2011-10-26 Chong Yidong <cyd@gnu.org>
9183
9184 * subr.el (with-wrapper-hook): Rewrite doc.
9185
9186 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
9187
9188 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
9189 filenames "/method:foo:". (Bug#9793)
9190
9191 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9194 (bug#9865).
9195
9196 2011-10-24 Glenn Morris <rgm@gnu.org>
9197
9198 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9199
9200 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * notifications.el: Add the requirement of a running D-Bus session
9203 bus to the Commentary.
9204
9205 2011-10-24 Juri Linkov <juri@jurta.org>
9206
9207 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9208 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9209 (Bug#9364)
9210
9211 2011-10-24 Juri Linkov <juri@jurta.org>
9212
9213 * info.el (Info-following-node-name-re): Add newline to the list
9214 of allowed characters for leading space. (Bug#9824)
9215
9216 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * progmodes/octave-inf.el (inferior-octave-mode-map):
9219 Fix C-c C-h binding.
9220 * progmodes/octave-mod.el (octave-help): Remove.
9221
9222 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
9223
9224 Sync with Tramp 2.2.3.
9225
9226 * net/tramp-cache.el (top): Pacify byte-compiler using
9227 `init-file-user' and `site-run-file'.
9228
9229 * net/trampver.el: Update release number.
9230
9231 2011-10-23 Chong Yidong <cyd@gnu.org>
9232
9233 * files.el (toggle-read-only): Remove obsolete comment about
9234 version control.
9235
9236 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9237 for toggle-read-only. Note that this hasn't called vc-next-action
9238 since 2008-05-02, though it wasn't documented at the time.
9239
9240 * vc/ediff-init.el (ediff-toggle-read-only-function):
9241 Use toggle-read-only.
9242
9243 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9244
9245 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9246 of c-parse-state.
9247
9248 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9249 correct faulty logical expression.
9250 (c-parse-state-state, c-record-parse-state-state):
9251 (c-replay-parse-state-state): New defvar/defuns.
9252 (c-debug-parse-state): Use new functions.
9253
9254 2011-10-22 Martin Rudalics <rudalics@gmx.at>
9255
9256 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
9257 last fix. Use window-in-direction correctly.
9258
9259 2011-10-21 Chong Yidong <cyd@gnu.org>
9260
9261 * progmodes/idlwave.el (idlwave-mode):
9262 * progmodes/vera-mode.el (vera-mode): No need to set
9263 require-final-newline; that's done in prog-mode.
9264 Suggested by Stefan Monnier.
9265
9266 2011-10-21 Martin Rudalics <rudalics@gmx.at>
9267
9268 * mouse.el (mouse-drag-window-above)
9269 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9270 (mouse-drag-mode-line-1, mouse-drag-header-line)
9271 (mouse-drag-vertical-line-rightward-window): Remove.
9272 (mouse-drag-line): New function.
9273 (mouse-drag-mode-line, mouse-drag-header-line)
9274 (mouse-drag-vertical-line): Call mouse-drag-line.
9275 * window.el (window-at-side-p, windows-at-side): New functions.
9276
9277 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
9278
9279 * tar-mode.el (tar-grind-file-mode):
9280 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9281
9282 2011-10-21 Chong Yidong <cyd@gnu.org>
9283
9284 * progmodes/idlwave.el (idlwave-mode):
9285 * progmodes/vera-mode.el (vera-mode):
9286 Use mode-require-final-newline.
9287
9288 2011-10-20 Glenn Morris <rgm@gnu.org>
9289
9290 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
9291
9292 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9293
9294 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9295
9296 2011-10-20 Chong Yidong <cyd@gnu.org>
9297
9298 * emulation/cua-base.el (cua-mode):
9299 * mail/footnote.el (footnote-mode):
9300 * mail/mailabbrev.el (mail-abbrevs-mode):
9301 * net/xesam.el (xesam-minor-mode):
9302 * progmodes/bug-reference.el (bug-reference-mode):
9303 * progmodes/cap-words.el (capitalized-words-mode):
9304 * progmodes/compile.el (compilation-minor-mode)
9305 (compilation-shell-minor-mode):
9306 * progmodes/gud.el (gud-tooltip-mode):
9307 * progmodes/hideif.el (hide-ifdef-mode):
9308 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9309 * progmodes/subword.el (subword-mode):
9310 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9311 * progmodes/which-func.el (which-function-mode):
9312 * term/tvi970.el (tvi970-set-keypad-mode):
9313 * term/vt100.el (vt100-wide-mode):
9314 * textmodes/flyspell.el (flyspell-mode):
9315 * textmodes/ispell.el (ispell-minor-mode):
9316 * textmodes/nroff-mode.el (nroff-electric-mode):
9317 * textmodes/paragraphs.el (use-hard-newlines):
9318 * textmodes/refill.el (refill-mode):
9319 * textmodes/reftex.el (reftex-mode):
9320 * textmodes/rst.el (rst-minor-mode):
9321 * textmodes/sgml-mode.el (html-autoview-mode)
9322 (sgml-electric-tag-pair-mode):
9323 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9324 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9325 * emulation/crisp.el (crisp-mode):
9326 * emacs-lisp/eldoc.el (eldoc-mode):
9327 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9328 minor mode behavior.
9329
9330 2011-10-19 Juri Linkov <juri@jurta.org>
9331
9332 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9333 the list of hard-coded chars with escape-glyph face.
9334
9335 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9338
9339 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9342 running process.
9343
9344 2011-10-19 Glenn Morris <rgm@gnu.org>
9345
9346 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9347 Ignore ignored files. (Bug#9726)
9348
9349 2011-10-19 Chong Yidong <cyd@gnu.org>
9350
9351 Doc fix for minor modes, stating that an omitted argument enables
9352 the mode unconditionally when called from Lisp.
9353
9354 * abbrev.el (abbrev-mode):
9355 * allout.el (allout-mode):
9356 * autoinsert.el (auto-insert-mode):
9357 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9358 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9359 (global-auto-revert-mode):
9360 * battery.el (display-battery-mode):
9361 * composite.el (global-auto-composition-mode)
9362 (auto-composition-mode):
9363 * delsel.el (delete-selection-mode):
9364 * desktop.el (desktop-save-mode):
9365 * dired-x.el (dired-omit-mode):
9366 * dirtrack.el (dirtrack-mode):
9367 * doc-view.el (doc-view-minor-mode):
9368 * double.el (double-mode):
9369 * electric.el (electric-indent-mode, electric-pair-mode):
9370 * emacs-lock.el (emacs-lock-mode):
9371 * epa-hook.el (auto-encryption-mode):
9372 * follow.el (follow-mode):
9373 * font-core.el (font-lock-mode):
9374 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9375 * help.el (temp-buffer-resize-mode):
9376 * hilit-chg.el (highlight-changes-mode)
9377 (highlight-changes-visible-mode):
9378 * hi-lock.el (hi-lock-mode):
9379 * hl-line.el (hl-line-mode, global-hl-line-mode):
9380 * icomplete.el (icomplete-mode):
9381 * ido.el (ido-everywhere):
9382 * image-file.el (auto-image-file-mode):
9383 * image-mode.el (image-minor-mode):
9384 * iswitchb.el (iswitchb-mode):
9385 * jka-cmpr-hook.el (auto-compression-mode):
9386 * linum.el (linum-mode):
9387 * longlines.el (longlines-mode):
9388 * master.el (master-mode):
9389 * mb-depth.el (minibuffer-depth-indicate-mode):
9390 * menu-bar.el (menu-bar-mode):
9391 * minibuf-eldef.el (minibuffer-electric-default-mode):
9392 * mouse-sel.el (mouse-sel-mode):
9393 * msb.el (msb-mode):
9394 * mwheel.el (mouse-wheel-mode):
9395 * outline.el (outline-minor-mode):
9396 * paren.el (show-paren-mode):
9397 * recentf.el (recentf-mode):
9398 * reveal.el (reveal-mode, global-reveal-mode):
9399 * rfn-eshadow.el (file-name-shadow-mode):
9400 * ruler-mode.el (ruler-mode):
9401 * savehist.el (savehist-mode):
9402 * scroll-all.el (scroll-all-mode):
9403 * scroll-bar.el (scroll-bar-mode):
9404 * server.el (server-mode):
9405 * shell.el (shell-dirtrack-mode):
9406 * simple.el (auto-fill-mode, transient-mark-mode)
9407 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9408 (line-number-mode, column-number-mode, size-indication-mode)
9409 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9410 * strokes.el (strokes-mode):
9411 * time.el (display-time-mode):
9412 * t-mouse.el (gpm-mouse-mode):
9413 * tool-bar.el (tool-bar-mode):
9414 * tooltip.el (tooltip-mode):
9415 * type-break.el (type-break-mode-line-message-mode)
9416 (type-break-query-mode):
9417 * view.el (view-mode):
9418 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9419 (global-whitespace-mode, global-whitespace-newline-mode):
9420 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9421
9422 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9423 Fix autogenerated docstring.
9424
9425 2011-10-19 Juri Linkov <juri@jurta.org>
9426
9427 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9428 by checking environment variables "DESKTOP_SESSION" and
9429 "XDG_CURRENT_DESKTOP". (Bug#9779)
9430
9431 2011-10-19 Juri Linkov <juri@jurta.org>
9432
9433 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9434 (browse-url-chromium-program, browse-url-chromium-arguments):
9435 New defcustoms.
9436 (browse-url-default-browser): Check for `browse-url-chromium' and
9437 call `browse-url-chromium-program'.
9438 (browse-url-chromium): New command. (Bug#9779)
9439
9440 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
9441
9442 * facemenu.el (list-colors-duplicates): On Windows, detect more
9443 duplicates by assuming that only colors matching "^System" are
9444 special "system colors". (Bug#9722)
9445
9446 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9447
9448 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9449 to distinguish the author from the committer.
9450
9451 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9454
9455 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9456
9457 * international/mule.el (sgml-html-meta-auto-coding-function):
9458 Add support for detecting encoding in HTML5 specified only as
9459 <meta charset="UTF-8">. Implementation just makes http-equiv and
9460 content-type parts from HTML4 encoding string optional. (Bug#9716)
9461
9462 2011-10-18 Glenn Morris <rgm@gnu.org>
9463
9464 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9465
9466 2011-10-18 Chong Yidong <cyd@gnu.org>
9467
9468 * faces.el (cursor): Doc fix.
9469
9470 2011-10-17 Chong Yidong <cyd@gnu.org>
9471
9472 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9473
9474 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
9475
9476 * dirtrack.el (dirtrack): Support shell buffers with path
9477 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9478
9479 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9480
9481 * json.el: Bump version to 1.3 and note change in History.
9482 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9483
9484 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9485
9486 * comint.el (comint-insert-input, comint-send-input)
9487 (comint-get-old-input-default, comint-backward-matching-input)
9488 (comint-next-prompt): Use nil instead of `input' for field property of
9489 past user input (bug#114).
9490
9491 * minibuffer.el (completion--replace): Inherit surrounding properties
9492 (bug#114).
9493 (minibuffer-complete-and-exit): Use it.
9494
9495 * comint.el (comint--table-subvert): Quote the all-completions output
9496 (bug#9160).
9497
9498 2011-10-17 Martin Rudalics <rudalics@gmx.at>
9499
9500 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
9501
9502 * menu-bar.el (menu-bar-file-menu): Add entry for making new
9503 window on right of selected. (Bug#9350) Reword other window
9504 entries and separate them from frame entries.
9505
9506 2011-10-15 Glenn Morris <rgm@gnu.org>
9507
9508 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9509 Doc fixes.
9510
9511 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * net/network-stream.el (network-stream-open-starttls):
9514 Improve detection of failure due to lack of TLS support.
9515
9516 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9517 putting the input text in front and in bold.
9518
9519 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9522
9523 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9524 empty buffer.
9525
9526 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9527 unread-command-events rather than pushing yet-another event.
9528
9529 2011-10-14 Eli Zaretskii <eliz@gnu.org>
9530
9531 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9532 the explanation of the possible choices. Make the options passed
9533 to completing-read shorter.
9534
9535 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9536
9537 * textmodes/flyspell.el (flyspell-large-region): Make sure
9538 extended character mode is used if defined (Bug#1339).
9539
9540 2011-10-13 Eli Zaretskii <eliz@gnu.org>
9541
9542 * simple.el (what-cursor-position): Fix the display of the
9543 character info for LRE, LRO, RLE, and RLO characters by appending
9544 an invisible PDF.
9545
9546 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9549 even in case of error; add debug spec; simplify data flow.
9550 (with-timeout-handler): Remove.
9551
9552 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
9553
9554 Fix Bug#6019, Bug#9315.
9555
9556 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9557 complete `buffer-file-name', the local file name part could look
9558 remotely (for example on VMS).
9559
9560 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9561 `tramp-run-real-handler'.
9562 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9563 already quoted by '"'.
9564
9565 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9566 Let `file-name-handler-alist' be nil, the local file name part
9567 could look remotely (for example on VMS).
9568
9569 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9572 from here...
9573 (flyspell-post-command-hook): ...to here.
9574
9575 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9578 if not needed.
9579 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9580 using completion. Protect against "slow" callers.
9581 Remove the "message hack".
9582
9583 2011-10-11 Juri Linkov <juri@jurta.org>
9584
9585 * isearch.el (isearch-lazy-highlight-word): New variable.
9586 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9587 Use it. (Bug#9727)
9588
9589 2011-10-11 Glenn Morris <rgm@gnu.org>
9590
9591 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9592 like f90-previous-statement does.
9593
9594 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9595
9596 * eshell/eshell.el (eshell-command): History should be saved
9597 only in interactive use, to avoid error.
9598
9599 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * minibuffer.el (completion-file-name-table): Fix last change,
9602 i.e. ignore normal errors but not the other ones.
9603
9604 2011-10-10 Martin Rudalics <rudalics@gmx.at>
9605
9606 * window.el (special-display-buffer-names)
9607 (special-display-regexps): Remove some remnants of earlier
9608 changes from doc-strings.
9609 (quit-windows-on): New function.
9610
9611 * vc/vc.el (vc-revert, vc-rollback):
9612 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9613 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9614 (Bug#6183) (Bug#7074) (Bug#7447)
9615
9616 2011-10-09 Martin Rudalics <rudalics@gmx.at>
9617
9618 * window.el (frame-auto-hide-function): Add version tag.
9619 (Bug#9699)
9620
9621 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
9622
9623 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9624 condition.
9625
9626 2011-10-09 Leo Liu <sdl.web@gmail.com>
9627
9628 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9629 (Bug#9701)
9630
9631 2011-10-08 Glenn Morris <rgm@gnu.org>
9632
9633 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9634 before the first code statement zero indent. (Bug#9690)
9635
9636 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
9637
9638 * simple.el (count-words-region): Always count in the region.
9639 Report the number of lines and characters too.
9640 (count-words): New command, which counts in the buffer if the
9641 region is inactive, as count-words-region used to.
9642 (count-words--message): New function. Handle plurals.
9643 (count-lines-region): Make it an alias for count-words-region.
9644
9645 * bindings.el (esc-map): Replace count-lines-region with
9646 count-words-region.
9647
9648 2011-10-08 Martin Rudalics <rudalics@gmx.at>
9649
9650 * window.el (window--delete): Delete dedicated frame
9651 unconditionally when argument KILL is non-nil. (Bug#9699)
9652 (switch-to-buffer): Fix doc-string typo.
9653
9654 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9655
9656 * eshell/eshell.el (eshell-command): Avoid using hooks.
9657
9658 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
9659
9660 * bindings.el ([M-left],[M-right]): Bind to left-word and
9661 right-word respectively.
9662
9663 2011-10-07 Glenn Morris <rgm@gnu.org>
9664
9665 * cus-start.el (debug-on-quit): Fix custom type.
9666
9667 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9668
9669 * subr.el (define-key-after): Clarify that the function is not
9670 useful for non-menu keymaps.
9671
9672 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9673
9674 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9675
9676 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
9677 in current minibuffer (Fix bug with recursive minibuffers).
9678
9679 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
9680
9681 * progmodes/gdb-mi.el (gdb): Doc fix.
9682
9683 2011-10-05 Martin Rudalics <rudalics@gmx.at>
9684
9685 * window.el (frame-auto-hide-function): New option replacing
9686 frame-auto-delete. Suggested by Stefan Monnier.
9687 (window--delete): Call frame-auto-hide-function instead of
9688 investigating frame-auto-delete.
9689 (window-point-1, set-window-point-1): New functions.
9690 (window-in-direction, record-window-buffer, window-state-get-1)
9691 (display-buffer-record-window): Use window-point-1 instead of
9692 window-point.
9693 (set-window-buffer-start-and-point): Use set-window-point-1.
9694
9695 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9698
9699 2011-10-05 Glenn Morris <rgm@gnu.org>
9700
9701 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9702 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9703
9704 2011-10-05 Leo Liu <sdl.web@gmail.com>
9705
9706 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9707 works with buffer object.
9708
9709 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9710
9711 * mpc.el (mpc-tool-bar-map): Add labels.
9712
9713 2011-10-04 Glenn Morris <rgm@gnu.org>
9714
9715 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9716
9717 2011-10-04 Martin Rudalics <rudalics@gmx.at>
9718
9719 * window.el (window--delete): New function.
9720 (frame-auto-delete): Resuscitate option.
9721 (bury-buffer, replace-buffer-in-windows)
9722 (quit-window): Rewrite using window--delete.
9723 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9724 Pass display-buffer-mark-dedicated to window--display-buffer-2
9725 (Bug#9639).
9726
9727 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9730 returns a list (bug#9554). Add remote file name completion.
9731 * comint.el (comint--table-subvert): Curry and get quote&unquote
9732 functions as arguments.
9733 (comint--complete-file-name-data): Adjust call accordingly.
9734 * pcomplete.el (pcomplete--table-subvert): Remove.
9735 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9736
9737 * minibuffer.el (completion-table-case-fold): Use currying.
9738 (completion--styles-type, completion--cycling-threshold-type):
9739 New constants.
9740 (completion-styles, completion-category-overrides)
9741 (completion-cycle-threshold): Use them.
9742 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9743 completion-table-case-fold.
9744
9745 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
9746
9747 * minibuffer.el (completion-category-overrides): Fix type of styles
9748 and add more user friendly tags (bug#9660).
9749
9750 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9753 (mule-input-method-string): New widget.
9754 (default-input-method, language-info-custom-alist): Use it.
9755
9756 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * pcomplete.el: Require comint.
9759 (pcomplete--common-suffix): Remove.
9760 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9761 (pcomplete--table-subvert): Sync with comint--table-subvert.
9762 (pcomplete--entries): Use comint-completion-file-name-table.
9763 * comint.el (comint-unquote-filename): Simplify.
9764 (comint-completion-file-name-table): New function (bug#9616).
9765 (comint--complete-file-name-data): Use it.
9766
9767 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9768 (pcmpl-gnu-tar-buffer): Remove.
9769 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9770 around. Make sure pcomplete-suffix-list is only changed temporarily.
9771 Don't look inside the tar's file if it's too large.
9772
9773 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
9774
9775 * cus-edit.el (custom-mode-map):
9776 * epa.el (epa-key-list-mode-map):
9777 * man.el (Man-mode-map):
9778 * startup.el (splash-screen-keymap):
9779 * simple.el (special-mode-map): Use scroll-up-command and
9780 scroll-down-command.
9781
9782 * progmodes/idlw-help.el (idlwave-help-mode-map):
9783 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9784 * net/newst-plainview.el (newsticker-mode-map):
9785 * emulation/ws-mode.el (wordstar-mode-map):
9786 * emulation/vi.el (vi-com-map):
9787 * calc/calc-graph.el (calc-graph-show-dumb):
9788 * term/sun.el (terminal-init-sun):
9789 * term/ns-win.el (global-map):
9790 * progmodes/grep.el (grep-mode-map):
9791 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9792 * mail/rmail.el (rmail-mode-map):
9793 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9794
9795 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9796 custom-safe-themes as special.
9797
9798 2011-10-01 Julien Danjou <julien@danjou.info>
9799
9800 * notifications.el (notifications-notify): Fix docstring.
9801
9802 2011-10-01 Per Starbäck <per@starback.se>
9803
9804 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9805
9806 2011-09-30 Martin Rudalics <rudalics@gmx.at>
9807
9808 * startup.el (command-line-1): Fix last fix by inserting
9809 initial-scratch-message into *scratch* before displaying it.
9810 (Bug#9605) and (Bug#9636)
9811
9812 2011-09-29 Eli Zaretskii <eliz@gnu.org>
9813
9814 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9815 window is hscrolled, move by logical lines. (Bug#9607)
9816 (line-move-visual): Update the doc string to the above effect.
9817
9818 2011-09-29 Martin Rudalics <rudalics@gmx.at>
9819
9820 * window.el (display-buffer-record-window): When WINDOW is the
9821 selected window use `point' instead of `window-point'. (Bug#9626)
9822
9823 * startup.el (command-line-1): Use insert-before-markers when
9824 inserting initial-scratch-message. (Bug#9605)
9825
9826 * help.el (help-window): Remove variable.
9827
9828 2011-09-29 Glenn Morris <rgm@gnu.org>
9829
9830 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9831
9832 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
9833
9834 * descr-text.el (describe-char-categories): Accept category
9835 descriptions more than one line long.
9836
9837 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * simple.el (delete-trailing-whitespace): Fix last change.
9840
9841 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9842 Don't confuse "y => 3" as the beginning of a `y' operation.
9843
9844 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9845 object has more than 4 slots (bug#9613).
9846
9847 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
9848
9849 * subr.el (with-output-to-temp-buffer):
9850 * net/quickurl.el (quickurl, quickurl-browse-url):
9851 Fix typos in docstrings.
9852
9853 2011-09-27 Eli Zaretskii <eliz@gnu.org>
9854
9855 * minibuffer.el (completion-styles)
9856 (completion-category-overrides): Cross reference each other in doc
9857 strings.
9858
9859 2011-09-27 Glenn Morris <rgm@gnu.org>
9860
9861 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9862 to split-string. (Bug#9606)
9863
9864 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9865
9866 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9867 (bug#9615).
9868
9869 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
9870
9871 * emacs-lisp/package.el (list-packages): Fix echo area message.
9872
9873 2011-09-27 Leo Liu <sdl.web@gmail.com>
9874
9875 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9876
9877 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
9878
9879 * net/dbus.el (dbus-unregister-object): Don't release services for
9880 registered signals. (Bug#9581)
9881
9882 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9883
9884 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9885 function that picks between cfengine 2 and 3 support
9886 automatically. Update docs accordingly.
9887
9888 2011-09-22 Kenichi Handa <handa@m17n.org>
9889
9890 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9891 ZERO.
9892 (indian-itrans-v5-table-for-tamil): New variable.
9893 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9894
9895 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9896
9897 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9898 that's true if the current command involved collapsing of text.
9899 It's reset to false at the beginning of the next command.
9900 (allout-post-command-business): Move the cursor to the beginning
9901 of entry if the cursor is hidden and collapsing activity just
9902 happened.
9903
9904 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
9905
9906 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
9907 tracking (Bug#9541).
9908
9909 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
9910
9911 * net/newst-reader.el (newsticker-html-renderer)
9912 (newsticker-show-news): Automatically load html rendering package
9913 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
9914 because w3m-fill-column is let-bound" and the error "Symbol's value
9915 as variable is void: w3m-fill-column".
9916
9917 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
9920 Release services only if they are defined. (Bug#9581)
9921
9922 2011-09-23 Richard Stallman <rms@gnu.org>
9923
9924 * textmodes/paragraphs.el (forward-sentence): For backwards case,
9925 distinguish start of paragraph from start of its text.
9926
9927 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
9928
9929 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
9930 (rmail-generate-viewer-buffer): Put that hook on view buffer.
9931 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
9932
9933 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
9934
9935 * international/mule-diag.el (mule-diag): Insert a newline after
9936 each fontset description.
9937
9938 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 * simple.el (delete-trailing-whitespace):
9941 Document last change; simplify.
9942
9943 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
9944
9945 * simple.el (delete-trailing-whitespace): Also delete
9946 extra newlines at the end of the buffer.
9947
9948 * textmodes/picture.el: Make motion commands obey shift-select-mode.
9949 (picture-newline): Use forward-line so as to ignore fields.
9950
9951 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * subr.el (with-wrapper-hook): Fix edebug spec.
9954
9955 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
9957 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
9958 (bug#4538).
9959
9960 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
9961
9962 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
9963 Fix nasty bug using wrong cached values.
9964
9965 2011-09-23 Alan Mackenzie <acm@muc.de>
9966
9967 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
9968
9969 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
9970
9971 * window.el (pop-to-buffer): Ensure right window is selected if we
9972 chose another frame.
9973
9974 2011-09-22 Eli Zaretskii <eliz@gnu.org>
9975
9976 * simple.el (what-cursor-position): Use get-char-property-change
9977 and next-single-char-property-change, to be able to show display
9978 properties that come from overlays as well as text properties.
9979
9980 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
9981
9982 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
9983
9984 * cmuscheme.el (run-scheme, switch-to-scheme):
9985 * cus-edit.el (customize-group, custom-buffer-create)
9986 (customize-browse):
9987 * info.el (info):
9988 * shell.el (shell):
9989 * mail/sendmail.el (mail):
9990 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
9991
9992 2011-09-22 Richard Stallman <rms@gnu.org>
9993
9994 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
9995 move back only to line beg, don't move back over blank lines.
9996
9997 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
9998
9999 * files.el (copy-directory): Set directory attributes only in case
10000 they could be retrieved from the source directory. (Bug#9565)
10001
10002 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10003
10004 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10005 (hs-find-block-beginning, hs-hide-level-recursive):
10006 Ignore strings as well as comments. (Bug#9502)
10007
10008 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10009
10010 * progmodes/sql.el (sql-comint-postgres):
10011 Convert port number to a string. (Bug#9566)
10012
10013 2011-09-22 Martin Rudalics <rudalics@gmx.at>
10014
10015 * window.el (quit-window): Undedicate window when switching to
10016 previous buffer. Reported by Thierry Volpiatto
10017 <thierry.volpiatto@gmail.com>.
10018 (special-display-popup-frame): When popping up a new frame reset
10019 its previous buffers to nil. Simplify code.
10020
10021 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
10022
10023 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10024 and process filter, as done also in `shell-command'.
10025
10026 2011-09-21 Martin Rudalics <rudalics@gmx.at>
10027
10028 * window.el (set-window-buffer-start-and-point):
10029 Call set-window-start with NOFORCE argument t.
10030 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10031 (quit-window): Reword doc-string. Handle new format of
10032 quit-restore parameter. Don't delete window if it has a
10033 previous buffer we can show instead of the present one.
10034 (display-buffer-record-window): Rewrite using a new format for
10035 the quit-restore window parameter
10036 (special-display-popup-frame, display-buffer-same-window)
10037 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10038 (display-buffer-pop-up-window, display-buffer-use-some-window):
10039 Adapt symbol passed to display-buffer-record-window.
10040 * help.el (help-window-setup): Handle new format of quit-restore
10041 parameter.
10042
10043 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * faces.el (face-list): Fix docstring (bug#9564).
10046
10047 * window.el (display-buffer--action-function-custom-type):
10048 Don't include internal functions in the Custom interface.
10049
10050 2011-09-20 Juri Linkov <juri@jurta.org>
10051
10052 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10053 (Info-forward-node, Info-backward-node, Info-next-preorder)
10054 (Info-last-preorder): Use it. (Bug#9528)
10055
10056 2011-09-20 Juri Linkov <juri@jurta.org>
10057
10058 * info.el (Info-last-preorder): Visit last menu item only when
10059 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10060
10061 2011-09-20 Julien Danjou <julien@danjou.info>
10062
10063 * password-cache.el (password-cache-remove): Remove entries even if the
10064 value is nil, so that password with a nil value (negative caching) is
10065 possible to invalidate.
10066
10067 2011-09-20 Lawrence Mitchell <wence@gmx.li>
10068
10069 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10070 all whitespace around breakpoint. (Bug#9553)
10071 (f90-find-breakpoint): Only break at whitespace inside a comment.
10072
10073 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10074
10075 * minibuffer.el (completion-file-name-table): Keep track of errors.
10076 (completion-table-with-predicate): Handle the case where pred1 is nil.
10077 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10078
10079 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10080
10081 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10082 (debugger-return-value): Signal an error if the debugging context does
10083 not await any return value.
10084
10085 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10086 * image-mode.el (image-toggle-display-text)
10087 (image-toggle-display-image): Stay away from evil `intangible'.
10088
10089 2011-09-19 Leo Liu <sdl.web@gmail.com>
10090
10091 * replace.el (occur-revert-arguments): Make it permanent-local.
10092 (occur-mode): Don't call font-lock-defontify.
10093
10094 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
10095
10096 * net/ldap.el (ldap-search-internal): Don't push empty search
10097 result (Bug#9508).
10098
10099 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10102
10103 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10106 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10107
10108 2011-09-18 Juri Linkov <juri@jurta.org>
10109
10110 * buff-menu.el (Buffer-menu-mode-map):
10111 * dired.el (dired-mode-map):
10112 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10113 (lisp-interaction-mode-map):
10114 * emacs-lisp/package.el (package-menu-mode-map):
10115 * epa.el (epa-key-list-mode-map):
10116 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10117 (menu-bar-options-menu):
10118 * outline.el (outline-mode-menu-bar-map):
10119 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10120 * vc/vc-dir.el (vc-dir-menu-map):
10121 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10122 Capitalize non-function content words in menu item strings.
10123
10124 * dired.el (dired-mode-map): Add menu item for
10125 `image-dired-dired-toggle-marked-thumbs'.
10126
10127 2011-09-18 Juri Linkov <juri@jurta.org>
10128
10129 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10130 to `isearch-case-fold-search' and restore its original value
10131 after the `isearch-mode' call.
10132
10133 2011-09-18 Juri Linkov <juri@jurta.org>
10134
10135 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10136 because `zgrep' returns 1 for successful matches (bug#9226).
10137
10138 2011-09-18 Juri Linkov <juri@jurta.org>
10139
10140 * info.el (Info-extract-menu-node-name): Check the second match
10141 for empty string (second test-case of bug#9528).
10142 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10143 intermediate nodes to the history (first test-case of bug#9528).
10144
10145 2011-09-18 Juri Linkov <juri@jurta.org>
10146
10147 * info.el (Info-mode-syntax-table): New variable.
10148 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
10149
10150 2011-09-18 Juri Linkov <juri@jurta.org>
10151
10152 * info.el (Info-file-supports-index-cookies):
10153 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10154 outputs one more line for long file names (bug#4142).
10155
10156 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10157
10158 * newcomment.el (comment-normalize-vars): If prompting for
10159 comment-start, set comment-start-skip too (Bug#8424).
10160
10161 2011-09-18 Johan Bockgård <bojohan@gnu.org>
10162
10163 * icomplete.el: Fix previous fix of Bug#5849.
10164 (icomplete-mode): Don't set completion-show-inline-help.
10165 (icomplete-minibuffer-setup): Set completion-show-inline-help
10166 locally during icompletion.
10167
10168 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
10169
10170 * woman.el (woman2-process-escapes): Don't delete unrecognized
10171 escapes (Bug#7843).
10172
10173 * files.el (inhibit-first-line-modes-regexps): Add image files.
10174 (hack-local-variables-prop-line): Return nil for malformed
10175 prop-lines (Bug#9044).
10176
10177 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
10178
10179 * net/tramp.el (top): Don't require 'shell.
10180 (tramp-methods): Fix docstring.
10181 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
10182 Return complete remote file name. Handle "smb" case.
10183 Use `tramp-tmpdir', if defined for the respective method.
10184 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10185
10186 * net/tramp-compat.el (top): Require 'shell.
10187
10188 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10189 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10190 `tramp-current-host'.
10191 (tramp-get-remote-tmpdir): Remove.
10192
10193 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10194 `tramp-tmpdir' entries.
10195 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10196 (tramp-smb-handle-file-attributes): Ignore errors.
10197 (tramp-smb-wait-for-output): Check also for process end.
10198
10199 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10200
10201 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10202 when sending QUIT (bug#9312).
10203
10204 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
10205
10206 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10207 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10208 occur-mode-display-occurrence.
10209 (occur-edit-mode): Add usage message.
10210 (occur-cease-edit): New command.
10211 (occur-after-change-function): Use text properties to find the
10212 position of the prefix text.
10213 (occur-engine): Set stickiness of prefix text properties.
10214
10215 2011-09-17 Glenn Morris <rgm@gnu.org>
10216
10217 * progmodes/etags.el (complete-tag):
10218 Fix call to completion-in-region. (Bug#9526)
10219
10220 2011-09-17 Juri Linkov <juri@jurta.org>
10221
10222 * textmodes/ispell.el (ispell-word): Add to the error message
10223 the word, ispell program name and current dictionary (bug#9121).
10224 (ispell-tex-arg-end): Capitalize "error" in the error message.
10225
10226 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10227
10228 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10229 check. (Bug#4251)
10230
10231 2011-09-17 Juri Linkov <juri@jurta.org>
10232
10233 * window.el (window-safe-min-height, window-safe-min-width):
10234 Fix typos (followup to bug#9522).
10235
10236 2011-09-17 Sven Joachim <svenjoac@gmx.de>
10237
10238 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10239
10240 2011-09-16 Eli Zaretskii <eliz@gnu.org>
10241
10242 * simple.el (line-move): If goal-column is set, move by logical
10243 lines, not by display lines. (Bug#971)
10244 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10245 to reflect the above change.
10246
10247 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * image.el (imagemagick-register-types): Use regexp-opt.
10250
10251 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10252
10253 * window.el (display-buffer-base-action): Rename from
10254 display-buffer-default-action. Make default value empty.
10255 (display-buffer-overriding-action): Convert to defvar.
10256 (display-buffer-fallback-action): New var.
10257
10258 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
10259
10260 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10261 declaration.
10262 (package--add-to-archive-contents): If there is a duplicate entry
10263 with an older version, remove it.
10264 (package-menu-mark-delete, package-menu-mark-install)
10265 (package-menu-mark-unmark): Make unused args optional.
10266 (package-menu-mark-obsolete-for-deletion):
10267 Use package-menu-get-status instead of a regexp search.
10268 (package-menu-get-status): Use tabulated-list-entry.
10269 (package-menu-mark-upgrades): New command.
10270 (package-menu-mode-map): Bind it to U. Add it to menu bar.
10271 (package-menu-execute): Do installation before deletion.
10272 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10273 instead of checking major-mode.
10274 (package-menu--find-upgrades): New function.
10275
10276 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10277
10278 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10279 passwords in the log buffer.
10280 (smtpmail-process-filter): Update the process marker so that the
10281 "broken by peer" status message is inserted in the right place.
10282
10283 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10286 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10287 bibtex-completion-at-point-function.
10288 (bibtex-completion-at-point-function): Use them.
10289
10290 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10291
10292 * mpc.el (mpc-constraints-tag-lookup): New function.
10293 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10294 also to browser "album|playlist".
10295
10296 2011-09-14 Juri Linkov <juri@jurta.org>
10297
10298 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10299 (isearch-edit-string): Use length of `isearch-string' when
10300 `isearch-fail-pos' returns nil.
10301 (isearch-message): Remove duplicate code and call
10302 `isearch-fail-pos' with arg `t'.
10303
10304 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * replace.el (occur-mode-goto-occurrence): Don't force using other
10307 window (Bug#9499).
10308
10309 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10310
10311 2011-09-14 Martin Rudalics <rudalics@gmx.at>
10312
10313 * window.el (display-buffer-window): Remove.
10314 (display-buffer-record-window): Use help-setup window parameter
10315 instead of variable display-buffer-window.
10316 (display-buffer-function, special-display-buffer-names)
10317 (special-display-function): Mention help-setup parameter instead
10318 of display-buffer-window in doc-string.
10319 * help.el (help-window-setup): New argument help-window.
10320 Use help-window-setup parameter instead of display-buffer-window.
10321 Reword some messages.
10322 (with-help-window): Pass window used for displaying the buffer
10323 to help-window-setup. Don't set display-buffer-window.
10324
10325 2011-09-13 Glenn Morris <rgm@gnu.org>
10326
10327 * emacs-lisp/debug.el (debugger-make-xrefs):
10328 Preserve point. (Bug#9462)
10329
10330 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10331
10332 * window.el (window-deletable-p): Use next-frame.
10333
10334 2011-09-13 Martin Rudalics <rudalics@gmx.at>
10335
10336 * window.el (window-auto-delete): Remove.
10337 (window-deletable-p): Remove argument FORCE. Don't deal with
10338 dedication and previous buffers.
10339 (switch-to-prev-buffer): Don't delete window.
10340 (delete-windows-on): Delete a window's frame if and only if the
10341 window is dedicated.
10342 (replace-buffer-in-windows): Delete buffer's window or frame if
10343 and only if window is dedicated.
10344 (quit-window): Handle quit-restore as before last change.
10345 (bury-buffer): Delete window only if window-deletable-p returns t.
10346
10347 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
10348
10349 * window.el (window-deletable-p): Never delete the last frame on a
10350 given terminal.
10351
10352 2011-09-13 Glenn Morris <rgm@gnu.org>
10353
10354 * help.el (describe-key-briefly): Copy previous standard-output change.
10355
10356 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
10357
10358 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10359
10360 2011-09-13 Glenn Morris <rgm@gnu.org>
10361
10362 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10363 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10364
10365 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
10366
10367 * dired-aux.el (dired-mark-read-string): Don't return default
10368 value on empty input (Bug#9361).
10369 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10370 Omit initial minibuffer contents.
10371 (dired-do-chmod): Signal an error on empty input.
10372 (dired-mark-read-string): Don't return default on empty input.
10373
10374 * files.el (file-modes-symbolic-to-number): Doc fix.
10375
10376 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10377
10378 * international/mule-cmds.el (ucs-completions): Remove.
10379 (read-char-by-name): Use complete-with-action instead; add metadata.
10380
10381 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10382
10383 * window.el (display-buffer--action-function-custom-type)
10384 (display-buffer--action-custom-type): New vars.
10385 (display-buffer-alist, display-buffer-default-action)
10386 (display-buffer-overriding-action): Add defcustom types.
10387
10388 * frame.el (delete-other-frames): Doc fix (Bug#276).
10389
10390 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10391
10392 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10393
10394 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
10395
10396 Change modes that used same-window-* vars to use switch-to-buffer.
10397
10398 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10399 Use switch-to-buffer.
10400
10401 * cus-edit.el (customize-group, custom-buffer-create)
10402 (customize-browse, custom-buffer-create-other-window):
10403 Use switch-to-buffer or switch-to-buffer-other-window.
10404
10405 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10406 (Info-prev, Info-up, Info-speedbar-goto-node)
10407 (info-display-manual): Use switch-to-buffer.
10408 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10409
10410 * mail/sendmail.el (mail): Use switch-to-buffer.
10411 (mail-recover): Use switch-to-buffer-other-window.
10412
10413 * cmuscheme.el (run-scheme, switch-to-scheme):
10414 * ielm.el (ielm):
10415 * shell.el (shell):
10416 * net/rlogin.el (rlogin):
10417 * net/telnet.el (telnet, rsh):
10418 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10419
10420 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10421
10422 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10423
10424 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10425
10426 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10427 so don't mention it (bug#9301).
10428 (dired-sort-toggle-or-edit): Clarify string further.
10429
10430 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10431 match `x', `w32' and `ns', like the manual says (bug#9029).
10432
10433 * subr.el (eval-after-load): Doc string clarification (bug#9125).
10434 (process-kill-buffer-query-function): Mention the buffer name in
10435 the query.
10436
10437 * image-mode.el (image-next-line): The line parameter is mandatory
10438 (bug#9258).
10439
10440 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10441 which can be useful (bug#9301).
10442
10443 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10444
10445 * subr.el (match-string): Mention that the current buffer should
10446 be the same as the search was done in (bug#9282).
10447
10448 * facemenu.el: Disable the remove-* commands if the mark isn't
10449 active (bug#9162).
10450
10451 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10452
10453 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10454 of display-buffer.
10455 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10456
10457 * replace.el (occur-mode-goto-occurrence)
10458 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10459 and display-buffer.
10460
10461 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10462 display-buffer.
10463
10464 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10465 special-display and same-window variables.
10466 (mail-other-window): Use switch-to-buffer-other-window.
10467 (mail-other-frame): USe switch-to-buffer-other-frame.
10468
10469 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10470 Use display-buffer-other-frame.
10471 (gdb-display-gdb-buffer): Use pop-to-buffer.
10472
10473 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10474
10475 * progmodes/python.el: Don't set same-window-buffer-names.
10476
10477 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10478
10479 * window.el (display-buffer-alist): Add *Python*.
10480
10481 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * window.el (display-buffer-alist): Add entry for buffers
10484 previously handled same-window-*.
10485 (display-buffer-alist, display-buffer-default-action)
10486 (display-buffer-overriding-action): Mark as risky.
10487 (display-buffer-alist): Document action function changes.
10488 (display-buffer--same-window-action)
10489 (display-buffer--other-frame-action): New variables.
10490 (switch-to-buffer, display-buffer-other-frame): Use them.
10491 (display-buffer): Rename reuse-frame entry to reusable-frames.
10492 (display-buffer-reuse-selected-window): Function deleted.
10493 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10494 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10495 (display-buffer-special): New function.
10496 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10497 display-buffer-reuse-or-pop-window. Split off special-display
10498 part into display-buffer-special.
10499 (display-buffer-use-some-window): Don't perform any special
10500 pop-up-frames handling.
10501 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
10502 (display-buffer--maybe-same-window): Rename from
10503 display-buffer-maybe-same-window.
10504
10505 * info.el: Don't set same-window-regexps.
10506 (info-setup): New function.
10507 (info-other-window, info): Call it.
10508
10509 * cus-edit.el: Don't set same-window-regexps.
10510 (customize-group): New argument.
10511 (customize-group-other-window): Use it.
10512 (customize-face, customize-face-other-window): Likewise.
10513 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10514
10515 * net/rlogin.el:
10516 * net/telnet.el:
10517 * progmodes/gud.el: Don't set same-window-regexps.
10518
10519 * cmuscheme.el:
10520 * ielm.el:
10521 * shell.el:
10522 * mail/sendmail.el:
10523 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10524
10525 2011-09-10 Juri Linkov <juri@jurta.org>
10526
10527 * isearch.el (isearch-edit-string): Remove obsolete mention of
10528 `C-w' (`isearch-yank-word-or-char') from docstring.
10529 (isearch-query-replace): Fix typo in docstring (bug#9466).
10530
10531 2011-09-10 Juri Linkov <juri@jurta.org>
10532
10533 * paren.el (show-paren-function): Don't show escaped parens.
10534 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10535
10536 2011-09-10 Eli Zaretskii <eliz@gnu.org>
10537
10538 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10539 (mm-default-file-encoding): Remove autoload forms, they are
10540 replaced with autoload cookies in mml.el and mm-encode.el.
10541 (mail-add-attachment): New command.
10542 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10543 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10544 the doc string.
10545 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10546
10547 2011-09-10 Reuben Thomas <rrt@sc3d.org>
10548
10549 * simple.el (count-words-region): Use buffer if there's no region
10550 (bug#9429).
10551
10552 2011-09-09 Juri Linkov <juri@jurta.org>
10553
10554 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10555 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10556 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10557
10558 2011-09-09 Alan Mackenzie <acm@muc.de>
10559
10560 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10561 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10562
10563 2011-09-09 Eli Zaretskii <eliz@gnu.org>
10564
10565 Fix for Savannah bug#9392.
10566 * simple.el (mail-encode-mml): New defvar.
10567
10568 * mail/rmail.el (mail-encode-mml): Add a defvar.
10569 (rmail-enable-mime-composing): Default to t.
10570 (rmail-forward): Use MIME method of forwarding only if both
10571 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10572 Set mail-encode-mml non-nil if the MIME method was used.
10573
10574 * mail/sendmail.el (mml-to-mime): Add autoload form.
10575 (mail-encode-mml): Add a defvar.
10576 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10577 to nil.
10578 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10579 message through mml-to-mime, and reset mail-encode-mml to nil.
10580
10581 2011-09-09 Glenn Morris <rgm@gnu.org>
10582
10583 * woman.el (woman-if-body): When processing an .el block,
10584 do not delete the next .el block as well. (Bug#9447)
10585 (woman-special-characters): Add oq, cq, and hy characters.
10586
10587 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (window-deletable-p): Make sure window is live before
10590 invoking window-prev-buffers.
10591
10592 2011-09-08 Leo Liu <sdl.web@gmail.com>
10593
10594 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10595
10596 2011-09-08 Juri Linkov <juri@jurta.org>
10597
10598 * progmodes/compile.el (compilation-environment): Make it
10599 a defcustom (bug#8340).
10600
10601 2011-09-08 Martin Rudalics <rudalics@gmx.at>
10602
10603 * window.el (frame-auto-delete): Rename to window-auto-delete.
10604 Make it control auto-deletion of windows and/or frames.
10605 (window-deletable-p): New argument FORCE. Rewrite conditions
10606 for deleting window/frame. (Bug#9419)
10607 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10608 Rewrite handling of case when window/frame can be deleted.
10609 (delete-windows-on): Call window-deletable-p with new FORCE
10610 argument t. (Bug#9456)
10611
10612 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
10613
10614 * help-mode.el (help-mode): Restore autoload.
10615
10616 2011-09-07 Juri Linkov <juri@jurta.org>
10617
10618 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10619 `compilation-environment'. Set buffer-local
10620 `compilation-environment' to `thisenv' later after (funcall mode).
10621 (Bug#8340)
10622
10623 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10624 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10625 instead of replacing its value. (Bug#8340)
10626
10627 2011-09-07 Juri Linkov <juri@jurta.org>
10628
10629 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10630 based on text properties put by `grep-filter' instead of matching
10631 escape sequences.
10632 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10633 to the value of `grep-error-screen-columns' (bug#9438).
10634
10635 2011-09-07 Juri Linkov <juri@jurta.org>
10636
10637 * simple.el (next-error-highlight, next-error-highlight-no-select):
10638 Doc fix (bug#9432).
10639
10640 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10641
10642 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10643 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10644
10645 2011-09-07 Leo Liu <sdl.web@gmail.com>
10646
10647 * net/rcirc.el (rcirc-mode): Conditionally initialize
10648 rcirc-input-ring.
10649
10650 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * emacs-lisp/find-func.el (find-function-C-source): Only set
10653 find-function-C-source-directory after checking that we found a source
10654 file there (bug#9440).
10655
10656 2011-09-06 Alan Mackenzie <acm@muc.de>
10657
10658 * isearch.el (isearch-other-meta-char): Wherever a key list is
10659 unread, "unread" the prefix arg, too. This fixes bug #8901.
10660
10661 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10662
10663 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10664
10665 2011-09-05 Juri Linkov <juri@jurta.org>
10666
10667 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10668
10669 2011-09-05 Juri Linkov <juri@jurta.org>
10670
10671 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10672 keeping point where processing of grep matches begins, and
10673 continue to delete remaining escape sequences from the same point.
10674 (grep-filter): Make leading zero optional in "0?1;31m" because
10675 git-grep emits "\033[1;31m" escape sequences unlike expected
10676 "\033[01;31m" as GNU Grep does (bug#9408).
10677 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10678
10679 2011-09-05 Juri Linkov <juri@jurta.org>
10680
10681 * subr.el (y-or-n-p): Capitalize "yes".
10682
10683 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
10684
10685 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10686 `tramp-cache-unload-hook' where appropriate.
10687 (tramp-methods): Rename `tramp-remote-sh' to
10688 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10689 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10690
10691 * net/tramp-sh.el (top): Don't require 'shell.
10692 (tramp-methods): Add `tramp-remote-shell' and
10693 `tramp-remote-shell-args' entries.
10694 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10695 (tramp-sh-handle-shell-command): Remove.
10696 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10697 Use `tramp-remote-shell'.
10698
10699 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
10700
10701 * mail/sendmail.el (sendmail-query-once-function): Delete.
10702 (sendmail-query-once): Save directly to send-mail-function.
10703 Update message-send-mail-function too.
10704
10705 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10706
10707 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10708
10709 * progmodes/python.el (python-mode-map): Use correct function to
10710 start python interpreter from menu-bar (as reported by Geert
10711 Kloosterman).
10712 (inferior-python-mode-map): Fix typo.
10713 (python-shell-map): Remove.
10714
10715 2011-09-03 Deniz Dogan <deniz@dogan.se>
10716
10717 * net/rcirc.el (rcirc-print): Simplify code for
10718 rcirc-scroll-show-maximum-output. There is no need to walk
10719 through all windows to find the right one.
10720
10721 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10722
10723 * help.el (help-return-method): Doc fix.
10724
10725 2011-09-03 Martin Rudalics <rudalics@gmx.at>
10726
10727 * window.el (window-deletable-p): Don't return a non-nil value
10728 when there's a buffer that was shown in the window before.
10729 (Bug#9419)
10730 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10731 Set window's previous buffers to nil.
10732
10733 2011-09-03 Eli Zaretskii <eliz@gnu.org>
10734
10735 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10736 newline before and after the tag line, so it doesn't interfere
10737 with determining the paragraph direction of bidirectional text.
10738
10739 2011-09-03 Leo Liu <sdl.web@gmail.com>
10740
10741 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10742
10743 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10744
10745 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
10746 (pop-to-buffer): Change interactive spec. Pass second argument
10747 directly to display-buffer.
10748 (display-buffer): Fix interactive spec. Use functionp to
10749 distinguish between a function and a list of functions.
10750
10751 * abbrev.el (edit-abbrevs):
10752 * arc-mode.el (archive-extract):
10753 * autoinsert.el (auto-insert):
10754 * bookmark.el (bookmark-bmenu-list):
10755 * files.el (find-file):
10756 * view.el (view-buffer):
10757 * progmodes/compile.el (compilation-goto-locus):
10758 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10759
10760 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
10761
10762 * window.el (display-buffer-alist): Doc fix.
10763 (display-buffer): Add docstring. Don't treat
10764 display-buffer-default specially.
10765 (display-buffer-reuse-selected-window)
10766 (display-buffer-same-window, display-buffer-maybe-same-window)
10767 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10768 (display-buffer-pop-up-window)
10769 (display-buffer-reuse-or-pop-window)
10770 (display-buffer-use-some-window): New functions.
10771 (display-buffer-default-action): Use them.
10772 (display-buffer-default): Delete.
10773 (pop-to-buffer-1): Fix choice of actions.
10774
10775 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10776
10777 * minibuffer.el (completion--insert-strings): Don't get confused by
10778 completion entries that end with an LF char.
10779
10780 2011-09-01 Eli Zaretskii <eliz@gnu.org>
10781
10782 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10783
10784 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
10785
10786 * window.el (display-buffer): Restore interactive spec.
10787 (display-buffer-same-window, display-buffer-other-window):
10788 New functions.
10789 (pop-to-buffer-1): New function. Use the above.
10790 (pop-to-buffer, pop-to-buffer-same-window): Use it.
10791 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
10792
10793 * view.el (view-buffer-other-window, view-buffer-other-frame):
10794 Just use pop-to-buffer.
10795
10796 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10797
10798 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10799
10800 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10801
10802 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10803
10804 2011-08-31 Richard Stallman <rms@gnu.org>
10805
10806 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10807 of the separation of rmail-view-buffer from rmail-buffer.
10808 If you say no to "replace original", the decrypt is in the
10809 view buffer. If you say yes, the decrypt goes into the
10810 rmail buffer also.
10811
10812 2011-08-31 Martin Rudalics <rudalics@gmx.at>
10813
10814 * window.el (display-buffer-window): Rewrite doc-string.
10815 (display-buffer-record-window): New function.
10816 (display-buffer-macro-specifiers)
10817 (display-buffer-even-window-sizes, display-buffer-set-height)
10818 (display-buffer-set-width, display-buffer-in-window)
10819 (display-buffer-reuse-window, display-buffer-split-specifiers)
10820 (display-buffer-side-specifiers, display-buffer-split-window-1)
10821 (display-buffer-split-window, display-buffer-split-atom-window)
10822 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10823 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10824 (display-buffer-other-window-means-other-frame)
10825 (display-buffer-normalize-special)
10826 (display-buffer-normalize-default)
10827 (display-buffer-normalize-argument)
10828 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10829 (display-buffer-normalize-specifiers, display-buffer-frame)
10830 (display-buffer-same-window, display-buffer-same-frame)
10831 (display-buffer-other-window)
10832 (display-buffer-same-frame-other-window)
10833 (display-buffer-other-frame, pop-to-buffer-same-window)
10834 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10835 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10836 (switch-to-buffer-same-frame)
10837 (switch-to-buffer-other-window-same-frame)
10838 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10839 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10840 (display-buffer-alist-set): Remove.
10841 (display-buffer-function, special-display-buffer-names)
10842 (special-display-regexps, special-display-function):
10843 In doc-string refer to display-buffer-window and quit-restore
10844 parameter.
10845 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10846 (special-display-frame-alist, special-display-popup-frame)
10847 (same-window-buffer-names, same-window-regexps, same-window-p)
10848 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10849 (split-window-preferred-function, split-height-threshold)
10850 (split-width-threshold, window-splittable-p)
10851 (split-window-sensibly, window--try-to-split-window)
10852 (window--frame-usable-p, even-window-heights)
10853 (window--even-window-heights, window--display-buffer-1)
10854 (window--display-buffer-2, display-buffer-other-frame):
10855 Restore old Emacs 23 code, order and doc-strings where applicable.
10856 (display-buffer-default, display-buffer-assq-regexp): New functions.
10857 (display-buffer-alist): Rewrite doc-string.
10858 (display-buffer-default-action)
10859 (display-buffer-overriding-action): New variables.
10860 (display-buffer, switch-to-buffer): Rewrite.
10861 (pop-to-buffer): Restore Emacs 23 behavior but use
10862 window-normalize-buffer-to-display.
10863 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10864 Restore Emacs 23 behavior but use
10865 window-normalize-buffer-to-switch-to.
10866 (pop-to-buffer-same-window): Rewrite.
10867 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10868 Rewrite using Emacs 23 options.
10869
10870 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
10871
10872 * net/tramp.el (tramp-root-regexp): Remove.
10873 (tramp-completion-file-name-regexp-unified)
10874 (tramp-completion-file-name-regexp-separate)
10875 (tramp-completion-file-name-regexp-url): Don't use leading volume
10876 letter on w32 systems. (Bug#5303, Bug#9311)
10877 (tramp-drop-volume-letter): Simplify definition.
10878 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
10879
10880 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10883 (bug#9356).
10884
10885 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10886
10887 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
10888
10889 2011-08-29 Juri Linkov <juri@jurta.org>
10890
10891 * isearch.el (isearch-done): Don't display message "Mark saved"
10892 when arg `edit' is non-nil to prevent its flicker in the echo area.
10893
10894 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10895
10896 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10897 obsolete packages for deletion.
10898
10899 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
10900
10901 * help-mode.el (help-mode-map): Add special-mode-map to parent.
10902 (help-mode): Derive help-mode from special-mode. Don't invoke
10903 view-mode from help-mode.
10904 (help-xref-override-view-map): Remove.
10905 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
10906 view-mode is not used anymore.
10907
10908 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
10909
10910 * server.el (server-port): Doc fix.
10911
10912 * cus-theme.el (custom-theme-choose-mode): Inherit from
10913 special-mode (Bug#9124).
10914 (custom-theme-choose-mode-map): Add special-mode to parent.
10915
10916 2011-08-28 Alan Mackenzie <acm@muc.de>
10917
10918 * progmodes/cc-fonts.el
10919 (c-make-font-lock-BO-decl-search-function): New function.
10920 (c-basic-matchers-after - "Fontify the clauses after various
10921 keywords"): Extract the three keyword lists for the 3 erroneous
10922 constructs from the list of four, and use the new function above
10923 in place of an old one.
10924
10925 2011-08-28 Deniz Dogan <deniz@dogan.se>
10926
10927 * net/rcirc.el (rcirc-insert-prev-input)
10928 (rcirc-insert-next-input): Remove unused argument.
10929
10930 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
10933
10934 2011-08-27 Alan Mackenzie <acm@muc.de>
10935
10936 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
10937 handle function pointer parameters properly.
10938
10939 2011-08-27 Martin Rudalics <rudalics@gmx.at>
10940
10941 * window.el (display-buffer-reuse-window): Fix case where
10942 selected window was reused with non-nil OTHER-WINDOW argument.
10943 (Bug#9381)
10944
10945 2011-08-27 Deniz Dogan <deniz@dogan.se>
10946
10947 * net/rcirc.el (rcirc-check-auth-status): Adding support for
10948 oftc's NickServ messages.
10949
10950 2011-08-27 Glenn Morris <rgm@gnu.org>
10951
10952 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
10953
10954 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
10955
10956 * emacs-lisp/package.el (package-install): Call package-initialize
10957 if called interactively.
10958
10959 2011-08-26 Leo Liu <sdl.web@gmail.com>
10960
10961 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
10962
10963 2011-08-25 Juri Linkov <juri@jurta.org>
10964
10965 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10966 `search-whitespace-regexp' (bug#9364).
10967
10968 2011-08-25 Juri Linkov <juri@jurta.org>
10969
10970 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
10971 `regexp-search-ring' to their global values to protect from
10972 updating by `read-from-minibuffer' (bug#9185).
10973
10974 2011-08-25 Juri Linkov <juri@jurta.org>
10975
10976 * textmodes/ispell.el (ispell-command-loop): Add newline
10977 at the end of the "Use option `i'..." line.
10978
10979 2011-08-25 Juri Linkov <juri@jurta.org>
10980
10981 * battery.el (display-battery-mode): If `battery-status-function'
10982 or `battery-mode-line-format' is nil, display the message and set
10983 `display-battery-mode' to nil (bug#9363).
10984
10985 2011-08-25 Eli Zaretskii <eliz@gnu.org>
10986
10987 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
10988 bidi-string-mark-left-to-right; they are unnecessary now.
10989
10990 2011-08-25 Deniz Dogan <deniz@dogan.se>
10991
10992 * net/quickurl.el: Documentation typo fixes.
10993
10994 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
10995
10996 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
10997
10998 2011-08-25 Glenn Morris <rgm@gnu.org>
10999
11000 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11001
11002 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11003 (smtpmail-via-smtp): Handle nil response from smtp.
11004
11005 2011-08-24 Juri Linkov <juri@jurta.org>
11006
11007 * proced.el (proced-marked): Inherit from `error' instead of
11008 `font-lock-warning-face'.
11009
11010 * ibuffer.el (ibuffer-marked-face): Change default face from
11011 `font-lock-warning-face' to `warning'.
11012 (ibuffer-deletion-face): Change default face from
11013 `font-lock-type-face' to `error'.
11014
11015 * battery.el (battery-update): Use the face `error' instead of
11016 `font-lock-warning-face' (bug#6117).
11017
11018 2011-08-24 Juri Linkov <juri@jurta.org>
11019
11020 * faces.el (success): Change face color from "Green3" to
11021 "ForestGreen" on light background (bug#9353).
11022
11023 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
11024
11025 * window.el (quit-window): Rename from quit-restore-window.
11026 Use same arglist as old quit-window.
11027 (frame-auto-delete): Doc fix.
11028
11029 * view.el (view-mode-exit): Use quit-window.
11030
11031 2011-08-24 Juri Linkov <juri@jurta.org>
11032
11033 * isearch.el (isearch-ring-adjust1): Start visiting previous
11034 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11035 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11036 for empty search string (when the last search string is reused
11037 automatically) to adjust the isearch ring to the last element and
11038 prepare the correct index for further M-p commands (bug#9185).
11039
11040 2011-08-24 Kenichi Handa <handa@m17n.org>
11041
11042 * international/ucs-normalize.el: If decomposition property of
11043 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11044 nil.
11045 (nfd, nfkd): Likewise.
11046
11047 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11050 from process filters aren't reliably transmitted to the surrounding
11051 accept-process-output.
11052 (mpc-proc-check): New function.
11053 (mpc-proc-sync): Use it (bug#8293)
11054
11055 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11058 Add compatibility functions (bug#9313).
11059
11060 2011-08-23 Eli Zaretskii <eliz@gnu.org>
11061
11062 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11063
11064 * international/uni-bidi.el: Regenerate.
11065
11066 2011-08-23 Kenichi Handa <handa@m17n.org>
11067
11068 * international/charprop.el:
11069 * international/uni-bidi.el:
11070 * international/uni-category.el:
11071 * international/uni-combining.el:
11072 * international/uni-comment.el:
11073 * international/uni-decimal.el:
11074 * international/uni-decomposition.el:
11075 * international/uni-digit.el:
11076 * international/uni-lowercase.el:
11077 * international/uni-mirrored.el:
11078 * international/uni-name.el:
11079 * international/uni-numeric.el:
11080 * international/uni-old-name.el:
11081 * international/uni-titlecase.el:
11082 * international/uni-uppercase.el: Regenerate.
11083
11084 2011-08-23 Martin Rudalics <rudalics@gmx.at>
11085
11086 * help.el (help-window-setup): Fix message displayed when other
11087 window is reused. (Bug#9341)
11088
11089 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11090
11091 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11092 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11093
11094 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11095 Mark obsolete.
11096 * shell.el (shell-parse-pcomplete-arguments): New function.
11097 (shell-completion-vars): Use it instead (bug#9160).
11098
11099 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11100
11101 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11102 strings and comments (bug#9333).
11103
11104 * emacs-lisp/debug.el (debug-arglist): New function.
11105 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11106 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11107
11108 2011-08-22 Juri Linkov <juri@jurta.org>
11109
11110 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11111 Revert regexp that highlights output switches to its old
11112 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11113
11114 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11115 to check for empty output (bug#9226).
11116
11117 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
11118
11119 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11120 symbol-constituent as the default, as that stops font-lock from
11121 working properly (Bug#8843).
11122
11123 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11124
11125 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11126 `coding-system-for-*' around the process open call to avoid
11127 auth-source side effects.
11128 (smtpmail-try-auth-methods): Expand the secret password.
11129 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11130 probe hangs.
11131
11132 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11133
11134 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11135
11136 * emacs-lisp/find-func.el (find-function-noselect): New arg
11137 lisp-only.
11138
11139 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11140 signal an error for built-in functions (Bug#6664).
11141
11142 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11143
11144 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11145 (smtpmail-try-auth-methods): Use it.
11146
11147 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
11148
11149 * font-lock.el (font-lock-fontify-region)
11150 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11151 (font-lock-default-unfontify-buffer)
11152 (font-lock-default-fontify-region)
11153 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11154
11155 * progmodes/compile.el (compilation-error-properties):
11156 Fix confusion between file struct and message struct (Bug#9319).
11157 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11158 `ant' regexp.
11159
11160 * net/browse-url.el (browse-url-firefox): Don't call
11161 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11162
11163 2011-08-20 Glenn Morris <rgm@gnu.org>
11164
11165 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11166
11167 * tutorial.el (tutorial--default-keys): Update some default bindings.
11168
11169 * files.el (hack-local-variables): Fully ignore case for "mode:".
11170
11171 2011-08-20 Alan Mackenzie <acm@muc.de>
11172
11173 Resolve invalid use of a regexp in regexp-opt.
11174
11175 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11176 detection for a java annotation.
11177
11178 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
11179 detection for a java annotation.
11180
11181 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11182 handling for java.
11183 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11184
11185 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
11186
11187 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11188 (Bug#9274).
11189
11190 2011-08-20 Alan Mackenzie <acm@muc.de>
11191
11192 Fontify CPP expressions correctly when starting in the middle of
11193 such a construct. Mainly for when jit-lock etc. starts a chunk
11194 here.
11195
11196 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
11197 variable.
11198 (c-make-font-lock-search-form): New function, extracted from
11199 c-make-font-lock-search-function.
11200 (c-make-font-lock-search-function): Use the above function.
11201 (c-make-font-lock-context-search-function): New function.
11202 (c-cpp-matchers): Enhance the preprocessor expression case with
11203 the above function
11204 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11205 which takes an expression.
11206
11207 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11208
11209 2011-08-20 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (display-buffer-reuse-window)
11212 (display-buffer-pop-up-window): Don't reuse or split a side
11213 window.
11214
11215 2011-08-19 Glenn Morris <rgm@gnu.org>
11216
11217 * files.el (hack-local-variables-prop-line, hack-local-variables):
11218 Downcase "Mode:". (Bug#9331)
11219
11220 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
11221
11222 * international/characters.el: Add L and R categories.
11223
11224 * subr.el (bidi-string-mark-left-to-right): Rename from
11225 string-mark-left-to-right. Use category search.
11226
11227 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11228
11229 2011-08-18 Juri Linkov <juri@jurta.org>
11230
11231 * faces.el (error, warning, success): New faces with definitions
11232 copied from old default values of `font-lock-warning-face',
11233 `compilation-warning', `compilation-info' (bug#6117).
11234
11235 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11236
11237 * progmodes/compile.el (compilation-error): Inherit from `error'.
11238 (compilation-warning): Inherit from `warning'.
11239 (compilation-info): Inherit from `success'.
11240
11241 * dired.el (dired-marked): Inherit from `warning'.
11242 (dired-flagged): Inherit from `error'.
11243
11244 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11245
11246 * mail/smtpmail.el (auth-source): Require to avoid problems with
11247 binding variables (bug#9298). Also clean up some unused
11248 autoloads.
11249
11250 * net/network-stream.el (network-stream-open-starttls):
11251 Support using starttls.el without using gnutls-cli.
11252
11253 2011-08-17 Juri Linkov <juri@jurta.org>
11254
11255 * progmodes/grep.el (rgrep): Handle the case when
11256 `grep-find-command' is a cons cell (bug#9278).
11257
11258 2011-08-17 Martin Rudalics <rudalics@gmx.at>
11259
11260 * window.el (display-buffer-pop-up-frame): Run frame creation
11261 function with BUFFER current (as special-display-popup-frame
11262 does). Reported by Drew Adams.
11263
11264 2011-08-17 Daiki Ueno <ueno@unixuser.org>
11265
11266 * epa-mail.el: Simplify GnuPG group expansion using
11267 epg-expand-group.
11268 (epa-mail-group-alist, epa-mail-group-modtime)
11269 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11270 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11271 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11272 Remove.
11273
11274 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
11275
11276 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11277
11278 2011-08-16 Alan Mackenzie <acm@muc.de>
11279
11280 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11281 Correct, to avoid the inside of macros.
11282
11283 2011-08-16 Richard Stallman <rms@gnu.org>
11284
11285 * epa-mail.el: Handle GnuPG group definitions.
11286 (epa-mail-group-alist, epa-mail-group-modtime)
11287 (epa-mail-gnupg-conf-file): New variables.
11288 (epa-mail-parse-groups, epa-mail-sync-groups)
11289 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11290 (epa-mail-expand-recipients): New functions.
11291 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11292
11293 * mail/rmail.el (rmail-epa-decrypt): New command.
11294
11295 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11296 Don't bind buffer-read-only, just inhibit-read-only.
11297 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11298 (epa-decrypt-armor-in-region): Make error message clearer.
11299
11300 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11303 and "a2b" to "ab" for `prefix'.
11304
11305 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
11306
11307 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11308 filter groups.
11309 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11310 Fourquet (Bug#8804).
11311
11312 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * startup.el (argi): Declare as global variable (bug#9275).
11315
11316 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
11317
11318 * subr.el (string-mark-left-to-right): Search the entire string
11319 for RTL script, not just the terminating character. Doc fix.
11320
11321 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11324 New function.
11325 (js--regexp-literal, js-syntax-propertize-function): Remove.
11326 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11327 (js-mode-map): Don't rebind electric keys.
11328 (js-insert-and-indent): Remove.
11329 (js-mode): Setup electric-layout and electric-indent instead.
11330
11331 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11332
11333 2011-08-12 Daiki Ueno <ueno@unixuser.org>
11334
11335 * epa.el (epa-progress-callback-function): Fix the logic of
11336 displaying progress.
11337 * epa-file.el (epa-file-insert-file-contents): Make progress
11338 display more user-friendly.
11339 (epa-file-write-region): Ditto.
11340
11341 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
11342
11343 * subr.el (string-mark-left-to-right): New function.
11344
11345 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11346 Use string-mark-left-to-right.
11347 (list-buffers-noselect): Caller changed.
11348
11349 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11350 Use string-mark-left-to-right.
11351 (tabulated-list-print): Recenter after moving point.
11352
11353 2011-08-10 Juri Linkov <juri@jurta.org>
11354
11355 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11356 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11357 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11358
11359 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
11360
11361 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11362 (Bug#7554).
11363
11364 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11365
11366 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11367 character. (Bug#6594)
11368
11369 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
11370
11371 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11372 (image-dired--with-db-file): New macro.
11373 (image-dired-write-tags, image-dired-remove-tag)
11374 (image-dired-create-gallery-lists, image-dired-write-comments)
11375 (image-dired-get-comment, image-dired-mark-tagged-files)
11376 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11377 (image-dired-gallery-generate): Use insert-file-contents.
11378
11379 * time.el (display-time-world-list, display-time-world-display):
11380 * time-stamp.el (time-stamp-string):
11381 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11382 set-time-zone-rule (Bug#7337).
11383
11384 2011-08-08 Daiki Ueno <ueno@unixuser.org>
11385
11386 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11387 (epg-error-to-string, epg-errors-to-string): New function.
11388 (epg-wait-for-completion): Reverse errors list.
11389 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11390 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11391 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11392 (epg-sign-keys, epg-generate-key-from-file)
11393 (epg-generate-key-from-string): Format errors by using
11394 epg-errors-to-string (bug#9255).
11395 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11396
11397 2011-08-07 Juri Linkov <juri@jurta.org>
11398
11399 * faces.el (list-faces-display): Remove extra angle bracket
11400 from `help-mode-map'.
11401
11402 * info.el (Info-history-toc-nodes): Doc fix.
11403
11404 * longlines.el (longlines-mode): Doc fix.
11405
11406 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11409 of statements and in a few more cases (bug#9183).
11410
11411 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11412 New functions.
11413 (cl-transform-lambda): Use them (bug#9239).
11414
11415 2011-08-05 Martin Rudalics <rudalics@gmx.at>
11416
11417 * window.el (display-buffer-same-window)
11418 (display-buffer-same-frame, display-buffer-other-window)
11419 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11420 (pop-to-buffer-other-window)
11421 (pop-to-buffer-same-frame-other-window)
11422 (pop-to-buffer-other-frame): Make them defuns.
11423 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11424
11425 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * subr.el (make-composed-keymap): Move from C. Change calling
11428 convention, and improve docstring to bring attention to a subtle point.
11429 * minibuffer.el (completing-read-default): Adjust accordingly.
11430
11431 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
11432
11433 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11434 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11435
11436 * net/trampver.el: Update release number.
11437
11438 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11439
11440 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11441 "in" (bug#9190).
11442
11443 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11444
11445 * mail/sendmail.el (sendmail-query-once): Restore the current
11446 buffer after querying (bug#9074).
11447
11448 * dired.el (dired-flagged): Use different faces for marked and
11449 flagged files (bug#6117).
11450
11451 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11452 (bug#4433).
11453
11454 * ido.el (ido-mode): Switch off the message if called
11455 non-interactively.
11456
11457 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11458 before 587, since it appears that that's more likely to work for
11459 more people.
11460
11461 * cus-edit.el (custom-file): When running under emacs -q, always
11462 refuse to save the customizations, even if the .emacs file doesn't
11463 exist.
11464
11465 * info.el: Remove the `Info-beginning-of-buffer' function
11466 (bug#8325).
11467
11468 * net/network-stream.el (network-stream-open-starttls):
11469 Use `starttls-available-p' to see whether starttls.el can be used.
11470
11471 2011-08-01 Martin Rudalics <rudalics@gmx.at>
11472
11473 * window.el (display-buffer-in-window): Don't set dedicated status
11474 of window here (Bug#9215).
11475 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11476 (display-buffer-pop-up-side-window)
11477 (display-buffer-in-side-window): Set dedicated status of window here.
11478
11479 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11482 before binding generated-autoload-file.
11483
11484 2011-08-01 Deniz Dogan <deniz@dogan.se>
11485
11486 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11487
11488 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
11489
11490 Sync with Tramp 2.2.2.
11491
11492 * net/trampver.el: Update release number.
11493
11494 2011-07-30 Juri Linkov <juri@jurta.org>
11495
11496 * dired-aux.el (dired-touch-initial): Remove function.
11497 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11498 current time, and `default' to the last modification time of the
11499 current marked file (bug#6887).
11500
11501 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11502
11503 * simple.el (goto-line): Use string-to-number to provide a
11504 numeric argument to read-number (bug#9163).
11505
11506 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
11507
11508 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11509 connection process, it could be nil.
11510
11511 2011-07-27 Leo Liu <sdl.web@gmail.com>
11512
11513 Simplify url handling in rcirc-mode.
11514
11515 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11516 (rcirc-browse-url-at-mouse): Remove.
11517 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11518
11519 2011-07-26 Alan Mackenzie <acm@muc.de>
11520
11521 Fontify bitfield declarations properly.
11522
11523 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11524 (c-symbol-chars): Now exported as a lang variable.
11525 (c-not-primitive-type-keywords): New lang variable.
11526
11527 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11528 QT keyword "more" to prevent "more slots: ...." being spuriously
11529 parsed as a bitfield declaration.
11530
11531 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11532 Refactor and enhance to handle bitfield declarations.
11533 (c-punctuation-in): New function.
11534 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11535 declarations properly.
11536
11537 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
11538
11539 * calendar/icalendar.el (icalendar--all-events): Take care of
11540 multiple vcalendars in a single file.
11541 (icalendar--convert-float-to-ical): Checkdoc fixes.
11542
11543 2011-07-25 Deniz Dogan <deniz@dogan.se>
11544
11545 * image.el (insert-image): Clarifying docstring.
11546
11547 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
11548
11549 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11550 `tramp-send-command-and-check' if there is no error.
11551 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11552
11553 2011-07-22 Alan Mackenzie <acm@muc.de>
11554
11555 Prevent cc-langs.elc being loaded at run time.
11556
11557 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11558 cc-langs.
11559
11560 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
11561 "(require 'cc-langs)". Quote a form so it will evaluate at
11562 (cc-mode's) compilation time.
11563
11564 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
11565
11566 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11567 loading. (Bug#9114)
11568
11569 2011-07-21 Martin Rudalics <rudalics@gmx.at>
11570
11571 * window.el (display-buffer-pop-up-window)
11572 (display-buffer-pop-up-side-window)
11573 (display-buffer-in-side-window): Call display-buffer-set-height
11574 and display-buffer-set-width after setting the new window's
11575 buffer so `fit-window-to-buffer' and friends work on the right buffer.
11576
11577 2011-07-20 Sam Steingold <sds@gnu.org>
11578
11579 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11580 (etags-tags-included-tables): Call `convert-standard-filename' on
11581 the file names contained in TAGS so that windows Emacs can handle
11582 TAGS files created by cygwin ctags.
11583
11584 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11585
11586 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11587 which apparently didn't work.
11588
11589 2011-07-19 Roland Winkler <winkler@gnu.org>
11590
11591 * proced.el (proced-send-signal): For *Marked Processes* buffer
11592 put point at beginning of buffer.
11593
11594 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
11595
11596 * proced.el (proced-format): Make header lines align with the text
11597 (bug#1779).
11598
11599 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11600
11601 * view.el (view-buffer): Allow running in `special' modes if we're
11602 visiting a file (bug#8615).
11603
11604 2011-07-19 Martin Rudalics <rudalics@gmx.at>
11605
11606 * window.el (display-buffer-alist-of-strings-p)
11607 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11608 New functions.
11609 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11610 more accurately.
11611
11612 2011-07-18 Alan Mackenzie <acm@muc.de>
11613
11614 Fontify declarators properly when, e.g., a jit-lock chunk begins
11615 inside a declaration.
11616
11617 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11618
11619 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11620 New function.
11621 (c-complex-decl-matchers): Insert reference to
11622 c-font-lock-enclosing-decls.
11623
11624 * progmodes/cc-engine.el (c-backward-single-comment):
11625 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11626 to nil around calls to (forward-comment -1).
11627
11628 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11629
11630 * image.el (put-image): Doc typo fix.
11631
11632 * progmodes/etags.el (tags-search): Doc typo fix.
11633
11634 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11635 password if we get errors 550 to 554.
11636
11637 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11638
11639 * net/gnutls.el (gnutls-log-level): Remove.
11640
11641 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11642 indentation character (bug#6380).
11643
11644 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11645
11646 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11647 to clarify what the problem is (bug#4291).
11648
11649 * simple.el (current-kill): Clarify what
11650 `interprogram-paste-function' does (bug#7500).
11651 (auto-fill-mode): Document `auto-fill-function' in relation to
11652 `auto-fill-mode' (bug#2470).
11653
11654 2011-07-16 Lawrence Mitchell <wence@gmx.li>
11655
11656 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11657 method if slot is read-only (bug#9035).
11658
11659 2011-07-16 Martin Rudalics <rudalics@gmx.at>
11660
11661 * frame.el (select-frame-set-input-focus): New argument NORECORD.
11662 * window.el (pop-to-buffer): Select window used even if it was
11663 selected before, see discussion of (Bug#8615), (Bug#6954).
11664 Pass argument NORECORD on to select-frame-set-input-focus.
11665
11666 2011-07-15 Glenn Morris <rgm@gnu.org>
11667
11668 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
11669 Respect help-form.
11670
11671 2011-07-09 Lawrence Mitchell <wence@gmx.li>
11672
11673 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11674 (gnutls-negotiate): Use it.
11675
11676 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11677
11678 * net/gnutls.el (gnutls-negotiate):
11679 Upcase `gnutls-algorithm-priority'.
11680
11681 2011-07-15 Glenn Morris <rgm@gnu.org>
11682
11683 * jka-compr.el (jka-compr-verbose): Move from here...
11684 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11685 Add missing :version tag.
11686 * info.el: No need to require jka-compr when compiling.
11687
11688 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11689
11690 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11691 (gnutls-negotiate): Use it.
11692
11693 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11694
11695 * info.el (Info-beginning-of-buffer): New command.
11696 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11697 announcing `b' as the key (bug#8325).
11698 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
11699
11700 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11701
11702 * international/mule-cmds.el
11703 (describe-specified-language-support): Make the error message
11704 clearer (bug#8905).
11705
11706 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11707
11708 * isearch.el (isearch-barrier): Add a doc string, since it's
11709 mentioned in a function doc string (bug#8678).
11710
11711 2011-07-15 Martin Rudalics <rudalics@gmx.at>
11712
11713 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11714 buffer argument (Bug#9083) and self-identifying label argument.
11715
11716 2011-07-15 Glenn Morris <rgm@gnu.org>
11717
11718 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11719
11720 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11721
11722 * man.el (Man-fontify-manpage): Fix message when formatting the
11723 man page (bug#7929).
11724
11725 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11726
11727 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11728 argument LRM; if non-nil, append an invisible LRM character to the
11729 buffer name.
11730 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11731 last argument non-nil, when formatting buffer names.
11732 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11733 paragraph direction.
11734
11735 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736
11737 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11738 the man page name (bug#7929).
11739
11740 * image.el (put-image): Mention the `put-image' overlay property
11741 (bug#7834).
11742
11743 * scroll-bar.el (set-scroll-bar-mode): Mention that
11744 `scroll-bar-mode' lists the values (bug#7772).
11745
11746 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11747 command (bug#7729).
11748
11749 * rect.el (apply-on-rectangle): Return the point after the last
11750 operation.
11751 (string-rectangle): Go to the point after the last operation
11752 (bug#7522).
11753
11754 * printing.el (pr-toggle-region): Clarify the documentation
11755 slightly (bug#7493).
11756
11757 * time.el (display-time-update):
11758 Allow `display-time-mail-function' to return nil (bug#7158).
11759 Fix suggested by Detlev Zundel.
11760
11761 * vc/diff.el (diff): Clarify the order the file names are read
11762 (bug#7111).
11763
11764 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11765 the doc string (bug#7015).
11766
11767 * font-lock.el (font-lock-maximum-decoration): Mention what
11768 numeric levels mean (bug#6935).
11769
11770 * startup.el (initial-buffer-choice): Don't mention the `none'
11771 selection, which is against policy.
11772
11773 2011-07-14 Martin Rudalics <rudalics@gmx.at>
11774
11775 * window.el (display-buffer-normalize-special):
11776 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
11777
11778 2011-07-14 Eli Zaretskii <eliz@gnu.org>
11779
11780 * subr.el (version<, version<=, version=): Mention "-CVS" and
11781 "-12345" alpha version numbers.
11782
11783 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11784
11785 * bindings.el: Add advertised binding for set-mark-command
11786 (Bug#5772).
11787
11788 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
11789
11790 * bindings.el (mode-line-other-buffer):
11791 * bookmark.el (bookmark-bmenu-2-window):
11792 * bs.el (bs-cycle-next, bs-cycle-previous):
11793 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11794 switch-to-buffer.
11795
11796 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
11797 Delete.
11798
11799 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
11800
11801 * follow.el (follow-debug-message, follow-redisplay):
11802 * jka-cmpr-hook.el (with-auto-compression-mode):
11803 Fix typos in docstrings.
11804
11805 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806
11807 * subr.el (with-silent-modifications): Clarify somewhat what the
11808 macro inhibits (bug#6525).
11809
11810 * simple.el (eval-expression): Note what it does if called
11811 interactively (bug#6495).
11812
11813 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11814
11815 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11816 Use pop-to-buffer buffer-or-name if it is nil.
11817
11818 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11819 Remove switch-to-buffer.
11820
11821 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11822
11823 * files.el (make-directory): Clarify that an error will be raised
11824 if there's an error (bug#6397).
11825
11826 * startup.el (initial-buffer-choice): Add `none' as a choice
11827 (bug#6234).
11828
11829 * subr.el (add-hook): Clarify section about buffer-local hooks
11830 (bug#6218).
11831
11832 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11833
11834 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * tabify.el (untabify): Preserve the current column so that point
11837 doesn't move (bug#6032).
11838
11839 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840
11841 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11842 Rewrite to avoid awkward possessive "s" (bug#5986).
11843
11844 2011-07-13 Glenn Morris <rgm@gnu.org>
11845
11846 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11847 (dired-insert-directory): Give a message the first time
11848 if ls is found not to support --dired.
11849
11850 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11851
11852 * simple.el (toggle-truncate-lines): Clarify what is toggled
11853 (bug#5580). Text by Drew Adams.
11854
11855 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
11856
11857 * simple.el (blink-matching-open): Make the error message from the
11858 last change less verbose.
11859
11860 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11861
11862 * font-lock.el (font-lock-comment-face): Use the high contrast
11863 "yellow" color for font-lock-comment-face on low color terminals
11864 using a dark background color (bug#4221).
11865
11866 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11867
11868 * dired.el (dired-insert-set-properties): Make the doc string
11869 reflect what it does now (bug#5325).
11870
11871 * simple.el (blink-matching-open): Say that we were unable to find
11872 the match within the limit, if we're limited (bug#5122).
11873
11874 * international/mule-cmds.el (prefer-coding-system): Add an
11875 example (bug#4869).
11876
11877 * progmodes/etags.el (tags-search): Document `file-list-form'
11878 (bug#4731).
11879
11880 2011-07-13 Lawrence Mitchell <wence@gmx.li>
11881
11882 * net/browse-url.el (browse-url-default-browser)
11883 (browse-url-browser-function): Make the default browser choice a
11884 bit more logical (bug#4300). Also clean up the doc string.
11885
11886 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11889 binary endings (bug#4440).
11890
11891 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
11893 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11894 which can be pretty annoying (bug#8971).
11895
11896 * jka-compr.el (jka-compr-verbose): New variable, and use
11897 throughout (bug#8971).
11898
11899 * info.el (Info-find-file): Fall back on the installation
11900 directory if we can't find the info node anywhere else.
11901
11902 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
11903
11904 * vc/vc.el (vc-revert-file):
11905 Don't set file time-stamp in the past. (Bug#5181)
11906
11907 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11908
11909 * files.el (after-find-file): Give a better error message when
11910 trying to find a symlink that points to a file that doesn't exist
11911 (bug#4398).
11912
11913 * progmodes/cc-vars.el: Remove (probably) misleading comment
11914 (bug#4396).
11915
11916 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11917
11918 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
11919
11920 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11921
11922 * mouse-sel.el: Hack restoring functionality, while keeping
11923 compatibility with 2010-07-03 changes to mouse selection.
11924 (mouse-sel-primary-overlay): New var.
11925 (mouse-sel-selection-alist): Use it.
11926 (mouse-sel-mode): Doc fix; remove points that are default features
11927 of mouse.el.
11928
11929 2011-07-12 Johan Bockgård <bojohan@gnu.org>
11930
11931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11932 Fix previous fix (bug#2490).
11933
11934 2011-07-12 Roland Winkler <winkler@gnu.org>
11935
11936 * textmodes/bibtex.el (bibtex-initialize):
11937 Use pop-to-buffer-same-window.
11938 (bibtex-search-entries): Fix interactive call.
11939
11940 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11941
11942 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11943 Fontise bytecomp Error lines more correctly (bug#2490).
11944 Fix suggested by Johan Bockgård.
11945
11946 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
11947
11948 * dired-x.el (dired-guess-default): Use `delete-dups'.
11949
11950 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
11951
11952 * dired.el (dired-mark-prompt):
11953 * dired-aux.el (dired-read-shell-command): Doc fix.
11954
11955 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11956
11957 * mail/sendmail.el (sendmail-query-once):
11958 Use `customize-save-variable' unconditionally, now that it works under
11959 emacs -Q.
11960
11961 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
11962
11963 * cus-edit.el (custom-file): Take an optional no-error variable.
11964 (customize-save-variable): Set the variable, and give a warning if
11965 running under "emacs -q".
11966
11967 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * loadhist.el (unload-feature-special-hooks):
11970 Add `auto-coding-functions', `fill-nobreak-predicate' and
11971 `find-directory-functions' (bug#5327).
11972
11973 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11974
11975 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
11976
11977 * cus-edit.el (custom-guess-name-alist): -alist variables should
11978 use the `alist' type (bug#3120). Suggested by Drew Adams.
11979
11980 * printing.el: Add documentation to all the `pr-toggle-' commands.
11981
11982 2011-07-11 Leo Liu <sdl.web@gmail.com>
11983
11984 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
11985 backends where it makes sense (bug#2623).
11986
11987 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11988
11989 * dired-x.el (dired-guess-default): Remove duplicate shell command
11990 entries (bug#2028).
11991 (dired-guess-default): Fix grammar in doc string (bug#2028).
11992 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
11993
11994 * subr.el (remove-duplicates): New conveniency function.
11995
11996 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997
11998 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
11999 (bug#1526).
12000
12001 2011-07-10 Martin Rudalics <rudalics@gmx.at>
12002
12003 * window.el (display-buffer-normalize-default): Don't invert
12004 meaning of even-window-heights. Reported by Eli Zaretskii
12005 <eliz@gnu.org>.
12006
12007 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12008
12009 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12010
12011 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
12012
12013 * window.el (display-buffer): Fix arguments to
12014 display-buffer-reuse-window in last change.
12015
12016 * faces.el (link): Use a less saturated blue on light backgrounds.
12017
12018 * startup.el (fancy-startup-text, fancy-about-text)
12019 (fancy-startup-tail): Use font-lock faces, for background safety.
12020
12021 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12022
12023 * emulation/viper-cmd.el (viper-change-state-to-vi):
12024 Limit triggering of abbrev expansion (Bug#9038).
12025
12026 2011-07-09 Martin Rudalics <rudalics@gmx.at>
12027
12028 * window.el (display-buffer-default-specifiers): Remove.
12029 (display-buffer-macro-specifiers): Remove default specifiers.
12030 (display-buffer-alist): Default to nil.
12031 (display-buffer-reuse-window): New optional argument other-window.
12032 (display-buffer-pop-up-window): Allow splitting internal
12033 windows. Check whether a live window was created.
12034 (display-buffer-other-window-means-other-frame)
12035 (display-buffer-normalize-arguments): Rename to
12036 display-buffer-normalize-argument and rewrite. Set the
12037 other-window specifier.
12038 (display-buffer-normalize-special): New function.
12039 (display-buffer-normalize-options): Rename to
12040 display-buffer-normalize-default and rewrite.
12041 (display-buffer-normalize-options-inhibit): Remove.
12042 (display-buffer-normalize-specifiers): Rewrite.
12043 (display-buffer): Process other-window specifier and call
12044 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12045 more faithfully.
12046 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
12047 (display-buffer-alist-set): Don't handle 'unset default values.
12048 (display-buffer-in-window, display-buffer-alist-set):
12049 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
12050 <tassilo@member.fsf.org>.
12051
12052 2011-07-09 Leo Liu <sdl.web@gmail.com>
12053
12054 * register.el (insert-register): Restore accidental change on
12055 2011-06-26. (Bug#9028)
12056
12057 2011-07-09 Glenn Morris <rgm@gnu.org>
12058
12059 * subr.el (remq): Handle the empty list. (Bug#9024)
12060
12061 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * mail/sendmail.el (send-mail-function): No longer delay custom
12064 initialization.
12065 * custom.el (custom-initialize-delay): Doc fix.
12066
12067 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12070
12071 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
12072
12073 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12074 human-friendly prompt.
12075
12076 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12079 provided by a particular plugin.
12080
12081 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12082
12083 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12084 save customizations (with "emacs -Q"), just set the variable
12085 instead of erroring out.
12086
12087 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12088
12089 2011-07-08 Juri Linkov <juri@jurta.org>
12090
12091 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12092 (archive-zip-update-case): Use 7z if found by `executable-find'.
12093 The order of searching the available programs is the same as in
12094 `archive-zip-extract' (bug#8968).
12095
12096 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12097
12098 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12099 (menu-bar-options-menu): Tweak descriptions.
12100
12101 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12102
12103 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12104 menu items into verb phrases (bug#1421). Also refill to fit under
12105 80 columns.
12106
12107 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12108
12109 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12110 (Info-read-node-name): Doc fix (Bug#1084).
12111
12112 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12113 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12114 (end-of-sexp, beginning-of-sexp)
12115 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12116 (forward-symbol, forward-same-syntax, word-at-point)
12117 (sentence-at-point): Doc fix (Bug#1144).
12118
12119 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12120
12121 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12122 should cover it (bug#1281).
12123
12124 * cus-edit.el (custom-show): Mark as obsolete.
12125
12126 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12127 negotiation fails, then possibly try again with a non-encrypted
12128 connection (bug#9017).
12129
12130 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12131 be used.
12132
12133 2011-07-07 Richard Stallman <rms@gnu.org>
12134
12135 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12136 property, and handle its changed format.
12137 Look for the correct line number.
12138 Use file's line contents (but not past first =) to find
12139 correct line in message.
12140
12141 2011-07-07 Kenichi Handa <handa@m17n.org>
12142
12143 * international/characters.el (build-unicode-category-table):
12144 Delete it.
12145 (unicode-category-table): Set it by unicode-property-table-internal.
12146
12147 * international/mule-cmds.el (char-code-property-alist): Move to
12148 to src/chartab.c.
12149 (get-char-code-property): Call unicode-property-table-internal to
12150 load a file. Call get-unicode-property-internal where necessary.
12151 (put-char-code-property): Call unicode-property-table-internal to
12152 load a file. Call put-unicode-property-internal where necessary.
12153 put-unicode-property-internal where necessary.
12154 (char-code-property-description):
12155 Call unicode-property-table-internal to load a file.
12156
12157 * international/charprop.el:
12158 * international/uni-bidi.el:
12159 * international/uni-category.el:
12160 * international/uni-combining.el:
12161 * international/uni-comment.el:
12162 * international/uni-decimal.el:
12163 * international/uni-decomposition.el:
12164 * international/uni-digit.el:
12165 * international/uni-lowercase.el:
12166 * international/uni-mirrored.el:
12167 * international/uni-name.el:
12168 * international/uni-numeric.el:
12169 * international/uni-old-name.el:
12170 * international/uni-titlecase.el:
12171 * international/uni-uppercase.el: Regenerate.
12172
12173 * loadup.el: Load international/charprop.el before
12174 international/characters.
12175
12176 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
12177
12178 * window.el (next-buffer, previous-buffer): Signal an error if
12179 called from a minibuffer window.
12180
12181 * bindings.el: Revert 2011-07-04 change.
12182
12183 2011-07-06 Richard Stallman <rms@gnu.org>
12184
12185 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12186 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12187 Treat markers like ints.
12188 (rmail-mime-entity): Doc fix.
12189
12190 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12191
12192 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12193 defcustom again for backwards compatibility.
12194
12195 * simple.el (shell-command-on-region): Fill.
12196
12197 * dired-aux.el (dired-kill-line): Add a doc string.
12198
12199 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12200 to "\\sw\\|\\s_" (bug#358).
12201
12202 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12203 (dired-unmark-backward): Ditto.
12204 (dired-flag-backup-files): Ditto.
12205
12206 * dired-x.el (dired-mark-sexp): Ditto.
12207
12208 2011-07-06 Richard Stallman <rms@gnu.org>
12209
12210 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12211 (rmail-mime-entity): New arg TRUNCATED.
12212 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12213 New functions.
12214 (rmail-mime-save): Warn if entity is truncated.
12215 (rmail-mime-toggle-hidden): Likewise, for showing.
12216 (rmail-mime-process-multipart): Record when an entity is truncated.
12217
12218 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12219 if ENTITY is a string.
12220
12221 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12222
12223 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
12224 of faces when `M-C-x'-ing their definitions (bug#8378).
12225 Also clean up the code slightly.
12226
12227 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
12228 because that makes the colors go away.
12229
12230 * mail/sendmail.el (send-mail-function): Change the default to
12231 `sendmail-query-once'.
12232 (sendmail-query-once): Add an autoload cookie.
12233
12234 * net/network-stream.el (network-stream-open-starttls): Try using
12235 a plain connection even if the server offered STARTTLS, and we
12236 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12237 capability. This should make smtpmail.el work in slightly more
12238 configurations.
12239
12240 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
12241
12242 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12243 New defun.
12244 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12245
12246 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12247
12248 * progmodes/sql.el: Version 3.0
12249 (sql-product-alist): Add product :completion-object,
12250 :completion-column, and :statement attributes.
12251 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
12252 (sql-mode-syntax-table): Mark all punctuation.
12253 (sql-font-lock-keywords-builder): Temporarily remove fallback on
12254 ansi keywords.
12255 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
12256 (sql-mode-oracle-font-lock-keywords): Improve.
12257 (sql-oracle-show-reserved-words): New function for development.
12258 (sql-product-font-lock): Simplify for source code buffers.
12259 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12260 New functions.
12261 (sql-highlight-product): Set product specific syntax table.
12262 (sql-mode-map): Add statement movement functions.
12263 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12264 New variable.
12265 (sql-statement-regexp, sql-beginning-of-statement)
12266 (sql-end-of-statement, sql-signum): New functions.
12267 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
12268 (sql-show-sqli-buffer): Bug fix.
12269 (sql-interactive-mode): Store connection data as buffer local.
12270 (sql-connect): Add NEW-NAME parameter. Redesign interaction
12271 with sql-interactive-mode.
12272 (sql-save-connection): Save buffer local settings.
12273 (sql-connection-menu-filter): Change menu entry name.
12274 (sql-product-interactive): Bug fix.
12275 (sql-preoutput-hold): New variable.
12276 (sql-interactive-remove-continuation-prompt): Bug fixes.
12277 (sql-debug-redirect): New variable.
12278 (sql-str-literal): New function.
12279 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
12280 Redesign.
12281 (sql-oracle-save-settings, sql-oracle-restore-settings)
12282 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12283 (sql-completion-object, sql-completion-column)
12284 (sql-completion-sqlbuf): New variables.
12285 (sql-build-completions-1, sql-build-completions)
12286 (sql-try-completion): New functions.
12287 (sql-read-table-name): Use them.
12288 (sql-contains-names): New buffer local variable.
12289 (sql-list-all, sql-list-table): Use it.
12290 (sql-oracle-completion-types): New variable.
12291 (sql-oracle-completion-object, sql-sqlite-completion-object)
12292 (sql-postgres-completion-object): New functions.
12293
12294 2011-07-06 Glenn Morris <rgm@gnu.org>
12295
12296 * window.el (pop-to-buffer): Doc fix.
12297
12298 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
12299
12300 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12301
12302 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
12303
12304 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
12305
12306 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
12307
12308 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
12309
12310 * button.el (button): Inherit from link face. Suggested by Dan
12311 Nicolaescu.
12312
12313 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * progmodes/gdb-mi.el: Fit in 80 columns.
12316 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12317 switch-to-buffer.
12318
12319 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12320 if imenu is simply not configured (bug#8941).
12321
12322 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12323
12324 * allout.el (allout-post-undo-hook): New allout outline-change
12325 event hook to signal undo activity.
12326 (allout-post-command-business): Run allout-post-undo-hook if an
12327 undo just occurred.
12328 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12329 * allout-widgets.el (allout-widgets-after-undo-function):
12330 Ensure the integrity of the current item's decoration after it has been
12331 in the vicinity of an undo.
12332 (allout-widgets-mode): Include allout-widgets-after-undo-function
12333 on the new allout-post-undo-hook.
12334
12335 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12338 Let define-derived-mode define it.
12339 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12340 cycles of abbrev-table inheritance (bug#8998).
12341
12342 2011-07-05 Roland Winkler <winkler@gnu.org>
12343
12344 * textmodes/bibtex.el: Add support for biblatex.
12345 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12346 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12347 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12348 (bibtex-entry-alist, bibtex-field-alist): New variables.
12349 (bibtex-entry-field-alist): Obsolete alias for
12350 bibtex-BibTeX-entry-alist.
12351 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12352 (bibtex-set-dialect): New command.
12353 (bibtex-entry-type, bibtex-entry-head)
12354 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12355 Bind via bibtex-set-dialect.
12356 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12357 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12358 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12359 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12360 Define via bibtex-set-dialect.
12361 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12362 Obey bibtex-no-opt-remove-re.
12363 (bibtex-vec-push, bibtex-vec-incr): New functions.
12364 (bibtex-format-entry, bibtex-field-list)
12365 (bibtex-print-help-message, bibtex-validate)
12366 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12367
12368 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * progmodes/compile.el (compilation-goto-locus):
12371 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12372 * bs.el (bs-cycle-next, bs-cycle-previous):
12373 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12374 * bindings.el (mode-line-other-buffer):
12375 * autoinsert.el (auto-insert):
12376 * arc-mode.el (archive-extract):
12377 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12378
12379 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12382 Fix check of `emacs-lock-unlockable-modes'.
12383 Coerce true values of `emacs-lock--try-unlocking' to t.
12384
12385 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12386
12387 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12388 * emacs-lock.el: New file.
12389
12390 2011-07-05 Julien Danjou <julien@danjou.info>
12391
12392 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12393 than `boundp' to check if face is set.
12394
12395 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
12396
12397 * register.el (registerv-make):
12398 * window.el (window-min-height): Fix typos in docstrings.
12399
12400 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12401
12402 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
12403 Update doc string.
12404
12405 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12406
12407 * server.el (server-execute): Catch quit and call
12408 `server-return-error' to pass the error back to emacsclient and
12409 close the connection (bug#8942).
12410
12411 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12412
12413 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12414 insecure exception for current topic. Also note that auto-saves
12415 are handled differently.
12416
12417 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
12418 State variables for tracking auto-save inhibition situation.
12419
12420 (allout-write-contents-hook-handler): Rename from
12421 'allout-write-file-hook-handler', and describe how it depends on
12422 write-contents-functions sensitivity to non-nil value to prevent
12423 file write.
12424
12425 (allout-auto-save-hook-handler): Remove. auto-save does not check
12426 this in individual buffers, only in the starting buffer, so this
12427 is not the right way for us to inhibit auto-save in a buffer
12428 according to its condition.
12429
12430 (allout-mode): Use new allout-write-contents-hook-handler, and
12431 only with write-contents-functions. Remove auto-save provisions -
12432 they're implemented elsewhere.
12433
12434 (allout-before-change-handler): If undo is in progress, note that
12435 for attention of allout-post-command-business.
12436
12437 (allout-post-command-business): If the command we're following was
12438 an undo, check for change in the status of encrypted items and
12439 adjust auto-save inhibitions accordingly.
12440
12441 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12442 according to whether there are or aren't any plain-text topics
12443 pending encryption.
12444
12445 (allout-inhibit-auto-save-info-for-decryption):
12446 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12447 if there are plain-text topics pending encryption.
12448
12449 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12450 buffer-saved-size and some allout state to not inhibit auto-saves
12451 if there are no longer any plain-text topics pending encryption.
12452
12453 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12454 No longer provide for exemption of the current topic.
12455
12456 2011-07-04 Juri Linkov <juri@jurta.org>
12457
12458 Add 7z operations to delete and save changed members (bug#8968).
12459 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12460 New defcustoms.
12461 (archive-7z-write-file-member): New function.
12462 (archive-7z-summarize): Fix the number of dashes in the
12463 listing output.
12464
12465 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12466
12467 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12468 (bug#8958).
12469
12470 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
12471
12472 * bindings.el: Ignore next-buffer and previous-buffer in
12473 minibuffer-local-map.
12474
12475 * font-lock.el (font-lock-builtin-face): Change light background
12476 color to dark slate blue (Bug#6693).
12477
12478 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12479
12480 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12481
12482 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12485 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12486 Add switch-to-buffer.
12487
12488 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12489
12490 * isearch.el (isearch-search-fun-function): Clarify further the
12491 meaning of the function returned.
12492
12493 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
12494
12495 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12496
12497 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12498 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12499 Use it.
12500 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12501 `tramp-default-remote-path' does not exist.
12502 (tramp-send-command-and-read): New optional argument NOERROR.
12503 (tramp-open-connection-setup-interactive-shell)
12504 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12505 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12506 (tramp-process-sentinel): Flush also process' connection property.
12507 (tramp-sh-handle-start-file-process): Do not set process
12508 sentinel. It is done now ...
12509 (tramp-maybe-open-connection): ... here. (Bug#8929)
12510
12511 2011-07-04 MON KEY <monkey@sandpframing.com>
12512
12513 * play/animate.el (animate-string): Doc fixes and allow changing
12514 the buffer name (bug#5417).
12515
12516 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12517
12518 * play/animate.el (animation-buffer-name): Rename from *animate*.
12519
12520 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12521
12522 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12523 This is simpler and helps future-proof the code.
12524 (timer-until): Use time-subtract and float-time.
12525 (timer--time-less-p): Use time-less-p.
12526
12527 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
12528
12529 * type-break.el (timep): Use the value of `float-time' to avoid a
12530 byte-compiler warning.
12531
12532 * server.el (server-eval-and-print): Return any result, even nil.
12533
12534 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12535
12536 * type-break.el: Accept time formats that the builtins accept.
12537 (timep, type-break-time-difference): Accept any format that
12538 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12539 This is simpler and helps future-proof the code.
12540 (type-break-time-difference): Round rather than ignoring
12541 subseconds components.
12542
12543 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12544
12545 * info.el (Info-apropos-matches): Make non-interactive, since it
12546 doesn't seem to do anything useful as a command (bug#8829).
12547
12548 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
12549
12550 * frame.el (frame-background-mode, frame-set-background-mode):
12551 Move from faces.el.
12552 (frame-default-terminal-background): New function.
12553
12554 * custom.el (custom-push-theme): Don't record faces in `changed'
12555 theme; this doesn't work correctly for per-frame face settings.
12556 (disable-theme): Use face-set-after-frame-default to reset faces.
12557 (custom--frame-color-default): New function.
12558
12559 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12560
12561 * dired.el (dired-flagging-regexp): Remove unused variable
12562 (bug#8769).
12563
12564 2011-03-29 Kevin Ryde <user42@zip.com.au>
12565
12566 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12567 `perl-Test2' extend to match possible "fail #N" rep count
12568 (bug#8377).
12569
12570 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12571
12572 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12573 `smtpmail-via-smtp' now returns the error instead of nil.
12574
12575 * isearch.el (isearch-search-fun-function): Clarify the doc string
12576 (bug#8101).
12577
12578 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
12579
12580 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12581 unnecessary spaces (bug#8987).
12582
12583 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12584
12585 * net/network-stream.el (open-network-stream): Use the
12586 :end-of-capability command thoughout.
12587
12588 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12589
12590 * net/network-stream.el (open-network-stream): Add the
12591 :end-of-capability command parameter, used by pop3.el.
12592
12593 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594
12595 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12596
12597 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12598 for list)" (bug#6475).
12599
12600 * files.el (file-expand-wildcards): Ignore non-readable
12601 sub-directories while trying to find matches instead of signaling
12602 an error (bug#6297).
12603
12604 * man.el (Man-reference-regexp): Allow matching possible
12605 word-wrapped references (bug#6289).
12606
12607 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12608 for consistency with the other vc buffers (bug#6197).
12609 (vc-checkin): Ditto.
12610
12611 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12612
12613 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12614
12615 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12616
12617 * custom.el (defcustom): Clarify that :set is only used in the
12618 Customize user interface (bug#6089).
12619
12620 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12621 associated with a file, refuse to run instead of erroring out
12622 (bug#6084).
12623
12624 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12625 the doc string, since it appears that using `fill-column' always
12626 controls the width (bug#7845).
12627
12628 * simple.el (shell-command-on-region): Say where the error output
12629 went if `shell-command-default-error-buffer' is set (bug#6857).
12630
12631 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12632
12633 * allout.el (allout-yank-processing): Adjust cursor position for
12634 backwards-deleted space.
12635
12636 (allout-rebullet-heading): Register changes with
12637 allout-exposure-changed-hook, so the modified topic is properly
12638 decorated.
12639
12640 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641
12642 * minibuffer.el (completion-in-region): Document PREDICATE
12643 (bug#7136).
12644
12645 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12646 of keyword/argument pairs (bug#6904).
12647
12648 * replace.el (multi-occur):
12649 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
12650
12651 2011-07-02 Drew Adams <drew.adams@oracle.com>
12652
12653 * dired.el (dired-mark-if): Make the message about whether it's
12654 marking or unmarking clearer (bug#8523).
12655
12656 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12657
12658 * disp-table.el (display-table-print-array): New function.
12659 (describe-display-table): Use it to print the vectors more pretty
12660 (Bug#8859).
12661
12662 2011-07-02 Martin Rudalics <rudalics@gmx.at>
12663
12664 * window.el (window-state-get-1): Don't assign clone numbers.
12665 Add clone-of item to list of window parameters.
12666 (window-state-put-2): Don't process clone numbers.
12667 (display-buffer-alist): Fix doc-string.
12668
12669 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * subr.el (remq): Don't allocate if it's not needed.
12672 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12673 (keymap--merge-bindings): New functions.
12674 (keymap-canonicalize): Use them to refine the canonicalization.
12675 * minibuffer.el (minibuffer-local-completion-map)
12676 (minibuffer-local-must-match-map): Move initialization from C.
12677 (minibuffer-local-filename-completion-map): Move initialization from C;
12678 don't inherit from anything here.
12679 (minibuffer-local-filename-must-match-map): Make obsolete.
12680 (completing-read-default): Use make-composed-keymap to combine
12681 minibuffer-local-filename-completion-map with either
12682 minibuffer-local-must-match-map or
12683 minibuffer-local-filename-completion-map.
12684
12685 2011-07-01 Glenn Morris <rgm@gnu.org>
12686
12687 * type-break.el (type-break-time-sum): Use dolist.
12688
12689 * textmodes/flyspell.el (flyspell-word-search-backward):
12690 Replace CL function.
12691
12692 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * mouse.el (mouse--strip-first-event): New function.
12695 (function-key-map): Use it to map fringe clicks to normal clicks
12696 by default.
12697
12698 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12699 (vc-bzr-revision-completion-table): Add support for annotate and date.
12700
12701 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12702 inherit from parent.
12703
12704 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12705
12706 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
12707 (dired-show-file-type): Doc fixup (bug#8818).
12708
12709 * dired.el (dired-mode): Fix up the doc string as suggested by
12710 Drew Adams (bug#8817).
12711
12712 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12713 cookie, since the manual says that it should be possible to add
12714 this function to `find-file-hook' (bug#8709).
12715
12716 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12717
12718 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12719 here. Noted Ted Zlatanov as the maintainer.
12720 (cfengine-common-settings, cfengine-common-syntax): New functions
12721 to set up common things between `cfengine-mode' and
12722 `cfengine3-mode'.
12723 (cfengine3-mode): New mode.
12724 (cfengine3-defuns cfengine3-defuns-regex
12725 (cfengine3-class-selector-regex cfengine3-category-regex)
12726 (cfengine3-vartypes cfengine3-font-lock-keywords)
12727 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
12728 (cfengine3-indent-line): Add from cfengine3.el.
12729
12730 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
12731
12732 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12733
12734 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12735
12736 2011-07-01 Martin Rudalics <rudalics@gmx.at>
12737
12738 * window.el (same-window-buffer-names, same-window-regexps)
12739 (same-window-p, special-display-frame-alist)
12740 (special-display-popup-frame, special-display-function)
12741 (special-display-buffer-names, special-display-regexps)
12742 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12743 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12744 (split-window-preferred-function, split-height-threshold)
12745 (split-width-threshold, even-window-heights)
12746 (display-buffer-mark-dedicated, window-splittable-p)
12747 (split-window-sensibly, window-safely-shrinkable-p):
12748 Un-obsolete.
12749 (display-buffer): Don't spread args with function specifier
12750 because special-display-popup-frame won't like it.
12751
12752 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12753
12754 Time-stamp simplifications and fixes.
12755 These improve accuracy slightly, and future-proof the code
12756 against some potential changes to current-time format.
12757
12758 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12759 by using time-since and float-time.
12760
12761 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12762 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12763 + NNN microseconds".
12764
12765 * type-break.el (type-break-time-sum): Rewrite using time-add.
12766
12767 * play/hanoi.el (hanoi-current-time-float): Remove.
12768 All uses replaced by float-time.
12769
12770 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12771 This yields a more-accurate answer.
12772 (rng-time-to-float): Remove; no longer needed.
12773
12774 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12775
12776 * calendar/timeclock.el (timeclock-seconds-to-time):
12777 Defalias to seconds-to-time, since they're the same thing.
12778
12779 * emacs-lisp/elp.el (elp-elapsed-time):
12780 * emacs-lisp/benchmark.el (benchmark-elapse):
12781 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12782
12783 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12784
12785 * window.el (bury-buffer): Don't iconify the only frame.
12786 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12787 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12788
12789 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12792 Add mouse-yank-primary.
12793
12794 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12795
12796 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12797
12798 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12799
12800 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12801 (find-library-name): Use it to find relative load names when provided
12802 absolute file name (bug#8803).
12803
12804 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12805
12806 * textmodes/flyspell.el (flyspell-word): Consider words that
12807 differ only in case as potential doublons (bug#5687).
12808
12809 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12810 Remove two rather uninteresting debugging-like messages to make
12811 debbugs.el more silent.
12812
12813 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12814 a password-like phrase.
12815
12816 2011-06-30 Masatake YAMATO <yamato@redhat.com>
12817
12818 * progmodes/cc-guess.el: New file.
12819
12820 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
12821
12822 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12823 derived from `c-basic-common-init'.
12824
12825 * progmodes/cc-mode.el (top-level): Require cc-guess.
12826 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12827
12828 2011-06-30 Lawrence Mitchell <wence@gmx.li>
12829
12830 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12831
12832 2011-06-30 Alan Mackenzie <acm@muc.de>
12833
12834 * progmodes/cc-engine.el (c-guess-continued-construct):
12835 Correct the handling of template-args-cont, particularly for when font
12836 lock is disabled. Name this case as "CASE G".
12837
12838 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12839
12840 * allout.el (allout-yank-processing): Fix injection of extra space
12841 between bullet and non-whitespace character in first topic when
12842 pasting, ensuring that the actual spacing in the pasted topic
12843 following the bullet char is preserved. This extra space was
12844 causing pasted encrypted topics to get a decrypted status even
12845 when the content was actually still encrypted. Now the decryption
12846 status from before the paste is preserved.
12847
12848 (allout-flag-region): Set all allout overlays so they evaporate
12849 when reduced to zero length (evanescent), to prevent overlay
12850 leakage.
12851
12852 2011-06-30 Glenn Morris <rgm@gnu.org>
12853
12854 * w32-fns.el (w32-charset-info-alist): Declare.
12855
12856 * find-dired.el (find-grep-options): Simplify.
12857
12858 * term/ns-win.el (ns-set-resource): Declare.
12859
12860 * ses.el (row, col): Declare dynamic variables honestly.
12861
12862 * textmodes/reftex-parse.el (index-tags): Declare.
12863
12864 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
12865
12866 * cus-edit.el (customize-push-and-save): New function.
12867
12868 * files.el (hack-local-variables-confirm): Use it.
12869
12870 * custom.el (load-theme): New arg NO-CONFIRM.
12871 Use customize-push-and-save (Bug#8720).
12872 (custom-enabled-themes): Doc fix.
12873
12874 * cus-theme.el (customize-create-theme)
12875 (custom-theme-merge-theme): Callers to load-theme changed.
12876
12877 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12878
12879 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12880 short URLs have at least one dot in them (bug #7614).
12881
12882 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12883 nil, because using a pty is apparently too slow (bug #895).
12884
12885 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12886
12887 * mail/sendmail.el (sendmail-query-once): New function.
12888 (sendmail-query-once-function): New variable.
12889
12890 2011-06-29 Glenn Morris <rgm@gnu.org>
12891
12892 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12893
12894 * ses.el (top-level): Require cl when compiling.
12895 (ses-set-localvars): Fix error statement.
12896 Call it at compile time to silence a storm of warnings.
12897
12898 2011-06-29 Martin Rudalics <rudalics@gmx.at>
12899
12900 * window.el (normalize-live-buffer): Rename to
12901 window-normalize-buffer.
12902 (normalize-live-frame): Rename to window-normalize-frame.
12903 (normalize-any-window): Rename to window-normalize-any-window.
12904 (normalize-live-window): Rename to window-normalize-live-window.
12905 (make-window-atom): Rename to window-make-atom.
12906 (window-resize-reset): Rename to window--resize-reset.
12907 (window-resize-reset-1): Rename to window--resize-reset-1.
12908 (resize-mini-window): Rename to window--resize-mini-window.
12909 (resize-subwindows-skip-p): Rename to
12910 window--resize-subwindows-skip-p.
12911 (resize-subwindows-normal): Rename to
12912 window--resize-subwindows-normal.
12913 (resize-subwindows): Rename to window--resize-subwindows.
12914 (resize-other-windows): Rename to window--resize-siblings.
12915 (resize-this-window): Rename to window--resize-this-window.
12916 (resize-root-window): Rename to window--resize-root-window.
12917 (resize-root-window-vertically): Rename to
12918 window--resize-root-window-vertically.
12919 (normalize-buffer-to-display): Rename to
12920 window-normalize-buffer-to-display.
12921 (normalize-buffer-to-switch-to): Rename to
12922 window-normalize-buffer-to-switch-to.
12923 Correspondingly update all callers of the functions listed
12924 above.
12925 (display-buffer-alist, display-buffer-normalize-arguments)
12926 (display-buffer-normalize-options, display-buffer)
12927 (display-buffer-alist-set): Use "function" instead of
12928 "fun-with-args".
12929
12930 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
12931
12932 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
12933 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
12934 debbugs.gnu.org. Mention acknowledgment email.
12935
12936 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
12937
12938 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
12939 buffer multibyteness, since it shouldn't matter.
12940
12941 2011-06-28 Martin Rudalics <rudalics@gmx.at>
12942
12943 * window.el (display-buffer-in-side-window): Handle dedicated
12944 windows as in display-buffer-reuse-window.
12945 (display-buffer-normalize-alist): Use value of override
12946 specifier.
12947 (display-buffer-normalize-specifiers): Use value of
12948 other-window-means-other-frame specifier.
12949 (display-buffer-alist): Rewrite some texts in widgets.
12950 (display-buffer): Spread arguments when calling function
12951 specified by fun-with-args.
12952
12953 2011-06-28 Deniz Dogan <deniz@dogan.se>
12954
12955 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
12956 Unnest `let'.
12957
12958 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
12959 selectors (Bug#5732).
12960 (css-proprietary-nmstart-re): Use `regexp-opt'.
12961
12962 2011-06-27 Jari Aalto <jari.aalto@cante.net>
12963
12964 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
12965 (eshell-ls-date-format): New defcustom.
12966 (eshell-ls-file): Use it.
12967
12968 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * help-fns.el (describe-variable): Fix message for terminal-local vars.
12971
12972 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
12973
12974 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
12975 (ange-ftp-make-tmp-name): New arg.
12976 (ange-ftp-file-local-copy): Use it.
12977
12978 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
12979
12980 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
12981 no-conversion (Bug#8870).
12982
12983 2011-06-27 Martin Rudalics <rudalics@gmx.at>
12984
12985 * window.el (window-right, window-left, window-child)
12986 (window-child-count, window-last-child)
12987 (window-iso-combination-p, walk-window-tree-1)
12988 (window-atom-check-1, window-tree-1, delete-window)
12989 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
12990 new naming conventions - window-vchild, window-hchild,
12991 window-next and window-prev are now called window-top-child,
12992 window-left-child, window-next-sibling and window-prev-sibling
12993 respectively.
12994 (resize-window-reset): Rename to window-resize-reset.
12995 (resize-window-reset-1): Rename to window-resize-reset-1.
12996 (resize-window): Rename to window-resize.
12997 (window-min-height, window-min-width)
12998 (resize-mini-window, resize-this-window, resize-root-window)
12999 (resize-root-window-vertically, adjust-window-trailing-edge)
13000 (enlarge-window, shrink-window, maximize-window)
13001 (minimize-window, delete-window, quit-restore-window)
13002 (split-window, balance-windows, balance-windows-area-adjust)
13003 (balance-windows-area, window-state-put-2)
13004 (display-buffer-even-window-sizes, display-buffer-set-height)
13005 (display-buffer-set-width, set-window-text-height)
13006 (fit-window-to-buffer): Rename all "resize-window" prefixed
13007 calls to use the "window-resize" prefix convention.
13008 (display-buffer-alist): Fix symbol for label specifier.
13009 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13010 corresponding specifier.
13011 Reported by Juanma Barranquero <lekktu@gmail.com>.
13012
13013 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13014
13015 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13016 convention.
13017 (ses-call-printer): Does not pass an empty string to formatter when the
13018 cell is empty to keep from barking printer Calc math-format-value.
13019
13020 2011-06-27 Richard Stallman <rms@gnu.org>
13021
13022 * battery.el (battery-mode-line-limit): New variable.
13023 (battery-update): Handle it.
13024
13025 * mail/rmailmm.el (rmail-mime-process-multipart):
13026 Handle truncated messages.
13027
13028 2011-06-27 Glenn Morris <rgm@gnu.org>
13029
13030 * progmodes/flymake.el (flymake-err-line-patterns):
13031 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13032
13033 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13034
13035 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
13036 (ses--clean-!, ses--clean-_): New functions.
13037 (ses-range): Add configurability of readout order, and conversion
13038 to Calc vector.
13039
13040 * ses.el (ses-repair-cell-reference-all): New function.
13041 (ses-cell-symbol): Set macro as safe, so that it can be used in
13042 formulas.
13043
13044 * ses.el: Update cycle detection algorithm.
13045 (ses-localvars): Add ses--Dijkstra-attempt-nb and
13046 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
13047 (ses-set-localvars): New function.
13048 (ses-make-cell): Add property-list as a cell element.
13049 (ses-cell-property-get-fun, ses-cell-property-get)
13050 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
13051 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13052 New functions.
13053 (ses-cell-property-set, ses-cell-property-pop)
13054 (ses-cell-property-get-handle): New macro.
13055 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13056 New aliases, used for code readability.
13057 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13058 cycle detection.
13059 (ses-self-reference-early-detection): New defcustom.
13060 (ses-formula-references): Robustify against self-referring cells.
13061 (ses-mode): Use ses-set-localvars.
13062 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13063 before lauching the update processing.
13064 (ses-initialize-Dijkstra-attempt): New function.
13065 (ses-recalculate-cell): Update for cycle detection based on
13066 Dijkstra algorithm.
13067
13068 * ses.el: Fix commenting and indenting convention.
13069
13070 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * bs.el (bs-cycle-next): Complete last change.
13073
13074 2011-06-27 Drew Adams <drew.adams@oracle.com>
13075
13076 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13077
13078 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13079
13080 * net/network-stream.el (network-stream-open-starttls):
13081 Don't re-get capabilities unless we've reestablished connection.
13082 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13083
13084 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13085 to binary to possibly avoid line encoding issues on Windows (among
13086 other things).
13087
13088 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13089
13090 * net/network-stream.el (open-network-stream): Return an :error
13091 saying what the problem was, if possible.
13092
13093 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13094 server.
13095
13096 * net/network-stream.el (network-stream-open-starttls): If we
13097 wanted to use STARTTLS, and the server offered it, but we weren't
13098 able to because we had no STARTTLS support, then close the connection.
13099 (open-network-stream): Return an :error element, if present.
13100
13101 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13102
13103 * hl-line.el (hl-line-sticky-flag): Doc fix.
13104 (global-hl-line-sticky-flag): New option (Bug#8323).
13105 (global-hl-line-highlight): Obey it.
13106
13107 * vc/vc.el (vc-revert-show-diff): Default to t.
13108
13109 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13110
13111 * allout-widgets.el (allout-widgets-post-command-business):
13112 Stop decorating intermediate isearch matches. They're not being
13113 undecorated when an isearch is continued past, and isearch
13114 automatically collapses them. This leads to "widget leaks", where
13115 decorated items accumulate in collapsed areas. Lines with lots of
13116 hidden widgets can slow down cursor travel, substantially.
13117 Too much complicated machinery would be needed to ensure undecoration,
13118 so we're doing without this nicety.
13119
13120 (allout-widgets-tally-string): Don't try to do a hash-table-count
13121 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13122 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13123 *Messages* when allout-widgets-maintain-tally is t.
13124
13125 2011-06-26 Martin Rudalics <rudalics@gmx.at>
13126
13127 * window.el (display-buffer-normalize-argument): Rename to
13128 display-buffer-normalize-arguments. Handle special meaning of
13129 LABEL argument. Respect special-display-function when popping up
13130 a new frame. Fix code searching for a window showing the buffer
13131 on another frame.
13132 (display-buffer-normalize-specifiers):
13133 Call display-buffer-normalize-arguments.
13134 (display-buffer-in-window): Don't undedicate the window if its
13135 buffer remains the same.
13136 Reported by Drew Adams <drew.adams@oracle.com>.
13137 (display-buffer-alist): Add choice for same-window macro
13138 specfier.
13139 (display-buffer): Mention special meaning of LABEL argument in
13140 doc-string. Fix quoting. Don't pop up a new frame even as
13141 fallback.
13142
13143 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
13144
13145 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13146 avoid deleting the current window in some cases (bug#8911).
13147
13148 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13149
13150 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13151 (Bug#8934)
13152
13153 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13154
13155 * net/network-stream.el (network-stream-open-starttls):
13156 Use built-in TLS support if `gnutls-available-p' is true.
13157 (network-stream-open-tls): Ditto.
13158
13159 2011-06-26 Leo Liu <sdl.web@gmail.com>
13160
13161 * register.el (registerv): New struct.
13162 (registerv-make): New function.
13163 (jump-to-register, describe-register-1, insert-register):
13164 Support the jump-func, print-func and insert-func slot of a registerv
13165 struct. (Bug#8415)
13166
13167 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
13168
13169 * vc/vc.el (vc-revert-show-diff): New defcustom.
13170 (vc-diff-internal): New arg specifying diff buffer.
13171 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13172 reuse an existing *vc-diff* buffer (Bug#8927).
13173
13174 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13175
13176 2011-06-26 Glenn Morris <rgm@gnu.org>
13177
13178 * progmodes/f90.el (f90-critical-indent): New option.
13179 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13180 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13181 (f90-mode): Doc fix.
13182 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13183 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13184 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13185 (f90-match-end): Handle block, critical.
13186
13187 2011-06-25 Glenn Morris <rgm@gnu.org>
13188
13189 * calendar/diary-lib.el (diary-included-files): Doc fix.
13190 (diary-include-files): New function, extracted from
13191 diary-include-other-diary-files and diary-mark-included-diary-files.
13192 (diary-include-other-diary-files, diary-mark-included-diary-files):
13193 Just call diary-include-files.
13194 (diary-mark-entries): Reset diary-included-files on first call.
13195
13196 * calendar/diary-lib.el (diary-mark-entries)
13197 (diary-mark-included-diary-files):
13198 Visit included diary-files in temp buffers.
13199
13200 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13201 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13202 (f90-start-block-re, f90-imenu-generic-expression)
13203 (f90-looking-at-program-block-start, f90-no-block-limit):
13204 Add support for submodules.
13205
13206 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13207 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
13208
13209 2011-06-25 Eli Zaretskii <eliz@gnu.org>
13210
13211 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13212 buffer-file-type before setting its value, to avoid disastrous
13213 global effects on decoding files for DOS/Windows systems. (Bug#8780)
13214
13215 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13216
13217 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13218
13219 * ses.el (ses-unload-function):
13220 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13221
13222 * proced.el (proced-unload-function):
13223 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13224
13225 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13226
13227 * server.el (server-create-window-system-frame): Add parameters arg.
13228 (server-process-filter): Doc fix. Handle frame-parameters.
13229
13230 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
13231
13232 Fix bug#8730, bug#8781.
13233
13234 * loadhist.el (unload--set-major-mode): New function.
13235 (unload-feature): Use it.
13236
13237 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13238 (python-unload-function): New function.
13239
13240 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13241
13242 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13243
13244 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13245
13246 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13247 the candidates list.
13248
13249 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
13250
13251 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13252
13253 2011-06-23 Richard Stallman <rms@gnu.org>
13254
13255 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13256 (rmail-variables): Set next-error-move-function.
13257 (rmail-what-message): Take argument POS.
13258 (rmail-next-error-move): New function.
13259
13260 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13263 messages for adjacent non-terminals.
13264
13265 2011-06-23 Richard Stallman <rms@gnu.org>
13266
13267 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
13268 (rmail-show-message-1): Preserve buffer modified flag.
13269 (rmail-start-mail): Don't specify use of rmail-mail-return;
13270 that's done by mail-bury now.
13271 (rmail-mail-return): Handle arg NEWBUF.
13272
13273 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
13274
13275 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13276 SIZE is a number.
13277
13278 2011-06-23 Martin Rudalics <rudalics@gmx.at>
13279
13280 * window.el (get-lru-window, get-mru-window)
13281 (get-largest-window): Never return a minibuffer window.
13282 (display-buffer-pop-up-window): Fix a bug that could lead to
13283 reusing the minibuffer window.
13284 (display-buffer): Pass original specifier argument to
13285 display-buffer-function instead of the normalized one.
13286 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13287
13288 2011-06-22 Leo Liu <sdl.web@gmail.com>
13289
13290 * minibuffer.el (completing-read-function)
13291 (completing-read-default): Move from minibuf.c
13292
13293 2011-06-22 Richard Stallman <rms@gnu.org>
13294
13295 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13296 to Rmail even if not started by a special Rmail command.
13297
13298 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13299 Copy the buffer currently showing just one message.
13300
13301 2011-06-22 Roland Winkler <winkler@gnu.org>
13302
13303 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13304 (bibtex-clean-entry): First delete the old key so that a
13305 customized algorithm for generating the new key does not get
13306 confused by the old key.
13307 (bibtex-url): Obey regexp of first step.
13308 (bibtex-search-entries): Do not use add-to-list with local
13309 list-var.
13310
13311 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13312
13313 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13314 stored a user name, then query for the password first, instead of
13315 waiting for SMTP to give an error message and the trying again.
13316
13317 2011-06-22 Lawrence Mitchell <wence@gmx.li>
13318
13319 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13320 BUFFER in call-process.
13321
13322 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13323
13324 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13325 QUIT twice.
13326 (smtpmail-try-auth-methods): Require user name and password from
13327 auth-source.
13328
13329 2011-06-22 Martin Rudalics <rudalics@gmx.at>
13330
13331 * window.el (display-buffer-default-specifiers)
13332 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13333 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
13334 (split-window): Normalize SIDE argument (Bug#8916).
13335
13336 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13337 (special-display-frame-alist, special-display-popup-frame):
13338 Remove duplicate declarations. These are now in window.el.
13339
13340 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13341
13342 * mail/smtpmail.el (smtpmail-via-smtp):
13343 Set :use-starttls-if-possible so that we always use STARTTLS if the
13344 server supports it. SMTP servers that support STARTTLS commonly
13345 require it.
13346
13347 * net/network-stream.el (network-stream-open-starttls): Support
13348 upgrading to STARTTLS always, even if we don't have built-in support.
13349 (open-network-stream): Add the :always-query-capabilities keyword.
13350
13351 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13352 upgrades with `open-network-stream', and rely solely on
13353 auth-source for all credentials. Big changes throughout the file,
13354 but in particular:
13355 (smtpmail-auth-credentials): Remove.
13356 (smtpmail-starttls-credentials): Remove.
13357 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13358 MAIL FROM, too.
13359
13360 * net/network-stream.el (network-stream-open-starttls):
13361 Provide support for client certificates both for external and built-in
13362 STARTTLS.
13363 (auth-source): Require.
13364 (open-network-stream): Document the :client-certificate keyword.
13365 (network-stream-certificate): Change cert-cert to cert and
13366 cert-key to key.
13367
13368 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
13369
13370 * net/tramp-cache.el (top): Don't load the persistency file when
13371 "emacs -Q" has been called.
13372
13373 2011-06-21 Tim Harper <timcharper@gmail.com>
13374
13375 * term/ns-win.el (ns-initialize-window-system):
13376 Set application-specific `ApplePressAndHoldEnabled' system
13377 resource to NO as it is not yet supported by the NS port.
13378
13379 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
13380
13381 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13382 (list-dynamic-libraries): ...not here.
13383
13384 2011-06-21 Leo Liu <sdl.web@gmail.com>
13385
13386 * subr.el (sha1): Implement sha1 using secure-hash.
13387
13388 2011-06-21 Martin Rudalics <rudalics@gmx.at>
13389
13390 * window.el (display-buffer-alist): In default value do not
13391 enforce searching a window on any but the selected frame.
13392 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13393 (display-buffer-select-window): Remove function.
13394 (display-buffer-in-window): When a window on another frame gets
13395 reused, do not select it any more but just raise its frame if
13396 necessary (Bug#8851) and (Bug#8856).
13397 (display-buffer-normalize-options): Handle pop-up-frames related
13398 options more faithfully.
13399 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13400 window if it is on another frame.
13401 (display-buffer-alist, display-buffer-default-specifiers):
13402 Don't make new frame unsplittable by default.
13403 (display-buffer-normalize-argument): Fix doc-string typo and use
13404 'same-frame-other-window instead of 'other-window when associating
13405 with display-buffer-macro-specifiers.
13406
13407 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13408
13409 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13410 New functions.
13411 (5x5-mode-map, 5x5-mode-menu): Bind them.
13412 (5x5-draw-grid): Tweak the solver's rendering.
13413
13414 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13415
13416 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13417 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13418
13419 2011-06-21 Drew Adams <drew.adams@oracle.com>
13420
13421 * menu-bar.el: Use function variable instead of switch-to-buffer.
13422 (menu-bar-select-buffer-function): New variable.
13423 (menu-bar-update-buffers): Use it (bug#8876).
13424
13425 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13426
13427 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13428 variable's status.
13429
13430 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13431
13432 * x-dnd.el (x-dnd-version-from-flags)
13433 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13434 and long as number (Bug#8899).
13435 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13436
13437 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13438
13439 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
13440 (completion-try-completion, completion-all-completions): Compute the
13441 metadata argument if it's missing; make it optional (bug#8795).
13442
13443 * wid-edit.el: Use lex-bind and move towards completion-at-point.
13444 (widget-complete): Use new :completion-function property.
13445 (widget-completions-at-point): New function.
13446 (default): Use :completion-function instead of :complete.
13447 (widget-default-completions): Rename from widget-default-complete;
13448 Rewrite.
13449 (widget-string-complete, widget-file-complete, widget-color-complete):
13450 Remove functions.
13451 (file, symbol, function, variable, coding-system, color):
13452 * international/mule-cmds.el (default-input-method, charset)
13453 (language-info-custom-alist):
13454 * cus-edit.el (face): Use new property :completions.
13455
13456 * progmodes/pascal.el (pascal-completions-at-point): New function.
13457 (pascal-mode): Use it.
13458 (pascal-mode-map): Use completion-at-point.
13459 (pascal-toggle-completions): Make obsolete.
13460 (pascal-complete-word, pascal-show-completions):
13461 * progmodes/octave-mod.el (octave-complete-symbol):
13462 Redefine as obsolete alias.
13463 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13464 Signal absence of completion info for old Octave,
13465 (inferior-octave-complete): Redefine as obsolete alias.
13466 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13467 (meta-completions-at-point): Rename from meta-complete-symbol and
13468 adapt it for use on completion-at-point-functions.
13469 (meta-common-mode): Use it.
13470 (meta-looking-at-backward, meta-match-buffer): Remove.
13471 (meta-complete-symbol): Redefine as obsolete alias.
13472 (meta-common-mode-map): Use completion-at-point.
13473 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13474 (makefile-mode-map): Use completion-at-point.
13475 (makefile-completions-at-point): Rename from makefile-complete and
13476 adapt it for use on completion-at-point-functions.
13477 (makefile-mode): Use it.
13478 (makefile-complete): Redefine as obsolete alias.
13479
13480 2011-06-20 Deniz Dogan <deniz@dogan.se>
13481
13482 * net/rcirc.el: Delete trailing whitespaces once and for all.
13483
13484 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13485
13486 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13487
13488 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
13489
13490 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13491
13492 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13493
13494 2011-06-19 Martin Rudalics <rudalics@gmx.at>
13495
13496 * window.el (display-buffer-other-window-means-other-frame):
13497 Call display-buffer-normalize-alist.
13498 (display-buffer-normalize-specifiers-1): Rename to
13499 display-buffer-normalize-argument. New argument other-frame.
13500 Rewrite.
13501 (display-buffer-normalize-specifiers-2): Rename to
13502 display-buffer-normalize-options.
13503 (display-buffer-normalize-alist-1): New function.
13504 (display-buffer-normalize-specifiers-3): Rename to
13505 display-buffer-normalize-alist.
13506 Call display-buffer-normalize-alist-1.
13507 (display-buffer-normalize-options-inhibit): New variable.
13508 (display-buffer-normalize-specifiers): Rewrite calling
13509 display-buffer-normalize-alist,
13510 display-buffer-normalize-argument, and
13511 display-buffer-normalize-options. Don't call the latter if
13512 display-buffer-normalize-options-inhibit is non-nil.
13513 (frame-auto-delete): New option.
13514 (window-deletable-p): Use frame-auto-delete.
13515 (window-list-no-nils, window-state-ignored-parameters)
13516 (window-state-get-1, window-state-get, window-state-put-list)
13517 (window-state-put-1, window-state-put-2, window-state-put):
13518 New functions.
13519 (display-buffer-normalize-options): Move special-display-p group
13520 after pop-up-frame group (Bug#8851) and (Bug#8856).
13521
13522 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
13523
13524 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13525 groups (Bug#8776).
13526 (rx-submatch-n): New function.
13527 (rx): Document it.
13528
13529 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13530 (Bug#8768).
13531
13532 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13533
13534 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13535
13536 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13537 anytime existing face settings are present (Bug#8889).
13538
13539 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13540 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13541 Remove unused argument.
13542
13543 2011-06-18 Martin Rudalics <rudalics@gmx.at>
13544
13545 * window.el (display-buffer-default-specifiers):
13546 Remove pop-up-frame. Add pop-up-window-min-height,
13547 pop-up-window-min-width, and another reuse-window specifier
13548 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
13549 (display-buffer-normalize-specifiers-2):
13550 Handle split-height-threshold and split-width-threshold also when
13551 pop-up-windows is unset. Add a reuse-window specifier for the
13552 case popping up a new window fails.
13553 (special-display-popup-frame): Remove double quoting.
13554 (display-buffer-normalize-specifiers-1): Fix thinko.
13555
13556 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13559 according to comint-completion-addsuffix.
13560
13561 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13562 (pcomplete-suffix-list): Mark as obsolete.
13563 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13564 pcomplete-seen in the closure.
13565 (pcomplete-comint-setup): Setup completion-at-point as well.
13566 (pcomplete--entries): New function.
13567 (pcomplete--env-regexp): New var.
13568 (pcomplete-entries): Rewrite to work with partial-completion and
13569 without relying on pcomplete-suffix-list.
13570 (pcomplete-pare-list): Remove, unused.
13571
13572 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13573
13574 * window.el (display-buffer-alist): Set pop-up-window-min-height
13575 and pop-up-window-min-width in default value. Reported by
13576 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13577 other-window-means-other-frame.
13578 (display-buffer-macro-specifiers): Comment out entry for
13579 other-window specifier.
13580 (display-buffer-other-window-means-other-frame): New function.
13581 (display-buffer-normalize-specifiers-1): New arguments
13582 buffer-name and label. Treat other-window case specially.
13583 (display-buffer-normalize-specifiers-2): Treat other-window case
13584 specially.
13585 (display-buffer-normalize-specifiers-3): New function.
13586 (display-buffer-normalize-specifiers):
13587 Call display-buffer-normalize-specifiers-3.
13588
13589 2011-06-17 Martin Rudalics <rudalics@gmx.at>
13590
13591 * window.el (same-window-p): Fix two typos introduced when
13592 adding with-no-warnings.
13593 (display-buffer-normalize-specifiers-1): Don't check
13594 pop-up-frames for 'unset initialization.
13595 (display-buffer-normalize-specifiers-2): Major rewrite using
13596 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13597 (pop-up-frames, display-buffer-reuse-frames)
13598 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13599 Suggested by David Engster <deng@randomsample.de>.
13600 (even-window-heights): Initialize to 'unset.
13601 (display-buffer-alist-set): Handle new 'unset initializations.
13602 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13603 other window case.
13604
13605 2011-06-16 Martin Rudalics <rudalics@gmx.at>
13606
13607 * window.el (display-buffer-normalize-specifiers-1):
13608 Respect current value of pop-up-frames for most reasonable values of
13609 second argument of display-buffer (Bug#8865).
13610 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13611 (switch-to-buffer-other-window-same-frame)
13612 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13613 Adams (Bug#8875).
13614 (display-buffer): Don't check noninteractive when calling
13615 display-buffer-pop-up-frame.
13616 (display-buffer-pop-up-frame): Never pop up a frame in
13617 noninteractive mode (Bug#8857).
13618 (enlarge-window, shrink-window): Don't report an error when the
13619 window can't be resized as requested (Bug#8862).
13620
13621 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13624
13625 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13626
13627 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13628
13629 2011-06-15 Alan Mackenzie <acm@muc.de>
13630
13631 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13632 for declarators, disable knr checking to speed up for normal files.
13633 2: Refactor, replacing a sequence of nested if forms by a cond form.
13634
13635 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13636
13637 * net/network-stream.el (open-network-stream): Add the keyword
13638 :always-query-capabilities for the case where you want to force a
13639 `plain' network connection, but the protocol still requires the
13640 capabilitiy command (i.e., SMTP and EHLO).
13641
13642 * subr.el (process-live-p): Rename from `process-alive-p' for
13643 consistency with other `-live-p' functions.
13644
13645 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13646
13647 * window.el (same-window-buffer-names, same-window-regexps)
13648 (special-display-frame-alist, special-display-popup-frame)
13649 (special-display-function, special-display-buffer-names)
13650 (special-display-regexps, pop-up-frame-alist)
13651 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13652 (pop-up-windows, split-window-preferred-function)
13653 (split-height-threshold, split-width-threshold, even-window-heights)
13654 (display-buffer-mark-dedicated): Don't encourage the use of
13655 display-buffer-alist from Elisp code.
13656
13657 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13658
13659 * progmodes/python.el (python-mode): Derive from prog-mode.
13660 * progmodes/ps-mode.el (ps-mode):
13661 * progmodes/mixal-mode.el (mixal-mode):
13662 * progmodes/cfengine.el (cfengine-mode):
13663 * progmodes/ld-script.el (ld-script-mode): Likewise.
13664
13665 2011-06-15 Martin Rudalics <rudalics@gmx.at>
13666
13667 * window.el (display-buffer-alist): Trim default value to avoid
13668 popping up a new frame (Bug#8857) or reusing an arbitrary window
13669 on another frame.
13670 (display-buffer): Do not fall back on popping up a new frame in
13671 batch mode (Bug#8857).
13672
13673 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
13674
13675 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13676 (custom-theme-summary): New function.
13677 (customize-themes): Use it.
13678
13679 2011-06-13 Glenn Morris <rgm@gnu.org>
13680
13681 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13682
13683 2011-06-13 Martin Rudalics <rudalics@gmx.at>
13684
13685 * help.el (help-window): Remove variable.
13686 (help-window-point-marker, temp-buffer-max-height)
13687 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13688 (help-print-return-message): Don't set help-window.
13689 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13690 (help-window-setup-finish): Remove.
13691 (help-window-display-message, help-window-setup)
13692 (with-help-window): Major rewrite based on new
13693 display-buffer-window variable.
13694
13695 * help-mode.el (help-mode-finish): Remove help-window related
13696 code.
13697
13698 * view.el (view-exits-all-viewing-windows): Remove reference to
13699 view-return-to-alist in doc-string.
13700 (view-return-to-alist): Make obsolete.
13701 (view-buffer): Call pop-to-buffer-same-window and remove
13702 undo-window code.
13703 (view-buffer-other-window): Call pop-to-buffer-other-window and
13704 simplify code. Ignore second argument.
13705 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13706 simplify code. Ignore second argument.
13707 (view-return-to-alist-update): Make obsolete.
13708 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13709 Rewrite using quit-restore window parameters.
13710 (view-mode-exit): Rename second argument to EXIT-ONLY.
13711 Rewrite using quit-restore-window.
13712 (View-exit, View-exit-and-edit, View-leave, View-quit)
13713 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13714 appropriate arguments.
13715 (view-end-message): Use quit-restore window parameter.
13716
13717 * window.el (display-buffer-function): Rewrite doc-string.
13718 (display-buffer-window, display-buffer-alist): New variables.
13719 (display-buffer-split-specifiers)
13720 (display-buffer-side-specifiers)
13721 (display-buffer-macro-specifiers): New constants.
13722 (display-buffer-even-window-sizes, display-buffer-set-height)
13723 (display-buffer-set-width, display-buffer-select-window)
13724 (display-buffer-in-window, display-buffer-reuse-window)
13725 (display-buffer-split-window-1, display-buffer-split-window)
13726 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13727 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13728 (display-buffer-in-side-window, normalize-buffer-to-display)
13729 (display-buffer-normalize-specifiers-1)
13730 (display-buffer-normalize-specifiers-2)
13731 (display-buffer-normalize-specifiers, display-buffer-frame):
13732 New functions.
13733 (display-buffer): Major rewrite.
13734 (display-buffer-other-window, display-buffer-other-frame)
13735 (pop-to-buffer, switch-to-buffer-other-window)
13736 (switch-to-buffer-other-frame): Rewrite.
13737 (display-buffer-same-window, display-buffer-same-frame)
13738 (display-buffer-same-frame-other-window)
13739 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13740 (pop-to-buffer-other-window)
13741 (pop-to-buffer-same-frame-other-window)
13742 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13743 (switch-to-buffer-other-window-same-frame): New functions.
13744 (same-window-p, special-display-p): Rewrite disabling warnings.
13745 Make obsolete.
13746 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13747 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13748 Make obsolete
13749 (same-window-buffer-names, same-window-regexps)
13750 (special-display-frame-alist, special-display-popup-frame)
13751 (special-display-function, special-display-buffer-names)
13752 (special-display-regexps, pop-up-frame-alist)
13753 (pop-up-frame-function, split-window-preferred-function)
13754 (split-height-threshold, split-width-threshold)
13755 (even-window-heights): Make obsolete.
13756
13757 2011-06-12 Glenn Morris <rgm@gnu.org>
13758
13759 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
13760 Misc simplifications.
13761
13762 2011-06-12 Martin Rudalics <rudalics@gmx.at>
13763
13764 * window.el (window-safely-shrinkable-p): Restore function which
13765 was inadvertently removed in change from 2011-06-11. Declare as
13766 obsolete.
13767
13768 * calendar/calendar.el (calendar-generate-window):
13769 Use window-iso-combined-p instead of combination of one-window-p and
13770 window-safely-shrinkable-p.
13771
13772 2011-06-12 Glenn Morris <rgm@gnu.org>
13773
13774 * progmodes/fortran.el (fortran-mode-syntax-table):
13775 * progmodes/f90.el (f90-mode-syntax-table):
13776 Set % to punctuation. (Bug#8820)
13777 (f90-find-tag-default): Remove, no longer needed.
13778
13779 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13780
13781 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13782
13783 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
13784
13785 * image.el (image-animated-p): Return animation delay in seconds.
13786 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13787 (image-animate-timeout): Remove DELAY argument. Don't assume
13788 every subimage has the same delay; get it from image-animated-p.
13789 (image-animate): Caller changed.
13790
13791 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13794 to ignored backtrace functions.
13795
13796 2011-06-11 Glenn Morris <rgm@gnu.org>
13797
13798 * calendar/appt.el (appt-disp-window-function): Doc fix.
13799 (appt-check): Handle overlapping appointments. (Bug#8337)
13800
13801 2011-06-11 Martin Rudalics <rudalics@gmx.at>
13802
13803 * window.el (window-tree-1, window-tree): New functions, moving
13804 the latter to window.el.
13805 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13806 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13807 (bw-refresh-edges): Remove.
13808 (balance-windows-1, balance-windows-2): New functions.
13809 (balance-windows): Rewrite in terms of window tree functions,
13810 balance-windows-1 and balance-windows-2.
13811 (bw-adjust-window): Remove.
13812 (balance-windows-area-adjust): New function with functionality of
13813 bw-adjust-window but using resize-window.
13814 (set-window-text-height): Rewrite doc-string.
13815 Use normalize-live-window and resize-window.
13816 (enlarge-window-horizontally, shrink-window-horizontally):
13817 Rename argument to DELTA.
13818 (window-buffer-height): New function.
13819 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13820 Rewrite using new window resize routines.
13821 (kill-buffer-and-window, mouse-autoselect-window-select):
13822 Use ignore-errors instead of condition-case.
13823 (quit-window): Call delete-frame instead of delete-windows-on
13824 for the only buffer on frame.
13825
13826 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13827
13828 * loadup.el (top-level): Load window before files for the sake
13829 of replace-buffer-in-windows.
13830
13831 * files.el (read-buffer-to-switch)
13832 (switch-to-buffer-other-window)
13833 (switch-to-buffer-other-frame, display-buffer-other-frame):
13834 Move to window.el.
13835
13836 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13837 (previous-buffer): Move to window.el.
13838
13839 * bindings.el (unbury-buffer): Move to window.el.
13840
13841 * window.el (delete-other-windows-vertically): Move after
13842 definition of delete-other-windows.
13843 (other-window, delete-windows-on, replace-buffer-in-windows):
13844 Move here from window.c.
13845 (record-window-buffer, unrecord-window-buffer)
13846 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13847 (switch-to-next-buffer): New functions.
13848 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13849 from simple.el. Call switch-to-next-buffer.
13850 (previous-buffer): Move here from simple.el.
13851 Call switch-to-prev-buffer.
13852 (bury-buffer): Move here from buffer.c. Switch to previous
13853 buffer when window cannot be deleted.
13854 (unbury-buffer): Move here from bindings.el.
13855 (ctl-x-map): Move binding for other-window from window.c to
13856 here.
13857 (read-buffer-to-switch, switch-to-buffer-other-window)
13858 (switch-to-buffer-other-frame): Move here from files.el.
13859 (normalize-buffer-to-switch-to): New functions.
13860 (switch-to-buffer): Move here from buffer.c.
13861 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
13862
13863 2011-06-10 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (window-min-height, window-min-width): Move here
13866 from window.c. Add defcustoms and rewrite doc-strings.
13867 (resize-mini-window, resize-window): New functions.
13868 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13869 Move here from window.c.
13870 (maximize-window, minimize-window): New functions.
13871 (delete-window, delete-other-windows, split-window): Move here
13872 from window.c.
13873 (window-split-min-size): New function.
13874 (split-window-keep-point): Mention split-window-above-each-other
13875 instead of split-window-vertically.
13876 (split-window-above-each-other, split-window-vertically):
13877 Rename split-window-vertically to split-window-above-each-other
13878 and provide defalias for old definition.
13879 (split-window-side-by-side, split-window-horizontally):
13880 Rename split-window-horizontally to split-window-side-by-side
13881 and provide defalias for the old definition.
13882 (ctl-x-map): Move bindings for delete-window,
13883 delete-other-windows and enlarge-window here from window.c.
13884 Replace bindings for split-window-vertically and
13885 split-window-horizontally by bindings for
13886 split-window-above-each-other and split-window-side-by-side.
13887
13888 * cus-start.el (all): Remove entries for window-min-height and
13889 window-min-width. Add entries for window-splits and
13890 window-nest.
13891
13892 2011-06-09 Glenn Morris <rgm@gnu.org>
13893
13894 * calendar/appt.el (appt-mode-line): New function.
13895 (appt-check, appt-disp-window): Use it.
13896
13897 * files.el (hack-one-local-variable-eval-safep):
13898 Allow minor-modes with explicit +/-1 arguments.
13899
13900 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
13901
13902 * term/xterm.el (xterm): Add defgroup.
13903 (xterm-extra-capabilities): Add defcustom to supply known xterm
13904 capabilities, skip querying them, or query them (default).
13905 (terminal-init-xterm): Use it.
13906 (terminal-init-xterm-modify-other-keys): New function to set up
13907 modifyOtherKeys support to simplify `terminal-init-xterm'.
13908
13909 2011-06-09 Martin Rudalics <rudalics@gmx.at>
13910
13911 * window.el (resize-window-reset, resize-window-reset-1)
13912 (resize-subwindows-skip-p, resize-subwindows-normal)
13913 (resize-subwindows, resize-other-windows, resize-this-window)
13914 (resize-root-window, resize-root-window-vertically)
13915 (window-deletable-p, window-or-subwindow-p)
13916 (frame-root-window-p): New functions.
13917
13918 2011-06-09 Glenn Morris <rgm@gnu.org>
13919
13920 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
13921 (ange-ftp-get-files): Use it.
13922
13923 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
13924
13925 * mail/sendmail.el (mail-recover-1, mail-recover):
13926 * files.el (recover-file, recover-session):
13927 Handle dired-listing-switches not being just a single short option.
13928
13929 2011-06-09 Glenn Morris <rgm@gnu.org>
13930
13931 * calendar/appt.el (appt-display-message, appt-disp-window):
13932 Handle lists of appointments.
13933
13934 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13935
13936 * window.el (one-window-p): Move down in code.
13937 Rewrite doc-string.
13938 (window-current-scroll-bars): Rewrite doc-string.
13939 Normalize live window argument.
13940 (walk-windows, get-window-with-predicate, count-windows):
13941 Rewrite doc-string. Use window-list-1.
13942 (window-in-direction-2, window-in-direction, get-mru-window):
13943 New functions.
13944
13945 2011-06-08 Reuben Thomas <rrt@sc3d.org>
13946
13947 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
13948 Doc fix (Bug#8713).
13949
13950 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
13951
13952 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
13953
13954 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
13955
13956 * loadhist.el (unload-feature-special-hooks):
13957 Add `comint-output-filter-functions'.
13958
13959 2011-06-08 Ivan Kanis <gnu@kanis.fr>
13960
13961 * calendar/appt.el (appt-check): Move some initializations into the let.
13962
13963 2011-06-08 Martin Rudalics <rudalics@gmx.at>
13964
13965 * window.el (window-height): Defalias to window-total-height.
13966 (window-width): Defalias to window-body-width.
13967
13968 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
13969
13970 * image-mode.el (image-toggle-animation): New command.
13971 (image-mode-map): Bind it to RET.
13972 (image-mode): Update message.
13973 (image-toggle-display-image): Avoid a spurious cache flush.
13974 (image-transform-rotation): Doc fix.
13975 (image-transform-properties): Return quickly in the normal case.
13976 (image-animate-loop): Rename from image-animate-max-time.
13977
13978 * image.el (image-animate-max-time): Move to image-mode.el.
13979 (create-animated-image): Remove unnecessary function.
13980 (image-animate): Rename from image-animate-start. New arg.
13981 (image-animate-stop): Remove; just use image-animate-timer.
13982 (image-animate-timer): Use car-safe.
13983 (image-animate-timeout): Rename argument.
13984
13985 2011-06-07 Martin Rudalics <rudalics@gmx.at>
13986
13987 * window.el (get-lru-window, get-largest-window): Move here from
13988 window.c. Rename first argument to ALL-FRAMES.
13989 Rephrase doc-strings.
13990 (get-buffer-window-list): Rewrite using window-list-1.
13991 Rephrase doc-string.
13992 (window-safe-min-height, window-safe-min-width): New constants.
13993 (window-size-ignore, window-min-size, window-min-size-1)
13994 (window-sizable, window-sizable-p, window-size-fixed-1)
13995 (window-size-fixed-p, window-min-delta-1, window-min-delta)
13996 (window-max-delta-1, window-max-delta, window-resizable)
13997 (window-resizable-p, window-total-height, window-total-width)
13998 (window-body-width): New functions.
13999 (window-full-height-p, window-full-width-p): Rewrite using
14000 window-total-size.
14001 (window-body-height): Rewrite using window-body-size.
14002
14003 2011-06-06 Martin Rudalics <rudalics@gmx.at>
14004
14005 * window.el (window-right, window-left, window-child)
14006 (window-child-count, window-last-child, window-any-p)
14007 (normalize-live-buffer, normalize-live-frame)
14008 (normalize-any-window, normalize-live-window)
14009 (window-iso-combination-p, window-iso-combined-p)
14010 (window-iso-combinations)
14011 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14012 (windows-with-parameter, window-with-parameter)
14013 (window-atom-root, make-window-atom, window-atom-check-1)
14014 (window-atom-check, window-side-check, window-check):
14015 New functions.
14016 (ignore-window-parameters, window-sides, window-sides-vertical)
14017 (window-sides-slots): New variables.
14018 (window-size-fixed): Move down in code. Minor doc-string fix.
14019
14020 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14021
14022 * comint.el (comint-dynamic-complete-as-filename)
14023 (comint-dynamic-complete-filename): Correctly call
14024 completion-in-region.
14025
14026 2011-06-05 Deniz Dogan <deniz@dogan.se>
14027
14028 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14029 in last change.
14030
14031 2011-06-05 Deniz Dogan <deniz@dogan.se>
14032
14033 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14034 (rcirc): Use it to prompt for encryption.
14035
14036 2011-06-05 Roland Winkler <winkler@gnu.org>
14037
14038 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14039 (bibtex-search-entries): New command bound to C-c C-a.
14040 (bibtex-display-entries): New function.
14041
14042 2011-06-05 Roland Winkler <winkler@gnu.org>
14043
14044 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14045 (bibtex-insert-kill): After yanking insert newline if necessary.
14046 (bibtex-initialize): Call bibtex-string-files-init only once.
14047 (bibtex-mode): Do not call easy-menu-add.
14048 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14049 (bibtex-yank): Set arg properly if nil.
14050
14051 2011-06-05 Roland Winkler <winkler@gnu.org>
14052
14053 * textmodes/bibtex.el (bibtex-search-entry-globally):
14054 New variable.
14055 (bibtex-search-entry): Use it.
14056
14057 2011-06-05 Roland Winkler <winkler@gnu.org>
14058
14059 * textmodes/bibtex.el (bibtex-entry-format): New option
14060 sort-fields.
14061 (bibtex-format-entry, bibtex-reformat): Honor this option.
14062 (bibtex-parse-entry): Return fields in proper order.
14063
14064 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
14065
14066 * doc-view.el (doc-view-remove-if): Move computation of result out
14067 of `dolist' to silence misleading lexical-binding warning.
14068
14069 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14072 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14073
14074 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14075
14076 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14077 "SunOS 5.10".
14078
14079 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
14080
14081 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14082 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14083 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14084 (tramp-parse-putty):
14085 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14086 (tramp-completion-function-alist-ssh)
14087 (tramp-completion-function-alist-telnet)
14088 (tramp-completion-function-alist-su)
14089 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14090 cookie.
14091
14092 * net/tramp-ftp.el:
14093 * net/tramp-sh.el:
14094 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14095 load "tramp.el" `tramp-set-completion-function'.
14096
14097 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14098
14099 * shell.el: Require and use pcomplete.
14100 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14101 (shell-completion-vars): Set pcomplete-default-completion-function.
14102
14103 2011-06-04 Deniz Dogan <deniz@dogan.se>
14104
14105 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14106 `memq' (Bug#8799).
14107
14108 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14109
14110 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14111
14112 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
14113
14114 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14115 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14116 * vc/log-view.el (log-view-beginning-of-defun):
14117 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14118 (smerge-refine-forward, smerge-refine-chopup-region):
14119 Silence warning for unused `dotimes' counter variables.
14120
14121 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * net/tramp.el (tramp-with-progress-reporter): Rename from
14124 with-progress-reporter. Use `declare'.
14125 * net/tramp-smb.el:
14126 * net/tramp-sh.el:
14127 * net/tramp-gvfs.el: Update all uses.
14128
14129 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14130
14131 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14132 buffer isn't killed before making it current.
14133
14134 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 Silence various byte-compiler warnings.
14137 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14138 `access-type' and new obsolescence format.
14139 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14140 new format.
14141 (byte-compile-check-variable): New `access-type' argument.
14142 Only warn if the access-type is obsolete.
14143 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14144 (byte-compile-variable-set): Adjust callers.
14145 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14146 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14147 setting it as obsolete.
14148 * simple.el (minibuffer-completing-symbol):
14149 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14150 access as obsolete.
14151 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14152 obsolete yet.
14153 * international/quail.el (quail-mouse-choose-completion): Remove unused
14154 code referring to obsolete var.
14155 (quail-choose-completion-string): Remove.
14156 * server.el (server-clients-with, server-kill-buffer-query-function)
14157 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14158 * proced.el (proced-send-signal):
14159 * emacs-lisp/lisp.el (lisp-complete-symbol):
14160 Replace completion-annotate-function with completion-extra-properties.
14161
14162 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14163
14164 * simple.el (goto-line): Use read-number.
14165 (overriding-map-is-bound): Remove.
14166 (saved-overriding-map): Change default.
14167 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14168 Take the map as argument.
14169 (universal-argument, negative-argument, digit-argument): Use it.
14170 (restore-overriding-map): Adjust.
14171 (do-auto-fill): Use fill-forward-paragraph.
14172 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14173
14174 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14175 (minibuffer-inactive-mode): New major mode.
14176 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14177 the *Messages* buffer" hack.
14178 (mouse-popup-menubar): Don't burp if the event is a normal key.
14179
14180 Miscellaneous tweaks.
14181 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14182 lexical scoping as in subr.el's dolist and dotimes.
14183 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14184 Silence compiler warning.
14185 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14186 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14187 * international/ccl.el (ccl-compile): Trivial simplification.
14188 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14189 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14190 `printflag' argument.
14191 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14192 Purecopy the whole obsolescence data.
14193
14194 2011-06-01 Leo Liu <sdl.web@gmail.com>
14195
14196 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14197 improve doc-string as suggested by Marco Pessotto
14198 <melmothx@gmail.com>.
14199 (rcirc-print): Fix last change.
14200
14201 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * minibuffer.el (complete-with-action): Return nil for the metadata and
14204 boundaries of non-functional tables.
14205 (completion-table-dynamic): Return nil for the metadata.
14206 (completion-table-with-terminator): Add default case, using
14207 complete-with-action.
14208 (completion--metadata): New function.
14209 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14210 to try and avoid pathological performance problems.
14211 (completion--embedded-envvar-table): Return `category' metadata.
14212
14213 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14214
14215 * subr.el (process-alive-p): New tiny convenience function.
14216
14217 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14218
14219 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14220 content but also its previous major mode.
14221
14222 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
14223
14224 * emacs-lisp/debug.el (debug): Restore the previous content of the
14225 *Backtrace* buffer when we exit with C-M-c.
14226
14227 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * minibuffer.el: Add metadata method to completion tables.
14230 (completion-category-overrides): New defcustom.
14231 (completion-metadata, completion--field-metadata)
14232 (completion-metadata-get, completion--styles)
14233 (completion--cycle-threshold): New functions.
14234 (completion-try-completion, completion-all-completions):
14235 Add `metadata' argument to choose completion-styles.
14236 (completion--do-completion): Use metadata to choose cycling.
14237 (completion-all-sorted-completions): Use metadata for sorting.
14238 Remove :completion-cycle-penalty which is not needed any more.
14239 (completion--try-word-completion): Add `metadata' argument.
14240 (minibuffer-completion-help): Check metadata for annotation function
14241 and sorting.
14242 (completion-file-name-table): Return `category' metadata.
14243 (minibuffer-completing-file-name): Make obsolete.
14244 * simple.el (minibuffer-completing-symbol): Make obsolete.
14245 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14246 completion-try-completion.
14247
14248 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14251
14252 2011-05-30 Leo Liu <sdl.web@gmail.com>
14253
14254 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
14255 (rcirc-print): Decode all incoming messages (bug#8744).
14256 (rcirc-decode-coding-system): Allow value nil for automatic coding
14257 system detection.
14258
14259 2011-06-01 Glenn Morris <rgm@gnu.org>
14260
14261 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14262
14263 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14264
14265 * image.el (image-animate-max-time): Allow nil and t values.
14266 Default to nil.
14267 (create-animated-image): Doc fix.
14268 (image-animate-start): Remove second arg; just use
14269 image-animate-max-time.
14270 (image-animate-timeout): Doc fix. Args changed.
14271
14272 * image-mode.el (image-toggle-display-image): Ensure that the
14273 image spec passed to the animate timer is the same object as in
14274 the buffer's display property (Bug#6981).
14275 (image-transform-properties): Doc fix.
14276
14277 * image.el (image-animate-max-time): Default to nil.
14278
14279 2011-05-29 Martin Rudalics <rudalics@gmx.at>
14280
14281 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14282 entire buffer list (Bug#8184).
14283
14284 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14285
14286 * image.el (imagemagick-types-inhibit)
14287 (imagemagick-register-types): Doc fix.
14288
14289 2011-05-29 Deniz Dogan <deniz@dogan.se>
14290
14291 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14292 default.
14293
14294 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
14295
14296 * select.el: Don't perform clipboard-manager saving in hooks;
14297 leave the hooks empty.
14298
14299 2011-05-28 Leo Liu <sdl.web@gmail.com>
14300
14301 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14302 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14303 (occur-edit-mode): New major mode (Bug#8463).
14304 (occur-after-change-function): New function.
14305 (occur-engine): Give Occur tags a read-only property.
14306
14307 2011-05-28 Kevin Ryde <user42@zip.com.au>
14308
14309 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14310
14311 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14312
14313 * bindings.el (help-echo): Make the initial non-indicator dash
14314 empty on graphical terminals (Bug#7295).
14315
14316 * files.el (auto-mode-alist): Move config rule after the
14317 in-stripping one (Bug#8547).
14318
14319 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14320
14321 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14322 setting (Bug#8740).
14323
14324 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14325
14326 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14327 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14328 (Bug#8539).
14329
14330 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14331
14332 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14333
14334 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14335
14336 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14337 (hs-hide-block-at-point, hs-find-block-beginning)
14338 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14339 (Bug#8279).
14340
14341 2011-05-28 Glenn Morris <rgm@gnu.org>
14342
14343 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14344
14345 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
14346
14347 * help-fns.el (describe-function-1): If the function is a derived
14348 major mode, print the parent mode.
14349
14350 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14351 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14352
14353 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * minibuffer.el (completion--capf-wrapper): Check applicability before
14356 returning non-nil for non-exclusive completion data.
14357 * progmodes/etags.el (tags-completion-at-point-function):
14358 * info-look.el (info-lookup-completions-at-point): Mark as
14359 non-exclusive.
14360 (info-complete): Adjust accordingly.
14361
14362 * info-look.el: Convert to lexical-binding and completion-at-point.
14363 (info-lookup-completions-at-point): New function.
14364 (info-complete): Use it and completion-in-region.
14365
14366 2011-05-28 Drew Adams <drew.adams@oracle.com>
14367
14368 * isearch.el: Let M-e start with point at the first mismatched char.
14369 (isearch-fail-pos): New function.
14370 (isearch-edit-string): Use it.
14371
14372 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14373
14374 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14375
14376 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
14377
14378 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14379 traversal functions for avl-trees.
14380 (avl-tree--stack): New struct.
14381 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14382 (avl-tree-enter): Add optional `updatefun' arg.
14383 (avl-tree--do-enter): Add optional `updatefun' arg.
14384 Change return value.
14385 (avl-tree-delete): Add optional `test' and `nilflag' args.
14386 (avl-tree--do-delete): Add `test' and `nilflag' args.
14387 Change return value.
14388 (avl-tree-member): Add optional `nilflag'
14389 (avl-tree-member-p): New function.
14390 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14391 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14392 (avl-tree-stack-empty-p): New functions.
14393
14394 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14395 avl-tree--del-balance1 and make it work both ways.
14396 (avl-tree--del-balance2): Remove.
14397 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14398 make it work both ways.
14399 (avl-tree--enter-balance2): Remove.
14400 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14401 New macros.
14402 (avl-tree--mapc, avl-tree-map): Add direction argument.
14403
14404 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
14405
14406 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14407
14408 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
14409
14410 * select.el: Support clipboard managers with built-in function
14411 x-clipboard-manager-save, via delete-frame-functions and
14412 kill-emacs-hook.
14413 (xselect-convert-to-targets): Add MULTIPLE target to list.
14414 (xselect-convert-to-save-targets): New function.
14415
14416 2011-05-27 Kenichi Handa <handa@m17n.org>
14417
14418 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14419 let-binding rfc2047-encode-encoded-words to nil.
14420
14421 2011-05-27 Glenn Morris <rgm@gnu.org>
14422
14423 * mail/emacsbug.el: Don't require url-util.
14424
14425 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14426
14427 * files.el (set-auto-mode):
14428 Also respect mode: entries at the end of the file. (Bug#8586)
14429
14430 2011-05-26 Glenn Morris <rgm@gnu.org>
14431
14432 * files.el (hack-local-variables-prop-line, hack-local-variables):
14433 Downcase mode names, as seems to be traditional.
14434 (hack-local-variables, hack-local-variables-apply): Doc fixes.
14435
14436 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14437 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14438
14439 2011-05-25 Julien Danjou <julien@danjou.info>
14440
14441 * textmodes/rst.el (rst-define-level-faces): Do not define face
14442 symbol if it is already defined.
14443
14444 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14445
14446 * play/5x5.el (5x5-new-game, 5x5-randomize):
14447 Reset 5x5-solver-output to nil when a new grid is cast.
14448 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14449 these debugging traces, as defmacro breaks the compiled code.
14450
14451 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14452
14453 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14454
14455 2011-05-24 Leo Liu <sdl.web@gmail.com>
14456
14457 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14458 (vc-bzr-sha1): Adapt.
14459
14460 * sha1.el: Remove. Function `sha1' is now builtin.
14461
14462 * bindings.el: Provide sha1 feature.
14463
14464 2011-05-24 Kenichi Handa <handa@m17n.org>
14465
14466 * mail/sendmail.el: Require `rfc2047'.
14467 (mail-insert-from-field): Do not perform RFC2047 encoding.
14468 (mail-encode-header): New function.
14469 (sendmail-send-it): Set buffer-file-coding-system of the work
14470 buffer to the return value of select-message-coding-system.
14471 Call mail-encode-header.
14472
14473 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14474
14475 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
14476
14477 * mail/supercite.el (sc-default-cite-frame):
14478 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
14479
14480 2011-05-24 Glenn Morris <rgm@gnu.org>
14481
14482 * progmodes/python.el (brm-menu): Declare.
14483
14484 * emulation/viper.el (viper-set-hooks): Declare.
14485
14486 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14487 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14488 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14489 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14490 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14491 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14492
14493 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 Add an :exit-function for completion-at-point.
14496
14497 * minibuffer.el (completion--done): New fun.
14498 (completion--do-completion): Use it. New arg `expect-exact'.
14499 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14500 since completion--do-completion does it for us now.
14501 (minibuffer-force-complete): Use completion--done and
14502 completion--replace. Handle sole-completion case with more care.
14503 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14504 (completion-extra-properties): New var.
14505 (completion-annotate-function): Make obsolete.
14506 (minibuffer-completion-help): Adjust accordingly.
14507 Use completion-list-insert-choice-function.
14508 (completion-at-point, completion-help-at-point):
14509 Bind completion-extra-properties.
14510 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14511 * simple.el (completion-list-insert-choice-function): New var.
14512 (completion-setup-function): Preserve it.
14513 (choose-completion): Pay attention to it, shuffle the code a bit.
14514 (choose-completion-string): New arg `insert-function'.
14515
14516 * textmodes/bibtex.el: Convert to lexical binding.
14517 (bibtex-mode-map): Use completion-at-point.
14518 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14519 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14520 (bibtex-complete): Define as obsolete alias.
14521 (bibtex-complete-internal): Remove.
14522 (bibtex-format-entry): Remove unused sub-group in regexp.
14523 * shell.el (shell--command-completion-data)
14524 (shell-environment-variable-completion):
14525 * pcomplete.el (pcomplete-completions-at-point):
14526 * comint.el (comint--complete-file-name-data): Use :exit-function
14527 instead of completion-table-with-terminator so it also works for
14528 choose-completion.
14529
14530 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14533
14534 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14535 (bug#8710).
14536
14537 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14538
14539 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14540
14541 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14542 customization variable and implement: If non-nil, auto-fill will
14543 be inhibited while on topic's header line.
14544
14545 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14546
14547 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
14548 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
14549 always have a solution in grid size = 5 cases.
14550 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14551 (5x5-solver-output, 5x5-log-buffer): New vars.
14552 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14553 Make these variables buffer local to achieve 5x5 multi-session-ness.
14554 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14555 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14556 (5x5-solve-suggest): New funs.
14557 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14558 randomize a grid so that we ensure that there is always a solution.
14559 (5x5-make-random-grid): Allow other movement than flipping.
14560
14561 2011-05-23 Kevin Ryde <user42@zip.com.au>
14562
14563 * emacs-lisp/advice.el (ad-read-advised-function):
14564 Use `function-called-at-point' as the default, if it has
14565 advice and passes PREDICATE.
14566
14567 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14570 byte-compile-lambda if it's actually a lambda.
14571
14572 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14573 Fix function quoting. Use backquote better.
14574
14575 2011-05-22 Yuanle Song <sylecn@gmail.com>
14576
14577 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14578 matching (Bug#8516).
14579
14580 2011-01-22 Jari Aalto <jari.aalto@cante.net>
14581
14582 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14583 different face (Bug#8178).
14584
14585 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
14586
14587 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14588 defface (Bug#8144).
14589
14590 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14593 funcall as well (bug#8712). Warn when performing those conversions.
14594 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14595
14596 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14597
14598 2011-05-22 Glenn Morris <rgm@gnu.org>
14599
14600 * files.el (hack-local-variables-prop-line): Small simplifications.
14601 (hack-local-variables, hack-local-variables-prop-line):
14602 If MODE-ONLY, return the mode, rather than just `t'.
14603
14604 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14607
14608 2011-05-21 Glenn Morris <rgm@gnu.org>
14609
14610 * files.el (hack-local-variables-prop-line, hack-local-variables):
14611 If only interested in the mode, don't bother doing the other stuff.
14612
14613 * image-mode.el (image-after-revert-hook):
14614 Redraw all frames on which the image is visible. (Bug#8567)
14615
14616 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14617
14618 * wid-edit.el (widget-checklist-match-inline):
14619 Fix 2011-04-19 change. (Bug#8649)
14620
14621 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14624 Also allow singlespace after single-letter capitals followed by a dot.
14625
14626 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14627 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14628
14629 2011-05-20 Nix <nix@esperi.org.uk>
14630
14631 * files.el (basic-save-buffer-2):
14632 Fix handling of break-hardlink-on-save with non-existent files.
14633
14634 2011-05-19 Deniz Dogan <deniz@dogan.se>
14635
14636 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
14637 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
14638
14639 2011-05-19 Glenn Morris <rgm@gnu.org>
14640
14641 * progmodes/f90.el (f90-type-def-re):
14642 Handle "type, bind(c)". (Bug#8691)
14643
14644 * emacs-lisp/autoload.el (batch-update-autoloads):
14645 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14646
14647 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
14648
14649 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14650 property for the correct connection in case of multihops.
14651
14652 2011-05-18 Glenn Morris <rgm@gnu.org>
14653
14654 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
14655 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14656
14657 Rationalize calendar handling of day and month abbrev-arrays.
14658 * calendar/calendar.el (calendar-customized-p): New function.
14659 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14660 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14661 Add :set function.
14662 (calendar-abbrev-length, calendar-day-abbrev-array)
14663 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14664 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14665 Elements may no longer be nil.
14666 (calendar-day-name, calendar-month-name):
14667 Update for changed nature of abbrev arrays.
14668 * calendar/diary-lib.el (diary-name-pattern):
14669 Update for changed nature of abbrev arrays.
14670 (diary-mark-entries-1): Update calendar-make-alist calls.
14671 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14672 * calendar/cal-html.el (cal-html-day-abbrev-array):
14673 Simply inherit from calendar-day-abbrev-array.
14674
14675 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14676
14677 * progmodes/grep.el (grep-mode): Disable default
14678 compilation-directory-matcher setting (bug#8684).
14679
14680 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
14681
14682 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14683 instead of "head" and "tail". There were problems with SunOS 5.9,
14684 and it performs better.
14685
14686 2011-05-17 Glenn Morris <rgm@gnu.org>
14687
14688 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14689
14690 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14691 Replace obsolete function.
14692
14693 * shell.el (pcomplete-parse-arguments-function): Declare.
14694
14695 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14696 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14697 (appt-check): Doc fixes.
14698 (appt-disp-window-function, appt-delete-window-function):
14699 Remove needless special case in custom :type.
14700 (appt-display-count): Default to 0, not nil.
14701 (appt-check): Reset appt-display-count to 0, not nil.
14702
14703 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
14704
14705 * progmodes/python.el (python-font-lock-keywords):
14706 Add the Python 3.X keyword "nonlocal" (bug#8639).
14707
14708 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14711
14712 2011-05-16 Kevin Ryde <user42@zip.com.au>
14713
14714 * info-look.el (makefile-automake-mode): New setups, looking in
14715 automake manual, then makefile-mode.
14716 (makefile-mode): Remove automake manual, have it just in
14717 makefile-automake-mode since there's various things different or
14718 not relevant to plain make.
14719 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14720 believe a hypothetical automake-mode would go to makefile-mode,
14721 not the other way around.
14722
14723 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
14724
14725 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14726 hunk-end tags (Bug#8672).
14727
14728 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14729 vc-annotate-show-diff-revision-at-line (Bug#8671).
14730
14731 2011-05-14 Glenn Morris <rgm@gnu.org>
14732
14733 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14734 in the middle of an existing one with multiple authors. (Bug#8645)
14735 (change-log-font-lock-keywords): Also handle multiple author lines
14736 with leading tabs. (Bug#8644)
14737
14738 * calendar/appt.el (appt-check): Rename some local variables.
14739 Some simplification/reordering.
14740
14741 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14742 (feedmail-sendmail-f-doesnt-sell-me-out)
14743 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14744 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14745 (feedmail-queue-runner-message-sender): Set :version.
14746 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14747 (bbdb-dwim-net-address, vm-mail): Declare.
14748 (feedmail-binmail-gnulinuxish-template):
14749 Rename from feedmail-binmail-linuxish-template.
14750 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14751 Use insert-buffer-substring.
14752
14753 2011-05-14 Bill Carpenter <bill@carpenter.org>
14754
14755 * mail/feedmail.el (feedmail-patch-level): Increase.
14756 (feedmail-debug): New custom group.
14757 (feedmail-confirm-outgoing-timeout)
14758 (feedmail-sendmail-f-doesnt-sell-me-out)
14759 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14760 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14761 (feedmail-sender-line, feedmail-from-line)
14762 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
14763 (feedmail-spray-this-address)
14764 (feedmail-spray-address-fiddle-plex-list)
14765 (feedmail-queue-use-send-time-for-date)
14766 (feedmail-queue-use-send-time-for-message-id)
14767 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14768 (feedmail-buffer-eating-function):
14769 Doc fixes.
14770 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14771 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14772 (feedmail-message-action-scroll-down): New functions.
14773 (feedmail-queue-directory, feedmail-queue-draft-directory):
14774 Use expand-file-name.
14775 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14776 Remove C-v help entry.
14777 (feedmail-queue-buffer-file-name): New variable.
14778 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14779 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14780 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14781 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14782 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14783 (feedmail-message-action-toggle-spray)
14784 (feedmail-run-the-queue-no-prompts)
14785 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14786 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14787 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14788 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14789 (feedmail-envelope-deducer, feedmail-fiddle-from)
14790 (feedmail-fiddle-sender, feedmail-default-date-generator)
14791 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14792 (feedmail-fiddle-spray-address)
14793 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14794 (feedmail-fiddle-list-of-fiddle-plexes)
14795 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14796 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14797 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14798 Change default. Doc fix.
14799 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14800 (feedmail-binmail-linuxish-template): New constant.
14801 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14802 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14803 (feedmail-send-it): Add debug call.
14804 Use feedmail-queue-buffer-file-name, and
14805 feedmail-send-it-immediately-wrapper.
14806 (feedmail-message-action-send): Add debug call.
14807 Use feedmail-send-it-immediately-wrapper.
14808 (feedmail-queue-express-to-queue): Add debug call.
14809 Run feedmail-queue-express-hook.
14810 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14811 (feedmail-message-action-help-blat):
14812 Rename from feedmail-queue-send-edit-prompt-help-first.
14813 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14814 Check line-endings. Handle errors better.
14815 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14816 Doc fix. Add debug call.
14817 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14818 Use feedmail-queue-send-edit-prompt-inner.
14819 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14820 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14821 from feedmail-queue-send-edit-prompt.
14822 (feedmail-queue-send-edit-prompt-help)
14823 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14824 (feedmail-tidy-up-slug): Add debug call.
14825 Respect feedmail-queue-slug-suspect-regexp.
14826 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14827 (feedmail-dump-message-to-queue): Add debug call.
14828 Expand queue-directory.
14829 (feedmail-dump-message-to-queue): Change message slightly.
14830 Use feedmail-say-chatter.
14831 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14832 (feedmail-send-it-immediately-wrapper): New function.
14833 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14834 Insert empty string rather than newline. Handle full-frame case.
14835 Use catch/throw. Use feedmail-say-chatter.
14836 (feedmail-fiddle-from): Try mail-host-address.
14837 (feedmail-default-message-id-generator): Doc fix.
14838 Bind system-time-locale. Handle missing end.
14839 (feedmail-fiddle-x-mailer): Add debug call.
14840 Handle feedmail-x-mailer-line being nil.
14841 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14842 Add debug call. Use buffer-substring-no-properties.
14843 (feedmail-say-debug, feedmail-say-chatter): New functions.
14844 (feedmail-find-eoh): Give an explicit error.
14845
14846 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
14847
14848 * net/newst-treeview.el (newsticker-treeview-face): Change default
14849 family from helvetica to sans.
14850 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
14851 etc/images/newsticker.
14852
14853 * net/newst-reader.el (newsticker-feed-face): Change default
14854 family from helvetica to sans.
14855
14856 * net/newst-plainview.el (newsticker-new-item-face)
14857 (newsticker-old-item-face, newsticker-immortal-item-face)
14858 (newsticker-obsolete-item-face, newsticker-date-face)
14859 (newsticker-statistics-face): Change default family from
14860 helvetica to sans.
14861 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
14862 etc/images/newsticker.
14863
14864 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14865 (newsticker--process-auto-mark-filter-match): Tell user about
14866 auto-marking.
14867
14868 2011-05-13 Didier Verna <didier@xemacs.org>
14869
14870 Common Lisp indentation improvements on defmethod and lambda-lists.
14871 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14872 TODO entries.
14873 (lisp-lambda-list-keyword-parameter-indentation)
14874 (lisp-lambda-list-keyword-parameter-alignment)
14875 (lisp-lambda-list-keyword-alignment): New customizable user options.
14876 (lisp-indent-defun-method): Improve docstring.
14877 (extended-loop-p): Fix comment.
14878 (lisp-indent-lambda-list-keywords-regexp): New variable.
14879 (lisp-indent-lambda-list): New function.
14880 (lisp-indent-259): Use it.
14881 (lisp-indent-defmethod): Support for more than one
14882 method qualifier and properly indent methods lambda-lists.
14883 (defgeneric): Provide a missing common-lisp-indent-function property.
14884
14885 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14886
14887 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14888 bounds for the empty string (bug#8667).
14889
14890 2011-05-13 Glenn Morris <rgm@gnu.org>
14891
14892 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14893
14894 * mail/sendmail.el (sendmail-program): Try executable-find first.
14895 (sendmail-send-it): `sendmail-program' cannot be unbound.
14896
14897 * calendar/appt.el (appt-make-list): Simplify.
14898 (appt-time-msg-list): Doc fix.
14899 (appt-check): Change mode-line message at the time of the appointment.
14900
14901 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
14902
14903 * progmodes/ld-script.el (ld-script-keywords)
14904 (ld-script-builtins): Update keywords list.
14905
14906 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
14909
14910 * shell.el (shell-completion-vars): New function.
14911 (shell-mode):
14912 * simple.el (read-shell-command): Use it.
14913 (blink-matching-open): No need for " [...]" in minibuffer-message.
14914
14915 2011-05-12 Glenn Morris <rgm@gnu.org>
14916
14917 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
14918 (appt-check): Simplify.
14919
14920 2011-05-12 Eli Zaretskii <eliz@gnu.org>
14921
14922 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
14923 literal "/dev/null".
14924
14925 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
14928 Fix typo.
14929
14930 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
14931
14932 * progmodes/which-func.el (which-function):
14933 Use add-log-current-defun instead of add-log-current-defun-function,
14934 which might not be defined (Bug#8260).
14935
14936 2011-05-12 Glenn Morris <rgm@gnu.org>
14937
14938 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
14939 Let byte-compile-initial-macro-environment always take precedence.
14940
14941 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 * net/rcirc.el: Add support for SSL/TLS connections.
14944 (rcirc-server-alist): New field `encryption'.
14945 (rcirc): Check `encryption' settings.
14946 (rcirc-connect): New arg `encryption'. Use open-network-stream.
14947 Merge make-local-variable into `set'.
14948 (rcirc--connection-open-p): New function.
14949 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
14950 the process is not a network process (e.g. running gnutls-cli).
14951 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
14952 Make rcirc-(en|de)code-coding-system local here.
14953 (rcirc-mode): Merge make-local-variable into `set'.
14954 (rcirc-parent-buffer): Make permanent buffer-local.
14955 (rcirc-multiline-minor-mode): Don't do it here.
14956 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
14957 there's no server buffer.
14958
14959 2011-05-11 Glenn Morris <rgm@gnu.org>
14960
14961 * newcomment.el (comment-kill): Prefix "unused" local.
14962
14963 * term/w32console.el (get-screen-color): Declare.
14964
14965 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
14966 Handle symbol elements of byte-compile-initial-macro-environment.
14967
14968 2011-05-10 Leo Liu <sdl.web@gmail.com>
14969
14970 * bookmark.el (bookmark-bmenu-mode-map):
14971 Bind bookmark-bmenu-search to `/'.
14972
14973 * mail/footnote.el: Convert to utf-8 encoding.
14974 (footnote-unicode-string, footnote-unicode-regexp): New variable.
14975 (Footnote-unicode): New function.
14976 (footnote-style-alist): Add unicode style to the list.
14977 (footnote-style): Doc fix.
14978
14979 2011-05-10 Jim Meyering <meyering@redhat.com>
14980
14981 Fix doubled-word typos.
14982 * international/quail.el (quail-insert-kbd-layout): and and -> and
14983 * kermit.el: and and -> and
14984 * net/ldap.el (ldap-search-internal): to to -> to
14985 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
14986 * progmodes/js.el (js-mode): and and -> and
14987 * textmodes/artist.el (artist-move-to-xy): at at -> at
14988 (artist-draw-region-trim-line-endings): if if -> if
14989 And Safetyc -> Safety.
14990 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
14991
14992 2011-05-10 Glenn Morris <rgm@gnu.org>
14993 Stefan Monnier <monnier@iro.umontreal.ca>
14994
14995 * files.el (hack-one-local-variable-eval-safep):
14996 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
14997
14998 2011-05-10 Glenn Morris <rgm@gnu.org>
14999
15000 * calendar/diary-lib.el (diary-list-entries-hook)
15001 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15002 (diary-nongregorian-marking-hook, diary-list-entries)
15003 (diary-include-other-diary-files, diary-mark-entries)
15004 (diary-mark-included-diary-files): Doc fixes.
15005
15006 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15007
15008 * misc.el: Require tabulated-list.el during compilation.
15009
15010 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15011
15012 * progmodes/compile.el (compilation-start):
15013 Run compilation-filter-hook for the async case too.
15014 (compilation-filter-hook): Doc fix.
15015
15016 2011-05-09 Deniz Dogan <deniz@dogan.se>
15017
15018 * wdired.el: Remove outdated installation comment. Fix usage
15019 comment.
15020
15021 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
15022
15023 * misc.el: Implement new command `list-dynamic-libraries'.
15024 (list-dynamic-libraries--loaded-only-p): New variable.
15025 (list-dynamic-libraries--refresh): New function.
15026 (list-dynamic-libraries): New command.
15027
15028 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
15029
15030 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15031 Fix the ant regexp to handle end-line and end-column info from jikes.
15032 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15033 higher priority to avoid clobbering by gnu.
15034
15035 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15036
15037 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15038 if the face has existing theme settings (Bug#8454).
15039
15040 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15041
15042 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15043 Only match variables declared via `my' or `our' (Bug#8261).
15044
15045 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15046 special file names `.' and `..' (Bug#8259).
15047
15048 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
15049
15050 * progmodes/grep.el (grep-mode-font-lock-keywords):
15051 Remove buffer-changing entries.
15052 (grep-filter): New function.
15053 (grep-mode): Add it to compilation-filter-hook.
15054
15055 * progmodes/compile.el (compilation-filter-hook)
15056 (compilation-filter-start): New defvars.
15057 (compilation-filter): Call compilation-filter-hook prior to
15058 updating the process mark.
15059
15060 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15061
15062 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15063
15064 2011-05-07 Eli Zaretskii <eliz@gnu.org>
15065
15066 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15067 mailclient-send-it even if window-system is nil. (Bug#8595)
15068
15069 * term/w32console.el (terminal-init-w32console):
15070 Call get-screen-color and use its output to set the frame
15071 background-mode. (Bug#8597)
15072
15073 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15076 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15077 New functions.
15078 (defgeneric, eieio--defmethod): Use them.
15079 (eieio-defgeneric): Remove.
15080 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15081
15082 2011-05-07 Glenn Morris <rgm@gnu.org>
15083
15084 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15085 Use let rather than let*.
15086 (timeclock-find-discrep): Remove unused local.
15087
15088 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15089
15090 * calendar/appt.el (appt-time-msg-list): Doc fix.
15091
15092 2011-05-06 Noah Friedman <friedman@splode.com>
15093
15094 * apropos.el (apropos-print-doc): Only use
15095 emacs-lisp-docstring-fill-column when it is bound to an integer,
15096 per that variable's documentation.
15097
15098 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15099
15100 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
15101 and warnings are not silently discarded (e.g. use -d instead of -P).
15102
15103 2011-05-06 Glenn Morris <rgm@gnu.org>
15104
15105 * calendar/appt.el (appt-message-warning-time): Doc fix.
15106 (appt-warning-time-regexp): New option.
15107 (appt-make-list): Respect appt-message-warning-time.
15108
15109 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15110 New options.
15111 (diary-add-to-list): Strip comments from the displayed string.
15112 (diary-mode): Set comment-start and comment-end.
15113
15114 * vc/diff-mode.el (smerge-refine-subst): Declare.
15115 (diff-refine-hunk): Don't require smerge-mode when compiling.
15116
15117 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
15118
15119 * simple.el (list-processes): Return nil as the docstring says.
15120
15121 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15122
15123 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15124 to "".
15125 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15126 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15127 determining of binary transfer. (Bug#7383)
15128
15129 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
15130
15131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15132 Fix port computation bug. (Bug#8618)
15133
15134 2011-05-05 Glenn Morris <rgm@gnu.org>
15135
15136 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15137
15138 * simple.el (shell-dynamic-complete-functions)
15139 (comint-dynamic-complete-functions): Declare.
15140
15141 * net/network-stream.el (gnutls-negotiate):
15142 * simple.el (tabulated-list-print): Fix declarations.
15143
15144 * progmodes/gud.el (syntax-symbol, syntax-point):
15145 Remove unnecessary and incorrect declarations.
15146
15147 * emacs-lisp/check-declare.el (check-declare-scan):
15148 Handle byte-compile-initial-macro-environment in bytecomp.el
15149
15150 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15151
15152 Fix earlier half-done eieio-defmethod change (bug#8338).
15153 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15154 Streamline and change calling convention.
15155 (defmethod): Adjust accordingly and simplify.
15156 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15157 new eieio--defmethod.
15158 (slot-boundp): Minor CSE simplification.
15159
15160 2011-05-05 Milan Zamazal <pdm@zamazal.org>
15161
15162 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15163 (glasses-make-readable): Use glasses-separate-capital-groups.
15164
15165 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
15166
15167 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15168 (warning-series): Doc fix.
15169 (display-warning): Don't try to create the buffer if we just found it.
15170
15171 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
15172
15173 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15174 (autoload-find-generated-file): New function.
15175 (generate-file-autoloads): Bind generated-autoload-file to
15176 buffer-file-name.
15177 (update-file-autoloads, update-directory-autoloads):
15178 Use autoload-find-generated-file. If called interactively, prompt for
15179 output file (Bug#7989).
15180 (batch-update-autoloads): Doc fix.
15181
15182 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
15183
15184 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15185
15186 2011-05-04 Glenn Morris <rgm@gnu.org>
15187
15188 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15189 function, so it follows changes in calendar-date-style.
15190 (diary-fancy-date-matcher): New function.
15191 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15192 (diary-fancy-font-lock-fontify-region-function):
15193 Use diary-fancy-date-pattern as a function.
15194
15195 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15196 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15197
15198 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15199
15200 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15201 instead of positional arguments. Allow :keylist and :crlfiles
15202 arguments.
15203 (open-gnutls-stream): Call it.
15204
15205 * net/network-stream.el (network-stream-open-starttls): Adjust to
15206 call `gnutls-negotiate' with :process and :hostname arguments.
15207
15208 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15209
15210 * minibuffer.el (completion--message): New function.
15211 (completion--do-completion, minibuffer-complete)
15212 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15213 (completion--do-completion): Don't ignore completion-auto-help when in
15214 icomplete-mode.
15215
15216 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15217 internal encoding (e.g. tibetan zero is not whitespace).
15218 (global-whitespace-mode): Prefer save-current-buffer.
15219 (whitespace-trailing-regexp): Remove useless save-match-data.
15220 (whitespace-empty-at-bob-regexp): Minor simplification.
15221
15222 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
15223
15224 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15225
15226 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15227
15228 * textmodes/ispell.el (ispell-add-per-file-word-list):
15229 Use `concat' to create string for insertion.
15230
15231 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15234 Avoid open-line which runs post-self-insert-hook.
15235 (bibtex-fill-entry): Remove unused `end' var.
15236
15237 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15238
15239 * textmodes/ispell.el (ispell-add-per-file-word-list):
15240 Protect against `nil' value of `comment-start' (Bug#8579).
15241
15242 2011-05-03 Leo Liu <sdl.web@gmail.com>
15243
15244 * isearch.el (isearch-yank-pop): New command.
15245 (isearch-mode-map): Bind it to `M-y'.
15246 (isearch-forward): Mention it.
15247
15248 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * simple.el (minibuffer-complete-shell-command): Remove.
15251 (minibuffer-local-shell-command-map): Use completion-at-point.
15252 (read-shell-command): Setup completion vars here instead.
15253 (read-expression-map): Bind TAB to symbol completion.
15254
15255 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15256 error directly rather via storing it into `results'.
15257
15258 2011-05-02 Leo Liu <sdl.web@gmail.com>
15259
15260 * vc/diff.el: Fix description.
15261
15262 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15263
15264 * server.el (server-eval-at): New function.
15265
15266 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15267
15268 * net/network-stream.el (open-network-stream): Take a :nowait
15269 parameter and pass it on to `make-network-process'.
15270 (network-stream-open-plain): Ditto.
15271
15272 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15273
15274 * faces.el (face-spec-set-match-display): Don't match toolkit
15275 options on terminal frames.
15276
15277 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * progmodes/pascal.el: Use lexical binding.
15280 (pascal-mode-map): Remove author preferences.
15281
15282 * pcomplete.el (pcomplete-std-complete): Don't abuse
15283 completion-at-point.
15284
15285 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15286
15287 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15288 removing code that has been dead since 1991 or so.
15289
15290 * startup.el (command-line): When warning about "_emacs", use a
15291 delayed warning to allow the user to filter it out.
15292
15293 2011-04-28 Deniz Dogan <deniz@dogan.se>
15294
15295 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15296 user has not joined.
15297
15298 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15301 aren't any completions at point.
15302
15303 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
15304
15305 * subr.el (display-delayed-warnings): New function.
15306 (delayed-warnings-hook): New variable.
15307
15308 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15309
15310 * minibuffer.el (completion-at-point, completion-help-at-point):
15311 Don't presume that a given completion-at-point-function will always
15312 use the same calling convention.
15313
15314 * pcomplete.el (pcomplete-completions-at-point):
15315 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15316 pcomplete-seen is non-nil.
15317 (pcomplete-comint-setup): Also recognize the new comint/shell
15318 completion functions.
15319 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15320 pcomplete-seen is non-nil.
15321
15322 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
15323
15324 * calendar/icalendar.el (diary-lib): Add require statement.
15325 (icalendar--create-uid): Read out a uid from a text-property on
15326 the first character in the entry. This allows for code to add its
15327 own uid to the entry.
15328 (icalendar--convert-float-to-ical): Add export of
15329 `diary-float'-entries save for those with the optional DAY
15330 argument.
15331
15332 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15333
15334 * subr.el (shell-quote-argument): Use alternate escaping strategy
15335 when we spot a variable reference in a string.
15336
15337 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15338
15339 * cus-start.el (all): Define customization for debug-on-event.
15340
15341 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15342
15343 * subr.el (shell-quote-argument): Escape correctly under Windows.
15344
15345 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15348
15349 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
15350
15351 * net/tramp.el (tramp-process-actions): Add POS argument.
15352 Delete region between POS and (pos).
15353
15354 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15355 Use `nil' position in `tramp-process-actions' call.
15356 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15357
15358 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15359 position in `tramp-process-actions' call.
15360
15361 * net/trampver.el: Update release number.
15362
15363 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * custom.el (defcustom): Obey lexical-binding.
15366
15367 Fix octave-inf completion problems reported by Alexander Klimov.
15368 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15369 Inherit from octave-mode-syntax-table.
15370 (inferior-octave-mode): Set info-lookup-mode.
15371 (inferior-octave-completion-at-point): New function.
15372 (inferior-octave-complete): Use it and completion-in-region.
15373 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15374 comint-filename-completion.
15375 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15376 symbol elements which shouldn't be word elements.
15377 (octave-font-lock-keywords, octave-beginning-of-defun)
15378 (octave-function-header-regexp): Adjust regexps accordingly.
15379 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15380
15381 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
15382
15383 * net/gnutls.el (gnutls-errorp): Declare before first use.
15384
15385 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15386
15387 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15388 verify-error, and verify-hostname-error parameters. Check whether
15389 default trustfile exists before going to use it. Add missing
15390 argument to gnutls-message-maybe call. Return value.
15391 Reported by Claudio Bley <claudio.bley@gmail.com>.
15392 (open-gnutls-stream): Add usage example.
15393
15394 * net/network-stream.el (network-stream-open-starttls): Give host
15395 parameter to `gnutls-negotiate'.
15396 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
15397 * subr.el (shell-quote-argument): Escape correctly under Windows.
15398
15399 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
15400
15401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15402 Use correct match group (bug#8438).
15403
15404 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15405
15406 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15407 (package-menu--generate): New arg specifying packages to show.
15408 (package-menu-refresh, package-menu-execute, list-packages):
15409 Callers changed.
15410 (package-show-package-list): New function, replacing deleted
15411 package--list-packages (renamed because it is non-internal).
15412
15413 * finder.el (finder-list-matches): Use package-show-package-list
15414 instead of deleted package--list-packages.
15415
15416 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15417 Based on a previous implementation by Juanma Barranquero (Bug#8366).
15418 (vc-annotate-mode-map): Bind it to RET.
15419
15420 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15421
15422 * progmodes/etags.el (next-file): Don't use set-buffer to change
15423 buffers (Bug#8478).
15424
15425 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
15426
15427 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15428
15429 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15430 (apropos-accumulator): Doc fix.
15431 (apropos-function, apropos-macro, apropos-command)
15432 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15433 (apropos-plist): Add face property.
15434 (apropos-symbols-internal): Fix indentation.
15435 (apropos-print): Simplify help, and recognize apropos-multi-type.
15436 (apropos-print-doc): Use button-type-get to extract the button's
15437 face property. Fill docstring (Bug#8352).
15438
15439 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
15440
15441 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15442
15443 * play/mpuz.el (mpuz-silent): Doc fix.
15444 (mpuz-mode-map): Use mapc.
15445 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15446 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15447 Fix typos in docstrings.
15448
15449 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15450 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15451
15452 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15453
15454 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
15455
15456 * minibuffer.el (completion--do-completion): Avoid the "Next char
15457 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15458
15459 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15460 mouse-2 into unread-command-events, it is interpreted correctly.
15461
15462 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
15463 (image-toggle-display): Doc fix.
15464
15465 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
15466
15467 * textmodes/page.el (what-page): Use line-number-at-pos to
15468 calculate line number (Bug#6825).
15469
15470 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15473 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15474 Pass argument NO-DEFAULT to `find-tag-interactive'.
15475
15476 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
15477
15478 Lexical-binding cleanup.
15479
15480 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15481 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15482 * progmodes/ada-prj.el (ada-prj-initialize-values)
15483 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15484 (ada-prj-show-value):
15485 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15486 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15487 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15488 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15489 * progmodes/bug-reference.el (bug-reference-push-button):
15490 * progmodes/fortran.el (fortran-line-length):
15491 * progmodes/glasses.el (glasses-change):
15492 * progmodes/octave-mod.el (octave-fill-paragraph):
15493 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15494 (python-pdbtrack-grub-for-buffer, python-sentinel):
15495 * progmodes/sql.el (sql-save-connection):
15496 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15497 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15498 Mark unused parameters.
15499
15500 * progmodes/compile.el (compilation--flush-directory-cache)
15501 (compilation--flush-parse, compile-internal): Mark unused parameters.
15502 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15503 (compilation-next-error-function): Remove unused variable `timestamp'.
15504
15505 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15506 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15507
15508 * progmodes/dcl-mode.el (dcl-end-of-command):
15509 Remove unused variable `start'.
15510 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15511 (dcl-option-value-basic, dcl-option-value-offset)
15512 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15513 Mark unused parameters.
15514 (dcl-save-local-variable): Remove unused variable `val'.
15515 (mode): Declare.
15516
15517 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15518 Mark unused parameters.
15519 (delphi-ignore-changes): Move before first use.
15520 (delphi-charset-token-at): Remove unused variable `start'.
15521 (delphi-else-start): Remove unused variable `if-count'.
15522 (delphi-comment-block-start, delphi-comment-block-end):
15523 Remove unused variable `kind'.
15524 (delphi-indent-line): Remove unused variable `new-point'.
15525
15526 * progmodes/ebrowse.el (ebrowse-files-list)
15527 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15528 Mark unused parameters. Don't quote `lambda'.
15529 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15530 Don't quote `lambda'.
15531 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15532 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15533 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15534 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15535 Use `ignore-errors'.
15536 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15537 (ebrowse-view/find-file-and-search-pattern)
15538 (ebrowse-view/find-member-declaration/definition):
15539 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15540 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15541 Rename parameter PREFIX-ARG to PREFIX.
15542 (ebrowse-tags-read-name): Remove unused variables `start' and
15543 `member-info'.
15544 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15545 to `tags-file'.
15546
15547 * progmodes/etags.el (local-find-tag-hook): Declare.
15548 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15549 Mark unused parameters.
15550
15551 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15552 (executable-interpret): Mark unused parameter.
15553
15554 * progmodes/flymake.el (flymake-process-sentinel)
15555 (flymake-after-change-function)
15556 (flymake-create-temp-with-folder-structure)
15557 (flymake-get-include-dirs-dot): Mark unused parameters.
15558 (flymake-safe-delete-directory): Remove unused variable `err'.
15559
15560 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15561 (speedbar-timer-fn, speedbar-line-text)
15562 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15563 (speedbar-center-buffer-smartly): Declare functions.
15564 (gdb-find-watch-expression): Remove unused variable `array'.
15565 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15566 (gdb-starting): Mark unused parameters.
15567 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15568 (gdb-table-string): Remove unused variable `res'.
15569 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15570 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15571 (gdb-display-buffer): Remove unused variable `cur-size'.
15572
15573 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15574 allow lexical-binding compilation.
15575 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15576 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15577 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15578 Mark unused parameters.
15579 (gud-gdb-marker-filter): Remove unused variable `match'.
15580 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15581 lambda expressions and funcall them, instead of using `fset'.
15582
15583 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15584 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15585
15586 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15587 variable `header-beg'; use `let'.
15588
15589 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15590 `restart', `last-sexp' and `at-do'.
15591
15592 * progmodes/js.el (js--debug): Mark unused parameter.
15593 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15594 (js--splice-into-items): Remove unused variable `item'.
15595 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15596
15597 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15598 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15599 (makefile-complete): Remove unused variable `try'.
15600 (makefile-fill-paragraph, makefile-match-function-end):
15601 Mark unused parameters.
15602
15603 * progmodes/octave-inf.el (inferior-octave-complete):
15604 Remove unused variable `proc'.
15605 (inferior-octave-output-digest): Mark unused parameter.
15606
15607 * progmodes/perl-mode.el (perl-calculate-indent):
15608 Remove unused variable `err'.
15609
15610 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15611 (prolog-indent-line): Mark unused parameters.
15612 (prolog-indent-line): Remove unused variable `beg'.
15613
15614 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15615 (reporter-dont-compact-list): Declare.
15616
15617 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15618 Remove unused variable `char'.
15619 (sh-debug): Mark unused parameter.
15620 (sh-get-indent-info): Remove unused variable `start'.
15621 (sh-calculate-indent): Remove unused variable `var'.
15622
15623 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15624 (simula-electric-keyword): Remove unused variable `null'.
15625 (simula-search-backward, simula-search-forward): Remove unused
15626 variables `begin' and `end'.
15627
15628 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15629 Remove unused variable `pos'.
15630 (vera-electric-tab, vera-comment-uncomment-region):
15631 Mark unused parameters.
15632 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15633
15634 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
15635
15636 * emacs-lisp/package.el (package--builtins, package-alist)
15637 (package-load-descriptor, package-built-in-p, package-activate)
15638 (define-package, package-installed-p)
15639 (package-compute-transaction, package-buffer-info)
15640 (package--push): Doc fix. Distinguish more clearly between
15641 version strings and version lists.
15642
15643 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
15644
15645 Lexical-binding cleanup.
15646
15647 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15648 (5x5-make-mutate-best):
15649 * play/fortune.el (fortune-in-buffer):
15650 * play/gomoku.el (gomoku-init-display):
15651 * play/solitaire.el (solitaire, solitaire-do-check):
15652 * play/tetris.el (tetris-default-update-speed-function):
15653 Mark unused parameters.
15654
15655 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15656 (bubbles--shift): Remove unused variable `char-org'.
15657 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15658 (bubbles--show-images): Remove unused variable `char'.
15659
15660 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15661 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15662 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15663 (decipher-analyze-buffer): Use ?\s.
15664 (decipher-make-checkpoint): Remove unused variable `mapping'.
15665
15666 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15667
15668 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15669 Remove unused variable `result'; use `let'.
15670
15671 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15672 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15673 (gametree-children-shown-p, gametree-compute-reduced-score):
15674 Use `ignore-errors'.
15675
15676 * play/handwrite.el (ps-lpr-switches): Declare.
15677 (handwrite): Remove unused variables `pmin' and `lastp'.
15678
15679 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15680
15681 * play/landmark.el (landmark-init-display)
15682 (landmark-update-naught-weights): Mark unused parameters.
15683 (landmark-y): Remove unused variable `noise'. Simplify.
15684 (landmark-human-plays): Remove unused variable `score'.
15685
15686 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15687 (mpuz-try-proposal): Remove unused variable `game'.
15688
15689 * play/zone.el (life-patterns): Declare.
15690
15691 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
15692
15693 * vc/vc.el (ediff-vc-internal): Declare function.
15694
15695 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15696
15697 * shell.el: Use lexical-binding and std completion UI.
15698 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15699 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15700 comint-preoutput-filter-functions rather than on
15701 comint-output-filter-functions.
15702 (shell-command-completion, shell--command-completion-data)
15703 (shell-filename-completion, shell-environment-variable-completion)
15704 (shell-c-a-p-replace-by-expanded-directory): New functions.
15705 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15706 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15707 (shell-dynamic-complete-environment-variable): Use them.
15708 (shell-dynamic-complete-as-environment-variable)
15709 (shell-dynamic-complete-as-command): Remove.
15710 (shell-match-partial-variable): Match past point.
15711 * comint.el: Clean up use of completion-at-point-functions.
15712 (comint-completion-at-point): New function.
15713 (comint-mode): Use it completion-at-point-functions.
15714 (comint-dynamic-complete): Make it obsolete.
15715 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15716 (comint-c-a-p-replace-by-expanded-history): New function.
15717 (comint-dynamic-complete-functions)
15718 (comint-replace-by-expanded-history): Use it.
15719 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15720 termination strings. Try harder to avoid second try-completion.
15721 (completion-in-region-mode-map): Disable bindings that don't work yet.
15722
15723 * comint.el: Use lexical-binding. Require CL.
15724 (comint-dynamic-complete-functions): Use comint-filename-completion.
15725 (comint-completion-addsuffix): Tweak custom type.
15726 (comint-filename-completion, comint--common-suffix)
15727 (comint--common-quoted-suffix, comint--table-subvert)
15728 (comint--complete-file-name-data): New functions.
15729 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15730 (comint-dynamic-list-filename-completions): Use them.
15731 (comint-dynamic-simple-complete): Make obsolete.
15732
15733 * minibuffer.el (completion-in-region-mode):
15734 Keep completion-in-region-mode--predicate global.
15735 (completion-in-region--postch):
15736 Assume completion-in-region-mode--predicate is not null.
15737
15738 * progmodes/flymake.el (flymake-start-syntax-check-process):
15739 Obey `dir'. Simplify.
15740
15741 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15742 we're in VC after all.
15743
15744 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15745
15746 * vc/vc.el (vc-diff-build-argument-list-internal)
15747 (vc-version-ediff, vc-ediff): New commands.
15748 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15749
15750 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15753 add sanity check.
15754
15755 * obsolete/erc-hecomplete.el: Make obsolete.
15756 * obsolete/: Standardize obsolescence info in the header.
15757
15758 2011-04-20 Glenn Morris <rgm@gnu.org>
15759
15760 * calendar/solar.el (solar-horizontal-coordinates):
15761 Use the longitude argument rather than `calendar-longitude'.
15762 (solar-date-next-longitude): Remove unused locals.
15763
15764 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15765
15766 * whitespace.el: New version 13.2.1.
15767
15768 2011-04-20 felix <EmacsWiki> (tiny change)
15769
15770 * whitespace.el (global-whitespace-mode): Keep highlight when
15771 switching between major modes on a file.
15772
15773 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15776 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15777 multi-line comments as well.
15778
15779 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
15780
15781 Lexical-binding cleanup.
15782
15783 * arc-mode.el (archive-mode-revert):
15784 * cmuscheme.el (scheme-interactively-start-process):
15785 * custom.el (custom-initialize-delay):
15786 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15787 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15788 * emacs-lock.el (emacs-lock-clear-sentinel):
15789 * ezimage.el (defezimage):
15790 * follow.el (follow-avoid-tail-recenter):
15791 * fringe.el (set-fringe-mode-1):
15792 * generic-x.el (bat-generic-mode-compile):
15793 * help-mode.el (help-info-variable, help-do-xref)
15794 (help-mode-revert-buffer):
15795 * help.el (view-emacs-todo):
15796 * iswitchb.el (iswitchb-completion-help):
15797 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15798 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15799 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15800 * locate.el (locate-update):
15801 * longlines.el (longlines-encode-region)
15802 (longlines-after-change-function):
15803 * outline.el (outline-isearch-open-invisible):
15804 * ps-def.el (declare-function, charset-dimension, char-width)
15805 (encode-char):
15806 * ps-mule.el (ps-mule-plot-string):
15807 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15808 (recentf-edit-list-select, recentf-edit-list-validate)
15809 (recentf-open-files-action):
15810 * rect.el (delete-whitespace-rectangle-line)
15811 (rectangle-number-line-callback):
15812 * register.el (window-configuration-to-register)
15813 (frame-configuration-to-register):
15814 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15815 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15816 (xselect-convert-to-targets, xselect-convert-to-delete)
15817 (xselect-convert-to-filename, xselect-convert-to-charpos)
15818 (xselect-convert-to-lineno, xselect-convert-to-colno)
15819 (xselect-convert-to-os, xselect-convert-to-host)
15820 (xselect-convert-to-user, xselect-convert-to-class)
15821 (xselect-convert-to-name, xselect-convert-to-integer)
15822 (xselect-convert-to-atom, xselect-convert-to-identity):
15823 * subr.el (declare, ignore, process-kill-without-query)
15824 (text-clone-maintain):
15825 * terminal.el (te-get-char, te-tic-sentinel):
15826 * tool-bar.el (tool-bar-make-keymap):
15827 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15828 * type-break.el (type-break-mode, type-break-noninteractive-query):
15829 * view.el (View-back-to-mark):
15830 * wid-browse.el (widget-browse-action, widget-browse-widget)
15831 (widget-browse-widgets, widget-browse-sexp):
15832 * widget.el (define-widget-keywords):
15833 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15834 Mark unused parameters.
15835
15836 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15837 (align-areas): Remove unused variable `look'.
15838 (align-region): Remove unused variables `real-end' and `pos-list'.
15839
15840 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15841
15842 * bindings.el (mode-line-modified, mode-line-remote):
15843 Mark unused parameters.
15844 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15845
15846 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15847 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15848
15849 * comint.el (comint-history-isearch-pop-state)
15850 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15851 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15852 (comint-substitute-in-file-name): Doc fix.
15853
15854 * completion.el (cmpl-statistics-block): Mark unused parameter.
15855 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15856 (save-completions-to-file, load-completions-from-file):
15857 Remove unused local variable `e'.
15858
15859 * composite.el (compose-chars): Remove unused variable `len'.
15860 (lgstring-insert-glyph): Remove unused variable `g'.
15861 (compose-glyph-string): Remove unused variables `ascent',
15862 `descent', `lbearing' and `rbearing'.
15863 (compose-glyph-string-relative): Remove unused variables
15864 `lbearing', `rbearing' and `wadjust'.
15865 (compose-gstring-for-graphic): Remove unused variables `header',
15866 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15867 (compose-gstring-for-terminal): Remove unused variables `header'
15868 and `nchars'. Use `let', not `let*'.
15869
15870 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15871 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15872 (Custom-buffer-done, custom-buffer-create-internal)
15873 (custom-browse-visibility-action, custom-browse-group-tag-action)
15874 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15875 (widget-magic-mouse-down-action, custom-toggle-parent)
15876 (custom-add-parent-links, custom-toggle-hide-variable)
15877 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15878 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15879 (custom-face-menu-create, custom-variable-menu-create, get)
15880 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15881 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15882 (customize-apropos): Remove unused variable `tests'.
15883 (custom-group-value-create): Remove unused variable `hidden-p'.
15884 (sort-fold-case): Declare.
15885
15886 * cus-theme.el (custom-reset-standard-faces-list)
15887 (custom-reset-standard-variables-list): Declare.
15888 (customize-create-theme, custom-theme-revert, custom-theme-write)
15889 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15890 Mark unused parameters.
15891
15892 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15893
15894 * delim-col.el (delimit-columns-max): Move defvar before first use.
15895
15896 * descr-text.el (describe-char-categories): Don't quote `lambda'.
15897 (describe-char): Don't quote `lambda'. Mark unused parameter.
15898
15899 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
15900 (auto-insert): Declare.
15901 (desktop-restore-file-buffer): Rename desktop-* parameters;
15902 mark unused ones.
15903 (desktop-create-buffer): Rename desktop-* parameters and bind them.
15904 (desktop-buffer): Rename desktop-* parameters.
15905
15906 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
15907 (dframe-reposition-frame-xemacs, dframe-help-echo)
15908 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
15909 Mark unused parameters.
15910
15911 * dired-aux.el (backup-extract-version-start, overwrite-query)
15912 (overwrite-backup-query, rename-regexp-query)
15913 (rename-non-directory-query): Declare.
15914 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
15915 (dired-add-entry): Remove unused variable `orig-file-name'.
15916 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
15917 Use parameter PRESERVE-TIME instead of accessing dynamic variable
15918 `dired-copy-preserve-time' directly.
15919 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
15920 (dired-insert-subdir-newpos): Rename unused variable `pos'.
15921
15922 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
15923 (dired-virtual-revert, dired-make-relative-symlink):
15924 Mark unused parameters.
15925 (manual-program): Declare.
15926 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
15927 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
15928 wrapped in `with-no-warnings' to avoid replacing one warning by another.
15929
15930 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
15931
15932 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
15933
15934 * echistory.el (electric-history-in-progress, Helper-return-blurb):
15935 Declare.
15936
15937 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
15938
15939 * electric.el (Electric-command-loop): Rename parameter
15940 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
15941
15942 * expand.el (expand-in-literal): Remove unused variable `here'.
15943
15944 * facemenu.el (facemenu-add-new-color):
15945 Remove unused variable `docstring'.
15946
15947 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
15948 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
15949 (face-attr-construct): Mark unused parameter. Doc fix.
15950 (read-color): Remove unused variable `hex-string'.
15951
15952 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
15953 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
15954 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
15955 (display-buffer-other-frame): Remove unused variable `old-window'.
15956 (kill-buffer-hook): Declare.
15957 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
15958 Mark unused parameters.
15959 (after-find-file): Pass 1 to `auto-save-mode', not t.
15960
15961 * files-x.el (auto-insert): Declare.
15962 (modify-file-local-variable-prop-line): Remove unused variable `val'.
15963
15964 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
15965 variable `buf'. Mark unused parameter.
15966 (find-lisp-insert-directory): Mark unused parameter.
15967
15968 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
15969 (format-encode-region): Remove unused variables `cur-buf' and `result'.
15970 (format-common-tail): Remove, unused.
15971 (format-deannotate-region): Remove unused variable `loc'.
15972 (format-annotate-region): Remove unused variable `p'.
15973 (format-annotate-single-property-change): Remove unused variables
15974 `default' and `tail'.
15975
15976 * forms.el (read-file-filter): Declare.
15977 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
15978
15979 * frame.el (frame-creation-function-alist): Mark unused parameter.
15980 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
15981
15982 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
15983 Remove unused parameters.
15984 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
15985 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
15986
15987 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
15988 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
15989 (hfy-prepare-tag-map): Mark unused parameters.
15990 (htmlfontify-buffer): Use `called-interactively-p'.
15991
15992 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
15993 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
15994 (ibuffer-do-occur): Mark unused parameters.
15995 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
15996 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
15997
15998 * ibuffer.el: Don't quote `lambda'.
15999 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16000 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16001 Mark unused parameters.
16002
16003 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16004 (ido-completing-read): Mark unused parameters.
16005 (ido-copy-current-word): Mark unused parameters;
16006 remove unused variable `name'.
16007 (ido-sort-merged-list): Remove unused parameter `dirs'.
16008
16009 * ielm.el (ielm-input-sender): Mark unused parameter.
16010 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16011 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16012 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16013 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16014 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16015
16016 * image-dired.el (image-dired-display-thumbs): Remove unused
16017 variables `curr-file' and `count'.
16018 (image-dired-remove-tag): Remove unused variable `start'.
16019 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16020 variable `curr-file'
16021 (image-dired-rotate-original): Remove unused variable `temp-file'.
16022 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16023 Remove unused variable `file'.
16024 (image-dired-gallery-generate): Remove unused variable `curr'.
16025 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16026
16027 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16028
16029 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16030
16031 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16032
16033 * isearch.el (minibuffer-history-symbol): Declare.
16034 (isearch-edit-string): Remove unused variable `err'.
16035 (isearch-message-prefix, isearch-message-suffix):
16036 Mark unused parameters.
16037
16038 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16039
16040 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16041
16042 * makesum.el (double-column): Remove unused variable `cnt'.
16043
16044 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16045 (ido-ignore-item-temp-list): Declare.
16046
16047 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16048 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16049 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16050 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16051 `mouse-col-delta'.
16052
16053 * mouse-sel.el (mouse-extend-internal):
16054 Remove unused variable `orig-window-frame'.
16055
16056 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16057 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16058 Move declarations before first use.
16059 (pcomplete-opt): Mark unused parameters; doc fix.
16060
16061 * proced.el (proced-revert): Mark unused parameter.
16062 (proced-send-signal): Remove unused variable `err'.
16063
16064 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16065 Rename parameter PREFIX-ARG to ARG.
16066 (ps-basic-plot-string, ps-basic-plot-whitespace):
16067 Mark unused parameters.
16068
16069 * replace.el (replace-count): Define.
16070 (occur-revert-function): Mark unused parameters.
16071 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16072 (isearch-case-fold-search, isearch-string): Declare.
16073 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16074 bind `case-fold-search'. Remove unused variables `beg' and `end',
16075 and simplify.
16076 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16077 COUNT and bind `replace-count'.
16078 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16079 to COUNT.
16080
16081 * savehist.el (print-readably, print-string-length): Declare.
16082
16083 * shadowfile.el (shadow-expand-cluster-in-file-name):
16084 Remove unused variable `cluster'.
16085 (shadow-copy-file): Remove unused variable `i'.
16086 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16087 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16088 (shadow-define-literal-group, shadow-define-regexp-group)
16089 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16090
16091 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16092 (shell): Use `called-interactively-p'.
16093 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16094
16095 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16096 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16097 (delete-backward-char): Remove unused variable `ocol'.
16098 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16099 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16100 (event-apply-hyper-modifier, event-apply-shift-modifier)
16101 (event-apply-control-modifier, event-apply-meta-modifier):
16102 Mark unused parameters.
16103 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16104 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16105
16106 * speedbar.el (speedbar-ignored-directory-expressions)
16107 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16108 (speedbar-find-file, speedbar-dir-follow)
16109 (speedbar-directory-buttons-follow, speedbar-tag-find)
16110 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16111 (speedbar-buffers-line-directory, speedbar-buffer-click):
16112 Mark unused parameters.
16113 (speedbar-tag-file): Remove unused variable `mode'.
16114 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16115
16116 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16117
16118 * talk.el (talk): Remove unused variable `display'.
16119
16120 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16121 (tar-write-region-annotate): Mark unused parameter.
16122
16123 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16124 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16125 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16126 warning by another.
16127
16128 * time-stamp.el (time-stamp-string-preprocess):
16129 Remove unused variable `require-padding'.
16130
16131 * tree-widget.el (widget-glyph-enable): Declare.
16132 (tree-widget-action): Mark unused parameter.
16133
16134 * w32-fns.el (x-get-selection): Mark unused parameter.
16135 (autoload-make-program, generated-autoload-file): Declare.
16136
16137 * wdired.el (wdired-revert): Mark unused parameters.
16138 (wdired-xcase-word): Remove unused variable `err'.
16139
16140 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16141 (whitespace-help-scroll): Remove unused variable `data-help'.
16142
16143 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16144 (widget-image-insert, widget-after-change, default)
16145 (widget-default-format-handler, widget-default-notify)
16146 (widget-default-prompt-value, widget-info-link-action)
16147 (widget-url-link-action, widget-function-link-action)
16148 (widget-variable-link-action, widget-file-link-action)
16149 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16150 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16151 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16152 (widget-insert-button-action, widget-delete-button-action, visibility)
16153 (widget-documentation-link-action, widget-documentation-string-action)
16154 (widget-const-prompt-value, widget-regexp-match, symbol)
16155 (widget-coding-system-prompt-value)
16156 (widget-key-sequence-value-to-external, sexp)
16157 (widget-sexp-value-to-internal, character, vector, cons)
16158 (widget-choice-prompt-value, widget-boolean-prompt-value)
16159 (widget-color--choose-action): Mark unused parameters.
16160 (widget-item-match-inline, widget-choice-match-inline)
16161 (widget-checklist-match, widget-checklist-match-inline)
16162 (widget-group-match): Rename parameter VALUES to VALS.
16163 (widget-field-value-set): Remove unused variable `size'.
16164 (widget-color-action): Remove unused variables `value' and `start'.
16165
16166 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
16167 variable `dir'. Doc fix.
16168 (windmove-find-other-window): Don't pass it.
16169
16170 * window.el (count-windows): Mark unused parameter.
16171 (bw-adjust-window): Remove unused variable `err'.
16172
16173 * woman.el (woman-file-name): Remove unused variable `default'.
16174 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16175 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16176 (global-font-lock-mode): Declare.
16177 (woman-decode-region): Mark unused parameter.
16178 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16179
16180 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16181 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16182 (x-dnd-handle-moz-url): Remove unused variable `title'.
16183 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16184
16185 * xml.el (xml-parse-tag, xml-parse-attlist):
16186 Remove unused variable `pos'.
16187
16188 2011-04-19 Glenn Morris <rgm@gnu.org>
16189
16190 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16191 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16192 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16193 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16194 * calendar/cal-html.el (cal-html-insert-minical):
16195 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16196 (calendar-mark-date-pattern):
16197 Prefix "unused" locals.
16198
16199 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16200 optional argument `style'.
16201
16202 * calendar/appt.el (appt-make-list):
16203 * calendar/cal-china.el (calendar-chinese-date-string):
16204 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16205 (diary-hebrew-yahrzeit):
16206 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16207 * calendar/calendar.el (calendar-generate-window):
16208 * calendar/time-date.el (time-to-days):
16209 Remove unused local variables.
16210
16211 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16214 glyphless-char-display table.
16215 (tabulated-list-glyphless-char-display): New var.
16216
16217 2011-04-18 Sam Steingold <sds@gnu.org>
16218
16219 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16220 to acknowledgments.
16221
16222 2011-04-17 Glenn Morris <rgm@gnu.org>
16223
16224 * calendar/diary-lib.el (diary-sexp-entry):
16225 * calendar/holidays.el (holiday-sexp):
16226 Set debug-on-error rather than the removed stack-trace-on-error.
16227
16228 2011-04-16 Glenn Morris <rgm@gnu.org>
16229
16230 * progmodes/f90.el: Use lexical-binding.
16231 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16232
16233 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16234
16235 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16236 (mail-mode): Setup mailalias completion here instead.
16237 * mail/mailalias.el: Use lexical-binding.
16238 (pattern, mailalias-done): Declare dynamic.
16239 (mail-completion-at-point-function): New function, from mail-complete.
16240 (mail-complete): Use it.
16241 (mail-completion-expand): New function.
16242 (mail-get-names): Use it.
16243 (mail-directory, mail-directory-process, mail-directory-stream):
16244 Don't use `pattern' for lexically bound arg.
16245
16246 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16247
16248 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16249 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16250 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16251
16252 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16253 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16254 (byte-interactive-p): Define them again, for use when inlining
16255 old code.
16256
16257 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
16258
16259 * loadup.el: Use `string-to-number', not `string-to-int'.
16260
16261 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16262
16263 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16264 gud-gdb-complete-command.
16265 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16266 (gud-gdb-completion-at-point): New function.
16267 (gud-gdb-completions): Remove.
16268
16269 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
16270
16271 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16272 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16273 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16274 whether `executable-find' is bound.
16275
16276 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16277
16278 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16279
16280 * minibuffer.el (completion-in-region-mode-predicate)
16281 (completion-in-region-mode--predicate): New vars.
16282 (completion-in-region, completion-in-region--postch)
16283 (completion-in-region-mode): Use them.
16284 (completion--capf-wrapper): Also return the hook function.
16285 (completion-at-point, completion-help-at-point):
16286 Adjust and provide a predicate.
16287
16288 Preserve arg names for advice of subr and lexical functions (bug#8457).
16289 * help-fns.el (help-function-arglist): Consolidate the subr and
16290 new-byte-code cases. Add argument `preserve-names' to extract names
16291 from the docstring when needed.
16292 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16293 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16294 (ad-arglist): Use help-function-arglist's new arg.
16295 (ad-definition-type): Use cond.
16296
16297 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
16298
16299 * autorevert.el (auto-revert-handler):
16300 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16301 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16302 Don't quote lambda.
16303
16304 * image-mode.el (image-transform-set-scale):
16305 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16306
16307 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16308
16309 * net/network-stream.el (network-stream-open-starttls): Only do
16310 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
16311 Upgrades via gnutls-cli are too slow to be done opportunistically.
16312
16313 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * dframe.el (dframe-current-frame): Remove spurious quote.
16316
16317 2011-04-12 Glenn Morris <rgm@gnu.org>
16318
16319 * calendar/cal-tex.el (cal-tex-end-document):
16320 Try to automatically use latin1 input if needed.
16321
16322 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16323 Don't try to cons a mark onto an empty element.
16324
16325 2011-04-11 Leo Liu <sdl.web@gmail.com>
16326
16327 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16328 buffers.
16329 (ido-kill-buffer-at-head): Support killing virtual buffers.
16330
16331 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
16332
16333 * minibuffer.el (completion-show-inline-help): New var.
16334 (completion--do-completion, minibuffer-complete)
16335 (minibuffer-force-complete, minibuffer-complete-word):
16336 Inhibit minibuffer messages if completion-show-inline-help is nil.
16337
16338 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16339 to avoid interference from inline help (Bug#5849).
16340
16341 2011-04-10 Leo Liu <sdl.web@gmail.com>
16342
16343 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16344 Fix typo.
16345
16346 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
16347
16348 * image-mode.el (image-toggle-display-image): Signal an error if
16349 not in Image mode.
16350 (image-transform-mode, image-transform-resize)
16351 (image-transform-set-rotation): Doc fix.
16352 (image-transform-set-resize): Delete.
16353 (image-transform-set-scale, image-transform-fit-to-height)
16354 (image-transform-fit-to-width): Handle image-toggle-display-image
16355 and image-transform-resize directly.
16356
16357 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
16358
16359 * doc-view.el (doc-view-fit-width-to-window)
16360 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16361 New functions for fitting the shown image to the Emacs window size.
16362 (doc-view-mode-map): Add bindings for the new functions.
16363
16364 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
16365
16366 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
16367 Fix typo in docstring.
16368
16369 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16370
16371 * files.el (file-size-human-readable): Produce one digit after
16372 decimal, like "ls -lh" does.
16373
16374 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16375 the file size representation.
16376
16377 * simple.el (list-processes): If async subprocesses are not
16378 available, error out with a clear error message.
16379
16380 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * help.el (help-form-show): New function, to be called from C.
16383 Put help-form output in a buffer named differently than *Help*.
16384
16385 2011-04-08 Eli Zaretskii <eliz@gnu.org>
16386
16387 * files.el (file-size-human-readable): New function.
16388
16389 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16390 computing the representation inline. Don't require `cl'.
16391
16392 2011-04-08 Glenn Morris <rgm@gnu.org>
16393
16394 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16395
16396 * net/browse-url.el (browse-url-firefox):
16397 Test system-type, not system-configuration.
16398
16399 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16400 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16401 Use log-edit-empty-buffer-p. (Bug#7598)
16402
16403 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16404 (rlogin-mode-map): Initialize in the defvar.
16405 (rlogin): Use ignore-errors.
16406
16407 * replace.el (occur-mode-map): Some fixes for menu items.
16408
16409 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16410
16411 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16412
16413 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16414
16415 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16416 issuing unused warnings.
16417
16418 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16419 macro directly.
16420
16421 * simple.el: Lisp reimplement of list-processes. Based on an
16422 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16423 (process-menu-mode): New major mode.
16424 (list-processes--refresh, list-processes):
16425 (process-menu-visit-buffer): New functions.
16426
16427 * files.el (save-buffers-kill-emacs): Don't assume any return
16428 value of list-processes, which is undocumented anyway.
16429
16430 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
16431
16432 * emacs-lisp/tabulated-list.el: New file.
16433
16434 * emacs-lisp/package.el: Use Tabulated List mode.
16435 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16436 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16437 table format using Tabulated List mode variables.
16438 (package--push): New macro, replacing package-list-maybe-add.
16439 (package-menu--generate): Use package--push. Renamed from
16440 package--generate-package-list.
16441 (package-menu-refresh, list-packages): Use it.
16442 (package-menu--print-info): Rename from package-print-package.
16443 Return insertion data instead of inserting it directly.
16444 (package-menu-describe-package, package-menu-execute):
16445 Use tabulated-list-get-id.
16446 (package-menu-mark-delete, package-menu-mark-install)
16447 (package-menu-mark-unmark, package-menu-backup-unmark)
16448 (package-menu-mark-obsolete-for-deletion):
16449 Use tabulated-list-put-tag.
16450 (package--list-packages, package-menu-revert)
16451 (package-menu-get-package, package-menu-get-version)
16452 (package-menu-sort-by-column): Functions deleted.
16453 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16454 (package-menu--status-predicate, package-menu--version-predicate)
16455 (package-menu--name-predicate)
16456 (package-menu--description-predicate): Handle arguments in the
16457 Tabulated List format.
16458 (package-list-packages-no-fetch): Call list-packages.
16459
16460 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
16461
16462 * files.el (after-find-file-from-revert-buffer): Remove variable.
16463 (after-find-file): Don't bind it.
16464 (revert-buffer-in-progress-p): New variable.
16465 (revert-buffer): Bind it.
16466 Pass nil for `after-find-file-from-revert-buffer'.
16467
16468 * saveplace.el (save-place-find-file-hook): Use new variable
16469 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16470
16471 2011-04-06 Glenn Morris <rgm@gnu.org>
16472
16473 * Makefile.in (AUTOGEN_VCS): New variable.
16474 (autoloads): Use $AUTOGEN_VCS.
16475
16476 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16477 * calendar/calendar.el (calendar-mode-map):
16478 Check for toolkit scroll bars. (Bug#8305)
16479
16480 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16481
16482 * minibuffer.el (completion-in-region--postch)
16483 (completion-in-region-mode): Remove unnecessary messages.
16484
16485 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
16486
16487 * font-lock.el (font-lock-refresh-defaults):
16488 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16489 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16490
16491 * info.el (Info-directory-list, Info-read-node-name-2)
16492 (Info-split-parameter-string): Doc fixes.
16493 (Info-virtual-nodes): Reflow docstring.
16494 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16495 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16496 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16497 Fix typos in docstrings.
16498 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16499 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16500 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16501 (Info-restore-desktop-buffer): Mark unused parameters.
16502 (Info-directory-find-file, Info-directory-find-node)
16503 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16504 (Info-virtual-index-find-node, Info-apropos-find-file)
16505 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
16506 Mark unused parameters; fix typos in docstrings.
16507 (Info-virtual-index): Remove unused local variable `nodename'.
16508
16509 2011-04-05 Deniz Dogan <deniz@dogan.se>
16510
16511 * net/rcirc.el: Update my e-mail address.
16512 (rcirc-mode-map): Remove M-o binding.
16513
16514 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
16515
16516 * startup.el (command-line): Save the cursor's theme-face
16517 directly, instead of using face-override-spec.
16518
16519 * custom.el (load-theme): Minor optimization in assigning faces.
16520
16521 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16522
16523 * help-fns.el (describe-variable): Complete all variables having
16524 documentation, including keywords.
16525 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16526
16527 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16528
16529 Convert to lexical-binding.
16530
16531 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16532 (bs--get-marked-string, bs--get-modified-string)
16533 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16534 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16535 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16536
16537 * ehelp.el (electric-help-execute-extended)
16538 (electric-help-ctrl-x-prefix):
16539 * hexl.el (hexl-revert-buffer-function):
16540 * linum.el (linum-after-change, linum-after-scroll):
16541 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16542
16543 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16544
16545 2011-04-04 Daiki Ueno <ueno@unixuser.org>
16546
16547 * epa-dired.el:
16548 * epa-mail.el:
16549 * epa-hook.el:
16550 * epa-file.el:
16551 * epa.el:
16552 * epg.el: Use lexical binding.
16553
16554 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
16555
16556 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16557
16558 * textmodes/flyspell.el (flyspell-word): Recognize default
16559 dictionary case for flyspell-mark-duplications-exceptions.
16560 Use regexp matching for languages.
16561 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16562 default dictionary (Bug#7926).
16563
16564 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
16565
16566 * emacs-lisp/package.el (package--with-work-buffer):
16567 Recognize https URLs.
16568
16569 * net/network-stream.el: Move from gnus/proto-stream.el.
16570 Change prefix to network-stream throughout.
16571 (open-protocol-stream): Merge into open-network-stream, leaving
16572 open-protocol-stream as an alias. Handle nil BUFFER args.
16573
16574 * subr.el (open-network-stream): Move to net/network-stream.el.
16575
16576 2011-04-02 Glenn Morris <rgm@gnu.org>
16577
16578 * find-dired.el (find-exec-terminator): New option.
16579 (find-ls-option): Test for -ls support.
16580 (find-ls-subdir-switches): Test for -b in find-ls-option.
16581 (find-dired, find-grep-dired): Doc fixes.
16582 (find-dired): Use find-exec-terminator.
16583
16584 * find-dired.el (find-ls-option, find-ls-subdir-switches)
16585 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16586 (find-name-arg): Remove purecopy.
16587
16588 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16589 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16590 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16591 accordingly. Don't add the null-device if not needed.
16592
16593 * files.el (save-some-buffers): Doc fix.
16594
16595 2011-04-02 Eli Zaretskii <eliz@gnu.org>
16596
16597 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16598
16599 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
16600
16601 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16602 Use `dolist' rather than `mapcar'.
16603
16604 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16605
16606 Add lexical binding.
16607
16608 * subr.el (apply-partially): Use new closures rather than CL.
16609 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16610 (dolist, dotimes): Use slightly different expansion for lexical code.
16611 (functionp): Move to C.
16612 (letrec): New macro.
16613 (with-wrapper-hook): Use it and apply-partially instead of CL.
16614 (eval-after-load): Preserve lexical-binding.
16615 (save-window-excursion, with-output-to-temp-buffer): Turn them
16616 into macros.
16617
16618 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16619
16620 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16621 than the arglist.
16622 (help-add-fundoc-usage): Don't add `Not documented'.
16623 (help-function-arglist): Handle closures, subroutines, and new
16624 byte-code-functions.
16625 (help-make-usage): Remove leading underscores.
16626 (describe-function-1): Handle closures.
16627 (describe-variable): Use special-variable-p for completion.
16628
16629 * files.el (lexical-binding): Declare safe.
16630
16631 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16632 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16633 (pcase): Add `let' pattern.
16634 Change memoization so it actually works.
16635 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16636 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16637 <let>: New case.
16638
16639 * emacs-lisp/macroexp.el: Use lexical binding.
16640 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16641 Don't convert ' to #' without checking that it's indeed quoting
16642 a lambda.
16643
16644 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
16645 Use eval-sexp-add-defvars.
16646 (eval-sexp-add-defvars): New fun.
16647
16648 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16649
16650 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16651 Don't autoload.
16652 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16653 than the internal `byte-compile-lambda'.
16654 (defmethod): Don't hide code under quotes.
16655 (eieio-defmethod): New `code' argument.
16656
16657 * emacs-lisp/eieio-comp.el: Remove.
16658
16659 * emacs-lisp/edebug.el (edebug-eval-defun)
16660 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16661 (edebug-toggle): Avoid `eval'.
16662
16663 * emacs-lisp/disass.el (disassemble-internal): Handle new
16664 `closure' objects.
16665 (disassemble-1): Handle new byte codes.
16666
16667 * emacs-lisp/cl.el (pushnew): Silence warning.
16668
16669 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16670 (cl-byte-compile-throw): Remove.
16671 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16672
16673 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16674 closures.
16675
16676 * emacs-lisp/cconv.el: New file.
16677
16678 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16679 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16680 (byte-compile-initial-macro-environment):
16681 Handle declare-function here.
16682 (byte-compile--lexical-environment): New var.
16683 (byte-stack-ref, byte-stack-set, byte-discardN)
16684 (byte-discardN-preserve-tos): New lap codes.
16685 (byte-interactive-p): Don't use any more.
16686 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16687 New macros.
16688 (byte-compile-lapcode): Use them and handle new lap codes.
16689 (byte-compile-obsolete): Remove.
16690 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16691 (byte-compile-arglist-warn): Check late def of inlinable funs.
16692 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16693 since they should have been expanded by now.
16694 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16695 (byte-compile-from-buffer): Remove unused second arg.
16696 (byte-compile-preprocess): New function.
16697 (byte-compile-toplevel-file-form): New function to distinguish
16698 file-form calls from outside from file-form calls from hunk-handlers.
16699 (byte-compile-file-form): Simplify.
16700 (byte-compile-file-form-defsubst): Remove.
16701 (byte-compile-file-form-defmumble): Simplify now that
16702 byte-compile-lambda always returns a byte-code-function.
16703 (byte-compile): Preprocess.
16704 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16705 Remove, not used any more.
16706 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16707 (byte-compile-make-args-desc): New funs.
16708 (byte-compile-lambda): Handle lexical functions. Always return
16709 a byte-code-function.
16710 (byte-compile-reserved-constants): New var, to make up room for
16711 closed-over variables.
16712 (byte-compile-constants-vector): Obey it.
16713 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16714 (byte-compile-macroexpand-declare-function): New function.
16715 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16716 byte-code-functions.
16717 (byte-compile-form): Check obsolescence here.
16718 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16719 (byte-compile-variable-ref): Remove.
16720 (byte-compile-dynamic-variable-op): New fun.
16721 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16722 (byte-compile-variable-set): New funs.
16723 (byte-compile-discard): Add 2 args.
16724 (byte-compile-stack-ref, byte-compile-stack-set)
16725 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16726 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16727 macroexpand-all instead.
16728 (byte-compile-quote-form): Remove.
16729 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16730 (byte-compile-bind, byte-compile-unbind): New funs.
16731 (byte-compile-let): Handle let* and lexical binding.
16732 (byte-compile-let*): Remove.
16733 (byte-compile-catch, byte-compile-unwind-protect)
16734 (byte-compile-track-mouse, byte-compile-condition-case):
16735 Handle a new :fun-body form, used for lexical scoping.
16736 (byte-compile-save-window-excursion)
16737 (byte-compile-with-output-to-temp-buffer): Remove.
16738 (byte-compile-defun): Simplify.
16739 (byte-compile-stack-adjustment): New fun.
16740 (byte-compile-out): Use it.
16741 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16742
16743 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16744 handler any more.
16745
16746 * emacs-lisp/byte-opt.el: Use lexical binding.
16747 (byte-inline-lapcode): Remove (to bytecomp).
16748 (byte-compile-inline-expand): Pay attention to inlining to/from
16749 lexically bound code.
16750 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16751 any more.
16752 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16753 any more and don't call compiler-macros.
16754 (byte-compile-splice-in-already-compiled-code): Remove.
16755 (byte-code): Don't inline any more.
16756 (disassemble-offset): Receive `bytes' as argument rather than via
16757 dynamic scoping.
16758 (byte-compile-tag-number): Declare before first use.
16759 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16760 `return' even if make-spliceable.
16761 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16762 obsolete interactive-p.
16763 (byte-optimize-lapcode): Optimize new lap-codes.
16764 Don't trip up on new form of `byte-constant' lap code.
16765
16766 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16767
16768 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16769
16770 * custom.el (custom-initialize-default, custom-declare-variable):
16771 Use `defvar'.
16772
16773 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16774 New variables.
16775 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16776 (COMPILE_FIRST): Add macroexp and cconv.
16777 * makefile.w32-in: Mirror changes in Makefile.in.
16778
16779 * vc/cvs-status.el:
16780 * vc/diff-mode.el:
16781 * vc/log-edit.el:
16782 * vc/log-view.el:
16783 * vc/smerge-mode.el:
16784 * textmodes/bibtex-style.el:
16785 * textmodes/css-mode.el:
16786 * startup.el:
16787 * uniquify.el:
16788 * minibuffer.el:
16789 * newcomment.el:
16790 * reveal.el:
16791 * server.el:
16792 * mpc.el:
16793 * emacs-lisp/smie.el:
16794 * doc-view.el:
16795 * dired.el:
16796 * abbrev.el: Use lexical binding.
16797
16798 2011-04-01 Eli Zaretskii <eliz@gnu.org>
16799
16800 * info.el (info-display-manual): New function.
16801
16802 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16803
16804 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16805
16806 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16807
16808 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
16809 an entry for that server in rcirc-authinfo. (Bug#8385)
16810
16811 2011-03-31 Glenn Morris <rgm@gnu.org>
16812
16813 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16814
16815 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16816
16817 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16818
16819 * progmodes/python.el (python-default-interpreter)
16820 (python-python-command-args, python-jython-command-args)
16821 (python-which-shell, python-which-args, python-which-bufname)
16822 (python-file-queue, python-comint-output-filter-function)
16823 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16824 variables and functions.
16825
16826 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16829 (completion-in-region-mode): New minor mode.
16830 (completion-in-region): Use it.
16831 (completion-in-region--data, completion-in-region-mode-map): New vars.
16832 (completion-in-region--postch): New function.
16833 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16834 New vars.
16835 (completion--capf-wrapper): New function.
16836 (completion-at-point): Use it to track well-behavedness of
16837 hook functions.
16838 (completion-help-at-point): New command.
16839
16840 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16841
16842 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16843 syntax class to search for whitespace on a single line
16844 (Message-ID: <4D938140.4030905@redhat.com>).
16845
16846 2011-03-30 Leo Liu <sdl.web@gmail.com>
16847
16848 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16849 New commands.
16850 (edit-abbrevs-map): Bind them here.
16851 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16852
16853 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16854
16855 * allout.el (allout-hide-by-annotation, allout-flag-region):
16856 Reduce possibility of overlay leakage by making them volatile.
16857
16858 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16859 hash is not shared between buffers. Mode initialization is
16860 responsible for giving it a useful starting value.
16861 (allout-item-span): Reduce possibility of overlay leakage by
16862 making them volatile.
16863 (allout-widgets-count-buttons-in-region): Add diagnostic function
16864 for tracking down button overlay leaks.
16865
16866 2011-03-29 Leo Liu <sdl.web@gmail.com>
16867
16868 * ido.el (ido-read-internal): Use the default history var
16869 minibuffer-history if no HISTORY is specified.
16870
16871 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16872
16873 * net/imap.el (imap-shell-open, imap-process-connection-type):
16874 Use imap-process-connection-type for 'shell' streams as well as
16875 Kerberos, SSL, other subprocesses.
16876
16877 2011-03-28 Leo Liu <sdl.web@gmail.com>
16878
16879 * abbrev.el (abbrev-table-empty-p): New function.
16880 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16881 nonempty ones. (Bug#5937)
16882
16883 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16884
16885 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16886
16887 2011-03-27 Leo Liu <sdl.web@gmail.com>
16888
16889 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16890 for foreground and background colors.
16891 (ansi-color-make-color-map): Adapt.
16892
16893 2011-03-25 Leo Liu <sdl.web@gmail.com>
16894
16895 * midnight.el (midnight-time-float): Remove. Note it calculates
16896 the microsecond component incorrectly and seconds-to-time does the
16897 same job.
16898 Remove redundant (require 'timer).
16899
16900 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
16901 (ido-completions): Remove unused arguments. (Bug#8329)
16902
16903 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
16904
16905 * minibuffer.el (completion--flush-all-sorted-completions):
16906 Remove itself from hook.
16907 (completion-at-point): Let the functions perform the completion
16908 immediately and return nil or t.
16909 * comint.el (comint-dynamic-complete-functions): Now identical to
16910 completion-at-point-functions.
16911 (comint-dynamic-list-input-ring): Remove unused var `index'.
16912 (comint--match-partial-filename, comint--unquote&expand-filename):
16913 New funs, split from comint-match-partial-filename.
16914 (comint-dynamic-complete): Use completion-at-point.
16915 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
16916
16917 2011-03-24 Drew Adams <drew.adams@oracle.com>
16918
16919 * thingatpt.el: Support `defun'.
16920
16921 2011-03-23 Leo Liu <sdl.web@gmail.com>
16922
16923 * abbrevlist.el: Move to obsolete/abbrevlist.el.
16924
16925 * help-mode.el (help-mode-finish): Tweak regexp.
16926
16927 2011-03-23 Glenn Morris <rgm@gnu.org>
16928
16929 * eshell/esh-opt.el (eshell-eval-using-options):
16930 Do not bind unused local variable `eshell-option-stub'.
16931
16932 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
16933
16934 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16935
16936 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
16937 keymap variable in `with-no-warnings' to avoid a warning when the
16938 keymap has been already `defconst'ed.
16939
16940 2011-03-22 Leo Liu <sdl.web@gmail.com>
16941
16942 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
16943 encode all chars in abbrevs; otherwise use emacs-mule or
16944 utf-8-emacs. (Bug#8308)
16945
16946 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
16947
16948 * simple.el (backward-delete-char-untabify):
16949 Avoid warning about using `delete-backward-char'.
16950
16951 * image.el (image-type-file-name-regexps): Make it variable.
16952 `imagemagick-register-types' modifies it, and the user may want
16953 to add new extensions for known image types.
16954 (imagemagick-register-types): Throw error if not using ImageMagick.
16955
16956 2011-03-22 Leo Liu <sdl.web@gmail.com>
16957
16958 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
16959 located before rcirc-prompt-end-marker.
16960 (rcirc-complete): Error if point is not after rcirc prompt.
16961 Handle the case when table is nil.
16962 (rcirc-user-authenticated): Define to fix compiler warning.
16963
16964 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
16965
16966 * custom.el (custom--inhibit-theme-enable): Make it affect only
16967 custom-theme-set-variables and custom-theme-set-faces.
16968 (provide-theme): Ignore custom--inhibit-theme-enable.
16969 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
16970 (custom-enabling-themes): Delete variable.
16971 (enable-theme): Accept only loaded themes as arguments.
16972 Ignore the special custom-enabled-themes variable.
16973 (custom-enabled-themes): Forbid themes from setting this.
16974 Eliminate use of custom-enabling-themes.
16975 (custom-push-theme): Quote "changed" custom var entry.
16976
16977 2011-03-21 Leo Liu <sdl.web@gmail.com>
16978
16979 * ido.el (ido-read-internal): Add ido-selected to history instead
16980 of user input.
16981
16982 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
16983
16984 * subr.el (deferred-action-list, deferred-action-function):
16985 Mark obsolete.
16986
16987 2011-03-21 Leo Liu <sdl.web@gmail.com>
16988
16989 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
16990 change on 2011-02-13 (bug#8309).
16991
16992 * minibuffer.el (read-file-name-function): Change default value.
16993 (read-file-name--defaults): Rename from read-file-name-defaults.
16994 (read-file-name-default): Rename from read-file-name.
16995 (read-file-name): Call read-file-name-function.
16996
16997 2011-03-21 Glenn Morris <rgm@gnu.org>
16998
16999 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17000 Doc fixes.
17001
17002 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
17003
17004 * cus-theme.el: Add missing provide statement.
17005 (customize-create-theme): Extract theme value correctly.
17006 (custom-theme-visit-theme): Autoload.
17007 (customize-create-theme): Prompt before inserting default faces.
17008
17009 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17010
17011 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17012 units and musical notes.
17013
17014 2011-03-20 Leo Liu <sdl.web@gmail.com>
17015
17016 * ido.el (ido-read-internal): Use completing-read-default.
17017 (ido-completing-read): Fix compatibility with completing-read.
17018
17019 2011-03-20 Christian Ohler <ohler@gnu.org>
17020
17021 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17022 (ert-delete-all-tests): Use `called-interactively-p' rather than
17023 `interactive-p'.
17024 (ert--make-xrefs-region): Respect END.
17025
17026 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17027
17028 * dired-aux.el (dired-create-directory): Signal an error if the
17029 directory already exists (Bug#8246).
17030
17031 * facemenu.el (list-colors-display): Call list-faces-display
17032 inside with-help-window.
17033 (list-colors-print): Use display property to align the final
17034 column, instead of checking window-width.
17035
17036 2011-03-19 Eli Zaretskii <eliz@gnu.org>
17037
17038 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
17039 windows-nt systems.
17040 (emerge-protect-metachars): Quote correctly for ms-dos and
17041 windows-nt systems.
17042
17043 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
17044
17045 * info.el (info-initialize): Replace all uses of `:' with
17046 path-separator for compatibility with non-Unix systems.
17047 Cache quoting of path-separator. (Bug#8258)
17048
17049 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
17050
17051 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17052 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17053 (mouse-avoidance-mode): Fix typos in docstrings.
17054
17055 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
17056
17057 * startup.el (package-subdirectory-regexp): Move from package.el.
17058 Omit \\` and \\', and let callers add them.
17059
17060 * emacs-lisp/package.el (package-strip-version)
17061 (package-load-all-descriptors): Add \\` and \\' to
17062 package-subdirectory-regexp before using it.
17063 (package-untar-buffer): New arg DIR; ensure that file untars only
17064 into this expected directory. Remove superfluous delete-region.
17065 (package-unpack): Caller changed.
17066 (package-tar-file-info): Use package-subdirectory-regexp.
17067
17068 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17071 diff-mode-shared-map (bug#8284).
17072 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
17073
17074 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17075
17076 * calendar/time-date.el (format-seconds): Use assoc instead of
17077 assoc-string, since assoc-string doesn't exist in XEmacs.
17078
17079 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
17080
17081 * custom.el (custom-known-themes): Reflow docstring.
17082 (custom-theme-load-path): Fix typo in docstring.
17083 (load-theme): Fix typo in error message.
17084 (custom-available-themes, custom-variable-theme-value):
17085 Use `let', not `let*'.
17086
17087 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17088
17089 * calc/README: Mention inclusion of musical notes.
17090
17091 * calc/calc-units.el (calc-lu-quant): Rename from
17092 `calc-logunits-quantity'.
17093 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17094 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17095 (calc-db): Rename from `calc-dblevel'.
17096 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17097 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17098 (calc-np): Rename from `calc-nplevel'.
17099 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17100 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17101 (calc-lu-plus): Rename from `calc-logunits-add'.
17102 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17103 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17104 (calc-lu-minus): Rename from `calc-logunits-sub'.
17105 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17106 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17107 (calc-lu-times): Rename from `calc-logunits-mul'.
17108 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17109 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17110 (calc-lu-divide): Rename from `calc-logunits-div'.
17111 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17112 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17113
17114 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17115 functions being autoloaded.
17116
17117 * calc/calc.el (calc-lu-power-reference): Rename from
17118 `calc-logunits-power-reference'.
17119 (calc-lu-field-reference): Rename from
17120 `calc-logunits-field-reference'.
17121
17122 * calc/calc-help.el (calc-l-prefix-help):
17123 Mention musical note functions.
17124
17125 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17126
17127 * minibuffer.el (completion-all-sorted-completions):
17128 Use :completion-cycle-penalty text property if present.
17129
17130 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17131
17132 * allout.el (allout-yank-processing): Adjust for new rebulleting
17133 regime so bullet being yanked is used without prompting the user
17134 for a choice.
17135
17136 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17137
17138 * startup.el (command-line): Warn the user that _emacs is deprecated.
17139
17140 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
17141
17142 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17143 (delphi-verbose, delphi-comment-face, delphi-string-face)
17144 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17145 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17146 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17147 (delphi-new-comment-line, delphi-font-lock-defaults)
17148 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17149 Fix typos in docstrings.
17150
17151 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17152
17153 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
17154 Invert the roles of character and string values for INSTEAD, so a
17155 string is used for the more common case of a defaulting prompt.
17156
17157 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17158
17159 * progmodes/ruby-mode.el (ruby-backward-sexp):
17160 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17161 * play/gamegrid.el (gamegrid-make-face):
17162 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17163 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17164 * notifications.el (notifications-notify):
17165 * net/xesam.el (xesam-search-engines):
17166 * net/quickurl.el (quickurl-list-insert):
17167 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17168
17169 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
17170
17171 * startup.el (command-line): Update package subdirectory regexp.
17172
17173 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17174
17175 * allout.el (allout-abbreviate-flattened-numbering)
17176 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17177
17178 * subr.el (read-char-choice): Only show the cursor after the prompt,
17179 not after the answer.
17180
17181 2011-03-15 Kevin Ryde <user42@zip.com.au>
17182
17183 * help-fns.el (variable-at-point): Skip leading quotes, if any
17184 (bug#8253).
17185
17186 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17189 warning message.
17190
17191 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
17192
17193 * shell.el (shell): When called interactively, offer to change the
17194 shell file name on remote hosts.
17195
17196 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17197
17198 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17199 integration for LDAP parameters. The host, base, user or binddn,
17200 and secret tokens can be specified in a netrc file, for instance.
17201 This is optional because an `auth-source' parameter must be
17202 specified in the search attributes.
17203
17204 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
17205
17206 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17207
17208 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17211 into declaration. Remove redundant and harmful binding.
17212
17213 2011-03-12 Eli Zaretskii <eliz@gnu.org>
17214
17215 * files.el (file-ownership-preserved-p): Pass `integer' as an
17216 explicit 2nd argument to `file-attributes'. If the file's owner
17217 is the Administrators group on Windows, and the current user is
17218 Administrator, consider that a match.
17219
17220 * server.el (server-ensure-safe-dir): Consider server directory
17221 safe on MS-Windows if its owner is the Administrators group while
17222 the current Emacs user is Administrator. Use `=' to compare
17223 numerical UIDs, since they could be integers or floats.
17224
17225 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
17226
17227 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17228
17229 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
17230
17231 Sync with Tramp 2.2.1.
17232
17233 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17234
17235 * net/trampver.el: Update release number.
17236
17237 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17238
17239 * progmodes/compile.el (compilation--previous-directory): Fix up
17240 various nil/dead-marker mismatches (bug#8014).
17241 (compilation-directory-properties, compilation-error-properties):
17242 Don't call it at a position past the one we're about to change.
17243
17244 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17245 Disable obsolescence warnings in the file that declares it.
17246
17247 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17248
17249 * allout-widgets.el (allout-widgets-tally):
17250 Initialize allout-widgets-tally as a hash table rather than nil to
17251 prevent mode-line redisplay warnings. Also, clarify the module
17252 description and fix a comment typo.
17253
17254 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
17255
17256 * help-fns.el (describe-variable): Don't complete keywords.
17257 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17258
17259 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
17260
17261 * emacs-lisp/package.el (package-version-join): Impose a standard
17262 string representation for pre/alpha/beta version lists.
17263 (package-unpack-single): Standardize the directory name by passing
17264 it through package-version-join.
17265 (package-strip-rcs-id): Accept any version string that does not
17266 signal an error in version-to-list.
17267
17268 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
17269
17270 * simple.el (delete-trailing-whitespace): Return nil for the
17271 benefit of `write-file-functions'.
17272
17273 2011-03-10 Glenn Morris <rgm@gnu.org>
17274
17275 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17276
17277 * vc/vc-git.el (vc-git-program): New option.
17278 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17279 (vc-git--call): Use it.
17280
17281 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17282
17283 * cus-edit.el (Custom-newline): If no button at point, look
17284 for a subgroup button at start-of-line. (Bug#2298)
17285
17286 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17287
17288 2011-03-10 Julien Danjou <julien@danjou.info>
17289
17290 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17291 `cursor-type' is nil.
17292
17293 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17294
17295 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17296
17297 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17298
17299 * allout.el: Change so yank of distinctive-bullet items
17300 preserves the existing header prefix, rebulleting it if necessary,
17301 rather than replacing it. This is necessary for proper operation
17302 of cooperative addons like allout-widgets.
17303 (allout-make-topic-prefix, allout-rebullet-heading):
17304 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17305 value as alternate bullet to be used, instead of prompting the user
17306 for a bullet character.
17307
17308 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
17309
17310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17311 Do not use `tramp-file-name-port', because this returns also
17312 `tramp-default-port'.
17313
17314 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17315
17316 * net/rcirc.el (rcirc-handler-001): Remove useless
17317 with-rcirc-process-buffer.
17318 (rcirc-check-auth-status): Swap arguments to string-match.
17319
17320 2011-03-09 Glenn Morris <rgm@gnu.org>
17321
17322 * shell.el (shell-mode):
17323 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17324
17325 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17326 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17327
17328 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17329
17330 * emacs-lisp/package.el (package-refresh-contents)
17331 (package-menu-execute): Use condition-case-no-debug.
17332
17333 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
17334
17335 * simple.el (shell-command-to-string): Use `process-file'.
17336
17337 * emacs-lisp/package.el (package-tar-file-info): Handle also
17338 remote files.
17339
17340 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17341 Use `equal' for upload base check.
17342
17343 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17344
17345 * textmodes/texinfo.el (texinfo-environments):
17346 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17347
17348 2011-03-08 Glenn Morris <rgm@gnu.org>
17349
17350 * cus-start.el (cursor-in-non-selected-windows):
17351 Fix :set quoting oddness. (Bug#8192)
17352
17353 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17354 in some setf expressions. (Bug#2159)
17355
17356 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
17357
17358 * custom.el (custom-available-themes): Return themes in
17359 alphabetical order.
17360
17361 See ChangeLog.15 for earlier changes.
17362
17363 ;; Local Variables:
17364 ;; coding: utf-8
17365 ;; End:
17366
17367 Copyright (C) 2011-2012 Free Software Foundation, Inc.
17368
17369 This file is part of GNU Emacs.
17370
17371 GNU Emacs is free software: you can redistribute it and/or modify
17372 it under the terms of the GNU General Public License as published by
17373 the Free Software Foundation, either version 3 of the License, or
17374 (at your option) any later version.
17375
17376 GNU Emacs is distributed in the hope that it will be useful,
17377 but WITHOUT ANY WARRANTY; without even the implied warranty of
17378 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17379 GNU General Public License for more details.
17380
17381 You should have received a copy of the GNU General Public License
17382 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.