]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2012-04-24T21:47:24Z!michael.albinus@gmx.de
[gnu-emacs] / lisp / ChangeLog
1 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
4 arbitrary file name lengths (Bug#11585).
5
6 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7
8 * desktop.el (desktop-read): Clear previous and next buffers for
9 all windows and bury *Messages* buffer (bug#11556).
10
11 2012-05-31 Eli Zaretskii <eliz@gnu.org>
12
13 * mail/sendmail.el (mail-yank-region): Recognize
14 rmail-yank-current-message in addition to insert-buffer. Fixes
15 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
16
17 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18
19 Add `declare' for `defun'. Align `defmacro's with it.
20 * emacs-lisp/easy-mmode.el (define-minor-mode)
21 (define-globalized-minor-mode): Don't autoload the var definitions.
22 * emacs-lisp/byte-run.el: Use lexical-binding.
23 (defun-declarations-alist, macro-declarations-alist): New vars.
24 (defmacro, defun): Use them.
25 (make-obsolete, define-obsolete-function-alias)
26 (make-obsolete-variable, define-obsolete-variable-alias):
27 Use `declare'.
28 (macro-declaration-function): Mark obsolete.
29 * emacs-lisp/autoload.el: Use lexical-binding.
30 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
31
32 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
33
34 * textmodes/ispell.el (ispell-with-no-warnings):
35 Define as a macro.
36 (ispell-kill-ispell, ispell-change-dictionary):
37 Use `called-interactively-p' for Emacs instead of obsolete
38 `interactive-p'.
39
40 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
41
42 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
43 (macro-declaration-function): Move var from C code.
44 (macro-declaration-function): Define function with defalias.
45 * emacs-lisp/macroexp.el (macroexpand-all-1):
46 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
47 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
48 defun/defmacro any more.
49 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
50 Provide fallback for unknown arglist.
51 (byte-compile-arglist-warn): Change calling convention.
52 (byte-compile-output-file-form): Move print-vars binding.
53 (byte-compile-output-docform): Simplify accordingly.
54 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
55 (byte-compile-defmacro-declaration): Remove.
56 (byte-compile-file-form-defmumble): Generalize to defalias.
57 (byte-compile-output-as-comment): Return byte-positions.
58 Simplify callers accordingly.
59 (byte-compile-lambda): Use `assert'.
60 (byte-compile-defun, byte-compile-defmacro): Remove.
61 (byte-compile-file-form-defalias):
62 Use byte-compile-file-form-defmumble.
63 (byte-compile-defalias-warn): Remove.
64
65 2012-05-29 Stefan Merten <smerten@oekonux.de>
66
67 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
68 possible. Fix authors. Improve comments. Improve loading of `cl'.
69
70 (rst-mode-abbrev-table): Merge definition.
71 (rst-mode): Make sure `font-lock-defaults' is buffer local.
72 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
73
74 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
75
76 * calendar/icalendar.el
77 (icalendar-export-region): Export UID properly.
78
79 2012-05-29 Leo <sdl.web@gmail.com>
80 * calendar/icalendar.el (icalendar-import-format):
81 Add `icalendar-import-format-uid' (Bug#11525).
82 (icalendar-import-format-uid): New.
83 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
84 Export UID.
85
86 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
89 different alternative patterns.
90 (pcase-codegen): Be more careful to preserve identity.
91 (pcase--u1): Don't forget to mark vars as used.
92
93 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
94 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
95 (byte-compile-from-buffer): ...rather than here.
96
97 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
98 functions from byte-compile-function-environment.
99
100 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
101
102 * window.el (window-deletable-p): Avoid deleting the root window
103 of a frame with an active minibuffer.
104
105 2012-05-29 Martin Rudalics <rudalics@gmx.at>
106
107 * simple.el (choose-completion): Use quit-window (Bug#11567).
108
109 2012-05-29 Chong Yidong <cyd@gnu.org>
110
111 * whitespace.el (whitespace-cleanup): Fix usage of
112 whitespace-empty-at-bob-regexp (Bug#11492).
113
114 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
115
116 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
117 revert (Bug#11488).
118
119 2012-05-29 Juri Linkov <juri@jurta.org>
120
121 * isearch.el (isearch-mode-map): Bind `M-s _' to
122 `isearch-toggle-symbol'. Bind `M-s c' to
123 `isearch-toggle-case-fold'.
124 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
125 (isearch-forward): Add `M-s _' to the docstring.
126 (isearch-forward-symbol, isearch-toggle-case-fold)
127 (isearch-symbol-regexp): New functions. (Bug#11381)
128
129 2012-05-29 Juri Linkov <juri@jurta.org>
130
131 * isearch.el (isearch-word): Add docstring. (Bug#11381)
132 (isearch-occur, isearch-search-and-update): If `isearch-word' is
133 a function, call it to get the regexp.
134 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
135 property `isearch-message-prefix' instead of the string "word ".
136 (isearch-search-fun-default): For the case of `isearch-word',
137 return a lambda that calls re-search-forward/re-search-backward
138 with a regexp returned by `word-search-regexp' or by the function
139 in `isearch-word'.
140
141 2012-05-29 Juri Linkov <juri@jurta.org>
142
143 * isearch.el (isearch-search-fun-default): New function.
144 (isearch-search-fun): Move default part to the new function
145 `isearch-search-fun-default'.
146 (isearch-search-fun-function): Set the default value to
147 `isearch-search-fun-default'. (Bug#11381)
148
149 * comint.el (comint-history-isearch-end):
150 Use `isearch-search-fun-default'.
151 (comint-history-isearch-search): Use `isearch-search-fun-default'
152 and remove spacial case for `isearch-word'.
153 (comint-history-isearch-wrap): Remove spacial case for
154 `isearch-word'.
155
156 * hexl.el (hexl-isearch-search-function):
157 Use `isearch-search-fun-default'.
158
159 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
160 Use `word-search-regexp' for `isearch-word'.
161
162 * misearch.el (multi-isearch-search-fun):
163 Use `isearch-search-fun-default'.
164
165 * simple.el (minibuffer-history-isearch-search):
166 Use `isearch-search-fun-default' and remove spacial case for
167 `isearch-word'.
168 (minibuffer-history-isearch-wrap): Remove spacial case for
169 `isearch-word'.
170
171 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
172 Remove spacial case for `isearch-word'.
173 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
174
175 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
176
177 Decrease XEmacs incompatibilities.
178 * textmodes/flyspell.el (flyspell-check-pre-word-p):
179 Use `string-match'.
180 (flyspell-delete-region-overlays): Use alternative definition for
181 XEmacs.
182 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
183 (flyspell-word): Use `process-kill-without-query' if XEmacs.
184 (flyspell-mode-on): Use `interactive-p' if XEmacs.
185 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
186 `define-obsolete-face-alias' under XEmacs, but old method.
187
188 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
189 `with-no-warnings' definition or Emacs alias.
190 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
191 (ispell-word): Do not use `region-p' if XEmacs.
192
193 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
194
195 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
196 Check for `ispell-dictionary-base-alist' instead of full
197 `ispell-dictionary-alist'.
198 (ispell-init-process): Show spellchecker when starting new Ispell
199 process.
200
201 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
204 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
205
206 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
207
208 * version.el (motif-version-string, gtk-version-string)
209 (ns-version-string): Declare.
210
211 2012-05-27 Juri Linkov <juri@jurta.org>
212
213 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
214 after the `eval-defun-1' specialcaseing
215 like in `edebug-eval-defun' (bug#10181).
216
217 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
218 like in `eval-defun-1'.
219
220 2012-05-27 Eli Zaretskii <eliz@gnu.org>
221
222 * mail/sendmail.el (mail-yank-region):
223 Recognize rmail-yank-current-message in addition to insert-buffer.
224 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
225 a *mail* buffer created through rmail-start-mail with sendmail as
226 mail-user-agent.
227
228 2012-05-27 Chong Yidong <cyd@gnu.org>
229
230 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
231 Default to 256 (Bug#11267).
232
233 * help.el (describe-mode): Doc fix.
234
235 2012-05-26 Glenn Morris <rgm@gnu.org>
236
237 * w32-fns.el (w32-init-info): Remove.
238 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
239
240 * info.el (info-initialize): For self-contained NS builds, put the
241 included info/ directory at the front. (Bug#2791)
242
243 * paths.el (Info-default-directory-list): Make it a defcustom,
244 mainly so that we can use custom-initialize-delay.
245
246 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * subr.el (buffer-has-markers-at): Mark obsolete.
249
250 * subr.el (lambda): Use declare.
251
252 * emacs-lisp/lisp-mode.el (lambda):
253 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
254
255 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
256
257 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
258
259 2012-05-26 Glenn Morris <rgm@gnu.org>
260
261 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
262
263 2012-05-25 Glenn Morris <rgm@gnu.org>
264
265 * paths.el: Remove no-byte-compile.
266 * loadup.el: No need to load paths.el uncompiled.
267
268 * image.el (imagemagick-types-inhibit): Doc fix.
269
270 * version.el: Remove no-byte-compile and associated formatting.
271 * loadup.el: No need to load version.el uncompiled. AFAICS, this
272 is ancient code from when there was an "inc-vers.el".
273
274 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * progmodes/gdb-mi.el: Minor style changes.
277 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
278 Turn into minor modes.
279 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
280 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
281 (gdb-shell): Remove unneeded let-binding.
282 (gdb-get-many-fields): Eliminate O(n²) behavior.
283
284 2012-05-25 Eli Zaretskii <eliz@gnu.org>
285
286 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
287 platforms that don't link in fontset.c.
288
289 2012-05-25 Juri Linkov <juri@jurta.org>
290
291 Use the same diff color scheme as in modern VCSes (bug#10181).
292
293 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
294 to avoid confusion with `diff-added' that now uses green colors.
295 (diff-removed): Use shades of red.
296 (diff-added): Use shades of green.
297 (diff-changed): Leave just the yellow color.
298 (diff-use-changed-face): New variable.
299 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
300 how to highlight context diff changes.
301 (diff-refine-change): Use shades of yellow.
302 (diff-refine-removed): New face that uses shades of red.
303 (diff-refine-added): New face that uses shades of green.
304 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
305 `diff-refine-removed' in the call to `smerge-refine-subst'
306 depending on the value of `diff-use-changed-face'.
307
308 * vc/smerge-mode.el (smerge-mine): Use shades of red.
309 (smerge-other): Use shades of green.
310 (smerge-base): Use shades of yellow.
311 (smerge-refined-change): Empty face.
312 (smerge-refined-removed): New face that uses shades of red.
313 (smerge-refined-added): New face that uses shades of green.
314 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
315 args `props-r' and `props-a', and use them. Doc fix.
316 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
317 on its value use different faces `smerge-refined-change',
318 `smerge-refined-removed', `smerge-refined-added' in the call to
319 `smerge-refine-subst'.
320
321 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
322 Add face condition `min-colors 88' with shades of red.
323 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
324 `min-colors 88' with shades of green.
325 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
326 `min-colors 88' with shades of yellow.
327
328 2012-05-24 Glenn Morris <rgm@gnu.org>
329
330 * paths.el (prune-directory-list, remote-shell-program): Move to...
331 * files.el (prune-directory-list, remote-shell-program): ...here.
332 For the latter, delay initialization, prefer ssh, just search PATH.
333
334 * paths.el (term-file-prefix): Move to faces.el (the only user).
335 * faces.el (term-file-prefix): Move here, make it a defcustom.
336
337 * paths.el (news-directory, news-path, news-inews-program):
338 Move to gnus/nnspool.el.
339
340 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
341
342 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
343 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
344 Make the latter a defcustom, with a delayed initialization.
345
346 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
347 These were deleted from Gnus itself late 2010.
348
349 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
350
351 * progmodes/which-func.el (which-func-ff-hook):
352 Check against user-error, not error.
353
354 * emacs-lisp/edebug.el (top): Do not load or set up loading of
355 cl-specs.el, which no longer exists.
356
357 2012-05-22 Glenn Morris <rgm@gnu.org>
358
359 * info.el (info-emacs-bug): New command.
360 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
361 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
362
363 2012-05-21 Glenn Morris <rgm@gnu.org>
364
365 * makefile.w32-in (update-subdirs-SH):
366 * Makefile.in (update-subdirs): Update for moved update-subdirs.
367
368 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
371
372 * progmodes/compile.el (compilation-error-regexp-alist-alist):
373 Simplify Maven regexp, and make sure the file can't start with a space
374 (bug#11517).
375
376 2012-05-21 Glenn Morris <rgm@gnu.org>
377
378 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
379 Scrap superfluous subshells.
380
381 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
384 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
385
386 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
387
388 * calc/calc.el (calc-ensure-consistent-units): New variable.
389
390 * calc/calc-units.el (math-consistent-units-p)
391 (math-check-unit-consistency): New functions.
392 (calc-quick-units, calc-convert-units):
393 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
394 is non-nil.
395 (calc-extract-units): Fix typo.
396
397 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
400
401 * textmodes/flyspell.el: Commenting style, plus code simplifications.
402 (flyspell-default-deplacement-commands): Don't spell check after
403 repeated window/frame switches (e.g. triggered by mouse-movement).
404 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
405 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
406 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
407 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
408 Remove unused vars.
409 (flyspell-get-casechars, flyspell-get-not-casechars):
410 Simplify; Don't bother removing a ] just to add it back.
411 * textmodes/ispell.el (ispell-program-name): Use executable-find.
412
413 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
414
415 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
416 New functions.
417 (math-function-table): Add support for more C functions.
418
419 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
420
421 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
422 (flyspell-debug-signal-word-checked): Protect delay handling for
423 otherchars against empty otherchars.
424
425 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
428 their respective macro declarations.
429 * skeleton.el (define-skeleton):
430 * progmodes/compile.el (define-compilation-mode):
431 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
432 (define-ibuffer-filter):
433 * emacs-lisp/generic.el (define-generic-mode):
434 * emacs-lisp/easy-mmode.el (define-minor-mode)
435 (define-globalized-minor-mode):
436 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
437 * emacs-lisp/byte-run.el (defsubst):
438 * custom.el (deftheme): Add doc-string metadata.
439
440 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
443
444 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
447
448 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
449 * emacs-lisp/cl-macs.el: Idem.
450 * emacs-lisp/cl-specs.el: Remove.
451
452 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 Minor renaming of internal CL functions and variables.
455 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
456 (cl--position): Rename from cl-position.
457 (cl--delete-duplicates): Rename from cl-delete-duplicates.
458 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
459 (cl--random-state): Rename from *random-state*.
460
461 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
464 parens around the arg list (bug#11499).
465
466 2012-05-17 Juri Linkov <juri@jurta.org>
467
468 * isearch.el (word-search-regexp, word-search-backward)
469 (word-search-forward, word-search-backward-lax)
470 (word-search-forward-lax): Move functions from search.c
471 (bug#10145, bug#11381).
472
473 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
474
475 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
476 (flyspell-debug-signal-word-checked): Delay for otherchars as for
477 normal word components.
478
479 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * minibuffer.el (completion--sifn-requote): Fix last change.
482 (minibuffer-local-must-match-filename-map):
483 Move define-obsolete-variable-alias before its var.
484
485 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
488
489 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
490 behavior.
491 (completion--string-equal-p): New function.
492 (completion--twq-all): Use it to get better assertion failure data.
493
494 Only handle ".." and '..' quoting in shell-mode (bug#11466).
495 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
496 (shell--requote-argument): New functions.
497 (shell-completion-vars): Use them.
498 (shell--parse-pcomplete-arguments): Rename from
499 shell-parse-pcomplete-arguments.
500 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
501 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
502 Obey comint-file-name-quote-list.
503
504 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
505 (smie-indent-keyword): Use it.
506
507 2012-05-14 Stefan Merten <smerten@oekonux.de>
508
509 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
510
511 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * net/rlogin.el (rlogin-mode-map): Fix last change.
514
515 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
516
517 * mail/smtpmail.el (smtpmail-send-command): Send the command and
518 the following \r\n using a single `process-send-string', since the
519 Lotus SMTP server refuses to accept any commands if they are sent
520 with two `process-send-string's (Bug#11444).
521
522 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * shell.el (shell-parse-pcomplete-arguments):
525 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
526
527 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
528
529 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
530 (image-transform-scale, image-transform-right-angle-fudge): New vars.
531 (image-transform-width, image-transform-fit-width): New functions.
532 (image-transform-properties): Use them.
533 (image-transform-check-size): New function.
534 (image-toggle-display-image): Use it (for testing).
535 (image-transform-set-rotation): Reduce angle mod 360.
536 Delete obsolete comment.
537
538 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
539
540 * image-mode.el: Fix scaling (bug#11399).
541 (image-transform-resize): Doc fix.
542 (image-transform-properties): Default scale is 1 and height should
543 be an integer.
544
545 2012-05-13 Johan Bockgård <bojohan@gnu.org>
546
547 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
548 than hard-coding `car', to fix misbehavior when moving forward.
549
550 2012-05-13 Chong Yidong <cyd@gnu.org>
551
552 * emacs-lisp/tabulated-list.el (tabulated-list-format)
553 (tabulated-list-entries, tabulated-list-padding)
554 (tabulated-list-sort-key): Make permanent-local.
555
556 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
557 (electric-buffer-list): Put electric buffer menu
558 command descriptions in this docstring, instead of the docstring
559 of electric-buffer-menu-mode. Code cleanups.
560 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
561 Electric-buffer-menu-mode.
562 (electric-buffer-update-highlight): Minor code cleanup.
563
564 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
567 (Bug#11447)
568
569 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 Move define-obsolete-variable-alias before the var's definition.
572 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
573 * tooltip.el (tooltip-hook):
574 * textmodes/reftex-toc.el (reftex-toc-map):
575 * textmodes/reftex-sel.el (reftex-select-label-map)
576 (reftex-select-bib-map):
577 * textmodes/reftex-index.el (reftex-index-map)
578 (reftex-index-phrases-map):
579 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
580 * progmodes/meta-mode.el (meta-mode-map):
581 * novice.el (disabled-command-hook):
582 * loadhist.el (unload-hook-features-list):
583 * frame.el (blink-cursor):
584 * files.el (find-file-not-found-hooks, write-file-hooks)
585 (write-contents-hooks):
586 * emulation/tpu-edt.el (GOLD-map):
587 * emacs-lock.el (emacs-lock-from-exiting):
588 * emacs-lisp/generic.el (generic-font-lock-defaults):
589 * emacs-lisp/chart.el (chart-map):
590 * dos-fns.el (register-name-alist):
591 * dired-x.el (dired-omit-files-p):
592 * desktop.el (desktop-enable):
593 * cus-edit.el (custom-mode-hook):
594 * buff-menu.el (buffer-menu-mode-hook):
595 * bookmark.el (bookmark-read-annotation-text-func)
596 (bookmark-exit-hooks):
597 * allout.el (allout-mode-deactivate-hook)
598 (allout-exposure-change-hook, allout-structure-added-hook)
599 (allout-structure-deleted-hook, allout-structure-shifted-hook):
600 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
601 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
602 comes before the corresponding variable's definition.
603
604 2012-05-12 Chong Yidong <cyd@gnu.org>
605
606 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
607 (Buffer-menu-mouse-select): Restore function (Bug#11459).
608 (Buffer-menu-mode-map): Bind it.
609 (Buffer-menu--pretty-name): Add a mouse-face property.
610
611 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
614 (prolog-upper-case-string, prolog-lower-case-string)
615 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
616 (prolog-use-smie, prolog-smie-grammar): New vars.
617 (prolog-smie-forward-token, prolog-smie-backward-token)
618 (prolog-smie-rules): New funs.
619 (prolog-comment-indent): Remove.
620 (prolog-mode-variables): Use default comment indentation instead.
621 Setup SMIE.
622 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
623 (prolog-mode): Don't call them any more.
624 (prolog-electric-colon, prolog-electric-dash)
625 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
626
627 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
628
629 * minibuffer.el (completion--twq-all): Again, allow case differences.
630
631 * term.el: Move keymap initialization code to be more idiomatic.
632 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
633 (term-terminal-menu): Move initialization into declaration.
634 (term-escape-char): Let the user set it in her .emacs.
635
636 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
637 Provide SMIE-based indentation (not enabled by default yet).
638 (sh-mode-map): Don't bind electric keys.
639 Use electric-pair-mode instead of skeleton-pair.
640 (sh-assignment-regexp): Fit within 80 columns.
641 (sh-indent-supported): Specify actual shell name instead of boolean.
642 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
643 (sh-maybe-here-document): Use it. Make obsolete.
644 (sh-electric-here-document-mode) New minor mode.
645 (sh-mode): Use it. Don't set sh-indent-supported-here here.
646 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
647 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
648 (sh-smie-rc-grammar, sh-use-smie): New vars.
649 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
650 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
651 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
652 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
653 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
654 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
655 (sh-set-shell): Use smie-setup if requested.
656
657 * term.el (term-set-escape-char): Properly set term-escape-char.
658 See http://stackoverflow.com/questions/10524656.
659
660 2012-05-10 Chong Yidong <cyd@gnu.org>
661
662 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
663 Use url-generic-parse-url, and handle host names and Windows
664 filenames properly.
665 (ffap-url-unwrap-remote): Use url-generic-parse-url.
666 (ffap-url-unwrap-remote): Accept list values, specifying a list of
667 URL schemes to work on.
668 (ffap--toggle-read-only): New function.
669 (ffap-read-only, ffap-read-only-other-window)
670 (ffap-read-only-other-frame): Use it.
671 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
672 necessary for ffap-url-unwrap-remote.
673
674 2012-05-10 Dave Abrahams <dave@boostpro.com>
675
676 * cus-start.el (create-lockfiles): Add it.
677
678 2012-05-09 Chong Yidong <cyd@gnu.org>
679
680 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
681 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
682
683 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * shell.el (shell-completion-vars): Fix last change (bug#11348).
686
687 2012-05-09 Chong Yidong <cyd@gnu.org>
688
689 * ansi-color.el (ansi-color-process-output): Check for validity of
690 comint-last-output-start before using it. This avoids a bad
691 interaction with gdb-mi's input/output buffer.
692
693 2012-05-09 Glenn Morris <rgm@gnu.org>
694
695 * files.el (dir-locals-read-from-file):
696 Mention dir-locals in any error message.
697
698 2012-05-09 Chong Yidong <cyd@gnu.org>
699
700 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
701 package (Bug#11410).
702
703 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
704 variables into description.
705
706 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
709 shell-delimiter-argument-list (bug#11348).
710 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
711
712 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
713
714 * textmodes/rst.el: Silence byte-compiler warnings.
715 (rst-re-alist, rst-reset-section-caches): Move around.
716 (rst-re): Use `characterp', not `char-valid-p'.
717 (font-lock-beg, font-lock-end): Declare.
718
719 * progmodes/idlw-shell.el (specs): Remove reference to deleted
720 variable `idlwave-shell-activate-alt-keybindings' and simplify.
721
722 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
723
724 2012-05-08 Glenn Morris <rgm@gnu.org>
725
726 * files.el (auto-mode-alist): Treat ".make" like ".mk".
727
728 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * vc/log-edit.el: Add GNU coding standards highlighting.
731 (log-edit-font-lock-gnu-style)
732 (log-edit-font-lock-gnu-keywords): New vars.
733 (log-edit-font-lock-keywords): New fun.
734 (log-edit-mode): Don't fold case in font-lock.
735 (log-edit-font-lock-keywords): Do not assume case-folding.
736
737 * imenu.el: Misc cleanup. Make docstrings out of comments.
738 Use lexical-binding.
739 (imenu--index-alist, imenu--last-menubar-index-alist)
740 (imenu-menubar-modified-tick): Use defvar-local.
741 (imenu--split-menu): Remove unused var.
742 (imenu--cleanup-seen): Declare as global.
743 (imenu--cleanup): Use dolist.
744
745 * subr.el (defvar-local): Add debug spec and doc-string position.
746
747 2012-05-08 Glenn Morris <rgm@gnu.org>
748
749 * lisp/language/burmese.el, language/cham.el, language/czech.el:
750 * language/english.el, language/georgian.el, language/greek.el:
751 * language/japanese.el, language/khmer.el, language/korean.el:
752 * language/lao.el, language/misc-lang.el, language/romanian.el:
753 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
754 * language/thai.el, language/utf-8-lang.el:
755 Remove no-byte-compile setting.
756
757 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
758
759 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
760
761 * progmodes/make-mode.el (makefile-browse):
762 Remove unnecessary interactive. (Bug#11324)
763
764 2012-05-07 Glenn Morris <rgm@gnu.org>
765
766 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
767
768 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
769
770 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * loadup.el: Preload newcomment.el.
773 * newcomment.el: Move autoload-only code to toplevel.
774
775 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
776 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
777 Handle new :right-align column property.
778 (tabulated-list-print-col): Idem, plus use `display' text-property to
779 try and preserve alignment for variable pitch fonts.
780
781 2012-05-07 Chong Yidong <cyd@gnu.org>
782
783 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
784 (tabulated-list-use-header-line): New var.
785 (tabulated-list-init-header): Use it.
786 (tabulated-list-print-fake-header): New function.
787 (tabulated-list-print): Use it.
788 (tabulated-list-sort-button-map): Add non-header-line commands.
789 (tabulated-list-init-header): Add column name property to basic
790 labels as well.
791 (tabulated-list-col-sort): Handle non-header-line button case.
792 (tabulated-list--sort-by-column-name): Fix a corner case.
793
794 * buff-menu.el (list-buffers--refresh):
795 Handle Buffer-menu-use-header-line.
796
797 2012-05-06 Chong Yidong <cyd@gnu.org>
798
799 * buff-menu.el: Convert to Tabulated List mode.
800 (Buffer-menu-buffer+size-width): Make obsolete.
801 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
802 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
803 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
804 documentation into docstring of buffer-menu.
805 (Buffer-menu-toggle-files-only): Add an informative message.
806 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
807 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
808 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
809 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
810 (Buffer-menu-execute, Buffer-menu-select)
811 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
812 (Buffer-menu-bury): Use Tabulated List machinery.
813 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
814 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
815 Delete.
816 (list-buffers--refresh): New function.
817 (list-buffers-noselect): Use it.
818 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
819 (Buffer-menu--pretty-file-name): New helper functions.
820
821 * loadup.el: Preload tabulated-list.
822
823 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
824 tabulated-list-sort-column.
825 (tabulated-list-init-header): Add the initial aligning space even
826 if tabulated-list-padding is zero.
827
828 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
829
830 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
831 whose cdr is not a cons cell correctly (bug#11038).
832
833 2012-05-06 Chong Yidong <cyd@gnu.org>
834
835 * emacs-lisp/tabulated-list.el (tabulated-list-format):
836 Accept additional plist in column descriptors.
837 (tabulated-list-init-header): Obey it.
838 (tabulated-list-get-entry): New function.
839 (tabulated-list-put-tag): Use it. Use string-width instead of
840 length.
841 (tabulated-list--column-number): New function.
842 (tabulated-list-print): Use it.
843 (tabulated-list-print-col): New function.
844 Set `tabulated-list-column-name' property on each column's text.
845 (tabulated-list-print-entry): Use it.
846 (tabulated-list-delete-entry, tabulated-list-set-col):
847 New functions.
848 (tabulated-list-sort-column): New command (Bug#11337).
849
850 * buff-menu.el (list-buffers): Move C-x C-b binding from
851 buff-menu.el to bindings.el.
852
853 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
854 :advertised-binding feature.
855
856 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
857
858 * progmodes/compile.el (compilation-internal-error-properties):
859 Calculate start position correctly when end-col is set but
860 end-line is not (Bug#11382).
861
862 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
863
864 * man.el (Man-unindent): Use text-property-default-nonsticky to
865 prevent untabify from inheriting face properties (Bug#11408).
866
867 2012-05-05 Stefan Merten <smerten@oekonux.de>
868
869 * textmodes/rst.el: Major merge with upstream development up to
870 Docutils SVN r7399 / rst.el V1.2.1.
871
872 Clarify maintainership and authors.
873
874 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
875 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
876 (rst-official-version, rst-official-cvs-rev, rst-version)
877 (rst-package-emacs-version-alist): New functions and variables
878 for version information.
879
880 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
881 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
882 (rst-mode-syntax-table, rst-mode): New and corrected functions
883 and variables representing reStructuredText features.
884
885 (rst-re): New function for reStructuredText regexes. Use in
886 many places.
887
888 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
889 (rst-mode-map): Rebind keys.
890
891 (rst-mode-lazy, rst-font-lock-keywords)
892 (rst-font-lock-extend-region)
893 (rst-font-lock-extend-region-internal)
894 (rst-font-lock-extend-region-extend)
895 (rst-font-lock-find-unindented-line-limit)
896 (rst-font-lock-find-unindented-line-match)
897 (rst-adornment-level, rst-font-lock-adornment-level)
898 (rst-font-lock-adornment-match)
899 (rst-font-lock-handle-adornment-pre-match-form)
900 (rst-font-lock-handle-adornment-matcher): Major revision of
901 font-locking. Integrate with other code. Use `jit-lock-mode'.
902
903 (rst-preferred-adornments, rst-adjust-hook)
904 (rst-new-adornment-down, rst-preferred-bullets)
905 (rst-preferred-bullets, rst-indent, rst-indent-width)
906 (rst-indent-field, rst-indent-literal-normal)
907 (rst-indent-literal-minimized, rst-indent-comment): Change,
908 extend and improve customization.
909
910 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
911 (rst-normalize-cursor-position, rst-get-decoration)
912 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
913 (rst-rstrip, rst-toc-insert-find-delete-contents)
914 (rst-shift-fill-region, rst-compute-bullet-tabs)
915 (rst-debug-print-tabs, rst-debug-mark-found)
916 (rst-shift-region-guts, rst-shift-region-right)
917 (rst-shift-region-left, rst-use-char-classes)
918 (rst-font-lock-keywords-function)
919 (rst-font-lock-indentation-point)
920 (rst-font-lock-find-unindented-line-begin)
921 (rst-font-lock-find-unindented-line-end)
922 (rst-font-lock-find-unindented-line)
923 (rst-font-lock-adornment-point, rst-font-lock-level)
924 (rst-adornment-level-alist): Remove functions and variables.
925
926 (rst-compare-adornments, rst-get-adornment-match)
927 (rst-suggest-new-adornment, rst-get-adornments-around)
928 (rst-adornment-complete-p, rst-get-next-adornment)
929 (rst-adjust-adornment, rst-display-adornments-hierarchy)
930 (rst-straighten-adornments): Standardize function names to
931 use "adornment" instead of "decoration". Correct callers.
932 Similar standardizing in many places.
933
934 (rst-update-section, rst-adjust, rst-promote-region)
935 (rst-enumerate-region, rst-bullet-list-region)
936 (rst-repeat-last-character): Correct use of `interactive'.
937
938 (rst-classify-adornment, rst-find-all-adornments)
939 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
940 (rst-find-leftmost-column, rst-repeat-last-character):
941 Refactor functions.
942
943 (rst-find-title-line, rst-reset-section-caches)
944 (rst-get-adornments-around, rst-adjust-adornment-work)
945 (rst-arabic-to-roman, rst-roman-to-arabic)
946 (rst-insert-list-pos, rst-insert-list-new-item)
947 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
948 New functions.
949
950 (rst-all-sections, rst-section-hierarchy)
951 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
952 New variables.
953
954 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
955 configuration instead of only buffer. Change where necessary.
956
957 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
958 (rst-shift-region, rst-adaptive-fill): New functions for
959 indentation and filling.
960
961 (rst-comment-line-break, rst-comment-indent)
962 (rst-comment-insert-comment, rst-comment-region)
963 (rst-uncomment-region): New functions for handling comments.
964
965 (rst-compile): Quote shell arguments.
966
967 (rst-compile-pdf-preview, rst-compile-slides-preview):
968 Delete temporary files after use.
969
970 2012-05-05 Glenn Morris <rgm@gnu.org>
971
972 * calendar/cal-html.el: Optionally include holidays in the output.
973 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
974 (cal-html-holidays): New option.
975 (cal-html-css-default): Add holiday entry.
976 (holiday-in-range): Autoload it.
977 (cal-html-htmlify-entry): Add optional class argument.
978 (cal-html-htmlify-list): Add optional holidays argument.
979 (cal-html-insert-agenda-days): Include holidays in the output.
980 (cal-html-one-month): Maybe include holidays.
981
982 * calendar/holidays.el (holiday-in-range):
983 Move here from cal-tex-list-holidays.
984 * calendar/cal-tex.el (cal-tex-list-holidays):
985 Make it an obsolete alias for holiday-in-range. Update all callers.
986
987 2012-05-05 Chong Yidong <cyd@gnu.org>
988
989 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
990 Nextstep.
991
992 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
993
994 * files.el (file-auto-mode-skip): New var.
995 (set-auto-mode-1): Use it.
996
997 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * repeat.el: Use lexical-binding.
1000 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1001 (repeat-undo-count): Remove.
1002 (repeat):
1003 * progmodes/octave-mod.el (octave-abbrev-start):
1004 * progmodes/f90.el (f90-abbrev-start):
1005 * face-remap.el (text-scale-adjust):
1006 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1007
1008 * emacs-lisp/pcase.el (pcase--let*): New function.
1009 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1010 a bit more.
1011 (pcase--split-pred): Be more clever about ruling out overlap between
1012 a predicate and some constant pattern.
1013 (pcase--q1): Use `null' instead of (eq foo nil).
1014
1015 * subr.el (setq-local, defvar-local): New macros.
1016 (kbd): Redefine as an alias.
1017 (with-selected-window): Leave unrelated frames alone.
1018 (set-temporary-overlay-map): New function.
1019
1020 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1021
1022 * subr.el (user-error): New function.
1023 * window.el (switch-to-buffer):
1024 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1025 (smerge-match-conflict):
1026 * simple.el (previous-matching-history-element)
1027 (next-matching-history-element, goto-history-element, undo-more)
1028 (undo-start):
1029 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1030 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1031 (next-file, tags-loop-scan, list-tags, complete-tag):
1032 * progmodes/compile.el (compilation-loop):
1033 * mouse.el (mouse-minibuffer-check):
1034 * man.el (Man-bgproc-sentinel, Man-goto-page):
1035 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1036 (Info-history-forward, Info-follow-reference, Info-menu)
1037 (Info-extract-menu-item, Info-extract-menu-counting)
1038 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1039 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1040 (Info-next-reference, Info-prev-reference, Info-index)
1041 (Info-index-next, Info-follow-nearest-node)
1042 (Info-copy-current-node-name):
1043 * imenu.el (imenu--make-index-alist)
1044 (imenu-default-create-index-function, imenu-add-to-menubar):
1045 * files.el (basic-save-buffer, recover-file):
1046 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1047 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1048 (checkdoc-message-text, checkdoc-defun):
1049 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1050 * cus-edit.el (customize-changed-options, customize-rogue)
1051 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1052 (custom-variable-mark-to-reset-standard)
1053 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1054 (custom-file):
1055 * completion.el (check-completion-length):
1056 * comint.el (comint-search-arg)
1057 (comint-previous-matching-input-string-position)
1058 (comint-previous-matching-input)
1059 (comint-replace-by-expanded-history-before-point, comint-send-input)
1060 (comint-copy-old-input, comint-backward-matching-input)
1061 (comint-goto-process-mark, comint-set-process-mark):
1062 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1063 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1064
1065 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * dabbrev.el (dabbrev--ignore-case-p): New function.
1068 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1069 Use it.
1070
1071 * files.el (automount-dir-prefix): Mark as obsolete.
1072
1073 2012-05-04 Glenn Morris <rgm@gnu.org>
1074
1075 * patcomp.el, play/bruce.el: Move to obsolete/.
1076
1077 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1078
1079 Fix minor Y10k bugs.
1080 * arc-mode.el (archive-unixdate):
1081 * autoinsert.el (auto-insert-alist):
1082 * calc/calc-forms.el (math-this-year):
1083 * emacs-lisp/copyright.el (copyright-current-year)
1084 (copyright-update-year, copyright):
1085 * tar-mode.el (tar-clip-time-string):
1086 * time.el (display-time-update):
1087 Don't assume years have 4 digits.
1088
1089 2012-05-04 Chong Yidong <cyd@gnu.org>
1090
1091 * dos-w32.el (file-name-buffer-file-type-alist)
1092 (direct-print-region-use-command-dot-com):
1093 * ffap.el (ffap-menu-regexp):
1094 * find-file.el (ff-special-constructs):
1095 * follow.el (follow-debug):
1096 * forms.el (forms--debug):
1097 * iswitchb.el (iswitchb-all-frames):
1098 * ido.el (ido-all-frames):
1099 * emacs-lisp/timer.el (timer-max-repeats):
1100 * mail/feedmail.el (feedmail-mail-send-hook)
1101 (feedmail-mail-send-hook-queued):
1102 * mail/footnote.el (footnote-signature-separator):
1103 * mail/mailabbrev.el (mail-alias-separator-string)
1104 (mail-abbrev-mode-regexp):
1105 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1106 * progmodes/idlwave.el (idlwave-libinfo-file)
1107 (idlwave-default-completion-case-is-down)
1108 (idlwave-library-routines): Convert defvars to defcustoms.
1109
1110 * mail/rmail.el (rmail-decode-mime-charset):
1111 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1112 (idlwave-shell-fix-inserted-breaks)
1113 (idlwave-shell-activate-alt-keybindings)
1114 (idlwave-shell-use-breakpoint-glyph):
1115 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1116
1117 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1120
1121 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1122
1123 * progmodes/verilog-mode.el (font-lock-keywords):
1124 Fix mis-highligting auto. Reported by Craig Barner.
1125 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1126 defines from global name space. Reported by Dan Dever.
1127 (verilog-auto-reset, verilog-auto-reset-widths)
1128 (verilog-auto-tieoff): Support using unbased numbers for
1129 AUTORESET and AUTOTIEOFF.
1130 (verilog-submit-bug-report): Update variable list.
1131 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1132 parenthesis from not matching. Reported by Michael Rytting.
1133 (verilog-auto-template-lint): Fix hash error when linting modules
1134 with no used templates.
1135 (verilog-warn, verilog-warn-error)
1136 (verilog-warn-fatal): When non-interactive report multiple
1137 warnings before exiting. Suggested by Brad Dobbie.
1138 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1139 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1140 to report unused template errors. Reported by Brad Dobbie.
1141 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1142 nets, bug438. Reported by Vns Blore.
1143 (verilog-auto-inout-module, verilog-auto-reg)
1144 (verilog-read-decls, verilog-read-sub-decls-sig)
1145 (verilog-signals-edit-wire-reg, verilog-signals-with):
1146 Fix passing of Verilog data types in ANSI input/output ports
1147 such as "output logic" into the AUTOs. Special case "wire" and
1148 "reg" for backwards compatibility presuming Verilog 2001.
1149 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1150 (verilog-preprocess): Fix replication of preprocess output.
1151 Reported by Brad Dobbie.
1152 (verilog-auto-inst-interfaced-ports):
1153 Create verilog-auto-inst-interfaced-ports, bug429.
1154 Reported by Julian Gorfajn.
1155 (verilog-after-save-font-hook)
1156 (verilog-before-save-font-hook): New variable.
1157 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1158 (verilog-save-font-mods): Wrap disabling fontification, reported
1159 by David Rogoff.
1160 (verilog-do-indent, verilog-pretty-declarations-auto)
1161 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1162 Reported by Pierre-David Pfister.
1163 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1164 of class declarations, bug292. Reported by Kevin Heilman.
1165 (verilog-read-decls): Fix 'parameter type' not appearing in
1166 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1167 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1168 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1169 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1170 Reported by David Kravitz.
1171
1172 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1173
1174 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1175 assignment with tests in ifs and for loops.
1176 (verilog-extended-complete-re, verilog-complete-reg): Change so
1177 that DPI inport functions don't look like fuction declarations.
1178 (verilog-pretty-expr): Don't line up assignment
1179 operations to the test and increment in if and for loops
1180 (verilog-extended-complete-re, verilog-complete-reg): Change so
1181 that DPI inport functions don't look like fuction declarations
1182
1183 2012-05-03 Kenichi Handa <handa@m17n.org>
1184
1185 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1186 decoding, and show a warning message without signaling an error
1187 (Bug#11282).
1188
1189 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * emacs-lisp/bytecomp.el
1192 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1193 since cconv.el might have introduced :fun-body, internal-make-closure,
1194 and friends for bytecomp to handle (bug#11391).
1195 * custom.el (defcustom): Avoid ((λ ..) ..).
1196
1197 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1200
1201 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * notifications.el (dbus-debug):
1204 * term/linux.el (gpm-mouse-enable):
1205 * term/screen.el (xterm-register-default-colors): Declare.
1206
1207 2012-05-02 Chong Yidong <cyd@gnu.org>
1208
1209 * cus-start.el (gc-cons-percentage, exec-suffixes)
1210 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1211 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1212 (make-cursor-line-fully-visible, void-text-area-pointer)
1213 (font-list-limit): Add customization data.
1214
1215 * allout.el (allout-exposure-change-functions)
1216 (allout-structure-added-functions)
1217 (allout-structure-deleted-functions)
1218 (allout-structure-shifted-functions): Rename abnormal hooks from
1219 *-hook, and convert to defcustoms.
1220 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1221 Convert to defcustoms.
1222 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1223
1224 * allout-widgets.el: Hook callers changed.
1225
1226 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1227
1228 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1229 the yanked message in preference to the default value of
1230 buffer-file-coding-system.
1231
1232 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1233
1234 * window.el (display-buffer--action-function-custom-type):
1235 Fix entry.
1236
1237 2012-05-02 Alan Mackenzie <acm@muc.de>
1238
1239 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1240
1241 2012-05-01 Glenn Morris <rgm@gnu.org>
1242
1243 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1244
1245 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1246
1247 * cus-edit.el (custom-variable-documentation): Simplify with format.
1248
1249 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1250 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * simple.el (suggest-key-bindings, execute-extended-command):
1253 Move from keyboard.c.
1254
1255 2012-05-01 Chong Yidong <cyd@gnu.org>
1256
1257 * follow.el: Eliminate advice.
1258 (set-process-filter, process-filter, sit-for): Advice deleted.
1259 (follow-mode-off-hook): Obsolete hook removed.
1260 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1261 Vars deleted.
1262 (follow-auto): Use a :set function.
1263 (follow-mode): Rewritten. Don't advise process filters.
1264 (follow-switch-to-current-buffer-all, follow-scroll-up)
1265 (follow-scroll-down): Assume follow-mode is bound.
1266 (follow-comint-scroll-to-bottom)
1267 (follow-align-compilation-windows): New functions.
1268 (follow--window-sorter): New function.
1269 (follow-all-followers): Use it to explicitly sort windows by their
1270 positions; don't make assumptions about next-window order.
1271 (follow-windows-start-end, follow-delete-other-windows-and-split)
1272 (follow-calc-win-start): Doc fix.
1273 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1274 vertical-motion unnecessarily.
1275 (follow-adjust-window): New function.
1276 (follow-post-command-hook): Use it.
1277 (follow-call-set-process-filter, follow-call-process-filter)
1278 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1279 (follow-stop-intercept-process-output, follow-generic-filter):
1280 Functions deleted.
1281 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1282 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1283 New functions, replacing advice on scroll-bar-* commands.
1284 (follow-mwheel-scroll): New function (Bug#4112).
1285
1286 * comint.el (comint-adjust-point): New function.
1287 (comint-postoutput-scroll-to-bottom): Use it.
1288 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1289
1290 2012-05-01 Glenn Morris <rgm@gnu.org>
1291
1292 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1293 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1294 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1295 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1296 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1297 Remove no-byte-compile setting.
1298
1299 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1302 all-completions code to not return a number in the last cdr.
1303
1304 2012-04-30 Leo Liu <sdl.web@gmail.com>
1305
1306 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1307 read-only error.
1308
1309 2012-04-29 Chong Yidong <cyd@gnu.org>
1310
1311 * follow.el (follow-calc-win-end): Rewrite to handle partial
1312 screen lines correctly (Bug#8390).
1313 (follow-avoid-tail-recenter): Minor cleanup.
1314
1315 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 Avoid the obsolete `assoc' package.
1318 * speedbar.el (speedbar-refresh): Avoid adelete.
1319 (speedbar-file-lists): Simplify and avoid aput.
1320 * man.el (Man--sections, Man--refpages): New vars, replacing
1321 Man-sections-alist and Man-refpages-alist.
1322 (Man-build-section-alist, Man-build-references-alist):
1323 Use them; avoid aput.
1324 (Man--last-section, Man--last-refpage): New vars.
1325 (Man-follow-manual-reference): Use them.
1326 Use the `default' arg of completing-read.
1327 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1328
1329 2012-04-27 Chong Yidong <cyd@gnu.org>
1330
1331 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1332
1333 * startup.el (x-apply-session-resources): New function.
1334
1335 * term/ns-win.el (ns-initialize-window-system):
1336 * term/w32-win.el (w32-initialize-window-system):
1337 * term/x-win.el (x-initialize-window-system): Use it to properly
1338 set menu-bar-mode and other vars from X resources, even if the
1339 initial frame is not a window-system frame (Bug#2299).
1340
1341 * subr.el (read-key): Avoid running filter function when setting
1342 up temporary tool bar entries (Bug#9922).
1343
1344 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1345
1346 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1347 (Bug#11344)
1348
1349 2012-04-27 Chong Yidong <cyd@gnu.org>
1350
1351 * select.el (xselect--encode-string): New function, split from
1352 xselect-convert-to-string.
1353 (xselect-convert-to-string): Use it.
1354 (xselect-convert-to-filename, xselect-convert-to-os)
1355 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1356 returned strings are properly encoded (Bug#11315).
1357
1358 2012-04-27 Chong Yidong <cyd@gnu.org>
1359
1360 * simple.el (delete-active-region): Move to killing custom group.
1361
1362 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1363
1364 * progmodes/which-func.el (which-func-current): Quote %
1365 characters for mode-line processing.
1366
1367 2012-04-27 Chong Yidong <cyd@gnu.org>
1368
1369 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1370 reaching eob (Bug#11286).
1371
1372 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1373
1374 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1375 (gdb): Make it buffer-local and init to zero.
1376 (gdb-control-commands-regexp): New variable.
1377 (gdb-send): Don't wrap in "-interpreter-exec console" if
1378 gdb-control-level is positive. Increment gdb-control-level
1379 whenever the command matches gdb-control-commands-regexp, and
1380 decrement it each time the command is "end". (Bug#11279)
1381
1382 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1383
1384 * window.el (adjust-window-trailing-edge, enlarge-window)
1385 (shrink-window, window-resize):
1386 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1387 windows (Bug#11276).
1388
1389 2012-04-27 Chong Yidong <cyd@gnu.org>
1390
1391 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1392 fix "missing prefix" warning. All callers changed.
1393
1394 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * emacs-lisp/assoc.el: Move to obsolete/.
1397
1398 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1399
1400 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1401
1402 * term/ns-win.el (ns-define-service):
1403 * progmodes/pascal.el (pascal-goto-defun):
1404 * progmodes/js.el (js--read-tab):
1405 * progmodes/etags.el (tags-lazy-completion-table):
1406 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1407 * emacs-lisp/ewoc.el (ewoc--wrap):
1408 * emacs-lisp/assoc.el (aput, adelete, amake):
1409 * doc-view.el (doc-view-convert-current-doc):
1410 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1411
1412 2012-04-26 Chong Yidong <cyd@gnu.org>
1413
1414 * image.el (image-type-from-buffer): Only return supported image
1415 type (Bug#9045).
1416
1417 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1418 value, for symmetry with diff-end-of-hunk.
1419 (diff-split-hunk, diff-find-source-location)
1420 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1421 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1422 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1423 compute the relevant hunk or file properly (Bug#6005).
1424 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1425
1426 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * vc/vc-mtn.el:
1429 * vc/vc-hg.el:
1430 * vc/vc-git.el:
1431 * vc/vc-dir.el:
1432 * vc/vc-cvs.el:
1433 * vc/vc-bzr.el:
1434 * vc/vc-arch.el:
1435 * vc/vc.el: Replace lexical-let by lexical-binding.
1436 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1437 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1438 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1439
1440 2012-04-26 Chong Yidong <cyd@gnu.org>
1441
1442 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1443 (diff-mode-shared-map): Bind it to / and [remap undo].
1444
1445 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1446 (ediff-window-setup-function): Use it as the default, to set up
1447 windows based on whether the current frame is graphical (Bug#2138).
1448 (ediff-choose-window-setup-function-automatically): Make obsolete.
1449
1450 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1451
1452 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1453
1454 * ffap.el: Remove old code for obsolete package.
1455 (ffap-complete-as-file-p): Remove.
1456
1457 Use completion-table-with-quoting for comint and pcomplete.
1458 * comint.el (comint--unquote&requote-argument)
1459 (comint--unquote-argument, comint--requote-argument): New functions.
1460 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1461 (comint-quote-filename): Use regexp-opt-charset.
1462 (comint--common-suffix, comint--common-quoted-suffix)
1463 (comint--table-subvert): Remove.
1464 (comint-unquote-function, comint-requote-function): New vars.
1465 (comint--complete-file-name-data): Use them with
1466 completion-table-with-quoting.
1467 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1468 * pcomplete.el (pcomplete-arg-quote-list)
1469 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1470 (pcomplete-unquote-argument-function): Default to non-nil.
1471 (pcomplete-unquote-argument): Simplify.
1472 (pcomplete--common-quoted-suffix): Remove.
1473 (pcomplete-requote-argument-function): New var.
1474 (pcomplete--common-suffix): New function.
1475 (pcomplete-completions-at-point): Use completion-table-with-quoting
1476 and completion-table-subvert.
1477
1478 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1479 (minibuffer--double-dollars): Preserve properties.
1480 (completion--sifn-requote): New function.
1481 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1482
1483 * minibuffer.el: Add support for completion of quoted/escaped data.
1484 (completion-table-with-quoting, completion-table-subvert): New funs.
1485 (completion--twq-try, completion--twq-all): New functions.
1486 (completion--nth-completion): New function.
1487 (completion-try-completion, completion-all-completions): Use it.
1488
1489 2012-04-25 Leo Liu <sdl.web@gmail.com>
1490
1491 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1492 Use compilation-message if available to find real filename.
1493
1494 2012-04-25 Chong Yidong <cyd@gnu.org>
1495
1496 * vc/diff-mode.el (diff-setup-whitespace): New function.
1497 (diff-mode): Use it.
1498
1499 * vc/diff.el (diff-sentinel):
1500 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1501 Whitespace mode variables based on diff style (Bug#8612).
1502
1503 2012-04-25 Leo Liu <sdl.web@gmail.com>
1504
1505 * progmodes/python.el (python-send-region): Add suffix .py to the
1506 temp file.
1507
1508 * files.el (auto-mode-alist): Use javascript-mode instead.
1509
1510 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1511
1512 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1513
1514 * soap-client.el (soap-resolve-references-for-sequence-type)
1515 (soap-resolve-references-for-array-type): Hack to prevent self
1516 references, see Bug#9.
1517 (soap-parse-envelope): Report the contents of the 'detail' node
1518 when receiving a fault reply.
1519 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1520
1521 * soap-inspect.el (soap-sample-value-for-simple-type)
1522 (soap-inspect-simple-type): New function.
1523
1524 * soap-client.el (soap-simple-type): New struct.
1525 (soap-default-xsd-types, soap-default-soapenc-types)
1526 (soap-decode-basic-type, soap-encode-basic-type):
1527 support unsignedInt and double basic types.
1528 (soap-resolve-references-for-simple-type)
1529 (soap-parse-simple-type, soap-encode-simple-type): New function.
1530 (soap-parse-schema): Parse xsd:simpleType declarations.
1531
1532 * soap-client.el (soap-default-xsd-types)
1533 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1534 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1535 the local name of "soapenc:Array".
1536 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1537 decoding integer, byte and anyURI xsd types.
1538
1539 2012-04-25 Chong Yidong <cyd@gnu.org>
1540
1541 * cus-edit.el (custom-buffer-create-internal): Update header text.
1542
1543 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1544
1545 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1546 settings on 'system-type', not on 'window-system'. On MS-Windows,
1547 set interactive-mode on in GDB.
1548
1549 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1552 (ruby-syntax-propertize-regexp): Remove.
1553 (ruby-syntax-propertize-function): Split regexp into chunks.
1554 Match following code directly.
1555
1556 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1557
1558 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1559 (ruby-syntax-propertize-regexp): New function.
1560 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1561 by a special keyword.
1562
1563 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1564 (ruby-syntax-general-delimiters-goto-beg)
1565 (ruby-syntax-propertize-general-delimiters): New functions.
1566 (ruby-syntax-propertize-function): Use them to handle GDL.
1567 (ruby-font-lock-keywords): Move old handling of GDL...
1568 (ruby-font-lock-syntactic-keywords): .. to here.
1569 (ruby-calculate-indent): Adjust indentation for GDL.
1570
1571 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1572
1573 * notifications.el (top): Remove unneeded declarations.
1574 (notifications-specification-version): Change to "1.2".
1575 (notifications-interface, notifications-notify-method)
1576 (notifications-close-notification-method): Fix docstring.
1577 (notifications-get-capabilities-method): New defconst.
1578 (notifications-notify): Add :action-items, :resident and
1579 :transient hints. Change "image_data" to "image-data" and
1580 "image_path" to "image-path".
1581 (notifications-get-capabilities): New defun.
1582
1583 2012-04-24 Leo Liu <sdl.web@gmail.com>
1584
1585 * progmodes/python.el: Move hideshow setup to the end.
1586
1587 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1588
1589 * window.el (handle-select-window): Clear echo area since this is
1590 no more done by read_char (Bug#11304).
1591
1592 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1595 and `/ M' to filter-derived-mode.
1596 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1597 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1598 (ibuffer-mark-by-mode): Use default rather than initial-input.
1599 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1600
1601 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1602
1603 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1604 (ibuffer-filter-by-derived-mode): New filter.
1605 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1606
1607 2012-04-23 Andreas Politz <politza@fh-trier.de>
1608
1609 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1610
1611 2012-04-23 Chong Yidong <cyd@gnu.org>
1612
1613 * cus-edit.el (customize-apropos, customize-apropos-options):
1614 Disable matching of non-option variables (Bug#11176).
1615 (customize-option, customize-option-other-window)
1616 (customize-changed-options): Doc fix.
1617 (customize-apropos-options, customize-apropos-faces)
1618 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1619
1620 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1621 Fix word list splitting (Bug#11132).
1622 (apropos-symbol, apropos-keybinding, apropos-label)
1623 (apropos-property, apropos-function-button)
1624 (apropos-variable-button, apropos-misc-button): New faces.
1625 (apropos-symbol-face, apropos-keybinding-face)
1626 (apropos-label-face, apropos-property-face, apropos-match-face):
1627 Variables removed (Bug#8396).
1628 (apropos-library-button, apropos-format-plist, apropos-print)
1629 (apropos-print-doc, apropos-describe-plist): Callers changed.
1630
1631 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1632
1633 * net/xesam.el (xesam-mode-map): Use let-bound map in
1634 initialization. (Bug#11292)
1635
1636 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1637
1638 Preserve ispell session localwords when switching back to
1639 original buffer.
1640
1641 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1642 variable to hold buffer session localwords.
1643 (ispell-kill-ispell): add option 'clear to delete session
1644 localwords.
1645 (ispell-command-loop, ispell-change-dictionary)
1646 (ispell-buffer-local-words): Preserve session localwords when
1647 needed.
1648
1649 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1650 Preserve session localwords when needed.
1651
1652 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1653
1654 * ispell.el (ispell-insert-word) Remove unneeded function using
1655 obsolete `translation-table-for-input'.
1656 (ispell-word, ispell-process-line, ispell-complete-word):
1657 Use plain `insert' instead of removed `ispell-insert-word'.
1658
1659 2012-04-22 Chong Yidong <cyd@gnu.org>
1660
1661 * cus-edit.el (custom-variable-menu)
1662 (custom-variable-reset-saved, custom-face-menu)
1663 (custom-face-reset-saved): If there is no saved value, make the
1664 "reset-saved" operation bring back the default (Bug#9509).
1665 (custom-face-state): Properly detect themed faces.
1666
1667 * faces.el (face-spec-set): Stop supporting deprecated form of
1668 third arg.
1669
1670 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1671
1672 Move functions from C to Lisp. Make non-blocking method calls
1673 the default. Implement further D-Bus standard interfaces.
1674
1675 * net/dbus.el (dbus-message-internal): Declare function.
1676 Remove unneeded function declarations.
1677 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1678 (dbus-message-type-method-return, dbus-message-type-error)
1679 (dbus-message-type-signal): Declare variables. Remove local
1680 definitions.
1681 (dbus-interface-dbus, dbus-interface-peer)
1682 (dbus-interface-introspectable, dbus-interface-properties)
1683 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1684 Adapt docstring.
1685 (dbus-interface-objectmanager): New defconst.
1686 (dbus-call-method, dbus-call-method-asynchronously)
1687 (dbus-send-signal, dbus-method-return-internal)
1688 (dbus-method-error-internal, dbus-register-service)
1689 (dbus-register-signal, dbus-register-method): New defuns, moved
1690 from dbusbind.c
1691 (dbus-call-method-handler, dbus-setenv)
1692 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1693 New defuns.
1694 (dbus-call-method-non-blocking): Make it an obsolete function.
1695 (dbus-unregister-object, dbus-unregister-service)
1696 (dbus-handle-event, dbus-register-property)
1697 (dbus-property-handler): Obey the new structure of
1698 `bus-registered-objects'.
1699 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1700 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1701 Use `dbus-call-method'.
1702
1703 2012-04-22 Chong Yidong <cyd@gnu.org>
1704
1705 * cus-edit.el (custom-commands, custom-reset-menu)
1706 (Custom-reset-standard): Tweak labels.
1707 (custom-reset-button-menu): Change default to t.
1708 (custom-buffer-create-internal): For the custom-reset-button-menu
1709 case, put the revert button first.
1710 (custom-group-subtitle): New face.
1711 (custom-group-value-create): Align docstring to a specific column.
1712
1713 * wid-edit.el (widget-documentation-link-add): Don't handle
1714 indentation in this function.
1715 (widget-documentation-string-indent-to): New function.
1716 (widget-documentation-string-value-create): Use it.
1717
1718 * autorevert.el (auto-revert):
1719 * epg-config.el (epg):
1720 * ibuffer.el (ibuffer):
1721 * mpc.el (mpc):
1722 * ses.el (ses):
1723 * eshell/eshell.el (eshell):
1724 * net/ange-ftp.el (ange-ftp):
1725 * progmodes/ebnf2ps.el (postscript):
1726 * progmodes/flymake.el (flymake):
1727 * progmodes/prolog.el (prolog):
1728 * progmodes/verilog-mode.el (verilog-mode):
1729 * progmodes/which-func.el (which-func):
1730 * term/xterm.el (xterm):
1731 * textmodes/picture.el (picture):
1732 * textmodes/tildify.el (tildify):
1733 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1734 customization buffers.
1735
1736 2012-04-22 Alan Mackenzie <acm@muc.de>
1737
1738 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1739 Adding a ) can hide the resulting (..) from searches. Fix it.
1740 Bound the backward search to the position of the existing (.
1741
1742 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * progmodes/verilog-mode.el (verilog-mode): Check whether
1745 which-func-modes is t before adding verilog-mode.
1746 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1747
1748 2012-04-21 Leo Liu <sdl.web@gmail.com>
1749
1750 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1751
1752 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1753
1754 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1755 filling of the last column of a table (Bug#5635).
1756 (woman-find-next-control-line): New arg, specifying an additional
1757 regexp component for the control line.
1758 (woman2-roff-buffer): Use it.
1759 (woman-break-table): New function.
1760 (woman2-TS): Use it.
1761
1762 2012-04-21 Chong Yidong <cyd@gnu.org>
1763
1764 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1765 (woman-horizontal-escapes, woman-negative-vertical-space)
1766 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1767 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1768
1769 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * minibuffer.el (completion-file-name-table): Complete user names.
1772
1773 2012-04-20 Leo Liu <sdl.web@gmail.com>
1774
1775 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1776 and pcase-let*.
1777
1778 2012-04-20 Chong Yidong <cyd@gnu.org>
1779
1780 * server.el (server-execute): Respect initial-buffer-choice if it
1781 is a string and there are no files to open (Bug#2825).
1782 (server-create-window-system-frame, server-create-tty-frame):
1783 Don't switch buffers here.
1784 (server-process-filter): Only try to open a window system frame if
1785 compiled with graphical support (Bug#8314).
1786
1787 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1788
1789 * battery.el (battery-echo-area-format): Display remaining time
1790 for sysfs backend too (Bug#11269).
1791 (battery-linux-sysfs): Fix conditional for the charge.
1792
1793 2012-04-20 Chong Yidong <cyd@gnu.org>
1794
1795 * progmodes/gdb-mi.el (gdb): Revert previous change.
1796 (gdb-inferior-io--init-proc): New function.
1797 (gdb-init-1): Use it.
1798 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1799 responsible for allocating a new pty and hooking it to gdb when
1800 the old pty gets an EIO due to process exit.
1801 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1802 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1803 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1804
1805 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1806
1807 * window.el (window-min-size, window-sizable, window-min-delta)
1808 (window-max-delta, window--resizable, window-resizable)
1809 (window-total-size, window-full-height-p, window-full-width-p)
1810 (window-in-direction, window--resize-mini-window, window-resize)
1811 (window--resize-child-windows-normal)
1812 (window--resize-child-windows, window--resize-siblings)
1813 (window--resize-this-window, adjust-window-trailing-edge)
1814 (enlarge-window, shrink-window): Doc fixes.
1815
1816 2012-04-20 Chong Yidong <cyd@gnu.org>
1817
1818 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1819 New function to call delete-process on the gdb-inferior buffer's pty.
1820 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1821 pty process (Bug#11273).
1822 (gdb-update): New arg to suppress talking to the gdb process.
1823 (gdb-done-or-error): Use it.
1824 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1825 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1826 sentinel not being called.
1827
1828 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1829
1830 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1831
1832 2012-04-20 Glenn Morris <rgm@gnu.org>
1833
1834 * net/network-stream.el (open-network-stream): Doc fix.
1835
1836 2012-04-20 Chong Yidong <cyd@gnu.org>
1837
1838 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1839
1840 2012-04-20 Alan Mackenzie <acm@muc.de>
1841
1842 Ensure searching for keywords is case sensitive.
1843
1844 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1845 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1846 (c-defun-name, c-mark-function, c-cpp-define-name)
1847 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1848 (c-context-line-break): Bind case-fold-search to nil.
1849
1850 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1851 Bind case-fold-search to nil.
1852
1853 2012-04-20 Chong Yidong <cyd@gnu.org>
1854
1855 * mail/sendmail.el (mail-bury): Call return action with the right
1856 Rmail buffer (Bug#11242).
1857
1858 * server.el (server-process-filter): Handle corner case where both
1859 tty and nowait options are present (Bug#11102).
1860
1861 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1862
1863 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1864 (top level): Put into the executable the ident-style '$Id:' tag on
1865 windows-nt as well.
1866
1867 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * electric.el (electric-indent-post-self-insert-function): Check that
1870 electric-indent-mode is enabled in current buffer.
1871
1872 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1873
1874 * imenu.el (imenu-progress-message): Restore; it is "used" in
1875 erc/erc-imenu.el and net/snmp-mode.el.
1876
1877 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1878
1879 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1880 (mouse-avoidance-nudge-mouse): Remove unused binding.
1881
1882 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1883
1884 * descr-text.el (describe-char):
1885 * progmodes/python.el (python-describe-symbol):
1886 Don't call `toggle-read-only', set `buffer-read-only'.
1887
1888 * imenu.el (imenu-default-goto-function): Mark unused args.
1889 (imenu-progress-message): Remove obsolete macro; all callers changed.
1890
1891 * subr.el (keymap-canonicalize): Remove unused binding.
1892 (read-passwd): Mark unused arg.
1893
1894 * tutorial.el (tutorial--display-changes): Remove unused binding.
1895 (tutorial--save-tutorial-to): Remove unused variable.
1896
1897 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1898 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1899 (package-generate-autoloads, package-menu--generate)
1900 (package-menu--find-upgrades): Remove unused bindings.
1901
1902 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1903 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1904 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1905 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1906 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1907 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1908 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1909 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1910 (cua-delete-char-rectangle): Mark unused args.
1911 (cua-align-rectangle): Remove unused binding.
1912
1913 * mail/rmail.el (compilation--message->loc)
1914 (epa--find-coding-system-for-mime-charset): Declare.
1915
1916 * net/dbus.el (dbus-register-service): Declare.
1917 (dbus-name-owner-changed-handler): Remove unused binding.
1918
1919 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1920 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1921 (nxml-scan-backward-within): Mark unused arg.
1922 (nxml-dynamic-markup-word): Remove unused binding.
1923
1924 * mouse.el (mouse-menu-major-mode-map):
1925 * emacs-lisp/authors.el (authors-scan-change-log)
1926 (authors-add-to-author-list):
1927 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1928 * emacs-lisp/smie.el (smie-auto-fill):
1929 * mail/sendmail.el (mail-bury):
1930 * mail/unrmail.el (unrmail):
1931 * net/tls.el (open-tls-stream):
1932 * textmodes/picture.el (picture-mouse-set-point):
1933 Remove unused bindings.
1934
1935 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/tramp.el (tramp-action-password): Let-bind
1938 `enable-recursive-minibuffers' to t.
1939
1940 2012-04-18 Sam Steingold <sds@gnu.org>
1941
1942 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1943 instead of 'string to accommodate values like [f11].
1944 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1945 * progmodes/gdb-mi.el: Likewise.
1946
1947 2012-04-18 Leo Liu <sdl.web@gmail.com>
1948
1949 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1950 current buffer.
1951 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1952 LOCAL is nil.
1953
1954 2012-04-18 Chong Yidong <cyd@gnu.org>
1955
1956 * simple.el (line-move): Use forward-line if in batch mode
1957 (Bug#11053).
1958
1959 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1960
1961 * files.el (after-find-file): Do not try to add a final newline if
1962 the buffer is read-only (Bug#11156).
1963
1964 2012-04-17 Richard Stallman <rms@gnu.org>
1965
1966 * mail/rmail.el (rmail-start-mail):
1967 Pass (rmail-mail-return...) for the return-action.
1968 Pass (rmail-yank-current-message...) for the yank-action.
1969 (rmail-yank-current-message): New function.
1970 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1971 (rmail-reply): Likewise.
1972 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1973
1974 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1975 buffer, not the last. Reject temp buffers. Use the rmail-mode
1976 buffer, not newbuf.
1977
1978 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1979
1980 * server.el (server-ensure-safe-dir): Simplify.
1981
1982 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * emacs-lisp/smie.el: Provide smarter auto-filling.
1985 (smie-auto-fill): New function.
1986 (smie-setup): Use it.
1987
1988 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1989
1990 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1991
1992 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1993 (comment-indent): Use it.
1994
1995 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1996
1997 * ses.el: The overall change is to add cell renaming, that is
1998 setting fancy names for cell symbols other than name matching
1999 "\\`[A-Z]+[0-9]+\\'" regexp .
2000 (ses-localvars): Add ses--renamed-cell-symb-list.
2001 (ses-create-cell-variable): New defun.
2002 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
2003 (ses-relocate-formula): Relocate formulas only for cells the
2004 symbols of which are not renamed, i.e. symbols whose names do not
2005 match regexp "\\`[A-Z]+[0-9]+\\'".
2006 (ses-relocate-all): Relocate values only for cells the symbols of
2007 which are not renamed.
2008 (ses-load): Create cells variables as the (ses-cell ...) are read,
2009 in order to check row col consistency with cell symbol name only
2010 for cells that are not renamed.
2011 (ses-replace-name-in-formula): New defun.
2012 (ses-rename-cell): New defun.
2013
2014 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2015
2016 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2017 New option (bug#11118).
2018 (perl-calculate-indent): Respect it.
2019
2020 2012-04-17 Glenn Morris <rgm@gnu.org>
2021
2022 * dired-aux.el (dired-mark-read-string): Doc fix.
2023
2024 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2025
2026 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2027 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2028
2029 2012-04-17 Glenn Morris <rgm@gnu.org>
2030
2031 * mouse.el (mouse-drag-track):
2032 * speedbar.el (speedbar-frame-mode):
2033 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2034
2035 2012-04-16 Leo Liu <sdl.web@gmail.com>
2036
2037 * progmodes/python.el: Trivial cleanup.
2038
2039 2012-04-16 Glenn Morris <rgm@gnu.org>
2040
2041 * vc/vc.el (vc-string-prefix-p):
2042 * vc/pcvs-util.el (cvs-string-prefix-p):
2043 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2044 * mpc.el (mpc-string-prefix-p):
2045 Make all of these into obsolete aliases for string-prefix-p.
2046 Update callers.
2047 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2048
2049 * textmodes/two-column.el: Move custom options to the start.
2050 (frame-width): Remove compat definition.
2051 (2C-associate-buffer, 2C-dissociate):
2052 Use with-current-buffer rather than save-excursion.
2053 (2C-dissociate): Force a mode-line update.
2054 (2C-autoscroll): Use ignore-errors.
2055
2056 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2057 Autoload trivia.
2058
2059 * emacs-lisp/cl-extra.el (*random-state*):
2060 Remove unnecessary declaration.
2061
2062 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2063
2064 * play/cookie1.el (cookie-snarf):
2065 Give an explicit error if input file cannot be read.
2066
2067 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2068
2069 * progmodes/perl-mode.el (c-macro-expand):
2070 Remove unnecessary autoload (it is in loaddefs.el).
2071
2072 * textmodes/picture.el (picture-desired-column)
2073 (picture-update-desired-column): Convert comments to doc-strings.
2074 (picture-substitute): Remove function.
2075 (picture-mode-map): Initialize in the defvar.
2076
2077 * woman.el: Remove eval-after-load for tar-mode.
2078 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2079 (woman-tar-extract-file): Autoload it.
2080
2081 * frame.el (automatic-hscrolling): Make this alias obsolete.
2082
2083 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2084
2085 * ispell.el (ispell-set-spellchecker-params): Post-process
2086 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2087 (ispell-dictionary-base-alist): Revert to original XEmacs
2088 friendly version for default. [:alpha:] will be added in
2089 `ispell-set-spellchecker-params' if needed
2090
2091 2012-04-16 Chong Yidong <cyd@gnu.org>
2092
2093 * image.el (imagemagick--extension-regexp): New variable.
2094 (imagemagick-register-types): Use it.
2095 (imagemagick-types-inhibit): Add :set function. Allow new value
2096 of t to inhibit all types.
2097
2098 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2099 so we can preload it.
2100
2101 * loadup.el (fboundp): Preload regexp-opt, needed by
2102 imagemagick-register-types.
2103
2104 2012-04-15 Chong Yidong <cyd@gnu.org>
2105
2106 * frame.el (scrolling): Remove nearly unused customization group.
2107
2108 * scroll-all.el (scroll-all-mode): Move to windows group.
2109
2110 2012-04-15 Chong Yidong <cyd@gnu.org>
2111
2112 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2113
2114 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2115
2116 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2117 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2118
2119 2012-04-15 Glenn Morris <rgm@gnu.org>
2120
2121 * simple.el (process-file-side-effects): Doc fix.
2122
2123 2012-04-15 Glenn Morris <rgm@gnu.org>
2124
2125 * international/mule-cmds.el (set-language-environment): Doc fix.
2126
2127 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2128
2129 * server.el (server-auth-key, server-generate-key): Doc fixes.
2130 (server-get-auth-key): Doc fix. Use `string-match-p'.
2131 (server-start): Reflow docstring.
2132
2133 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2134
2135 * server.el (server-generate-key): `called-interactively-p'
2136 requires a parameter.
2137
2138 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2139
2140 * server.el (server-auth-key): New variable.
2141 (server-generate-key, server-get-auth-key): New function.
2142 (server-start): Use the new variable and functions to allow
2143 setting a permanent server key (bug#9423).
2144
2145 2012-04-14 Leo Liu <sdl.web@gmail.com>
2146
2147 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2148
2149 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2150
2151 Spelling fixes.
2152 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2153 Emacs uses American spelling.
2154
2155 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2156
2157 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2158 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2159 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2160 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2161
2162 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/which-func.el (which-func-modes): Change default.
2165
2166 2012-04-14 Kim F. Storm <storm@cua.dk>
2167
2168 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2169 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2170
2171 2012-04-14 Chong Yidong <cyd@gnu.org>
2172
2173 * custom.el (custom-theme-set-variables): Doc fix.
2174
2175 2012-04-14 Glenn Morris <rgm@gnu.org>
2176
2177 * international/mule.el (set-auto-coding-for-load): Doc fix.
2178
2179 2012-04-14 Alan Mackenzie <acm@muc.de>
2180
2181 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2182 imenu work again for Objective C Mode. Correct the *-index values,
2183 these having been disturbed by a previous change in 2011-08.
2184
2185 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2186 Correct two search limits.
2187
2188 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2191
2192 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2193
2194 * international/characters.el: Fix sorting.
2195
2196 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2197
2198 * international/characters.el: Add more missing Latin case pairs.
2199
2200 2012-04-14 Glenn Morris <rgm@gnu.org>
2201
2202 * files.el (dir-locals-set-class-variables): Doc fix.
2203
2204 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2205
2206 * international/characters.el: Add set-case-syntax-pair call for
2207 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2208 counterpart. (Bug#11209)
2209
2210 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2211
2212 2012-04-14 Glenn Morris <rgm@gnu.org>
2213
2214 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2215
2216 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2217
2218 * textmodes/ispell.el (ispell-dictionary-base-alist):
2219 Add data for Hebrew.
2220
2221 2012-04-14 Chong Yidong <cyd@gnu.org>
2222
2223 * net/rcirc.el (rcirc-cmd-quit):
2224 Revert 2012-03-18 change (Bug#11192).
2225
2226 2012-04-14 Glenn Morris <rgm@gnu.org>
2227
2228 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2229
2230 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2231
2232 * minibuffer.el (completion-in-region-mode-map):
2233 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2234
2235 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2236
2237 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2238
2239 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2240
2241 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2242 to allow `C-M-f' and `C-M-b' to move to the nearest path
2243 separator (bug#9511).
2244
2245 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2246
2247 * avoid.el: Require cl when compiling. And also move the
2248 `provide' to the end.
2249
2250 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2251
2252 * avoid.el (mouse-avoidance-banish-position): New variable.
2253 (mouse-avoidance-banish-destination): Use it (bug#10165).
2254
2255 2012-04-13 Leo Liu <sdl.web@gmail.com>
2256
2257 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2258
2259 2012-04-13 Ken Brown <kbrown@cornell.edu>
2260
2261 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2262 this is no longer needed now that cygstart understands file:// URLs.
2263 (browse-url-filename-alist): For the same reason, don't modify
2264 file:// URLs on Cygwin.
2265
2266 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2267
2268 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2269 the region on shift if the binding is already shifted (bug#11221).
2270
2271 2012-04-12 Glenn Morris <rgm@gnu.org>
2272
2273 * mail/mailpost.el: Move to obsolete/.
2274
2275 2012-04-12 Drew Adams <drew.adams@oracle.com>
2276
2277 * imenu.el (imenu--generic-function): Ignore invisible definitions
2278 (bug#10123).
2279
2280 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2281
2282 * hexl.el (hexl-bits): New variable.
2283 (hexl-options): Mention the variable in the doc string.
2284 (hexl-rulerise, hexl-line-displen): New functions.
2285 (hexl-mode): Mention the new variable.
2286 (hexl-mode, hexl-current-address, hexl-current-address):
2287 Use the displen.
2288 (hexl-ascii-start-column): New function.
2289 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2290 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2291
2292 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2293
2294 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2295 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2296 the encoding, as expected by hunspell.
2297
2298 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * battery.el (battery--linux-sysfs-regexp): New const.
2301 (battery-status-function): Use it. Remove yeeloong special case.
2302 (battery-yeeloong-sysfs): Remove.
2303 (battery-echo-area-format): Remove yeeloong special case.
2304
2305 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2308 Reported by Noah Friedman.
2309
2310 * subr.el (read-passwd): Use read-string.
2311
2312 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2313
2314 * vcursor.el (vcursor-move): Increase the priority of the overlay
2315 (bug#9663).
2316
2317 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2318
2319 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2320 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2321
2322 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2323
2324 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2325 define-minor-mode (bug#10760).
2326
2327 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2328
2329 * progmodes/grep.el (rgrep): Tweak the find command line so
2330 that directories matching `grep-find-ignored-files' won't be
2331 pruned (bug#10351).
2332
2333 2012-04-11 Chong Yidong <cyd@gnu.org>
2334
2335 * startup.el (command-line): Remove support for long-obsolete
2336 variable font-lock-face-attributes.
2337
2338 2012-04-11 Glenn Morris <rgm@gnu.org>
2339
2340 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2341
2342 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * window.el (window--state-get-1): Obey window-point-insertion-type.
2345
2346 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2347
2348 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2349 to previous function when point is on the first character of a
2350 function. Take care of that in `narrow-to-defun' (bug#6157).
2351
2352 2012-04-11 Glenn Morris <rgm@gnu.org>
2353
2354 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2355 not just file-errors.
2356
2357 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2358 (vc-bzr-sha1): Use internal sha1.
2359
2360 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2363
2364 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2365
2366 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2367 that start in the middle of the line (bug#10496).
2368
2369 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2370
2371 * battery.el (battery-linux-proc-acpi): Only one battery is
2372 discharged at a time, but that seems to confuse battery.el when
2373 computing `rate-type' for the battery not being discharged
2374 (bug#10332).
2375
2376 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2379
2380 * international/quail.el: Use dolist and simplify.
2381 (quail-define-package, quail-update-keyboard-layout)
2382 (quail-define-rules): Use dolist.
2383 (quail-insert-kbd-layout, quail-get-translation): CSE.
2384
2385 * tmm.el: Use dolist, remove left over hook.
2386 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2387 Use dolist.
2388 (calendar-load-hook): Don't mess with it.
2389
2390 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2391 Use derived-mode-p. Run the diff asynchronously.
2392
2393 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2394
2395 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2396
2397 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2398
2399 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2400 (list-dynamic-libraries--loaded): New function.
2401 (list-dynamic-libraries--refresh): Use it.
2402
2403 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2404
2405 * progmodes/python.el (python-fill-paragraph):
2406 Make python-fill-region in a multiline string work when font-lock is
2407 disabled (bug#7018).
2408
2409 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2410
2411 * language/european.el (cp775): Add oem/legacy (en)coding on
2412 DOS/MS Windows for the Baltic languages. There are still plenty
2413 of texts written in this encoding/codepage (bug#6519).
2414
2415 2012-04-10 Glenn Morris <rgm@gnu.org>
2416
2417 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2418 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2419
2420 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2421
2422 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2423 next-line "n" and previous-line "p" in order to make recentf more
2424 consistent with ibuffer, dired or org-mode (bug#9387).
2425
2426 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2427
2428 * image.el (put-image): Return the overlay created instead of the
2429 optional input string (bug#7834). Note that this may break code
2430 that is (for some reason or other) depending on `put-image'
2431 returning the string.
2432
2433 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2434
2435 * simple.el (zap-to-char): Allow zapping using input methods
2436 (bug#1580).
2437
2438 * textmodes/fill.el (fill-region): Leave point and mark where they
2439 were before filling (bug#5399).
2440
2441 2012-04-09 Glenn Morris <rgm@gnu.org>
2442
2443 * version.el (emacs-bzr-get-version):
2444 Handle lightweight checkouts of local branches.
2445
2446 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2447
2448 * international/characters.el: Recover lost case pairs. (Bug#11209)
2449
2450 2012-04-09 Chong Yidong <cyd@gnu.org>
2451
2452 * custom.el (custom-variable-p): Return nil for non-symbol
2453 arguments instead of signaling an error.
2454 (user-variable-p): Obsolete alias for custom-variable-p.
2455
2456 * apropos.el (apropos-variable):
2457 * files-x.el (read-file-local-variable):
2458 * simple.el (set-variable):
2459 * woman.el (woman-mini-help):
2460 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2461
2462 2012-04-09 Glenn Morris <rgm@gnu.org>
2463
2464 * startup.el (normal-top-level): Don't look for leim-list.el
2465 in places where it will not be found. (Bug#910)
2466
2467 * international/mule-cmds.el (set-default-coding-systems):
2468 * files.el (normal-mode):
2469 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2470 This function was removed with ucs-tables.el in 2008.
2471
2472 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2473
2474 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2475 ispell-encoding8-command to "-i", without a trailing space.
2476 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2477 separate command-line arguments, to specify the encoding, since
2478 that's how hunspell expects it.
2479
2480 2012-04-08 Glenn Morris <rgm@gnu.org>
2481
2482 * loadup.el: Load bindings before cus-start.
2483 This reduces somewhat the number of "rogue" settings in emacs -Q.
2484
2485 2012-04-07 Glenn Morris <rgm@gnu.org>
2486
2487 * version.el (emacs-bzr-get-version): New function.
2488 (emacs-bzr-version): New variable.
2489 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2490 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2491
2492 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2493
2494 * international/uni-bidi.el, international/uni-category.el:
2495 * international/uni-combining.el, international/uni-decimal.el:
2496 * international/uni-decomposition.el, international/uni-digit.el:
2497 * international/uni-lowercase.el, international/uni-mirrored.el:
2498 * international/uni-name.el, international/uni-numeric.el:
2499 * international/uni-titlecase.el, international/uni-uppercase.el:
2500 Update for Unicode 6.1.
2501
2502 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2503
2504 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2505
2506 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2507
2508 * window.el (shrink-window): Mention the `window-min-height'
2509 variable in the doc string.
2510
2511 2012-04-05 Bastien Guerry <bzg@altern.org>
2512
2513 * color.el (color-lighten-name): Fix typo.
2514
2515 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * server.el (server--on-display-p): New function.
2518 (server--on-display-p): Use it.
2519
2520 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2521
2522 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2523 (bug#11145).
2524
2525 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * comint.el (comint--common-quoted-suffix): Check string boundary
2528 before comparing (bug#11158).
2529 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2530
2531 2012-04-04 Chong Yidong <cyd@gnu.org>
2532
2533 * minibuffer.el (completion-extra-properties): Doc fix.
2534
2535 * subr.el (delayed-warnings-hook): Doc fix.
2536
2537 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2538
2539 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2540 selection (Bug#11159).
2541 (epa-insert-keys): Inform that the default public key will be
2542 exported if no key is selected.
2543
2544 2012-04-04 Richard Stallman <rms@gnu.org>
2545
2546 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2547
2548 2012-04-03 Chong Yidong <cyd@gnu.org>
2549
2550 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2551 mail-insert-file, not its obsolete alias mail-attach-file.
2552
2553 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * notifications.el (notifications-notify): Fix docstring.
2556
2557 2012-04-02 Glenn Morris <rgm@gnu.org>
2558
2559 * emacs-lisp/authors.el (authors-aliases): Another addition.
2560
2561 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2562
2563 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2564 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2565 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2566
2567 2012-04-01 Chong Yidong <cyd@gnu.org>
2568
2569 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2570 Handle root directory properly.
2571 (copy-directory): Caller changed.
2572
2573 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2574 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2575
2576 2012-03-31 Glenn Morris <rgm@gnu.org>
2577
2578 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2579
2580 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2581
2582 * calendar/calendar.el (calendar-window-list)
2583 (calendar-hide-window): Restore. (Bug#11140)
2584 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2585
2586 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2587
2588 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2589
2590 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2591 Check if file is a symlink (Bug#10489).
2592
2593 * files.el (copy-directory): Likewise.
2594
2595 2012-03-30 Chong Yidong <cyd@gnu.org>
2596
2597 * image.el (imagemagick-types-inhibit)
2598 (imagemagick-register-types): Doc fix.
2599
2600 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2601
2602 * ispell.el (ispell-get-extended-character-mode):
2603 Disable extended-char-mode for hunspell. hunspell does not support it
2604 and treats ~word as ordinary words in pipe mode.
2605
2606 2012-03-30 Glenn Morris <rgm@gnu.org>
2607
2608 * tutorial.el (help-with-tutorial): Ensure local variables don't
2609 happen to make the buffer read-only. (Bug#11127)
2610
2611 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2614 (perl-calculate-indent): Return `noindent' in strings.
2615
2616 2012-03-28 Sam Steingold <sds@gnu.org>
2617
2618 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2619 instead of the broken adhockery which does not prevent calendar
2620 buffers from being displayed at random after exit.
2621 (calendar-window-list, calendar-hide-window): Remove the broken
2622 adhockery.
2623
2624 2012-03-28 Glenn Morris <rgm@gnu.org>
2625
2626 * replace.el (query-replace-map): Doc fix.
2627
2628 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2629
2630 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2631 contents. (Bug#11109)
2632
2633 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2636 (bug#11077).
2637 (avl-tree--check, avl-tree--check-node): New funs.
2638
2639 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2640
2641 * window.el (switch-to-visible-buffer): New option.
2642 (switch-to-prev-buffer, switch-to-next-buffer):
2643 Observe switch-to-visible-buffer. Make sure that checking for a window
2644 showing a buffer already is done on the same frame.
2645
2646 2012-03-27 Glenn Morris <rgm@gnu.org>
2647
2648 * startup.el (mail-host-address): Doc fix.
2649
2650 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2653 than 197 variables.
2654
2655 2012-03-26 Ami Fischman <ami@fischman.org>
2656
2657 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2658
2659 2012-03-26 Glenn Morris <rgm@gnu.org>
2660
2661 * files.el (save-buffers-kill-emacs): Doc fix.
2662
2663 * startup.el (normal-top-level, command-line, command-line-1):
2664 Give them doc strings.
2665
2666 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2667
2668 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2669 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2670
2671 2012-03-25 Chong Yidong <cyd@gnu.org>
2672
2673 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2674 theme if it was previously enabled before (Bug#11031).
2675
2676 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2677 spec with custom-face-get-current-spec if its :shown-value is not
2678 determined yet (Bug#9337).
2679 (customize-create-theme, custom-theme-revert): Doc fixes.
2680
2681 * button.el (button-at): Minor addition to docstring.
2682
2683 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2684
2685 * vc/vc.el (vc-merge): Fix a prompt.
2686
2687 2012-03-24 Chong Yidong <cyd@gnu.org>
2688
2689 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2690 point (Bug#9623).
2691
2692 * button.el (button-at): Minor addition to docstring.
2693
2694 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 * newcomment.el (comment-choose-indent): No space after BOL.
2697
2698 2012-03-22 Sam Steingold <sds@gnu.org>
2699
2700 * window.el (switch-to-prev-buffer): Revert last patch because the
2701 bug turned out to be an advertised feature (Elisp manual 28.14).
2702
2703 2012-03-22 Glenn Morris <rgm@gnu.org>
2704
2705 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2706 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2707
2708 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2709
2710 * net/network-stream.el (network-stream-open-starttls): Make error
2711 message under Windows be less misleading.
2712
2713 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2714
2715 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2716 understands (bug#9942).
2717
2718 2012-03-22 Chong Yidong <cyd@gnu.org>
2719
2720 * simple.el (end-of-visible-line): Handle return value of
2721 next-single-property-change properly (Bug#9371).
2722
2723 2012-03-22 Kenichi Handa <handa@m17n.org>
2724
2725 * international/quail.el (quail-insert-kbd-layout): Fix previous
2726 change. To avoid unwanted bidi reordering, use
2727 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2728
2729 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2730
2731 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2732 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2733 (ruby-beginning-of-indent): Be more careful with the difference
2734 between word-boundary and symbol boundary.
2735 (ruby-mode-syntax-table): Make : a symbol constituent.
2736
2737 2012-03-21 Andreas Politz <politza@fh-trier.de>
2738
2739 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2740
2741 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * progmodes/etags.el (tags-completion-at-point-function):
2744 Improve last fix.
2745
2746 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2747
2748 2012-03-21 Sam Steingold <sds@gnu.org>
2749
2750 * progmodes/etags.el (tags-completion-at-point-function):
2751 Avoid the error when point is inside the pattern.
2752
2753 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2754
2755 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2756 line (Bug#10855).
2757
2758 2012-03-21 Drew Adams <drew.adams@oracle.com>
2759
2760 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2761
2762 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2763
2764 * ido.el (ido-set-current-directory, ido-read-internal)
2765 (ido-choose-completion-string, ido-completion-help): Handle nil
2766 value of ido-completion-buffer (Bug#11008).
2767
2768 2012-03-21 Sam Steingold <sds@gnu.org>
2769
2770 * window.el (switch-to-prev-buffer): Do not switch to a visible
2771 window previous buffer, just like with the frame previous buffers.
2772
2773 2012-03-21 Chong Yidong <cyd@gnu.org>
2774
2775 * faces.el (make-face, make-empty-face, copy-face):
2776 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2777 Doc fixes.
2778
2779 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2782 (widget-complete): Remove broken use of it.
2783
2784 2012-03-20 Chong Yidong <cyd@gnu.org>
2785
2786 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2787 Use string-width and truncate-string-width to handle arbitrary
2788 characters.
2789
2790 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2791
2792 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2793 to draw rectangles, not squares. (Regression introduced by revno
2794 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2795
2796 2012-03-18 Chong Yidong <cyd@gnu.org>
2797
2798 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2799 it is not yet defined (for temacs).
2800
2801 2012-03-18 Leo Liu <sdl.web@gmail.com>
2802
2803 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2804
2805 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2806
2807 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2808 (ispell-choices-win-default-height, ispell-silently-savep)
2809 (ispell-dictionary-alist, ispell-encoding8-command)
2810 (ispell-check-version, ispell-aspell-find-dictionary)
2811 (ispell-valid-dictionary-list, ispell-words-keyword)
2812 (ispell-get-word, ispell-internal-change-dictionary)
2813 (ispell-region, ispell-skip-region-list)
2814 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2815 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2816 (ispell-message-text-end, ispell-message)
2817 (ispell-buffer-local-parsing): Doc fix.
2818
2819 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2820
2821 * htmlfontify.el: Add support for code block fontification for ODT
2822 export (Bug #9914).
2823 (hfy-optimisations): Define new option
2824 `body-text-only'
2825 (hfy-fontify-buffer): Honor above setting.
2826 (hfy-begin-span, hfy-end-span): New routines factored out form
2827 `hfy-fontify-buffer'.
2828 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2829 that permit insertion of custom tags.
2830 (hfy-fontify-buffer): Use above handlers.
2831 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2832 (hfy-face-to-css): Re-defined to be a variable.
2833 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2834 over multiple runs. This is made possible by having the caller let
2835 bind a special variable `hfy-user-sheet-assoc'.
2836 (htmlfontify-string): New defun.
2837 (hfy-compile-face-map): Make sure that the last char in the
2838 buffer is correctly fontified.
2839 (hfy-face-resolve-face): Whitespace only change.
2840
2841 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2842
2843 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2844 message more clear.
2845
2846 2012-03-16 Leo Liu <sdl.web@gmail.com>
2847
2848 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2849
2850 2012-03-16 Alan Mackenzie <acm@muc.de>
2851
2852 Further optimise the handling of large macros.
2853
2854 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2855 limit to a call of `c-literal-limits'.
2856 (c-determine-+ve-limit): New function.
2857 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2858 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2859 In CASE 5B, restrict a search limit to 500.
2860 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2861
2862 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2863 Restrict macro bounds to +-500 from after-change's BEG END.
2864
2865 2012-03-16 Leo Liu <sdl.web@gmail.com>
2866
2867 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2868
2869 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2870
2871 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2872 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2873
2874 2012-03-16 Glenn Morris <rgm@gnu.org>
2875
2876 * view.el (view-buffer, view-buffer-other-window)
2877 (view-buffer-other-frame): Doc fixes re special mode-class.
2878
2879 * subr.el (eval-after-load): If named feature is provided not from
2880 a file, run after-load forms. (Bug#10946)
2881
2882 * calendar/calendar.el (calendar-insert-at-column):
2883 Handle non-unit-width characters a bit better. (Bug#10978)
2884
2885 2012-03-15 Chong Yidong <cyd@gnu.org>
2886
2887 * emacs-lisp/ring.el (ring-extend): New function.
2888 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2889
2890 * comint.el (comint-read-input-ring)
2891 (comint-add-to-input-history): Grow comint-input-ring lazily.
2892
2893 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2896 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2897
2898 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2899 (imenu-add-to-menubar): Don't add a redundant index.
2900 (imenu-update-menubar): Handle a dynamically composed keymap.
2901
2902 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2903
2904 * mail/sendmail.el (mail-encode-header):
2905 Bind rfc2047-encode-encoded-words to nil.
2906
2907 2012-03-13 Glenn Morris <rgm@gnu.org>
2908
2909 * calendar/calendar.el (calendar-string-spread):
2910 Handle non-unit-width characters a bit better. (Bug#10978)
2911
2912 2012-03-13 Leo Liu <sdl.web@gmail.com>
2913
2914 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2915 directory and file as argument (Bug#10822).
2916
2917 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2918
2919 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2920 For dynamically generated code, follow $PC.
2921 (gdb-disassembly-handler-custom): Handle no function name case.
2922
2923 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2924
2925 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2926 * emulation/ws-mode.el (ws-query-replace):
2927 * sort.el (sort-regexp-fields):
2928 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2929
2930 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2931
2932 * dabbrev.el: Fix cycle completion order (bug#10963).
2933 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2934 (dabbrev-completion): Don't use an obarray; provide
2935 a cycle-sort-function.
2936
2937 2012-03-12 Leo Liu <sdl.web@gmail.com>
2938
2939 * simple.el (kill-new): Use equal-including-properties for comparison.
2940 (kill-do-not-save-duplicates): Doc fix.
2941
2942 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * dabbrev.el: Fix cycle completion (bug#10963).
2945 Use lexical binding and wrap to 80 columns.
2946 (dabbrev-completion): Delay computing the list of completions.
2947
2948 2012-03-12 Kenichi Handa <handa@m17n.org>
2949
2950 * international/quail.el (quail-insert-kbd-layout): Surround each
2951 row by LRO and PDF instead of inserting many LRMs. Pad the left
2952 and right of each non-spacing marks. Insert invisible space
2953 between lower and upper characters to prevent composition.
2954
2955 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * minibuffer.el (minibuffer-complete): Don't get confused when the
2958 function is run twice via different commands (bug#10958).
2959 (complete-with-action): Fix docstring.
2960
2961 2012-03-12 Chong Yidong <cyd@gnu.org>
2962
2963 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2964 (nxml-completion-at-point-function): New function.
2965 (nxml-mode): Use it.
2966 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2967
2968 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2969 Load generated autoloads file before byte compiling (Bug#10970).
2970 (package--make-autoloads-and-compile): New helper fun.
2971
2972 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2973
2974 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2975
2976 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2977
2978 * autorevert.el (auto-revert-handler): Ensure, that
2979 file-readable-p is applied only for local files or in
2980 auto-revert-tail-mode.
2981
2982 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2983
2984 * server.el (server-eval-at): Handle non-tcp connections.
2985 Decode result string.
2986
2987 * server.el (server-msg-size): New constant.
2988 (server-reply-print): New function.
2989 (server-eval-and-print): Use it.
2990 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2991 Handle -print-nonl.
2992
2993 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2994
2995 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2996 (Bug#10987).
2997
2998 2012-03-11 Chong Yidong <cyd@gnu.org>
2999
3000 * simple.el (goto-line): Doc fix (Bug#9938).
3001
3002 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3003
3004 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3005 when finished (Bug#10963).
3006
3007 2012-03-11 Martin Rudalics <rudalics@gmx.at>
3008
3009 * window.el (split-window-below): Fix bug in case where
3010 split-window-keep-point is nil (Bug#10971).
3011
3012 2012-03-11 Juri Linkov <juri@jurta.org>
3013
3014 * replace.el (replace-highlight): Set isearch-word to nil
3015 unconditionally. (Bug#10887)
3016
3017 2012-03-10 Eli Zaretskii <eliz@gnu.org>
3018
3019 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3020 mairix-replace-illegal-chars; all callers changed. Don't remove
3021 ^, ~, and = characters: they are meaningful in mairix search specs.
3022 (mairix-widget-create-query): Add usage information about mairix
3023 search forms: negating words, searching for substrings, etc.
3024
3025 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3026
3027 * international/fontset.el (font-encoding-alist): Add an entry for
3028 ksx1001 (Bug#5667).
3029
3030 2012-03-10 Richard Stallman <rms@gnu.org>
3031
3032 * mail/sendmail.el (mail-encode-header):
3033 Set rfc2047-encode-encoded-words.
3034
3035 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3036
3037 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3038 view buffer means not swapped.
3039 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3040 (rmail-write-region-annotate): Error if real text has disappeared.
3041
3042 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3043
3044 2012-03-10 Chong Yidong <cyd@gnu.org>
3045
3046 * emulation/cua-rect.el (cua--init-rectangles):
3047 * emulation/cua-base.el (cua--init-keymaps):
3048 Add delete-forward-char to remappings (Bug#9666).
3049
3050 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3051
3052 * speedbar.el (speedbar-unhighlight-one-tag-line):
3053 Avoid unhighlighting due to frame switching (Bug#10275).
3054
3055 2012-03-10 Chong Yidong <cyd@gnu.org>
3056
3057 * minibuffer.el (completion-in-region, completion-help-at-point):
3058 Give the completion field overlay a high priority (Bug#6830).
3059
3060 * dired.el (dired-goto-file): Recognize absolute file name
3061 listings (Bug#7126).
3062 (dired-goto-file-1): New helper function.
3063 (dired-toggle-read-only): Inhibit warnings.
3064
3065 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/dbus.el (dbus-property-handler): Return empty array if
3068 there are no properties.
3069
3070 2012-03-09 Leo Liu <sdl.web@gmail.com>
3071
3072 * savehist.el (savehist-printable): Stricter check for string
3073 value (Bug#10937).
3074
3075 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3076
3077 * mail/smtpmail.el (smtpmail-send-it):
3078 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3079 valid mbox format.
3080
3081 2012-03-09 Glenn Morris <rgm@gnu.org>
3082
3083 * files.el (dir-locals-find-file):
3084 Don't check result is regular, readable.
3085 (dir-locals-read-from-file): Demote errors.
3086
3087 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3088
3089 * international/quail.el (quail-insert-kbd-layout):
3090 Insert invisible LRM characters before each character in a keyboard
3091 layout cell, to prevent their reordering by bidi display engine.
3092 For details, see the discussion in
3093 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3094
3095 2012-03-08 Alan Mackenzie <acm@muc.de>
3096
3097 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3098 the starting position; make it extend the marked region when
3099 invoked repeatedly - all under appropriate circumstances.
3100 Fixes bugs #5525, #10906.
3101
3102 2012-03-08 Glenn Morris <rgm@gnu.org>
3103
3104 * files.el (locate-dominating-file, dir-locals-find-file):
3105 Undo 2012-03-06 change.
3106
3107 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3108
3109 * international/quail.el (quail-help):
3110 Force bidi-paragraph-direction be left-to-right. See discussion in
3111 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3112 for the reason.
3113
3114 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3115
3116 Avoid superfluous registering of signals. (Bug#10807)
3117
3118 * notifications.el (notifications-on-action-object)
3119 (notifications-on-close-object): New defvars.
3120 (notifications-on-action-signal, notifications-on-closed-signal):
3121 Unregister the signal if not needed any longer.
3122 (notifications-notify): Register `notifications-action-signal' or
3123 `notifications-closed-signal', if :on-action or :on-close has been
3124 passed as argument.
3125
3126 2012-03-07 Chong Yidong <cyd@gnu.org>
3127
3128 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3129 non-X platforms.
3130
3131 2012-03-06 Glenn Morris <rgm@gnu.org>
3132
3133 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3134 (x-disown-selection-internal, x-get-selection-internal):
3135 Doc fix (add arglist signatures). (Bug#10783)
3136
3137 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3138
3139 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3140 Handle breakpoints with no "type".
3141
3142 2012-03-06 Glenn Morris <rgm@gnu.org>
3143
3144 * files.el (locate-dominating-file): Add optional predicate argument.
3145 (dir-locals-find-file): Make use of above change.
3146
3147 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3148
3149 * info.el (Info-insert-dir): Also try "dir.gz".
3150
3151 2012-03-06 Glenn Morris <rgm@gnu.org>
3152
3153 * files.el (dir-locals-find-file):
3154 Ignore non-readable or non-regular files. (Bug#10928)
3155
3156 * files.el (locate-dominating-file): Doc fix.
3157
3158 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3159
3160 * calendar/calendar.el (calendar-set-mode-line):
3161 `getenv' returns a string. (Bug#10951)
3162
3163 2012-03-05 Leo Liu <sdl.web@gmail.com>
3164
3165 * simple.el (backward-delete-char-untabify): Constrain point to
3166 field (Bug#10939).
3167
3168 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3169
3170 2012-03-05 Chong Yidong <cyd@gnu.org>
3171
3172 * simple.el (count-words): If called from Lisp, return the word
3173 count, for symmetry with `count-lines'. Arglist changed.
3174 (count-words--message): Args changed. Consolidate counting code
3175 from count-words and count-words-region.
3176 (count-words-region): Caller changed.
3177 (count-lines-region): Make it an obsolete alias.
3178
3179 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3180
3181 * saveplace.el (save-place-to-alist)
3182 (save-place-ignore-files-regexp): Allow value nil to disable this
3183 feature.
3184
3185 2012-03-04 Chong Yidong <cyd@gnu.org>
3186
3187 * faces.el (face-spec-reset-face): For the default face, reset the
3188 attributes to default values (Bug#10748).
3189
3190 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3191
3192 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3193 previous patch: Check `message-send-mail-function', and not the
3194 default function (bug#10897).
3195
3196 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3197
3198 * notifications.el (notifications-on-action-signal)
3199 (notifications-on-closed-signal): Check for unique service name of
3200 incoming event. Fix error in removing entry.
3201 (top): Register for signals with wildcard service name.
3202 (notifications-notify): Use daemon unique service name for map entries.
3203
3204 2012-03-04 Chong Yidong <cyd@gnu.org>
3205
3206 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3207
3208 2012-03-04 Glenn Morris <rgm@gnu.org>
3209
3210 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3211 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3212 (expand-abbrev, define-abbrev-table): Doc fixes.
3213
3214 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3215
3216 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3217 `message-default-send-mail-function' and not `send-mail-function'
3218 when doing the prompting for `sendmail-query-once' before sending
3219 in Message buffers (bug#10897).
3220
3221 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3222 This is inconsistent with all the other stream functions, which leave
3223 the setting up to the higher levels (if so wanted) (bug#10931).
3224
3225 2012-03-02 Alan Mackenzie <acm@muc.de>
3226
3227 Depessimize the handling of very large macros.
3228
3229 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3230 (c-macro-cache-syntactic): New variables to implement a one
3231 element macro cache.
3232 (c-invalidate-macro-cache): New function.
3233 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3234 Adapt to use the new cache.
3235 (c-state-safe-place): Use better the cache of safe positions.
3236 (c-state-semi-nonlit-pos-cache)
3237 (c-state-semi-nonlit-pos-cache-limit):
3238 New variables for...
3239 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3240 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3241 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3242 Use c-state-semi-safe-place.
3243
3244 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3245 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3246
3247 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * jka-compr.el (jka-compr-call-process):
3250 Apply `file-accessible-directory-p' only when the default directory is
3251 not remote.
3252
3253 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3254
3255 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3256 access of FILE2, if FILE1 does not exist.
3257
3258 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3259 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3260
3261 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3262 Add "PAGER=" to `process-environment'.
3263
3264 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3265
3266 * progmodes/sql.el: Bug fix
3267 (sql-get-login-ext): Save login values in globals.
3268 (sql-get-login): Use new version of `sql-get-login-ext'.
3269 (sql-interactive-mode): Set global `sql-connection' to nil.
3270 (sql-connect): Set global values for connection.
3271 (sql-product-interactive): Save global values as buffer local.
3272
3273 2012-02-29 Leo Liu <sdl.web@gmail.com>
3274
3275 * abbrev.el (define-abbrevs): Reset sys to nil.
3276
3277 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3278
3279 * files.el (file-equal-p): Rename from `files-equal-p'.
3280 Return nil when one or both files don't exist.
3281 (file-subdir-of-p): Now only top directory must exists,
3282 return nil if it doesn't.
3283 (copy-directory): No need to test with `file-subdir-of-p' after
3284 creating dir.
3285 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3286 to `file-equal-p'.
3287
3288 2012-02-28 Glenn Morris <rgm@gnu.org>
3289
3290 * shell.el (shell-mode):
3291 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3292 * play/landmark.el (landmark-font-lock-face-O):
3293 * play/handwrite.el (handwrite):
3294 * play/gomoku.el (gomoku-O):
3295 * net/browse-url.el (browse-url-browser-display):
3296 * international/mule.el (define-charset):
3297 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3298 * filesets.el (filesets-find-file-delay):
3299 * eshell/em-xtra.el (eshell-xtra):
3300 * eshell/em-unix.el (eshell-grep):
3301 * emulation/viper.el (viper-mode):
3302 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3303 * emacs-lisp/easymenu.el (easy-menu-define):
3304 * calendar/timeclock.el (timeclock-use-display-time):
3305 * bs.el (bs-mode):
3306 * bookmark.el (bookmark-save-flag):
3307 Doc fix (standardize possessive apostrophe usage).
3308
3309 2012-02-27 Chong Yidong <cyd@gnu.org>
3310
3311 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3312 Fix key-binding lookup for ESC key (Bug#9146).
3313
3314 * font-lock.el (font-lock-specified-p): Rename from
3315 font-lock-spec-present. Callers changed.
3316
3317 2012-02-27 Daniel Hackney <dan@haxney.org>
3318
3319 * emacs-lisp/package.el (package-compute-transaction):
3320 Handle holding a package version to t in package-load-list.
3321
3322 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3323
3324 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3325 (tramp-get-inode, tramp-get-device): Use cached values.
3326
3327 2012-02-26 Alan Mackenzie <acm@muc.de>
3328
3329 Check there is a font-lock specification before doing initial
3330 fontification.
3331
3332 * font-core.el (font-lock-mode): Move the conditional from
3333 :after-hook to font-lock-initial-fontify.
3334 (font-lock-default-function): Move the check for a specification
3335 to font-lock-spec-present.
3336
3337 * font-lock.el (font-lock-initial-fontify): Call ...
3338 (font-lock-spec-present): New function.
3339
3340 2012-02-26 Jim Blandy <jimb@red-bean.com>
3341
3342 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3343 (gdb-send): Apply it to the operand of the '-interpreter-exec
3344 console' command, so that we can pass arguments with (say) quotes
3345 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3346
3347 2012-02-26 Chong Yidong <cyd@gnu.org>
3348
3349 * help-fns.el (describe-function-1): Clarify description of
3350 remapping (Bug#10844).
3351
3352 * files.el (files-equal-p): Doc fix.
3353 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3354 and quit the loop once a mismatch is found.
3355
3356 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3357
3358 * bs.el (bs--show-with-configuration): Don't throw an error
3359 if the window cannot be split; otherwise, subsequent calls to
3360 bs-show fail, restoring a stale window config. (Bug#10882)
3361
3362 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3363
3364 * term/ns-win.el (global-map): Bind ns-drag-file to
3365 ns-find-file (Bug#5855, Bug#10050).
3366
3367 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3368
3369 * calendar/parse-time.el (parse-time-string): Allow extractor to
3370 return nil.
3371
3372 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * net/tramp.el (tramp-file-name-for-operation):
3375 Add `files-equal-p' and `file-subdir-of-p'.
3376
3377 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3378 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3379 Add COPY-CONTENTS argument.
3380
3381 2012-02-25 Chong Yidong <cyd@gnu.org>
3382
3383 Add custom groups for VC backends, for consistency with vc-bzr.
3384
3385 * vc/vc-arch.el (vc-arch):
3386 * vc/vc-cvs.el (vc-cvs):
3387 * vc/vc-git.el (vc-git):
3388 * vc/vc-hg.el (vc-hg):
3389 * vc/vc-mtn.el (vc-mtn):
3390 * vc/vc-rcs.el (vc-rcs):
3391 * vc/vc-sccs.el (vc-sccs):
3392 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3393 All relevant defcustoms reassigned.
3394
3395 2012-02-25 Chong Yidong <cyd@gnu.org>
3396
3397 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3398
3399 * term/x-win.el (x-initialize-window-system): Reduce default for
3400 x-selection-timeout to 5 seconds (Bug#8869).
3401
3402 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3403
3404 * files.el (files-equal-p, file-subdir-of-p): New functions.
3405 (copy-directory): Error when trying to copy a directory on itself.
3406 Add missing copy-contents arg to tramp handler.
3407 * dired-aux.el (dired-copy-file-recursive): Same.
3408 (dired-create-files): Modify destination when source is equal to
3409 dest when copying files.
3410 Return also when dest is a subdir of source. (Bug#10489)
3411
3412 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3415 (Bug#10874)
3416
3417 2012-02-23 Alan Mackenzie <acm@muc.de>
3418
3419 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3420 parameter "after-hook:" to allow the expansion to run code after
3421 the execution of the mode hooks.
3422
3423 * font-lock.el (font-lock-initial-fontify): New function extracted
3424 from font-lock-mode-internal.
3425
3426 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3427 :after-hook.
3428
3429 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3432 (completion--cache-all-sorted-completions): New function.
3433 (completion-all-sorted-completions): Use it.
3434 (completion--do-completion, minibuffer-force-complete):
3435 Use it to re-instate the flush hook.
3436
3437 * icomplete.el (icomplete-completions): Replace last fix with a better
3438 one (bug#10850).
3439
3440 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3441
3442 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3443 when it might call us back infinitely (bug#10797).
3444
3445 2012-02-23 Glenn Morris <rgm@gnu.org>
3446
3447 * minibuffer.el (completion-category-overrides): Doc fix.
3448
3449 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3452 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3453
3454 2012-02-23 Glenn Morris <rgm@gnu.org>
3455
3456 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3457 (authors-obsolete-files-regexps, authors-ignored-files)
3458 (authors-ambiguous-files, authors-renamed-files-alist):
3459 Add more entries.
3460
3461 2012-02-23 Juri Linkov <juri@jurta.org>
3462
3463 * isearch.el (isearch-occur): Sync interactive spec with occur's
3464 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3465
3466 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3467
3468 2012-02-22 Juri Linkov <juri@jurta.org>
3469
3470 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3471 (ucs-insert): Doc fix. Check for hex digits in the string.
3472 Don't display `nil' in the error message. (Bug#10857)
3473
3474 2012-02-22 Alan Mackenzie <acm@muc.de>
3475
3476 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3477
3478 2012-02-22 Glenn Morris <rgm@gnu.org>
3479
3480 * ffap.el (ffap-c-path):
3481 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3482
3483 2012-02-22 Chong Yidong <cyd@gnu.org>
3484
3485 * custom.el (load-theme): Doc fix.
3486
3487 2012-02-22 Glenn Morris <rgm@gnu.org>
3488
3489 * dired-x.el (dired-guess-shell-alist-default):
3490 Remove escape sequences from nroff output. (Bug#172)
3491
3492 2012-02-21 Glenn Morris <rgm@gnu.org>
3493
3494 * vc/emerge.el (emerge-defvar-local):
3495 Set `permanent-local' property rather than unused `preserved'.
3496
3497 * textmodes/picture.el (picture-delete-char): New alias.
3498 (picture-mode-map): Use it. (Bug#10860)
3499 (picture-mode): Doc fix.
3500
3501 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * newcomment.el (uncomment-region-default): Remove unused binding.
3504
3505 2012-02-21 Glenn Morris <rgm@gnu.org>
3506
3507 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3508 (picture-self-insert, picture-tab-chars): Doc fix.
3509 (picture-mode-map): Fix C-a, C-e.
3510
3511 2012-02-20 Glenn Morris <rgm@gnu.org>
3512
3513 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3514
3515 2012-02-20 Leo Liu <sdl.web@gmail.com>
3516
3517 * icomplete.el (icomplete-completions): Check FROM arg before
3518 passing to substring (Bug#10850).
3519
3520 2012-02-19 Chong Yidong <cyd@gnu.org>
3521
3522 * comint.el: Require ansi-color.
3523 (comint-output-filter-functions): Add ansi-color-process-output.
3524
3525 * ansi-color.el: Don't set comint-output-filter-functions; it is
3526 now in the initial value defined in comint.el.
3527 (ansi-color-apply-face-function): New variable.
3528 (ansi-color-apply-on-region): Use it.
3529 (ansi-color-apply-overlay-face): New function.
3530
3531 * shell.el (shell): No need to require ansi-color.
3532 (shell-mode): Use ansi-color-apply-face-function to highlight
3533 color escapes using font-lock-face property (Bug#10835).
3534
3535 2012-02-19 Chong Yidong <cyd@gnu.org>
3536
3537 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3538 mode-line formats (Bug#10839).
3539
3540 2012-02-18 Glenn Morris <rgm@gnu.org>
3541
3542 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3543
3544 * mail/undigest.el (unforward-rmail-message): Doc fix.
3545
3546 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3547
3548 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3549
3550 * international/characters.el (script-list): Sync with the latest
3551 Unicode Character Database.
3552
3553 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * international/titdic-cnv.el: Remove duplicate coding tag.
3556 * language/cham.el: Likewise.
3557 * language/tai-viet.el: Likewise.
3558
3559 2012-02-18 Glenn Morris <rgm@gnu.org>
3560
3561 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3562 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3563 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3564 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3565 * calendar/holidays.el (holiday-bahai-holidays)
3566 (calendar-holidays, list-holidays):
3567 Use utf-8 Bahá'í in doc-strings, menus, etc.
3568
3569 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3570
3571 * saveplace.el (save-place-ignore-files-regexp): New variable
3572 allowing for excluding files from saving their location of point.
3573 The default value matches the temporary commit message editing
3574 files from Git, SVN, Bazaar, and Mercurial.
3575 (save-place-to-alist): Use it.
3576
3577 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3578 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * newcomment.el (uncomment-region-default): Don't leave extra space
3581 when an arg is provided (bug#8150).
3582
3583 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3584
3585 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3586
3587 2012-02-17 Glenn Morris <rgm@gnu.org>
3588
3589 * net/socks.el: Require network-stream. (Bug#10599)
3590
3591 2012-02-17 Kenichi Handa <handa@m17n.org>
3592
3593 * international/charprop.el:
3594 * international/uni-name.el:
3595 * international/uni-old-name.el:
3596 * international/uni-comment.el: Regenerate.
3597
3598 2012-02-16 Glenn Morris <rgm@gnu.org>
3599
3600 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3601 Interactively in calendar buffer, give an error if not on a date.
3602
3603 2012-02-15 Glenn Morris <rgm@gnu.org>
3604
3605 * shell.el (shell-delimiter-argument-list):
3606 Revert 2011-02-17 change. (Bug#8027)
3607
3608 2012-02-15 Chong Yidong <cyd@gnu.org>
3609
3610 * minibuffer.el (completion-at-point-functions): Doc fix.
3611
3612 * custom.el (defcustom): Doc fix; note use of defvar.
3613
3614 2012-02-15 Glenn Morris <rgm@gnu.org>
3615
3616 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3617 Doc fixes.
3618
3619 2012-02-14 Glenn Morris <rgm@gnu.org>
3620
3621 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3622
3623 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3624
3625 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3626 way the ports list is computed.
3627 (smtpmail-query-smtp-server): Prompt the user for a port number if
3628 we can't connect to any of the standard ports (bug#10810).
3629
3630 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3631
3632 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3633
3634 2012-02-13 Glenn Morris <rgm@gnu.org>
3635
3636 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3637
3638 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3639
3640 * net/gnutls.el (gnutls-trustfiles): New variable.
3641 (gnutls-negotiate): Use it.
3642
3643 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3644
3645 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3646 does its stuff if Gnus is running.
3647
3648 2012-02-13 Alan Mackenzie <acm@muc.de>
3649
3650 Fix a loop in c-set-fl-decl-start.
3651
3652 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3653 c-backward-syntactic-ws actually moves backwards.
3654
3655 2012-02-13 Leo Liu <sdl.web@gmail.com>
3656
3657 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3658 beginning so that all \C-o chars are removed.
3659
3660 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3661
3662 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3663
3664 2012-02-12 Alan Mackenzie <acm@muc.de>
3665
3666 Fix infinite loop with long macros.
3667 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3668
3669 2012-02-12 Chong Yidong <cyd@gnu.org>
3670
3671 * window.el (display-buffer): Doc fix (Bug#10785).
3672
3673 2012-02-12 Glenn Morris <rgm@gnu.org>
3674
3675 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3676 (x-disown-selection-internal, x-get-selection-internal):
3677 Sync docs with the xselect.c versions.
3678
3679 * allout-widgets.el: Add missing license notice.
3680
3681 2012-02-11 Glenn Morris <rgm@gnu.org>
3682
3683 * select.el (x-get-selection-internal, x-own-selection-internal)
3684 (x-disown-selection-internal):
3685 * x-dnd.el (x-get-selection-internal): Update declarations.
3686
3687 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3688
3689 * window.el (window-sides-slots):
3690 * tool-bar.el (tool-bar-position):
3691 * term/xterm.el (xterm-extra-capabilities):
3692 * ses.el (ses-self-reference-early-detection):
3693 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3694 (verilog-auto-wire-type)
3695 (verilog-auto-delete-trailing-whitespace)
3696 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3697 (verilog-auto-tieoff-declaration):
3698 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3699 (sql-oracle-statement-starters, sql-oracle-scan-on):
3700 * progmodes/prolog.el (prolog-align-comments-flag)
3701 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3702 (prolog-left-indent-regexp, prolog-paren-indent-p)
3703 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3704 (prolog-types, prolog-mode-specificators)
3705 (prolog-determinism-specificators, prolog-directives)
3706 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3707 (prolog-electric-dot-flag)
3708 (prolog-electric-dot-full-predicate-template)
3709 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3710 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3711 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3712 (prolog-program-switches, prolog-prompt-regexp)
3713 (prolog-debug-on-string, prolog-debug-off-string)
3714 (prolog-trace-on-string, prolog-trace-off-string)
3715 (prolog-zip-on-string, prolog-zip-off-string)
3716 (prolog-use-standard-consult-compile-method-flag)
3717 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3718 (prolog-imenu-max-lines, prolog-info-predicate-index)
3719 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3720 (prolog-char-quote-workaround):
3721 * progmodes/cc-vars.el (c-defun-tactic):
3722 * net/tramp.el (tramp-encoding-command-interactive)
3723 (tramp-local-end-of-line):
3724 * net/soap-client.el (soap-client):
3725 * net/netrc.el (netrc-file):
3726 * net/gnutls.el (gnutls):
3727 * minibuffer.el (completion-category-overrides)
3728 (completion-cycle-threshold)
3729 (completion-pcm-complete-word-inserts-delimiters):
3730 * man.el (Man-name-local-regexp):
3731 * mail/feedmail.el (feedmail-display-full-frame):
3732 * international/characters.el (glyphless-char-display-control):
3733 * eshell/em-ls.el (eshell-ls-date-format):
3734 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3735 (lisp-lambda-list-keyword-parameter-indentation)
3736 (lisp-lambda-list-keyword-parameter-alignment):
3737 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3738 * dired-x.el (dired-omit-verbose):
3739 * cus-theme.el (custom-theme-allow-multiple-selections):
3740 * calc/calc.el (calc-highlight-selections-with-faces)
3741 (calc-lu-field-reference, calc-lu-power-reference)
3742 (calc-note-threshold):
3743 * battery.el (battery-mode-line-limit):
3744 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3745 (archive-7z-update):
3746 * allout.el (allout-prefixed-keybindings)
3747 (allout-unprefixed-keybindings)
3748 (allout-inhibit-auto-fill-on-headline)
3749 (allout-flattened-numbering-abbreviation):
3750 * allout-widgets.el (allout-widgets-auto-activation)
3751 (allout-widgets-icons-dark-subdir)
3752 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3753 (allout-widgets-theme-dark-background)
3754 (allout-widgets-theme-light-background)
3755 (allout-widgets-item-image-properties-emacs)
3756 (allout-widgets-item-image-properties-xemacs)
3757 (allout-widgets-run-unit-tests-on-load)
3758 (allout-widgets-time-decoration-activity)
3759 (allout-widgets-hook-error-post-time)
3760 (allout-widgets-track-decoration):
3761 Add missing :version tags to new defcustoms and defgroups.
3762
3763 * progmodes/sql.el (sql-ansi-statement-starters)
3764 (sql-oracle-statement-starters): Add custom type.
3765
3766 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3767 (prolog-system-version): Give it a type.
3768
3769 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3770
3771 * term/pc-win.el (x-select-text, x-selection-owner-p)
3772 (x-own-selection-internal, x-disown-selection-internal)
3773 (x-get-selection-internal): Sync doc strings and argument lists
3774 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3775
3776 2012-02-11 Leo Liu <sdl.web@gmail.com>
3777
3778 * progmodes/python.el (python-end-of-statement): Fix infinite
3779 loop. (Bug#10788)
3780
3781 2012-02-10 Glenn Morris <rgm@gnu.org>
3782
3783 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3784 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3785
3786 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3787
3788 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3789 about SMTP before checking the From header.
3790
3791 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3792 into own function for reuse by emacsbug.el.
3793
3794 2012-02-10 Leo Liu <sdl.web@gmail.com>
3795
3796 * subr.el (condition-case-unless-debug): Rename from
3797 condition-case-no-debug. All callers changed.
3798 (with-demoted-errors): Fix caller.
3799
3800 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3801 * nxml/rng-valid.el (rng-do-some-validation):
3802 * emacs-lisp/package.el (package-refresh-contents)
3803 (package-menu-execute):
3804 * desktop.el (desktop-create-buffer):
3805 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3806
3807 2012-02-10 Glenn Morris <rgm@gnu.org>
3808
3809 * textmodes/bibtex.el:
3810 Add missing :version tags for new/changed defcustoms.
3811
3812 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3813
3814 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3815
3816 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3817 (smtpmail-via-smtp): Use it, or fall back on the From address.
3818 (smtpmail-send-it): Ditto.
3819
3820 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3823 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3824 (byte-compile-tmp-var): New const.
3825 (byte-compile-defvar): Use it to minimize .elc size.
3826 Just use `defvar' rather than simulate it (bug#10761).
3827
3828 2012-02-09 Glenn Morris <rgm@gnu.org>
3829
3830 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3831
3832 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3833 Add :version tags.
3834
3835 * progmodes/compile.el (compilation-error-screen-columns)
3836 (compilation-first-column, compilation-filter-start): Doc fixes.
3837
3838 * vc/log-view.el (log-view-toggle-entry-display):
3839 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3840
3841 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3842 (report-emacs-bug-can-use-xdg-email):
3843 (report-emacs-bug-insert-to-mailer): Doc fixes.
3844 (report-emacs-bug): Message fix.
3845
3846 * net/browse-url.el (browse-url-can-use-xdg-open)
3847 (browse-url-xdg-open): Doc fixes.
3848
3849 * electric.el (electric-indent-mode, electric-pair-mode)
3850 (electric-layout-rules, electric-layout-mode): Doc fixes.
3851 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3852
3853 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3854
3855 * server.el (server-unselect-display): Don't inadvertently kill
3856 the current buffer. (Bug#10729)
3857
3858 2012-02-08 Glenn Morris <rgm@gnu.org>
3859
3860 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3861 (sql-list-table): Doc fixes.
3862
3863 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3864 Comment out (does nothing).
3865
3866 * completion.el (dynamic-completion-mode):
3867 * dirtrack.el (dirtrack-debug-mode):
3868 * electric.el (electric-layout-mode):
3869 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3870 * face-remap.el (text-scale-mode, buffer-face-mode):
3871 * iimage.el (iimage-mode):
3872 * image-mode.el (image-transform-mode):
3873 * minibuffer.el (completion-in-region-mode):
3874 * scroll-lock.el (scroll-lock-mode):
3875 * simple.el (next-error-follow-minor-mode):
3876 * tar-mode.el (tar-subfile-mode):
3877 * tooltip.el (tooltip-mode):
3878 * vcursor.el (vcursor-use-vcursor-map):
3879 * wid-browse.el (widget-minor-mode):
3880 * emulation/tpu-edt.el (tpu-edt-mode):
3881 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3882 * international/iso-ascii.el (iso-ascii-mode):
3883 * language/thai-util.el (thai-word-mode):
3884 * mail/supercite.el (sc-minor-mode):
3885 * net/goto-addr.el (goto-address-mode):
3886 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3887 * progmodes/cwarn.el (cwarn-mode):
3888 * progmodes/flymake.el (flymake-mode):
3889 * progmodes/glasses.el (glasses-mode):
3890 * progmodes/hideshow.el (hs-minor-mode):
3891 * progmodes/pascal.el (pascal-outline-mode):
3892 * textmodes/enriched.el (enriched-mode):
3893 * vc/smerge-mode.el (smerge-mode):
3894 Doc fixes (minor mode argument).
3895
3896 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3897
3898 * ls-lisp.el (ls-lisp-sanitize): New function.
3899 (ls-lisp-insert-directory): Use it to fix or remove any elements
3900 in file-alist with missing attributes. (Bug#4673)
3901
3902 2012-02-07 Alan Mackenzie <acm@muc.de>
3903
3904 Fix spurious recognition of c-in-knr-argdecl.
3905
3906 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3907 putative K&R region.
3908
3909 2012-02-07 Alan Mackenzie <acm@muc.de>
3910
3911 * progmodes/cc-engine.el (c-forward-objc-directive):
3912 Prevent looping in "#pragma mark @implementation".
3913
3914 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3915
3916 * notifications.el (notifications-on-closed-signal): Make `reason'
3917 optional. (Bug#10744)
3918
3919 2012-02-07 Glenn Morris <rgm@gnu.org>
3920
3921 * emacs-lisp/easy-mmode.el (define-minor-mode):
3922 Doc fixes for the macro and the mode it defines.
3923
3924 * image.el (imagemagick-types-inhibit): Doc fix.
3925
3926 * cus-start.el (imagemagick-render-type): Add it.
3927
3928 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3929
3930 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3931 Set the default at load time, too, so that `font-lock-fontify-buffer'
3932 can be called without setting up the entire mode first. This fixes
3933 a bug in `mm-inline-text' with C MIME parts.
3934
3935 2012-02-06 Chong Yidong <cyd@gnu.org>
3936
3937 * simple.el (list-processes--refresh): Delete exited processes
3938 (Bug#8094).
3939
3940 * comint.el (comint-next-prompt): next-single-char-property-change
3941 and prev-single-char-property-change never return nil (Bug#8657).
3942
3943 * custom.el (defcustom): Doc fix (Bug#9711).
3944
3945 2012-02-05 Chong Yidong <cyd@gnu.org>
3946
3947 * cus-edit.el (custom-variable-reset-backup): Quote the value
3948 before storing it in the customized-value property (Bug#6712).
3949 (custom-display): Add a customization type tag.
3950 (custom-buffer-create-internal): Improve tooltip message.
3951
3952 * wid-edit.el (widget-field-value-get): New optional arg to
3953 suppress trailing whitespace truncation.
3954 (character): Use it (Bug#2689).
3955
3956 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3959 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3960
3961 2012-02-05 Chong Yidong <cyd@gnu.org>
3962
3963 * cus-edit.el (custom-variable-value-create): For mismatched
3964 types, show the current value (Bug#7600).
3965
3966 * custom.el (defcustom): Doc fix.
3967
3968 2012-02-05 Glenn Morris <rgm@gnu.org>
3969
3970 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3971
3972 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3975 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3976 (pp-last-sexp): Use `looking-at-p'.
3977
3978 2012-02-04 Glenn Morris <rgm@gnu.org>
3979
3980 * files.el (revert-buffer):
3981 Doc fix (mention revert-buffer-in-progress-p).
3982
3983 * emacs-lisp/ert-x.el (ert-simulate-command):
3984 Check deferred-action-list (which is obsolete) is bound.
3985
3986 * subr.el (with-wrapper-hook): Doc fixes.
3987
3988 * simple.el (filter-buffer-substring-functions)
3989 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3990
3991 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3992
3993 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3994 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3995
3996 2012-02-04 Leo Liu <sdl.web@gmail.com>
3997
3998 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3999
4000 2012-02-04 Glenn Morris <rgm@gnu.org>
4001
4002 * image.el (image-extension-data): Add obsolete alias.
4003
4004 * isearch.el (isearch-update): Doc fix.
4005
4006 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4007
4008 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4009
4010 2012-02-03 Glenn Morris <rgm@gnu.org>
4011
4012 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4013 (image-animate-timeout): Doc fix.
4014
4015 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4016
4017 2012-02-02 Glenn Morris <rgm@gnu.org>
4018
4019 * server.el (server-auth-dir): Doc fix.
4020 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4021
4022 * subr.el (run-mode-hooks): Doc fix.
4023
4024 2012-02-02 Juri Linkov <juri@jurta.org>
4025
4026 * image-mode.el (image-toggle-display-image): Remove tautological
4027 `major-mode' from the `derived-mode-p' test.
4028
4029 2012-02-02 Kenichi Handa <handa@m17n.org>
4030
4031 * composite.el (compose-region): Cancel previous change.
4032
4033 2012-02-02 Kenichi Handa <handa@m17n.org>
4034
4035 * composite.el (compose-region, compose-string): Signal error for
4036 a null string component (Bug#6988).
4037
4038 2012-02-01 Chong Yidong <cyd@gnu.org>
4039
4040 * view.el (view-buffer-other-window, view-buffer-other-frame):
4041 Handle special modes like view-buffer (Bug#10650).
4042 (view-buffer): Simplify.
4043
4044 * frame.el (set-frame-font): Tweak meaning of third argument.
4045
4046 * dynamic-setting.el (font-setting-change-default-font):
4047 Use set-frame-font (Bug#9982).
4048
4049 2012-02-01 Glenn Morris <rgm@gnu.org>
4050
4051 * progmodes/compile.el (compilation-internal-error-properties):
4052 Respect compilation-first-column in the "*compilation*" buffer.
4053
4054 * emacs-lisp/easy-mmode.el (define-minor-mode):
4055 Relax :variable's test for a named function.
4056
4057 2012-01-31 Alan Mackenzie <acm@muc.de>
4058
4059 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4060 off by one error.
4061
4062 2012-01-31 Chong Yidong <cyd@gnu.org>
4063
4064 * frame.el (set-frame-font): New arg ALL-FRAMES.
4065
4066 * menu-bar.el (menu-set-font): Use set-frame-font.
4067
4068 * faces.el (face-spec-reset-face): Don't apply unspecified
4069 attribute values to the default face.
4070
4071 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4072
4073 * progmodes/cwarn.el (cwarn): Remove dead link.
4074 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4075 Remove * from defcustom docstrings.
4076 (turn-on-cwarn-mode): Make obsolete.
4077 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4078 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4079
4080 2012-01-31 Glenn Morris <rgm@gnu.org>
4081
4082 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4083 Fix :variable handling of mode a symbol not equal to modefun.
4084 Allow named functions to be used as the cdr of :variable.
4085
4086 2012-01-30 Glenn Morris <rgm@gnu.org>
4087
4088 * emacs-lisp/authors.el (authors-fixed-entries):
4089 Remove reference to deleted file rnewspost.el.
4090
4091 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * window.el (window-with-parameter): Remove unused variable `windows'.
4094 (window--side-check): Remove unused variable `code'.
4095 (window--resize-siblings): Remove unused variable `first'.
4096 (adjust-window-trailing-edge): Remove unused variable `failed'.
4097 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4098 Use `let', not `let*'.
4099 (balance-windows-2): Remove unused variable `found'.
4100 (window--state-put-2): Remove unused variable `splits'.
4101 (window-state-put): Remove unused variable `selected'.
4102 (same-window-p): Use `string-match-p'.
4103 (display-buffer-assq-regexp): Remove unused variable `value'.
4104 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4105 Mark argument ALIST as ignored.
4106 (pop-to-buffer): Remove unused variable `old-window'.
4107
4108 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4109
4110 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4111 and .lzma compressed files.
4112
4113 2012-01-29 Chong Yidong <cyd@gnu.org>
4114
4115 * frame.el (window-system-default-frame-alist): Doc fix.
4116
4117 * dynamic-setting.el (font-setting-change-default-font): Don't
4118 change the default face if SET-FONT argument is non-nil (Bug#9982).
4119
4120 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4121
4122 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4123
4124 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4125
4126 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4127 breakpoints in files outside current directory (Bug#6098).
4128
4129 2012-01-29 Chong Yidong <cyd@gnu.org>
4130
4131 * progmodes/python.el: Require ansi-color at top-level.
4132
4133 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4134 Define and use in Emacs Lisp mode (Bug#9360).
4135 (lisp-mode-abbrev-table): Add doc.
4136 (lisp-mode-variables): Don't set local-abbrev-table.
4137 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4138
4139 2012-01-28 Roland Winkler <winkler@gnu.org>
4140
4141 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4142
4143 2012-01-28 Roland Winkler <winkler@gnu.org>
4144
4145 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4146 (bibtex-set-dialect): Use it. Either set global values of
4147 dialect-dependent variables or bind these variables buffer-locally
4148 (Bug#10254).
4149 (bibtex-mode): Call bibtex-set-dialect via
4150 hack-local-variables-hook.
4151 (bibtex-dialect): Update docstring.
4152 Add safe-local-variable predicate.
4153 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4154 bibtex-set-dialect.
4155 (bibtex-mode-map): Define menu for each dialect.
4156 (bibtex-entry): Fix docstring.
4157
4158 2012-01-28 Chong Yidong <cyd@gnu.org>
4159
4160 * eshell/esh-arg.el (eshell-quote-argument): New function.
4161
4162 * eshell/esh-ext.el (eshell-invoke-batch-file):
4163 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4164 first arg to eshell-parse-command (Bug#10523).
4165
4166 2012-01-28 Drew Adams <drew.adams@oracle.com>
4167
4168 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4169 `default-directory' is non-nil.
4170
4171 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4172
4173 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4174 line that displays system-configuration-options. (Bug#9924)
4175
4176 2012-01-28 Drew Adams <drew.adams@oracle.com>
4177
4178 * descr-text.el (describe-char): Show information about POS, in
4179 addition to information about the character at POS. Improve and
4180 update the doc string. Change "code point" to "code point in
4181 charset", to avoid confusion with the character's Unicode code
4182 point shown above that. (Bug#10129)
4183
4184 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4185
4186 * descr-text.el (describe-char): Show the raw character, not only
4187 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4188 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4189 for the reasons.
4190
4191 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4192
4193 * emacs-lisp/package.el (package-install):
4194 Run package-refresh-contents if there is no archive yet (Bug#9798).
4195
4196 2012-01-28 Chong Yidong <cyd@gnu.org>
4197
4198 * emacs-lisp/package.el (package-maybe-load-descriptor):
4199 New function, split from package-maybe-load-descriptor.
4200 (package-maybe-load-descriptor): Use it.
4201 (package-download-transaction): Fully load required packages
4202 inside the loop, so that `require' calls work (Bug#10593).
4203 (package-install): No need to call package-initialize now.
4204
4205 2012-01-28 Chong Yidong <cyd@gnu.org>
4206
4207 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4208
4209 * tooltip.el (tooltip-mode): Doc fix.
4210 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4211
4212 * frame.el (set-cursor-color): Doc fix (Bug#352).
4213
4214 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4215 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4216
4217 * cus-edit.el (custom-buffer-create-internal): Fix search button
4218 action (Bug#10542).
4219 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4220
4221 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4222
4223 * dired.el (dired-mark-files-regexp):
4224 Include any subdirectory components. (Bug#10445)
4225
4226 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4227
4228 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4229 Handle [host]:port syntax. (Bug#10533)
4230
4231 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4232
4233 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4234
4235 2012-01-26 Glenn Morris <rgm@gnu.org>
4236
4237 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4238 * term.el (term-raw-escape-map): Use Control-X-prefix.
4239 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4240
4241 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4242
4243 * window.el (window-state-get, window--state-get-1): Don't deal
4244 with fixed-sizeness of windows. Simplify code.
4245
4246 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4247
4248 * window.el (window--state-get-1, window--state-put-2):
4249 Don't save and restore the mark.
4250
4251 2012-01-25 Chong Yidong <cyd@gnu.org>
4252
4253 * custom.el (custom-variable-p): Doc fix.
4254
4255 2012-01-25 Glenn Morris <rgm@gnu.org>
4256
4257 * dired.el (dired-goto-file): Handle some of the more common
4258 characters that `ls -b' escapes. (Bug#10596)
4259
4260 * progmodes/compile.el (compilation-next-error-function):
4261 Respect compilation-first-column in the "*compilation*" buffer.
4262 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4263
4264 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4265
4266 2012-01-24 Glenn Morris <rgm@gnu.org>
4267
4268 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4269
4270 2012-01-24 Julien Danjou <julien@danjou.info>
4271
4272 * color.el (color-rgb-to-hsl): Fix value computing.
4273 (color-hue-to-rgb): New function.
4274 (color-hsl-to-rgb): New function.
4275 (color-clamp, color-saturate-hsl, color-saturate-name)
4276 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4277 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4278
4279 2012-01-24 Glenn Morris <rgm@gnu.org>
4280
4281 * vc/vc-rcs.el (vc-rcs-create-tag):
4282 * vc/vc-sccs.el (vc-sccs-create-tag):
4283 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4284
4285 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4286
4287 * eshell/esh-util.el (eshell-read-hosts-file):
4288 Skip comment lines. (Bug#10549)
4289
4290 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4291
4292 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4293
4294 * subr.el (display-delayed-warnings): Doc fix.
4295 (collapse-delayed-warnings): New function to collapse identical
4296 adjacent warnings.
4297 (delayed-warnings-hook): Add it.
4298
4299 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4300
4301 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4302
4303 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4304 properties, when "login-as" is set.
4305
4306 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4307 (tramp-default-user-alist): Don't add "pscp".
4308 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4309 property "login-as", if set. (Bug#10530)
4310
4311 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4312
4313 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4314 "plink1" and "psftp". (Bug#10530)
4315
4316 2012-01-21 Kenichi Handa <handa@m17n.org>
4317
4318 * international/mule-cmds.el (prefer-coding-system): Show a
4319 warning message if the default value of file-name-coding-system
4320 was not changed.
4321
4322 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4323
4324 * windmove.el (windmove-reference-loc):
4325 Fix windmove-reference-loc miscalculation.
4326
4327 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4328
4329 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4330 default unit.
4331
4332 2012-01-21 Glenn Morris <rgm@gnu.org>
4333
4334 * international/mule.el (auto-coding-alist): Add .tbz.
4335
4336 * files.el (local-enable-local-variables): Doc fix.
4337 (inhibit-local-variables-regexps): Rename from
4338 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4339 Doc fix. Add some extensions from auto-coding-alist.
4340 (inhibit-local-variables-suffixes):
4341 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4342 (inhibit-local-variables-p):
4343 New function, extracted from set-auto-mode-1.
4344 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4345 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4346 (hack-local-variables): Doc fix. Make the mode-only case
4347 respect enable-local-variables and friends.
4348 Respect inhibit-local-variables-regexps for file-locals, but
4349 not for directory-locals.
4350 (set-visited-file-name):
4351 Take account of inhibit-local-variables-regexps.
4352 Whether it applies may change as the file name is changed.
4353 * jka-cmpr-hook.el (jka-compr-install):
4354 * jka-compr.el (jka-compr-uninstall):
4355 Update for inhibit-first-line-modes-suffixes name change.
4356
4357 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4358
4359 * help-macro.el (make-help-screen): Temporarily restore original
4360 binding for minor-mode-map-alist (Bug#10454).
4361
4362 2012-01-19 Julien Danjou <julien@danjou.info>
4363
4364 * color.el (color-name-to-rgb): Use the white color to find the max
4365 color component value and return correctly computed values.
4366 (color-name-to-rgb): Add missing float conversion for max value.
4367
4368 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4369
4370 * window.el (window--state-get-1, window-state-get): Do not use
4371 special state value for window-persistent-parameters.
4372 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4373 (window--state-put-2): Reset all window parameters to nil before
4374 assigning values of persistent parameters.
4375
4376 2012-01-18 Alan Mackenzie <acm@muc.de>
4377
4378 Eliminate sluggishness and hangs in fontification of "semicolon
4379 deserts".
4380
4381 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4382 Change value 10000 -> 3000.
4383 (c-state-safe-place): Reformulate so it doesn't stack up an
4384 infinite number of wrong entries in c-state-nonlit-pos-cache.
4385 (c-determine-limit-get-base, c-determine-limit): New functions to
4386 determine backward search limits disregarding literals.
4387 (c-find-decl-spots): Amend commenting.
4388 (c-cheap-inside-bracelist-p): New function which detects "={".
4389
4390 * progmodes/cc-fonts.el
4391 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4392 backward search.
4393 (c-font-lock-declarations): Fix an occurrence of point being
4394 undefined. Check additionally for point being in a bracelist or
4395 near a macro invocation without a semicolon so as to avoid a
4396 fruitless time consuming search for a declarator. Give a more
4397 precise search limit for declarators using the new
4398 c-determine-limit.
4399
4400 2012-01-18 Glenn Morris <rgm@gnu.org>
4401
4402 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4403 (set-auto-mode): Doc fixes.
4404
4405 2012-01-17 Glenn Morris <rgm@gnu.org>
4406
4407 * isearch.el (search-nonincremental-instead): Fix doc typo.
4408
4409 * dired.el (dired-insert-directory): Handle newlines in directory name.
4410 (dired-build-subdir-alist): Unescape newlines in directory name.
4411
4412 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4413
4414 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4415 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4416 (tramp-action-terminal): Use it. (Bug#10530)
4417
4418 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4421
4422 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4423
4424 * window.el (window-state-ignored-parameters): Remove variable.
4425 (window--state-get-1): Rename argument MARKERS to IGNORE.
4426 Handle persistent window parameters. Make copy of clone-of
4427 parameter only if requested. (Bug#10348)
4428 (window--state-put-2): Install a window parameter only if it has
4429 a non-nil value or an existing parameter shall be overwritten.
4430
4431 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4432
4433 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4434
4435 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4436
4437 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4438 don't pass the (nil) value of `upnode' to string-match.
4439
4440 2012-01-14 Chong Yidong <cyd@gnu.org>
4441
4442 * startup.el (command-line): Fix X resource class for cursorColor.
4443 Fix values recognized by the cursorBlink resource.
4444
4445 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4446
4447 * epg.el (epg--make-temp-file): Avoid permission race condition
4448 when running on old Emacs versions (bug#10403).
4449
4450 2012-01-14 Glenn Morris <rgm@gnu.org>
4451
4452 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4453
4454 2012-01-13 Alan Mackenzie <acm@muc.de>
4455
4456 Fix filling for when filladapt mode is enabled.
4457
4458 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4459 c-mask-paragraph, pass in `fill-paragraph' rather than
4460 `fill-region-as-paragraph'. (This is a reversion of a previous
4461 change.)
4462 * progmodes/cc-mode.el (c-basic-common-init):
4463 Make fill-paragraph-handle-comment buffer local and set it to nil.
4464
4465 2012-01-13 Glenn Morris <rgm@gnu.org>
4466
4467 * dired.el (dired-switches-escape-p): New function.
4468 (dired-insert-directory): Use dired-switches-escape-p.
4469 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4470
4471 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4472
4473 2012-01-12 Glenn Morris <rgm@gnu.org>
4474
4475 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4476 changes in adaptive-fill-regexp. (Bug#10276)
4477
4478 2012-01-11 Alan Mackenzie <acm@muc.de>
4479
4480 Fix Emacs bug #10463 - put `widen's around the critical spots.
4481
4482 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4483 widen around each invocation of c-state-pp-to-literal. Remove an
4484 unused let variable.
4485
4486 2012-01-11 Glenn Morris <rgm@gnu.org>
4487
4488 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4489 Doc fix.
4490
4491 2012-01-10 Chong Yidong <cyd@gnu.org>
4492
4493 * net/network-stream.el (network-stream-open-starttls):
4494 Avoid emitting a confusing error message when the server gives a bad
4495 response to the capability command.
4496
4497 2012-01-10 Glenn Morris <rgm@gnu.org>
4498
4499 * mail/unrmail.el (unrmail): Tweak previous change.
4500
4501 2012-01-09 Chong Yidong <cyd@gnu.org>
4502
4503 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4504
4505 2012-01-08 Alan Mackenzie <acm@muc.de>
4506
4507 Optimise font locking in long enum definitions.
4508
4509 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4510 arm to a cond form to handle enums.
4511 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4512 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4513
4514 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4515
4516 * files.el (move-file-to-trash): Preserve default file modes on error.
4517 (Bug#10401)
4518
4519 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4520
4521 * faces.el (set-face-attribute): Clarify the meaning of the nil
4522 frame (bug#10294).
4523
4524 * subr.el (with-selected-frame): Mention that the selected frame
4525 is restored (bug#9980).
4526
4527 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4528 (bug#9759).
4529
4530 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4531 (password-read): Don't autoload unused function.
4532
4533 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4534
4535 * progmodes/which-func.el (which-func-mode): Turn into a
4536 non-interactive function and mark as obsolete (bug#10428).
4537
4538 2012-01-06 Chong Yidong <cyd@gnu.org>
4539
4540 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4541 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4542 functions, along with 1 and -1.
4543
4544 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4545
4546 * time.el (display-time-load-average)
4547 (display-time-default-load-average): Doc fixes. See the thread
4548 starting at
4549 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4550 for the details.
4551
4552 2012-01-06 Glenn Morris <rgm@gnu.org>
4553
4554 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4555 has no messages. (Bug#10377)
4556
4557 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4558 than Info-edit. (Bug#10385)
4559
4560 * time.el (display-time-load-average, display-time-next-load-average):
4561 Doc fixes.
4562
4563 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4564 local setting of buffer-read-only to the input buffer. (Bug#10419)
4565
4566 * calendar/calendar.el (calendar-mode):
4567 Locally set scroll-margin to 0. (Bug#10379)
4568
4569 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4570
4571 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4572
4573 2012-01-05 Glenn Morris <rgm@gnu.org>
4574
4575 * eshell/em-unix.el (diff-no-select): Autoload it.
4576 (eshell/diff): Use diff-no-select. (Bug#10420)
4577
4578 2012-01-05 Chong Yidong <cyd@gnu.org>
4579
4580 * shell.el (shell-dynamic-complete-functions): Revert last change.
4581 (shell-command-completion-function): New function.
4582 (shell-completion-vars): Use it to implement
4583 shell-completion-execonly (Bug#10417).
4584
4585 * custom.el (enable-theme): Don't set custom-safe-themes.
4586
4587 * cus-theme.el (custom-theme-merge-theme):
4588 Ignore custom-enabled-themes and custom-safe-themes.
4589
4590 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4591
4592 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4593 first prompt in `sql-interacive-mode'.
4594 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4595 keywords.
4596 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4597 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4598 context of original buffer. Invoke `sql-login-hook'.
4599
4600 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4601
4602 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4603 letters in cite-prefix.
4604
4605 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4606
4607 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4608
4609 2012-01-03 Chong Yidong <cyd@gnu.org>
4610
4611 * shell.el (shell-dynamic-complete-functions):
4612 Put pcomplete-completions-at-point, so as to try
4613 comint-filename-completion first (Bug#10417).
4614
4615 2012-01-02 Richard Stallman <rms@gnu.org>
4616
4617 * battery.el (battery-status-function):
4618 Detect when to use battery-yeeloong-sysfs.
4619 (battery-echo-area-format): Add string for Yeeloong.
4620 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4621 (battery-yeeloong-sysfs): New function.
4622
4623 2012-01-02 Chong Yidong <cyd@gnu.org>
4624
4625 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4626 (dirtrack): Merge code for handling relative filenames in prompt
4627 from shell-dir-cookie-watcher.
4628 (dirtrack-debug-message): New arg to avoid excess format calls.
4629
4630 * shell.el (shell-dir-cookie-re): Variable deleted.
4631 (shell-dir-cookie-watcher): Function deleted.
4632 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4633 with dirtrack-mode.
4634
4635 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4636
4637 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4638 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4639 libgnutls-26.dll.
4640
4641 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4642
4643 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4644
4645 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4646
4647 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4648 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4649
4650 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4653 also for alternative shells.
4654 (tramp-open-connection-setup-interactive-shell): Check, whether
4655 the shell is a busybox.
4656 (tramp-send-command): Don't suppress multiple prompts for
4657 busyboxes, it hurts.
4658
4659 2011-12-28 Chong Yidong <cyd@gnu.org>
4660
4661 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4662 (gdb-get-source-file): Move mode line update to
4663 gdb-get-source-file (Bug#10087).
4664
4665 2011-12-25 Chong Yidong <cyd@gnu.org>
4666
4667 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4668 gud-gdb-marker-filter without taking it as an argument.
4669 (gud-gdb-run-command-fetch-lines): Caller changed.
4670 (gud-gdb-completion-function): New variable.
4671 (gud-gdb-completion-at-point): Use it.
4672 (gud-gdb-completions-1): Split from gud-gdb-completions.
4673
4674 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4675 function as separate arguments.
4676 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4677 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4678 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4679 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4680 (gdb-stopped, def-gdb-auto-update-trigger)
4681 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4682 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4683 Callers changed.
4684 (gud-gdbmi-completions): New function.
4685 (gdb): Use it for generating the completion table.
4686
4687 2011-12-24 Alan Mackenzie <acm@muc.de>
4688
4689 Introduce a mechanism to widen the region used in context font
4690 locking. Use this to protect declarations from losing their contexts.
4691
4692 * progmodes/cc-langs.el (c-before-font-lock-functions):
4693 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4694 (c-before-context-fontification-functions): New defvar, a list of
4695 functions to be run just before context (etc.) font locking.
4696
4697 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4698 New, functionality extracted from
4699 c-neutralize-syntax-in-and-mark-CPP.
4700 (c-in-after-change-fontification): New variable.
4701 (c-after-change): Set c-in-after-change-fontification.
4702 (c-set-fl-decl-start): Rejig its interface, so it can be called
4703 from both after-change and context fontifying.
4704 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4705 New functions.
4706 (c-standard-font-lock-fontify-region-function): New variable.
4707 (c-font-lock-fontify-region): New function.
4708
4709 2011-12-24 Juri Linkov <juri@jurta.org>
4710
4711 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4712 (Bug#10348)
4713
4714 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4715
4716 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4717 existence of source file. (Bug#10325)
4718
4719 2011-12-23 Alan Mackenzie <acm@muc.de>
4720
4721 Fix unstable fontification inside templates.
4722
4723 * progmodes/cc-langs.el (c-before-font-lock-functions):
4724 Newly created from the singular version. The (c c++ objc) entry now
4725 additionally has c-set-fl-decl-start. The other languages (apart
4726 from AWK) have that as a single entry.
4727
4728 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4729 The functionality for "local" declarations has been extracted to
4730 c-set-fl-decl-start.
4731
4732 * progmodes/cc-mode.el (c-common-init, c-after-change):
4733 Changes due to pluralisation of c-before-font-lock-functions.
4734 (c-set-fl-decl-start): New function, extracted from
4735 c-font-lock-enclosing-decls and enhanced.
4736
4737 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4738
4739 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4740
4741 2011-12-22 Juri Linkov <juri@jurta.org>
4742
4743 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4744
4745 2011-12-22 Chong Yidong <cyd@gnu.org>
4746
4747 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4748
4749 2011-12-21 Drew Adams <drew.adams@oracle.com>
4750
4751 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4752
4753 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4754
4755 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4756
4757 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4758
4759 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4760 highlighting and support. Fix up comments for capitalization.
4761 (cfengine-mode-debug): New var.
4762 (cfengine3-mode): Change the modeline indicator to "CFE3".
4763 (cfengine3-font-lock-keywords): Improve defun highlighting.
4764 (cfengine2-actions): Rename from `cfengine-actions'.
4765 (cfengine2-font-lock-keywords): Rename from
4766 `cfengine-font-lock-keywords'.
4767 (cfengine2-imenu-expression): Rename from
4768 `cfengine-imenu-expression'.
4769 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4770 (cfengine2-beginning-of-defun): Rename from
4771 `cfengine-beginning-of-defun'.
4772 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4773 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4774 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4775 modeline indicator to "CFE2".
4776 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4777 (cfengine-mode-abbrevs): Mark obsolete.
4778
4779 2011-12-21 Chong Yidong <cyd@gnu.org>
4780
4781 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4782 filename argument.
4783
4784 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4785
4786 * window.el (window-normalize-buffer-to-display): Remove.
4787 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4788
4789 2011-12-19 Chong Yidong <cyd@gnu.org>
4790
4791 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4792 Don't signal an error in a predicate function; return non-nil.
4793 (vc-dir-mark-file): Move the error here.
4794 (vc-dir-mark-unmark): If acting on the region, keep going if one
4795 of the entries cannot be marked/unmarked.
4796 (vc-dir-mark-all-files): If current entry is a directory, mark
4797 only child files, as documented.
4798
4799 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4800
4801 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4802 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4803 addition.
4804
4805 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4806
4807 * term/ns-win.el (ns-get-selection-internal)
4808 (ns-store-selection-internal): Declare.
4809 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4810 Declare as obsolete.
4811 (ns-get-pasteboard, ns-paste-secondary):
4812 Use ns-get-selection-internal.
4813 (ns-set-pasteboard, ns-copy-including-secondary):
4814 Use ns-store-selection-internal.
4815
4816 2011-12-17 Chong Yidong <cyd@gnu.org>
4817
4818 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4819 (vc-deduce-fileset): Doc fix.
4820
4821 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4822
4823 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4824
4825 2011-12-13 Sam Steingold <sds@gnu.org>
4826
4827 * man.el (Man-getpage-in-background): When running under a
4828 window-system, ignore $MANWIDTH and $COLUMNS.
4829
4830 2011-12-15 Kenichi Handa <handa@m17n.org>
4831
4832 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4833 (setup-ethiopic-environment-internal): Comment out key-binding for
4834 ethio-toggle-punctuation.
4835
4836 2011-12-13 Alan Mackenzie <acm@muc.de>
4837
4838 Add the switch statement to AWK Mode.
4839
4840 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4841 "default" to the keywords regexp.
4842
4843 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4844 expression as the rest.
4845 (c-nonlabel-token-key): Allow string literals for AWK.
4846 Refactor for the other modes.
4847
4848 Large brace-block initialisation makes CC Mode slow: Fix.
4849 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4850 routines. Limit backward searching in c-font-lock-enclosing.decl.
4851
4852 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4853 pp-state and literal type in addition to the limits.
4854 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4855 (c-state-literal-at): Use the above new defun.
4856 (c-slow-in-literal, c-fast-in-literal): Remove.
4857 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4858
4859 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4860 being in a literal. Add a limit for backward searching.
4861
4862 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4863 c-slow-in-literal.
4864
4865 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4868
4869 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4870
4871 * window.el (delete-other-windows): Use correct frame in call to
4872 window-with-parameter.
4873
4874 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4875
4876 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4877 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4878 (makefile-gmake-statements, makefile-makepp-statements):
4879 Use it and add new makepp keywords.
4880 (makefile-makepp-font-lock-keywords): Add new patterns.
4881 (makefile-match-function-end): Match new [...] and [[...]].
4882
4883 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4884
4885 * ses.el (ses-call-printer-return, ses-cell-property-get)
4886 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4887 (ses-create-cell-variable, ses-reset-header-string)
4888 (ses-cell-set-formula, ses-repair-cell-reference-all)
4889 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4890 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4891 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4892 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4893 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4894 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4895 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4896 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4897 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4898 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4899 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4900 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4901
4902 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4903
4904 * ses.el: The overall change is to add cell renaming, that is
4905 setting fancy names for cell symbols other than name matching
4906 "\\`[A-Z]+[0-9]+\\'" regexp .
4907 (ses-create-cell-variable): New defun.
4908 (ses-relocate-formula): Relocate formulas only for cells the
4909 symbols of which are not renamed, i.e. symbols whose names do not
4910 match regexp "\\`[A-Z]+[0-9]+\\'".
4911 (ses-relocate-all): Relocate values only for cells the symbols of
4912 which are not renamed.
4913 (ses-load): Create cells variables as the (ses-cell ...) are read,
4914 in order to check row col consistency with cell symbol name only
4915 for cells that are not renamed.
4916 (ses-replace-name-in-formula): New defun.
4917 (ses-rename-cell): New defun.
4918
4919 2011-12-11 Chong Yidong <cyd@gnu.org>
4920
4921 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4922 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4923
4924 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4925
4926 * window.el (other-window): Fix docstring.
4927
4928 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4929
4930 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4931 `from' or `to' address before taking its substring.
4932 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4933 encoded name is chopped in the middle of the encoded string, and
4934 thus displayed encoded.
4935
4936 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4937
4938 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4939
4940 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4941
4942 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4943 to use texinfo-update-node and commands that call it if the
4944 Texinfo file uses @node lines without next/prev/up pointers.
4945 Correct outdated description about texinfo-master-menu.
4946 (texinfo-all-menus-update, texinfo-master-menu)
4947 (texinfo-update-node, texinfo-every-node-update)
4948 (texinfo-multiple-files-update): Doc fix. Warn against updating
4949 all the @node lines.
4950 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4951 argument is numeric. Explain better in the doc string what the
4952 function really does.
4953 (texinfo-insert-master-menu-list): Improve the error message
4954 displayed if there's no menu in the Top node.
4955 (Bug#2975) See also this thread:
4956 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4957
4958 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4959
4960 * speedbar.el (speedbar-supported-extension-expressions):
4961 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4962
4963 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4964
4965 * printing.el (pr-mode-alist):
4966 * simple.el (filter-buffer-substring-functions)
4967 (completion-list-insert-choice-function):
4968 * window.el (window-with-parameter, window-atom-root)
4969 (window-sides-slots, window-size-fixed, window-min-delta)
4970 (window-max-delta, window--resize-mini-window)
4971 (window--resize-child-windows-normal, window-tree)
4972 (delete-other-windows, quit-window, split-window)
4973 (display-buffer-record-window, special-display-buffer-names)
4974 (special-display-regexps, special-display-popup-frame)
4975 (same-window-p, split-window-sensibly)
4976 (display-buffer-overriding-action, display-buffer-alist)
4977 (display-buffer-base-action, display-buffer, switch-to-buffer)
4978 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4979 (fit-window-to-buffer, recenter-positions)
4980 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4981 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4982 and remove unneeded backslashes in docstrings.
4983
4984 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4987
4988 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4989 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4990 end in ".mk".
4991 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4992 when reading the makefile (bug#10116).
4993
4994 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4997 (bug#10116).
4998
4999 2011-12-06 Glenn Morris <rgm@gnu.org>
5000
5001 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5002
5003 2011-12-06 Chong Yidong <cyd@gnu.org>
5004
5005 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5006
5007 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * textmodes/table.el (table-shorten-cell): Fix typo.
5010
5011 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5012
5013 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5014
5015 2011-12-05 Eli Zaretskii <eliz@gnu.org>
5016
5017 * descr-text.el (describe-char): Fix display of strong
5018 right-to-left characters and directional embeddings and overrides.
5019
5020 * simple.el (what-cursor-position): Fix display of codepoints of
5021 strong right-to-left characters.
5022
5023 2011-12-05 Chong Yidong <cyd@gnu.org>
5024
5025 * faces.el (read-color): Doc fix.
5026
5027 2011-12-05 Glenn Morris <rgm@gnu.org>
5028
5029 * align.el (align--set-marker): Add doc-string.
5030 Don't try to move something that is not a marker. (Bug#10216)
5031
5032 2011-12-04 Glenn Morris <rgm@gnu.org>
5033
5034 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5035 overly zealous deletion of trailing whitespace.
5036
5037 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5038
5039 * server.el (server-delete-client): On Windows, do not try to delete
5040 the only terminal.
5041 (server-process-filter): On Windows, treat requests for a tty frame as
5042 if they were for a GUI frame if the running server is in GUI mode.
5043
5044 2011-12-03 Glenn Morris <rgm@gnu.org>
5045
5046 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5047
5048 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * electric.el: Streamline electric-indent's hook.
5051 (electric-indent-chars): Revert to simple list.
5052 (electric-indent-functions): New var.
5053 (electric-indent-post-self-insert-function): Use it.
5054
5055 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5056 there's no inferior buffer (bug#10196).
5057 (prolog-consult-compile): Don't use toggle-read-only.
5058
5059 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5060
5061 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5062 interrupt. (Bug#10187)
5063
5064 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5067 (bug#9160).
5068
5069 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5070 (bug#10191).
5071
5072 2011-12-02 Juri Linkov <juri@jurta.org>
5073
5074 * info.el (Info-search): Display "end of manual" when Isearch
5075 reaches the end of single-file Info manual. (Bug#9918)
5076
5077 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5078
5079 * isearch.el (isearch-message-prefix): Run the input method part
5080 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5081
5082 2011-12-02 Juri Linkov <juri@jurta.org>
5083
5084 * isearch.el (isearch-occur): Use `word-search-regexp' for
5085 `isearch-word'.
5086 (isearch-search-and-update): Add condition for `isearch-word' and
5087 call `word-search-regexp'. (Bug#10145)
5088
5089 2011-12-01 Glenn Morris <rgm@gnu.org>
5090
5091 * eshell/em-hist.el (eshell-hist-initialize):
5092 Handle eshell-history-size nil and HISTSIZE set or unset.
5093 (eshell-history-file-name, eshell-history-size): Fix custom type.
5094
5095 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5098
5099 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5100
5101 * progmodes/verilog-mode.el (verilog-pretty-expr):
5102 Rework verilog-pretty-expr to handle new assignment operators in system
5103 verilog, such as += *= and the like.
5104 (verilog-assignment-operator-re): Regular expression to find the
5105 assigment operator in a verilog assignment.
5106 (verilog-assignment-operation-re): Regular expression to find an
5107 assignment statement for pretty-expr.
5108 (verilog-in-attribute-p): Query returns true if point is in an
5109 attribute context; used to skip these for expression line up from
5110 pretty-expr.
5111 (verilog-in-parameter-p): Query returns true if point is in an
5112 parameter definition context; used to skip these for expression
5113 line up from pretty-expr.
5114 (verilog-in-parenthesis-p): Query returns true if point is in a
5115 parenthetical expression, specifically ( ) but not [ ] or { };
5116 used by pretty-expr.
5117 (verilog-just-one-space): If there is no space, don't add one.
5118 (verilog-get-lineup-indent-2): Specifically skip just attribute
5119 contexts for expression lineup, rather than skipping all
5120 parenthetical expressions.
5121 (verilog-calculate-indent): Fix comment, and fix indent.
5122 (verilog-do-indent): Indent declarations in lists (suggested by
5123 Joachim Lechner).
5124 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5125 skeleton items.
5126 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5127 by Alain Mellan).
5128
5129 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5130
5131 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5132 parameters with embedded comments. Reported by Ray Stevens.
5133 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5134 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5135 Reported by Tim Holt.
5136 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5137 instantiated by upper module causing wrong expansion until AUTOed a
5138 second time. Reported by K C Buckenmaier.
5139 (verilog-diff-auto): Fix showing .* as a difference when
5140 `verilog-auto-star-save' off. Reported by Dan Dever.
5141 (verilog-auto-reset, verilog-read-always-signals)
5142 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5143 temporary signals in reset list if
5144 verilog-auto-reset-blocking-in-non is nil, and match assignment
5145 style to each signal's assignment type, bug381.
5146 Reported by Thomas Esposito.
5147 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5148 (verilog-uvm-statement-re): Support UVM indentation and
5149 highlighting, with old OVM keywords only.
5150 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5151 Support AUTOTIEOFF creating non-wire data types.
5152 Suggested by Jonathan Greenlaw.
5153 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5154 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5155 (verilog-inject-sense, verilog-read-inst-pins)
5156 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5157 Fix mismatching parenthesis inside commented out code when deleting
5158 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5159 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5160 non-numeric vector width. Reported by Alex Reed.
5161 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5162 detecting signals with parameter widths. Reported by Alex Reed.
5163 (verilog-auto-delete-trailing-whitespace):
5164 With `verilog-auto-delete-trailing-whitespace' remove trailing
5165 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5166 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5167 Fix verilog-scan-cache corruption when running user AUTO expansion
5168 hooks that call indentation routines.
5169 (verilog-simplify-range-expression): Fix typo ignoring lower case
5170 identifiers.
5171 (verilog-delete-auto): Fix delete-autos to also remove user created
5172 automatics, as long as they start with AUTO.
5173 (verilog-batch-diff-auto, verilog-diff-auto)
5174 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5175 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5176 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5177 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5178 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5179 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5180 is disabled and its cache will get corrupt, causing AUTOS not to
5181 expand. Instead use only -quick functions.
5182 (verilog-scan-region): Fix scanning over escaped quotes.
5183 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5184 (verilog-re-search-backward-quick)
5185 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5186 related functions now ignore strings, to fix misparsing of strings
5187 with magic comments embedded in them.
5188 (verilog-read-auto-template):
5189 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5190 Reported by Brad Dobbie.
5191 (verilog-read-auto-template):
5192 Fix 'verilog-auto-inst-template-numbers' with comments.
5193 Reported by Brad Dobbie.
5194 (verilog-auto-inst, verilog-auto-inst-param)
5195 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5196 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5197 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5198 debugging templates without merge conflicts, bug357.
5199 Reported by Brad Dobbie.
5200 (verilog-read-auto-template):
5201 Fix verilog-auto-inst-template-numbers with multiple templates.
5202 Reported by Brad Dobbie.
5203 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5204 abbrevs so user won't be asked to save.
5205 (verilog-read-auto-lisp-present): Fix to start at beginning of
5206 buffer in case called outside of verilog-auto.
5207 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5208 to "X-2". Reported by Matthew Myers.
5209 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5210 all inputs from module templates. Reported by Leith Johnson.
5211 (verilog-module-inside-filename-p): Fix locating programs as with
5212 modules.
5213 (verilog-auto-inst-port): Fix vl-width expressions when using
5214 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5215 (verilog-decls-get-regs, verilog-decls-get-signals,
5216 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5217 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5218 verilog-read-decls): Combine reg and wire structures into one var
5219 structure to represent SystemVerilog concepts.
5220 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5221 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5222 (verilog-auto-wire-type, verilog-insert-definition):
5223 Add verilog-auto-wire-type and AUTOLOGIC to support using
5224 SystemVerilog "logic" keyword instead of "wire"/"reg".
5225 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5226 to declares outputs that also have assignments (presumably in an
5227 ifdef or generate if so there's not a driver conflict).
5228 Reported by Matthew Myers.
5229 (verilog-auto-declare-nettype, verilog-insert-definition):
5230 Add verilog-auto-declare-nettype to fix declarations using
5231 `default_nettype none. Reported by Julian Gorfajn.
5232 (verilog-read-always-signals-recurse, verilog-read-decls)
5233 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5234 malformed end statement, bug325. Reported by Joshua Wise and
5235 Andrew Drake.
5236 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5237 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5238 when expanding .* in interfaces, bug320.
5239 Reported by Pierre-David Pfister.
5240 (verilog-read-module-name): Fix import statements between module
5241 name and open parenthesis, bug317.
5242 Reported by Pierre-David Pfister.
5243 (verilog-simplify-range-expression): Fix simplification of
5244 multiplications inside AUTOWIRE connections, bug303.
5245 (verilog-auto-inst-port): Support parameter expansion in
5246 multidimensional arrays.
5247 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5248 after "assert property". Reported by Julian Gorfajn.
5249 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5250 with multiplication, bug303.
5251 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5252 Reported by Jan Frode Lonnum.
5253
5254 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5255
5256 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5257 (hfy-shell-file-name, hfy-shell):
5258 * international/fontset.el (x-decompose-font-name): Fix typos.
5259
5260 2011-11-29 Ken Brown <kbrown@cornell.edu>
5261
5262 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5263 (gdb-version): Remove defvar.
5264 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5265 (gdb-gud-context-command, gdb-non-stop-handler)
5266 (gdb-current-context-command, gdb-stopped): Use it.
5267 (gdb-init-1): Enable pretty printing here.
5268 (gdb-non-stop-handler): Don't enable pretty-printing here.
5269 Check to see if the target supports non-stop mode; if not, turn off
5270 non-stop mode. Use the following.
5271 (gdb-check-target-async): New defun.
5272 (gud-watch, gdb-stopped): Fix whitespace.
5273 (gdb-get-source-file): Don't try to display the source file if
5274 `gdb-main-file' is nil.
5275
5276 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * align.el: Try to generate fewer markers (bug#10047).
5279 (align--set-marker): New macro.
5280 (align-region): Use it.
5281
5282 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5285
5286 2011-11-29 Chong Yidong <cyd@gnu.org>
5287
5288 * indent.el (indent-for-tab-command, indent-according-to-mode):
5289 Doc fix.
5290 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5291
5292 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5293
5294 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5295 aware of remote file names. (Bug#10124)
5296
5297 2011-11-29 Chong Yidong <cyd@gnu.org>
5298
5299 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5300
5301 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * files.el (find-file): Don't use force-same-window (bug#10144).
5304 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5305 use pop-to-buffer if the selected window can't be used.
5306 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5307
5308 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5309
5310 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5311 special-mode-map.
5312
5313 2011-11-28 Chong Yidong <cyd@gnu.org>
5314
5315 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5316
5317 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5318
5319 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5320 gdb-get-source-file-list on gdb-create-source-file-list.
5321
5322 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5323
5324 * whitespace.el (whitespace-newline): Use a different foreground
5325 color for 16-color light-background displays.
5326
5327 2011-11-24 Chong Yidong <cyd@gnu.org>
5328
5329 * window.el (display-buffer--special-action): Doc fix.
5330
5331 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5334 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5335 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5336 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5337 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5338 (avl-tree-stack-first):
5339 * emacs-lisp/cconv.el (cconv--analyse-use):
5340 * net/gnutls.el (gnutls-negotiate): Fix typos.
5341
5342 2011-11-24 Glenn Morris <rgm@gnu.org>
5343
5344 * lpr.el (lpr-windows-system, lpr-lp-system):
5345 * mail/binhex.el (binhex-begin-line):
5346 * progmodes/grep.el (grep-history, grep-find-history):
5347 * textmodes/flyspell.el:
5348 * vc/pcvs-defs.el (cvs-global-menu):
5349 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5350 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5351 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5352
5353 * net/tls.el: Fix case of "GnuTLS".
5354
5355 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5356
5357 * version.el (emacs-build-system): Give it a doc-string.
5358
5359 2011-11-24 Juri Linkov <juri@jurta.org>
5360
5361 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5362
5363 2011-11-24 Glenn Morris <rgm@gnu.org>
5364
5365 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5366 if called on a non-mime message just toggle the headers. (Bug#8006)
5367
5368 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5371 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5372 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5373 (allout-rebullet-heading, allout-open-sibtopic)
5374 (allout-toggle-current-subtree-encryption)
5375 (allout-toggle-subtree-encryption, allout-encrypt-string)
5376 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5377 (allout-distinctive-bullets-string, allout-auto-activation):
5378 * window.el (window-normalize-buffer-to-display):
5379 * progmodes/verilog-mode.el (verilog-batch-indent):
5380 * textmodes/bibtex.el (bibtex-field-braces-opt)
5381 (bibtex-field-strings-opt):
5382 * vc/cvs-status.el (cvs-tree-merge):
5383 Fix typos.
5384
5385 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5386
5387 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5388 `non-essential' to t, in order to avoid remote connections.
5389
5390 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5391
5392 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5393 On MS-DOS and MS-Windows, compare with loaddefs.el
5394 case-insensitively.
5395
5396 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5397
5398 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5399
5400 2011-11-23 Glenn Morris <rgm@gnu.org>
5401
5402 * paths.el (rmail-file-name): Reformat the doc-string so that it
5403 is picked up.
5404
5405 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5406 (rmail-auto-file): Ignore case in the "special" field names,
5407 as mail-fetch-field does for all others.
5408
5409 * mail/rmail.el (rmail-forward):
5410 * mail/rmailkwd.el (rmail-set-label):
5411 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5412 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5413
5414 * mail/rmail.el (rmail-current-message): Doc fix.
5415
5416 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5417
5418 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5421
5422 2011-11-22 Glenn Morris <rgm@gnu.org>
5423
5424 * mail/rmailmm.el (test-rmail-mime-handler)
5425 (test-rmail-mime-bulk-handler)
5426 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5427
5428 2011-11-21 Juri Linkov <juri@jurta.org>
5429
5430 * calc/calc.el (calc-read-key-sequence):
5431 Let-bind `input-method-function' to nil. (Bug#10018)
5432
5433 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5434
5435 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5436 Tell the caller that the next line needs recomputation, even
5437 though it doesn't start a sexp (bug#10094).
5438
5439 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5442
5443 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5446 Use force-same-window.
5447
5448 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5449
5450 * descr-text.el (describe-char-unicode-data):
5451 * json.el (json-string-escape):
5452 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5453 (Footnote-unicode, Footnote-style-p):
5454 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5455
5456 2011-11-20 Chong Yidong <cyd@gnu.org>
5457
5458 * window.el (replace-buffer-in-windows): Restore interactive spec.
5459
5460 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5463
5464 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5465 (byte-compile-global-not-obsolete-vars): New var.
5466 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5467 Use it.
5468 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5469
5470 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5471
5472 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5473 * progmodes/pascal.el (electric-pascal-equal):
5474 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5475 * xml.el (xml-substitute-special): Fix typos.
5476
5477 2011-11-20 Glenn Morris <rgm@gnu.org>
5478
5479 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5480 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5481 Doc fixes.
5482 (rmail-decode-mime-charset): Mark as obsolete.
5483
5484 * mail/rmailsum.el (rmail-message-regexp-p-1):
5485 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5486 Before using mime functions, check they are set. (Bug#10077)
5487
5488 2011-11-19 Juri Linkov <juri@jurta.org>
5489
5490 * info.el (Info-finder-find-node): Use `package--builtins' instead
5491 of `package-alist'. Use node names formed by the pattern "Keyword "
5492 and the keyword name.
5493
5494 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5495
5496 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5497
5498 2011-11-19 Juri Linkov <juri@jurta.org>
5499
5500 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5501 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5502 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5503 `old-history', `old-history-forward'. Add let-binding
5504 `window-selected'. Remove calls to `kill-buffer',
5505 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5506 before calling `Info-find-node', so `Info-find-node-2' will reread
5507 the Info file. Restore window positions only when `window-selected'
5508 is non-nil.
5509
5510 2011-11-19 Juri Linkov <juri@jurta.org>
5511
5512 * isearch.el (isearch-lazy-highlight-new-loop):
5513 Remove condition `(not isearch-error)'. (Bug#9918)
5514
5515 * misearch.el (multi-isearch-search-fun): Add condition
5516 `(not bound)' to ignore lazy-highlighting search.
5517 Add the search-failed message "end of multi" when the end of
5518 multi-sequence is reached. Uncapitalize the search-failed
5519 message "Repeat for next buffer".
5520
5521 * info.el (Info-search): Add the search-failed message
5522 "end of the manual" when the end of the manual is reached
5523 in Isearch mode.
5524
5525 2011-11-19 Juri Linkov <juri@jurta.org>
5526
5527 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5528 Use non-destructive `remove' instead of `delete' because
5529 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5530 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5531
5532 2011-11-19 Juri Linkov <juri@jurta.org>
5533
5534 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5535 to nil instead of binding `search-ring' and `regexp-search-ring'.
5536 (Bug#9185)
5537
5538 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5539
5540 * simple.el (line-move): Force movement by logical lines for any
5541 hscrolled window, not only when auto-hscroll-mode is on.
5542 (line-move-visual): Update doc string to that effect. (Bug#10076)
5543
5544 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5545
5546 * language/european.el (macintosh): Define as alias for mac-roman.
5547
5548 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5549
5550 * mail/rmailmm.el (rmail-mime-display-header)
5551 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5552 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5553 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5554 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5555 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5556 of a raw aref.
5557 (rmail-mime-entity-segment): To get past the tagline, move forward
5558 2 more lines, to account for the 2 empty lines that precede and
5559 follow the line with the buttons.
5560 (rmail-mime-update-tagline): Move one more line, to get past the
5561 empty line that follows the buttons in the tagline. (Bug#9520)
5562
5563 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5564
5565 * window.el (window-max-delta-1, window-min-delta-1)
5566 (window-min-size-1, window-state-get-1, window-state-put-1)
5567 (window-state-put-2): Use "window--" prefix.
5568
5569 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5572 (smie-warning-count): New var.
5573 (smie-set-prec2tab): Use it.
5574 (smie-bnf->prec2): Improve warnings. Add docstring.
5575 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5576 (smie-bnf--set-class): New function.
5577 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5578 corner case.
5579
5580 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5581 (compilation-error-properties, compilation-move-to-column):
5582 Handle compilation-first-column while in the target buffer.
5583
5584 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5585 Don't hardcode point-min==1.
5586
5587 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5588 (eshell-rewrite-for-command): Remove workaround.
5589 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5590 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5591 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5592
5593 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5594
5595 2011-11-17 Glenn Morris <rgm@gnu.org>
5596
5597 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5598 Ignore buffer-local generated-autoload-file if it is the same
5599 as the global value. (Bug#10049)
5600
5601 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5602
5603 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5604 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5605 (reftex-toc-previous-heading, reftex-toc-max-level)
5606 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5607 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5608 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5609 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5610 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5611 (reftex-toc-rename-label, reftex-toc-visit-location)
5612 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5613 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5614 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5615 leaving "*toc*" only for references to the buffer.
5616
5617 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5618
5619 * window.el (window-resize, delete-window, split-window):
5620 Replace window-splits by window-combination-resize.
5621 * cus-start.el (window-splits): Replace by window-combination-resize.
5622
5623 2011-11-17 Glenn Morris <rgm@gnu.org>
5624
5625 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5626 Make bash entry derive from sh entry, not shell entry.
5627
5628 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5631 properties of linked files. (Bug#9879)
5632
5633 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5634 local file name.
5635
5636 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5637
5638 * menu-bar.el (menu-bar-file-menu):
5639 * printing.el (pr-ps-utility):
5640 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5641 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5642 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5643 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5644 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5645 (icalendar--convert-cyclic-to-ical)
5646 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5647 (icalendar--convert-ical-to-diary)
5648 (icalendar--convert-recurring-to-diary)
5649 (icalendar--convert-non-recurring-all-day-to-diary)
5650 (icalendar-import-format-sample):
5651 * progmodes/idlw-shell.el (idlwave-shell-mode):
5652 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5653 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5654 (vhdl-ps-print-init): Fix typos.
5655
5656 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5657
5658 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5659 FSF and collapse date sequence, obscure author/maintainer email address
5660 better, remove extra version line, track relocation of author's webpage.
5661
5662 * progmodes/python.el (python-pdbtrack-input-prompt)
5663 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5664 regular python pdb prompts. Adjustments shamelessly taken exactly as
5665 suggested in EmacsWiki page (tiny change):
5666 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5667
5668 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5669
5670 * expand.el (expand-pos, expand-index, expand-point):
5671 Remove redundant info from docstring.
5672 (expand-add-abbrevs): Doc fix.
5673 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5674 (expand-sample-perl-mode-expand-list): Fix typos.
5675
5676 * net/dbus.el (dbus-event-member-name):
5677 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5678 * term/pc-win.el (msdos-create-frame-with-faces):
5679 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5680
5681 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5682
5683 * window.el (split-window, window-state-get-1)
5684 (window-state-put-1, window-state-put-2): Rename occurrences of
5685 window-nest to window-combination-limit.
5686 * cus-start.el (window-nest): Rename to window-combination-limit.
5687
5688 2011-11-16 Chong Yidong <cyd@gnu.org>
5689
5690 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5691 regexp (Bug#10033).
5692
5693 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5696 `completing-read' will remove *Completions* and will preserve
5697 current-buffer for us.
5698 (tmm-add-prompt): Users of *Completions* will always (re)set its
5699 major mode.
5700 (tmm-old-comp-map): Remove.
5701
5702 2011-11-16 Glenn Morris <rgm@gnu.org>
5703
5704 * mail/rmailedit.el: Require rmailmm when compiling.
5705 (rmail-old-mime-state): New declaration.
5706 (rmail-edit-current-message): If editing a mime message,
5707 edit the "raw" message from the mbox buffer.
5708 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5709
5710 2011-11-15 Glenn Morris <rgm@gnu.org>
5711
5712 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5713 which wasn't being used. Add optional arg to force given state.
5714 (rmail-mime): Add optional arg to force given state.
5715
5716 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5719 * frame.el (display-mm-dimensions-alist):
5720 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5721 (outline-move-subtree-down):
5722 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5723 (newsticker--treeview-do-get-node):
5724 * net/quickurl.el (quickurl-list-buffer-name):
5725 * progmodes/dcl-mode.el (dcl-mode):
5726 * progmodes/gdb-mi.el (gdb-mapcar*):
5727 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5728
5729 2011-11-15 Glenn Morris <rgm@gnu.org>
5730
5731 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5732 in a boolean sense, so just make it a boolean, and fix the doc.
5733 (rmail-show-mime-function, rmail-mime-feature)
5734 (rmail-require-mime-maybe): Doc fixes.
5735 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5736
5737 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5738
5739 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5742 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5743 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5744 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5745
5746 2011-11-15 Glenn Morris <rgm@gnu.org>
5747
5748 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5749 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5750 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5751 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5752 (rmail-mime, rmail-show-mime): Doc fixes.
5753
5754 * term/ns-win.el (mode-line-frame-identification):
5755 Leave it alone. (Bug#10051)
5756
5757 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5758
5759 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5760 Handle empty buffers. (Bug#9978)
5761
5762 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * international/mule.el (define-charset):
5765 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5766 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5767 * progmodes/verilog-mode.el (verilog-backward-token):
5768 * textmodes/ispell.el (lookup-words):
5769 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5770
5771 2011-11-14 Glenn Morris <rgm@gnu.org>
5772
5773 * progmodes/executable.el
5774 (executable-make-buffer-file-executable-if-script-p):
5775 Handle file-modes returning nil.
5776
5777 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5778 message - not necessary, and causes problems. (Bug#9831)
5779
5780 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5781
5782 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5783
5784 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5785 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5786 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5787
5788 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5789
5790 * window.el (window-resize, delete-window): Use window-splits
5791 variable instead of function.
5792 (window-state-get-1, window-state-put-2, window-state-put):
5793 Don't deal with windows' splits status.
5794
5795 2011-11-12 Glenn Morris <rgm@gnu.org>
5796
5797 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5798 (apropos-documentation): Doc fixes.
5799
5800 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5801
5802 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5803 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5804
5805 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * electric.el (electric-indent-post-self-insert-function): Make it
5808 possible for a char to only indent in some circumstances.
5809 (electric-indent-mode): Simplify.
5810
5811 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5812
5813 * window.el (windows-with-parameter): Remove unused function.
5814 (windows-at-side): Rename to window-at-side-list.
5815 (window-check, window-atom-check, window-atom-check-1)
5816 (window-side-check, window-size-ignore, window-size-fixed-1)
5817 (window-in-direction-2): Prefix with "window--".
5818 (window-tree-1): Rename to window--subtree, fix doc-string.
5819
5820 2011-11-11 Glenn Morris <rgm@gnu.org>
5821
5822 * subr.el (eval-after-load): If FILE is already loaded,
5823 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5824
5825 2011-11-10 Glenn Morris <rgm@gnu.org>
5826
5827 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5828 Call svn via vc-svn-command rather than vc-do-command.
5829 (vc-svn-command): Add --non-interactive. (Bug#9993)
5830 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5831
5832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5833 Add toggle-read-only. (Bug#7292)
5834 * files.el (toggle-read-only): Mention that it should only
5835 be used interactively. (Bug#10006)
5836
5837 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5840 Adjust regexp for OCaml warnings.
5841
5842 * electric.el (electric-pair-post-self-insert-function): Let user
5843 turn it off buffer-locally (bug#9932).
5844
5845 * progmodes/python.el (python-beginning-of-statement):
5846 Rewrite (bug#2703).
5847
5848 * progmodes/compile.el: Better handle TABs (bug#9749).
5849 (compilation-internal-error-properties)
5850 (compilation-next-error-function): Obey the target buffer's
5851 compilation-error-screen-columns.
5852
5853 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5854
5855 * progmodes/meta-mode.el: Remove obsolete comments.
5856 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5857 Fix typos in docstrings.
5858
5859 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5860
5861 * window.el (window-size-fixed-p): Rewrite doc-string.
5862 (window-resizable-p): Rename to window--resizable-p. Update callers.
5863 (window--resizable): New function. Make all callers of
5864 window-resizable call window--resizable instead.
5865 (window-resizable): Rewrite in terms of window--resizable.
5866
5867 2011-11-08 Glenn Morris <rgm@gnu.org>
5868
5869 * progmodes/delphi.el (delphi-mode-syntax-table):
5870 Let define-derived-mode define a proper syntax table. (Bug#9994)
5871
5872 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * window.el: Stay away from defsubst.
5875 (window-list-no-nils): Remove.
5876 (window-state-get-1, window-state-get): Use backquote instead.
5877
5878 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5879
5880 * emacs-lisp/find-func.el (find-function-read):
5881 Fix incorrect use of default argument in `completing-read'.
5882
5883 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5884
5885 * window.el (display-buffer-function, special-display-function):
5886 Mention display-buffer-record-window but do not mention
5887 help-setup parameter in doc-strings.
5888 (window-min-delta): Fix doc-string typo.
5889
5890 2011-11-08 Chong Yidong <cyd@gnu.org>
5891
5892 * window.el (window-total-height, window-total-width): Doc fix.
5893 (window-body-size): Move from C.
5894 (window-body-height, window-body-width): Move to C.
5895
5896 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * window.el: Make special-display like display-buffer-alist (bug#9532).
5899 (display-buffer--special-action): New function, morphed
5900 from display-buffer--special.
5901 (display-buffer): Use it to handle special-display-buffers at higher
5902 priority (just after display-buffer-alist).
5903 (display-buffer-fallback-action, display-buffer--other-frame-action)
5904 (pop-to-buffer-same-window): Remove display-buffer--special.
5905
5906 2011-11-07 Glenn Morris <rgm@gnu.org>
5907
5908 * calendar/cal-menu.el (cal-menu-set-date-title):
5909 Do nothing if not in a calendar. (Bug#9976)
5910
5911 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * files.el (find-file): Always use selected-window.
5914
5915 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5916
5917 * window.el (window-combinations): Make WINDOW argument
5918 mandatory. Rewrite doc-string.
5919 (walk-window-subtree, window-atom-check, window-min-delta)
5920 (window-max-delta, window--resize-this-window)
5921 (window--resize-root-window-vertically, window-tree)
5922 (balance-windows, window-state-put): Rewrite doc-strings as to
5923 not mention the term "subwindow".
5924 (window--resize-subwindows-skip-p): Rename to
5925 window--resize-child-windows-skip-p.
5926 (window--resize-subwindows-normal): Rename to
5927 window--resize-child-windows-normal.
5928 (window--resize-subwindows): Rename to
5929 window--resize-child-windows.
5930 (window-or-subwindow-p): Rename to window--in-subtree-p.
5931
5932 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5933
5934 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5935 Ensure that mbox format messages end in two newlines (Bug#9974).
5936
5937 2011-11-06 Chong Yidong <cyd@gnu.org>
5938
5939 * window.el (window-combination-p): Function deleted; its
5940 side-effect is not used in any existing code.
5941 (window-combinations, window-combined-p): Call window-*-child
5942 directly.
5943
5944 2011-11-05 Chong Yidong <cyd@gnu.org>
5945
5946 * window.el (window-valid-p): Rename from window-any-p.
5947 (window-size-ignore, window-state-get): Callers changed.
5948 (window-normalize-window): Rename from window-normalize-any-window.
5949 New arg LIVE-ONLY, replacing window-normalize-live-window.
5950 (window-normalize-live-window): Delete.
5951 (window-combination-p, window-combined-p, window-combinations)
5952 (walk-window-subtree, window-atom-root, window-min-size)
5953 (window-sizable, window-sizable-p, window-size-fixed-p)
5954 (window-min-delta, window-max-delta, window-resizable)
5955 (window-resizable-p, window-full-height-p, window-full-width-p)
5956 (window-current-scroll-bars, window-point-1, set-window-point-1)
5957 (window-at-side-p, window-in-direction, window-resize)
5958 (adjust-window-trailing-edge, maximize-window, minimize-window)
5959 (window-deletable-p, delete-window, delete-other-windows)
5960 (record-window-buffer, unrecord-window-buffer)
5961 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5962 (quit-window, split-window, window-state-put)
5963 (set-window-text-height, fit-window-to-buffer)
5964 (shrink-window-if-larger-than-buffer): Callers changed.
5965
5966 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5967
5968 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5969 rfc2047-decode-string.
5970 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5971 warnings.
5972
5973 * window.el (window-body-height, window-body-width): Mention in
5974 the doc string that the return values are in frame's canonical
5975 units. (Bug#9949)
5976
5977 2011-11-03 Alan Mackenzie <acm@muc.de>
5978
5979 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5980 change in cc-engine.el.
5981
5982 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5985
5986 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5987
5988 * window.el (quit-window): Call unrecord-window-buffer after
5989 showing another buffer in the window. (Bug#9937)
5990 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5991
5992 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5993
5994 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5995 Accept status with more than 9 shelves. (Bug#9935)
5996 Reported by Colin D Bennett <colin@gibibit.com>.
5997
5998 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5999
6000 * help.el (with-help-window): Don't reference
6001 temp-buffer-show-specifiers in doc-string.
6002
6003 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6004
6005 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6006 menu-item.
6007
6008 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6009
6010 * whitespace.el: New version 13.2.2.
6011 (whitespace-newline-mode): Disable properly. Reported by Sarah
6012 <EmacsWiki>.
6013
6014 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
6015
6016 * net/newst-treeview.el: Remove "Time-stamp".
6017 (newsticker--group-manage-orphan-feeds): Do not call
6018 newsticker--treeview-tree-update.
6019 (newsticker-treeview-update, newsticker-treeview):
6020 Call newsticker--treeview-tree-update if necessary.
6021
6022 2011-10-30 Martin Rudalics <rudalics@gmx.at>
6023
6024 * window.el (window-iso-combination-p, window-iso-combined-p)
6025 (window-iso-combinations): Remove "iso-" infix.
6026 Suggested by Chong Yidong.
6027 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6028 (window-max-delta-1, window-resize, window--resize-siblings)
6029 (window--resize-this-window, adjust-window-trailing-edge)
6030 (split-window, balance-windows-1)
6031 (shrink-window-if-larger-than-buffer):
6032 * calendar/calendar.el (calendar-generate-window):
6033 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6034
6035 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6036
6037 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6038 in place (bug#9907).
6039 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6040 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6041 (eshell-structure-basic-command, eshell-rewrite-while-command)
6042 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6043 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6044 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6045 (eshell-do-pipelines-synchronously, eshell-eval-command):
6046 Use backquotes and prefer setq to set.
6047 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6048 (eshell-macrop): Use functionp.
6049 (eshell-do-eval): Handle multiple expressions in `while' body.
6050
6051 2011-10-30 Chong Yidong <cyd@gnu.org>
6052
6053 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6054 instead of set-mark (Bug#9810).
6055
6056 2011-10-30 Chong Yidong <cyd@gnu.org>
6057
6058 * window.el (split-window-below, split-window-right): Rename from
6059 split-window-above-each-other and split-window-side-by-side
6060 respectively. All callers changed.
6061 (split-window-sensibly, split-window-sensibly): Use them.
6062 (split-window-keep-point): Doc fix.
6063
6064 * isearch.el: Add isearch-scroll property to split-window-below
6065 and split-window-right.
6066
6067 * follow.el (follow-mode):
6068 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6069 * progmodes/ada-xref.el (ada-gdb-application):
6070 * emulation/vip.el (vip-buffer-in-two-windows):
6071 * image-dired.el (image-dired-dired-with-window-configuration):
6072 * dired-x.el (dired-do-find-marked-files):
6073 * dired.el (dired-pop-to-buffer):
6074 * bs.el (bs--show-with-configuration):
6075 * vc/emerge.el (emerge-setup-windows):
6076 * textmodes/two-column.el (2C-two-columns):
6077 * textmodes/reftex-toc.el (reftex-toc):
6078 * progmodes/gdb-mi.el (gdb-setup-windows):
6079 * progmodes/fortran.el (fortran-window-create):
6080 * net/newst-treeview.el (newsticker--treeview-window-init):
6081 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6082 * emulation/tpu-edt.el (tpu-gold-map):
6083 * emulation/crisp.el (crisp-mode-map):
6084 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6085
6086 2011-10-29 Chong Yidong <cyd@gnu.org>
6087
6088 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6089
6090 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6091
6092 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6093 forged Ispell output (Bug#7904).
6094
6095 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6096
6097 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * doc-view.el: Avoid ugly errors about not finding nil.
6100 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6101 (doc-view-dvipdf-program, doc-view-unoconv-program)
6102 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6103 Avoid nil or absolute file name as default value.
6104 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6105
6106 2011-10-28 Alan Mackenzie <acm@muc.de>
6107
6108 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6109
6110 2011-10-28 Alan Mackenzie <acm@muc.de>
6111
6112 Amend the handling of c-beginning/end-of-defun in nested declaration
6113 scopes.
6114
6115 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6116 cc-langs.el. Change it to a defcustom.
6117
6118 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6119 cc-vars.el.
6120
6121 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6122 Prevent "class foo : bar" being spuriously recognized as a label.
6123
6124 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6125 Add parameter `inclusive' (to include enclosing braces in the region).
6126 (c-widen-to-enclosing-decl-scope): New function.
6127 (c-while-widening-to-decl-block): New macro.
6128 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6129 outward for defun boundaries, and correspondingly change symbol
6130 `respect-enclosure' to `go-outward'.
6131 (c-declaration-limits): Change algorithm to report only the "innermost"
6132 defun's boundaries.
6133
6134 2011-10-28 Deniz Dogan <deniz@dogan.se>
6135
6136 * net/rcirc.el (rcirc-mode): Use hard newlines.
6137
6138 2011-10-28 Alan Mackenzie <acm@muc.de>
6139
6140 Amend to indent and fontify macros "which include their own semicolon"
6141 correctly, using the "virtual semicolon" mechanism.
6142
6143 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6144
6145 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6146 Recode to scan one line at a time rather than having \n and \r
6147 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6148 (c-forward-label): Amend for virtual semicolons.
6149 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6150
6151 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6152 of the new C macros.
6153
6154 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6155 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6156 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6157 (c-opt-cpp-macro-define): Make into a full language variable.
6158 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6159 AWK Mode (including \n, \r) removed, no longer needed.
6160
6161 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6162 Invoke c-make-macro-with-semi-re.
6163
6164 * progmodes/cc-vars.el (c-macro-with-semi-re):
6165 (c-macro-names-with-semicolon): New variables.
6166 (c-make-macro-with-semi-re): New function.
6167
6168 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * vc/log-edit.el: Fill empty field rather than adding new one.
6171 (log-edit-add-field): New function.
6172 (log-edit-insert-changelog): Use it.
6173
6174 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6175
6176 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6177
6178 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6181 (gdb--check-interpreter): New function.
6182 (gdb): Use it.
6183
6184 2011-10-27 Glenn Morris <rgm@gnu.org>
6185
6186 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6187 (least-positive-float, least-negative-float)
6188 (least-positive-normalized-float, least-negative-normalized-float)
6189 (float-epsilon, float-negative-epsilon):
6190 Remove unnecessary declarations.
6191
6192 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6193 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6194 (least-positive-float, least-negative-float)
6195 (least-positive-normalized-float, least-negative-normalized-float)
6196 (float-epsilon, float-negative-epsilon): Add doc-strings,
6197 based on those in cl.texi.
6198
6199 * files.el (set-visited-file-name): If the major-mode changed,
6200 reload the local variables. (Bug#9796)
6201
6202 2011-10-27 Chong Yidong <cyd@gnu.org>
6203
6204 * subr.el (change-major-mode-after-body-hook): New hook.
6205 (run-mode-hooks): Run it.
6206
6207 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6208 Use change-major-mode-before-body-hook.
6209
6210 * simple.el (fundamental-mode):
6211 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6212 change introducing fundamental-mode-hook.
6213
6214 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6217
6218 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6219
6220 * ido.el (ido-file-name-all-completions-1): Do not require
6221 tramp.el explicitly. (Bug#7583)
6222
6223 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * progmodes/octave-mod.el:
6226 * progmodes/octave-inf.el: Update maintainer.
6227
6228 2011-10-26 Chong Yidong <cyd@gnu.org>
6229
6230 * subr.el (with-wrapper-hook): Rewrite doc.
6231
6232 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6233
6234 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6235 filenames "/method:foo:". (Bug#9793)
6236
6237 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6240 (bug#9865).
6241
6242 2011-10-24 Glenn Morris <rgm@gnu.org>
6243
6244 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6245
6246 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6247
6248 * notifications.el: Add the requirement of a running D-Bus session
6249 bus to the Commentary.
6250
6251 2011-10-24 Juri Linkov <juri@jurta.org>
6252
6253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6254 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6255 (Bug#9364)
6256
6257 2011-10-24 Juri Linkov <juri@jurta.org>
6258
6259 * info.el (Info-following-node-name-re): Add newline to the list
6260 of allowed characters for leading space. (Bug#9824)
6261
6262 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * progmodes/octave-inf.el (inferior-octave-mode-map):
6265 Fix C-c C-h binding.
6266 * progmodes/octave-mod.el (octave-help): Remove.
6267
6268 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6269
6270 Sync with Tramp 2.2.3.
6271
6272 * net/tramp-cache.el (top): Pacify byte-compiler using
6273 `init-file-user' and `site-run-file'.
6274
6275 * net/trampver.el: Update release number.
6276
6277 2011-10-23 Chong Yidong <cyd@gnu.org>
6278
6279 * files.el (toggle-read-only): Remove obsolete comment about
6280 version control.
6281
6282 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6283 for toggle-read-only. Note that this hasn't called vc-next-action
6284 since 2008-05-02, though it wasn't documented at the time.
6285
6286 * vc/ediff-init.el (ediff-toggle-read-only-function):
6287 Use toggle-read-only.
6288
6289 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6290
6291 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6292 of c-parse-state.
6293
6294 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6295 correct faulty logical expression.
6296 (c-parse-state-state, c-record-parse-state-state):
6297 (c-replay-parse-state-state): New defvar/defuns.
6298 (c-debug-parse-state): Use new functions.
6299
6300 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6301
6302 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6303 last fix. Use window-in-direction correctly.
6304
6305 2011-10-21 Chong Yidong <cyd@gnu.org>
6306
6307 * progmodes/idlwave.el (idlwave-mode):
6308 * progmodes/vera-mode.el (vera-mode): No need to set
6309 require-final-newline; that's done in prog-mode.
6310 Suggested by Stefan Monnier.
6311
6312 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6313
6314 * mouse.el (mouse-drag-window-above)
6315 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6316 (mouse-drag-mode-line-1, mouse-drag-header-line)
6317 (mouse-drag-vertical-line-rightward-window): Remove.
6318 (mouse-drag-line): New function.
6319 (mouse-drag-mode-line, mouse-drag-header-line)
6320 (mouse-drag-vertical-line): Call mouse-drag-line.
6321 * window.el (window-at-side-p, windows-at-side): New functions.
6322
6323 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6324
6325 * tar-mode.el (tar-grind-file-mode):
6326 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6327
6328 2011-10-21 Chong Yidong <cyd@gnu.org>
6329
6330 * progmodes/idlwave.el (idlwave-mode):
6331 * progmodes/vera-mode.el (vera-mode):
6332 Use mode-require-final-newline.
6333
6334 2011-10-20 Glenn Morris <rgm@gnu.org>
6335
6336 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6337
6338 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6339
6340 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6341
6342 2011-10-20 Chong Yidong <cyd@gnu.org>
6343
6344 * emulation/cua-base.el (cua-mode):
6345 * mail/footnote.el (footnote-mode):
6346 * mail/mailabbrev.el (mail-abbrevs-mode):
6347 * net/xesam.el (xesam-minor-mode):
6348 * progmodes/bug-reference.el (bug-reference-mode):
6349 * progmodes/cap-words.el (capitalized-words-mode):
6350 * progmodes/compile.el (compilation-minor-mode)
6351 (compilation-shell-minor-mode):
6352 * progmodes/gud.el (gud-tooltip-mode):
6353 * progmodes/hideif.el (hide-ifdef-mode):
6354 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6355 * progmodes/subword.el (subword-mode):
6356 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6357 * progmodes/which-func.el (which-function-mode):
6358 * term/tvi970.el (tvi970-set-keypad-mode):
6359 * term/vt100.el (vt100-wide-mode):
6360 * textmodes/flyspell.el (flyspell-mode):
6361 * textmodes/ispell.el (ispell-minor-mode):
6362 * textmodes/nroff-mode.el (nroff-electric-mode):
6363 * textmodes/paragraphs.el (use-hard-newlines):
6364 * textmodes/refill.el (refill-mode):
6365 * textmodes/reftex.el (reftex-mode):
6366 * textmodes/rst.el (rst-minor-mode):
6367 * textmodes/sgml-mode.el (html-autoview-mode)
6368 (sgml-electric-tag-pair-mode):
6369 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6370 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6371 * emulation/crisp.el (crisp-mode):
6372 * emacs-lisp/eldoc.el (eldoc-mode):
6373 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6374 minor mode behavior.
6375
6376 2011-10-19 Juri Linkov <juri@jurta.org>
6377
6378 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6379 the list of hard-coded chars with escape-glyph face.
6380
6381 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6382
6383 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6384
6385 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6386
6387 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6388 running process.
6389
6390 2011-10-19 Glenn Morris <rgm@gnu.org>
6391
6392 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6393 Ignore ignored files. (Bug#9726)
6394
6395 2011-10-19 Chong Yidong <cyd@gnu.org>
6396
6397 Doc fix for minor modes, stating that an omitted argument enables
6398 the mode unconditionally when called from Lisp.
6399
6400 * abbrev.el (abbrev-mode):
6401 * allout.el (allout-mode):
6402 * autoinsert.el (auto-insert-mode):
6403 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6404 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6405 (global-auto-revert-mode):
6406 * battery.el (display-battery-mode):
6407 * composite.el (global-auto-composition-mode)
6408 (auto-composition-mode):
6409 * delsel.el (delete-selection-mode):
6410 * desktop.el (desktop-save-mode):
6411 * dired-x.el (dired-omit-mode):
6412 * dirtrack.el (dirtrack-mode):
6413 * doc-view.el (doc-view-minor-mode):
6414 * double.el (double-mode):
6415 * electric.el (electric-indent-mode, electric-pair-mode):
6416 * emacs-lock.el (emacs-lock-mode):
6417 * epa-hook.el (auto-encryption-mode):
6418 * follow.el (follow-mode):
6419 * font-core.el (font-lock-mode):
6420 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6421 * help.el (temp-buffer-resize-mode):
6422 * hilit-chg.el (highlight-changes-mode)
6423 (highlight-changes-visible-mode):
6424 * hi-lock.el (hi-lock-mode):
6425 * hl-line.el (hl-line-mode, global-hl-line-mode):
6426 * icomplete.el (icomplete-mode):
6427 * ido.el (ido-everywhere):
6428 * image-file.el (auto-image-file-mode):
6429 * image-mode.el (image-minor-mode):
6430 * iswitchb.el (iswitchb-mode):
6431 * jka-cmpr-hook.el (auto-compression-mode):
6432 * linum.el (linum-mode):
6433 * longlines.el (longlines-mode):
6434 * master.el (master-mode):
6435 * mb-depth.el (minibuffer-depth-indicate-mode):
6436 * menu-bar.el (menu-bar-mode):
6437 * minibuf-eldef.el (minibuffer-electric-default-mode):
6438 * mouse-sel.el (mouse-sel-mode):
6439 * msb.el (msb-mode):
6440 * mwheel.el (mouse-wheel-mode):
6441 * outline.el (outline-minor-mode):
6442 * paren.el (show-paren-mode):
6443 * recentf.el (recentf-mode):
6444 * reveal.el (reveal-mode, global-reveal-mode):
6445 * rfn-eshadow.el (file-name-shadow-mode):
6446 * ruler-mode.el (ruler-mode):
6447 * savehist.el (savehist-mode):
6448 * scroll-all.el (scroll-all-mode):
6449 * scroll-bar.el (scroll-bar-mode):
6450 * server.el (server-mode):
6451 * shell.el (shell-dirtrack-mode):
6452 * simple.el (auto-fill-mode, transient-mark-mode)
6453 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6454 (line-number-mode, column-number-mode, size-indication-mode)
6455 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6456 * strokes.el (strokes-mode):
6457 * time.el (display-time-mode):
6458 * t-mouse.el (gpm-mouse-mode):
6459 * tool-bar.el (tool-bar-mode):
6460 * tooltip.el (tooltip-mode):
6461 * type-break.el (type-break-mode-line-message-mode)
6462 (type-break-query-mode):
6463 * view.el (view-mode):
6464 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6465 (global-whitespace-mode, global-whitespace-newline-mode):
6466 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6467
6468 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6469 Fix autogenerated docstring.
6470
6471 2011-10-19 Juri Linkov <juri@jurta.org>
6472
6473 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6474 by checking environment variables "DESKTOP_SESSION" and
6475 "XDG_CURRENT_DESKTOP". (Bug#9779)
6476
6477 2011-10-19 Juri Linkov <juri@jurta.org>
6478
6479 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6480 (browse-url-chromium-program, browse-url-chromium-arguments):
6481 New defcustoms.
6482 (browse-url-default-browser): Check for `browse-url-chromium' and
6483 call `browse-url-chromium-program'.
6484 (browse-url-chromium): New command. (Bug#9779)
6485
6486 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6487
6488 * facemenu.el (list-colors-duplicates): On Windows, detect more
6489 duplicates by assuming that only colors matching "^System" are
6490 special "system colors". (Bug#9722)
6491
6492 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6495 to distinguish the author from the committer.
6496
6497 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6498
6499 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6500
6501 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6502
6503 * international/mule.el (sgml-html-meta-auto-coding-function):
6504 Add support for detecting encoding in HTML5 specified only as
6505 <meta charset="UTF-8">. Implementation just makes http-equiv and
6506 content-type parts from HTML4 encoding string optional. (Bug#9716)
6507
6508 2011-10-18 Glenn Morris <rgm@gnu.org>
6509
6510 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6511
6512 2011-10-18 Chong Yidong <cyd@gnu.org>
6513
6514 * faces.el (cursor): Doc fix.
6515
6516 2011-10-17 Chong Yidong <cyd@gnu.org>
6517
6518 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6519
6520 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6521
6522 * dirtrack.el (dirtrack): Support shell buffers with path
6523 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6524
6525 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6526
6527 * json.el: Bump version to 1.3 and note change in History.
6528 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6529
6530 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * comint.el (comint-insert-input, comint-send-input)
6533 (comint-get-old-input-default, comint-backward-matching-input)
6534 (comint-next-prompt): Use nil instead of `input' for field property of
6535 past user input (bug#114).
6536
6537 * minibuffer.el (completion--replace): Inherit surrounding properties
6538 (bug#114).
6539 (minibuffer-complete-and-exit): Use it.
6540
6541 * comint.el (comint--table-subvert): Quote the all-completions output
6542 (bug#9160).
6543
6544 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6545
6546 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6547
6548 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6549 window on right of selected. (Bug#9350) Reword other window
6550 entries and separate them from frame entries.
6551
6552 2011-10-15 Glenn Morris <rgm@gnu.org>
6553
6554 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6555 Doc fixes.
6556
6557 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6558
6559 * net/network-stream.el (network-stream-open-starttls):
6560 Improve detection of failure due to lack of TLS support.
6561
6562 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6563 putting the input text in front and in bold.
6564
6565 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6568
6569 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6570 empty buffer.
6571
6572 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6573 unread-command-events rather than pushing yet-another event.
6574
6575 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6576
6577 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6578 the explanation of the possible choices. Make the options passed
6579 to completing-read shorter.
6580
6581 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6582
6583 * textmodes/flyspell.el (flyspell-large-region): Make sure
6584 extended character mode is used if defined (Bug#1339).
6585
6586 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6587
6588 * simple.el (what-cursor-position): Fix the display of the
6589 character info for LRE, LRO, RLE, and RLO characters by appending
6590 an invisible PDF.
6591
6592 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6595 even in case of error; add debug spec; simplify data flow.
6596 (with-timeout-handler): Remove.
6597
6598 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6599
6600 Fix Bug#6019, Bug#9315.
6601
6602 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6603 complete `buffer-file-name', the local file name part could look
6604 remotely (for example on VMS).
6605
6606 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6607 `tramp-run-real-handler'.
6608 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6609 already quoted by '"'.
6610
6611 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6612 Let `file-name-handler-alist' be nil, the local file name part
6613 could look remotely (for example on VMS).
6614
6615 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6618 from here...
6619 (flyspell-post-command-hook): ...to here.
6620
6621 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6624 if not needed.
6625 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6626 using completion. Protect against "slow" callers.
6627 Remove the "message hack".
6628
6629 2011-10-11 Juri Linkov <juri@jurta.org>
6630
6631 * isearch.el (isearch-lazy-highlight-word): New variable.
6632 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6633 Use it. (Bug#9727)
6634
6635 2011-10-11 Glenn Morris <rgm@gnu.org>
6636
6637 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6638 like f90-previous-statement does.
6639
6640 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6641
6642 * eshell/eshell.el (eshell-command): History should be saved
6643 only in interactive use, to avoid error.
6644
6645 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * minibuffer.el (completion-file-name-table): Fix last change,
6648 i.e. ignore normal errors but not the other ones.
6649
6650 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6651
6652 * window.el (special-display-buffer-names)
6653 (special-display-regexps): Remove some remnants of earlier
6654 changes from doc-strings.
6655 (quit-windows-on): New function.
6656
6657 * vc/vc.el (vc-revert, vc-rollback):
6658 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6659 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6660 (Bug#6183) (Bug#7074) (Bug#7447)
6661
6662 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6663
6664 * window.el (frame-auto-hide-function): Add version tag.
6665 (Bug#9699)
6666
6667 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6668
6669 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6670 condition.
6671
6672 2011-10-09 Leo Liu <sdl.web@gmail.com>
6673
6674 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6675 (Bug#9701)
6676
6677 2011-10-08 Glenn Morris <rgm@gnu.org>
6678
6679 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6680 before the first code statement zero indent. (Bug#9690)
6681
6682 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6683
6684 * simple.el (count-words-region): Always count in the region.
6685 Report the number of lines and characters too.
6686 (count-words): New command, which counts in the buffer if the
6687 region is inactive, as count-words-region used to.
6688 (count-words--message): New function. Handle plurals.
6689 (count-lines-region): Make it an alias for count-words-region.
6690
6691 * bindings.el (esc-map): Replace count-lines-region with
6692 count-words-region.
6693
6694 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6695
6696 * window.el (window--delete): Delete dedicated frame
6697 unconditionally when argument KILL is non-nil. (Bug#9699)
6698 (switch-to-buffer): Fix doc-string typo.
6699
6700 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6701
6702 * eshell/eshell.el (eshell-command): Avoid using hooks.
6703
6704 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6705
6706 * bindings.el ([M-left],[M-right]): Bind to left-word and
6707 right-word respectively.
6708
6709 2011-10-07 Glenn Morris <rgm@gnu.org>
6710
6711 * cus-start.el (debug-on-quit): Fix custom type.
6712
6713 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6714
6715 * subr.el (define-key-after): Clarify that the function is not
6716 useful for non-menu keymaps.
6717
6718 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6719
6720 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6721
6722 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6723 in current minibuffer (Fix bug with recursive minibuffers).
6724
6725 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6726
6727 * progmodes/gdb-mi.el (gdb): Doc fix.
6728
6729 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6730
6731 * window.el (frame-auto-hide-function): New option replacing
6732 frame-auto-delete. Suggested by Stefan Monnier.
6733 (window--delete): Call frame-auto-hide-function instead of
6734 investigating frame-auto-delete.
6735 (window-point-1, set-window-point-1): New functions.
6736 (window-in-direction, record-window-buffer, window-state-get-1)
6737 (display-buffer-record-window): Use window-point-1 instead of
6738 window-point.
6739 (set-window-buffer-start-and-point): Use set-window-point-1.
6740
6741 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6744
6745 2011-10-05 Glenn Morris <rgm@gnu.org>
6746
6747 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6748 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6749
6750 2011-10-05 Leo Liu <sdl.web@gmail.com>
6751
6752 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6753 works with buffer object.
6754
6755 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * mpc.el (mpc-tool-bar-map): Add labels.
6758
6759 2011-10-04 Glenn Morris <rgm@gnu.org>
6760
6761 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6762
6763 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6764
6765 * window.el (window--delete): New function.
6766 (frame-auto-delete): Resuscitate option.
6767 (bury-buffer, replace-buffer-in-windows)
6768 (quit-window): Rewrite using window--delete.
6769 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6770 Pass display-buffer-mark-dedicated to window--display-buffer-2
6771 (Bug#9639).
6772
6773 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6776 returns a list (bug#9554). Add remote file name completion.
6777 * comint.el (comint--table-subvert): Curry and get quote&unquote
6778 functions as arguments.
6779 (comint--complete-file-name-data): Adjust call accordingly.
6780 * pcomplete.el (pcomplete--table-subvert): Remove.
6781 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6782
6783 * minibuffer.el (completion-table-case-fold): Use currying.
6784 (completion--styles-type, completion--cycling-threshold-type):
6785 New constants.
6786 (completion-styles, completion-category-overrides)
6787 (completion-cycle-threshold): Use them.
6788 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6789 completion-table-case-fold.
6790
6791 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6792
6793 * minibuffer.el (completion-category-overrides): Fix type of styles
6794 and add more user friendly tags (bug#9660).
6795
6796 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6799 (mule-input-method-string): New widget.
6800 (default-input-method, language-info-custom-alist): Use it.
6801
6802 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * pcomplete.el: Require comint.
6805 (pcomplete--common-suffix): Remove.
6806 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6807 (pcomplete--table-subvert): Sync with comint--table-subvert.
6808 (pcomplete--entries): Use comint-completion-file-name-table.
6809 * comint.el (comint-unquote-filename): Simplify.
6810 (comint-completion-file-name-table): New function (bug#9616).
6811 (comint--complete-file-name-data): Use it.
6812
6813 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6814 (pcmpl-gnu-tar-buffer): Remove.
6815 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6816 around. Make sure pcomplete-suffix-list is only changed temporarily.
6817 Don't look inside the tar's file if it's too large.
6818
6819 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6820
6821 * cus-edit.el (custom-mode-map):
6822 * epa.el (epa-key-list-mode-map):
6823 * man.el (Man-mode-map):
6824 * startup.el (splash-screen-keymap):
6825 * simple.el (special-mode-map): Use scroll-up-command and
6826 scroll-down-command.
6827
6828 * progmodes/idlw-help.el (idlwave-help-mode-map):
6829 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6830 * net/newst-plainview.el (newsticker-mode-map):
6831 * emulation/ws-mode.el (wordstar-mode-map):
6832 * emulation/vi.el (vi-com-map):
6833 * calc/calc-graph.el (calc-graph-show-dumb):
6834 * term/sun.el (terminal-init-sun):
6835 * term/ns-win.el (global-map):
6836 * progmodes/grep.el (grep-mode-map):
6837 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6838 * mail/rmail.el (rmail-mode-map):
6839 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6840
6841 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6842 custom-safe-themes as special.
6843
6844 2011-10-01 Julien Danjou <julien@danjou.info>
6845
6846 * notifications.el (notifications-notify): Fix docstring.
6847
6848 2011-10-01 Per Starbäck <per@starback.se>
6849
6850 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6851
6852 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6853
6854 * startup.el (command-line-1): Fix last fix by inserting
6855 initial-scratch-message into *scratch* before displaying it.
6856 (Bug#9605) and (Bug#9636)
6857
6858 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6859
6860 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6861 window is hscrolled, move by logical lines. (Bug#9607)
6862 (line-move-visual): Update the doc string to the above effect.
6863
6864 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6865
6866 * window.el (display-buffer-record-window): When WINDOW is the
6867 selected window use `point' instead of `window-point'. (Bug#9626)
6868
6869 * startup.el (command-line-1): Use insert-before-markers when
6870 inserting initial-scratch-message. (Bug#9605)
6871
6872 * help.el (help-window): Remove variable.
6873
6874 2011-09-29 Glenn Morris <rgm@gnu.org>
6875
6876 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6877
6878 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * descr-text.el (describe-char-categories): Accept category
6881 descriptions more than one line long.
6882
6883 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * simple.el (delete-trailing-whitespace): Fix last change.
6886
6887 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6888 Don't confuse "y => 3" as the beginning of a `y' operation.
6889
6890 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6891 object has more than 4 slots (bug#9613).
6892
6893 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6894
6895 * subr.el (with-output-to-temp-buffer):
6896 * net/quickurl.el (quickurl, quickurl-browse-url):
6897 Fix typos in docstrings.
6898
6899 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6900
6901 * minibuffer.el (completion-styles)
6902 (completion-category-overrides): Cross reference each other in doc
6903 strings.
6904
6905 2011-09-27 Glenn Morris <rgm@gnu.org>
6906
6907 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6908 to split-string. (Bug#9606)
6909
6910 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6911
6912 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6913 (bug#9615).
6914
6915 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6916
6917 * emacs-lisp/package.el (list-packages): Fix echo area message.
6918
6919 2011-09-27 Leo Liu <sdl.web@gmail.com>
6920
6921 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6922
6923 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6924
6925 * net/dbus.el (dbus-unregister-object): Don't release services for
6926 registered signals. (Bug#9581)
6927
6928 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6929
6930 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6931 function that picks between cfengine 2 and 3 support
6932 automatically. Update docs accordingly.
6933
6934 2011-09-22 Kenichi Handa <handa@m17n.org>
6935
6936 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6937 ZERO.
6938 (indian-itrans-v5-table-for-tamil): New variable.
6939 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6940
6941 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6942
6943 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6944 that's true if the current command involved collapsing of text.
6945 It's reset to false at the beginning of the next command.
6946 (allout-post-command-business): Move the cursor to the beginning
6947 of entry if the cursor is hidden and collapsing activity just
6948 happened.
6949
6950 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6951
6952 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6953 tracking (Bug#9541).
6954
6955 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6956
6957 * net/newst-reader.el (newsticker-html-renderer)
6958 (newsticker-show-news): Automatically load html rendering package
6959 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6960 because w3m-fill-column is let-bound" and the error "Symbol's value
6961 as variable is void: w3m-fill-column".
6962
6963 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6964
6965 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6966 Release services only if they are defined. (Bug#9581)
6967
6968 2011-09-23 Richard Stallman <rms@gnu.org>
6969
6970 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6971 distinguish start of paragraph from start of its text.
6972
6973 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6974
6975 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6976 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6977 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6978
6979 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6980
6981 * international/mule-diag.el (mule-diag): Insert a newline after
6982 each fontset description.
6983
6984 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 * simple.el (delete-trailing-whitespace):
6987 Document last change; simplify.
6988
6989 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6990
6991 * simple.el (delete-trailing-whitespace): Also delete
6992 extra newlines at the end of the buffer.
6993
6994 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6995 (picture-newline): Use forward-line so as to ignore fields.
6996
6997 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * subr.el (with-wrapper-hook): Fix edebug spec.
7000
7001 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7002
7003 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7004 (bug#4538).
7005
7006 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7009 Fix nasty bug using wrong cached values.
7010
7011 2011-09-23 Alan Mackenzie <acm@muc.de>
7012
7013 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7014
7015 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
7016
7017 * window.el (pop-to-buffer): Ensure right window is selected if we
7018 chose another frame.
7019
7020 2011-09-22 Eli Zaretskii <eliz@gnu.org>
7021
7022 * simple.el (what-cursor-position): Use get-char-property-change
7023 and next-single-char-property-change, to be able to show display
7024 properties that come from overlays as well as text properties.
7025
7026 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
7027
7028 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7029
7030 * cmuscheme.el (run-scheme, switch-to-scheme):
7031 * cus-edit.el (customize-group, custom-buffer-create)
7032 (customize-browse):
7033 * info.el (info):
7034 * shell.el (shell):
7035 * mail/sendmail.el (mail):
7036 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7037
7038 2011-09-22 Richard Stallman <rms@gnu.org>
7039
7040 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7041 move back only to line beg, don't move back over blank lines.
7042
7043 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7044
7045 * files.el (copy-directory): Set directory attributes only in case
7046 they could be retrieved from the source directory. (Bug#9565)
7047
7048 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7049
7050 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7051 (hs-find-block-beginning, hs-hide-level-recursive):
7052 Ignore strings as well as comments. (Bug#9502)
7053
7054 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7055
7056 * progmodes/sql.el (sql-comint-postgres):
7057 Convert port number to a string. (Bug#9566)
7058
7059 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7060
7061 * window.el (quit-window): Undedicate window when switching to
7062 previous buffer. Reported by Thierry Volpiatto
7063 <thierry.volpiatto@gmail.com>.
7064 (special-display-popup-frame): When popping up a new frame reset
7065 its previous buffers to nil. Simplify code.
7066
7067 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7068
7069 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7070 and process filter, as done also in `shell-command'.
7071
7072 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7073
7074 * window.el (set-window-buffer-start-and-point):
7075 Call set-window-start with NOFORCE argument t.
7076 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7077 (quit-window): Reword doc-string. Handle new format of
7078 quit-restore parameter. Don't delete window if it has a
7079 previous buffer we can show instead of the present one.
7080 (display-buffer-record-window): Rewrite using a new format for
7081 the quit-restore window parameter
7082 (special-display-popup-frame, display-buffer-same-window)
7083 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7084 (display-buffer-pop-up-window, display-buffer-use-some-window):
7085 Adapt symbol passed to display-buffer-record-window.
7086 * help.el (help-window-setup): Handle new format of quit-restore
7087 parameter.
7088
7089 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * faces.el (face-list): Fix docstring (bug#9564).
7092
7093 * window.el (display-buffer--action-function-custom-type):
7094 Don't include internal functions in the Custom interface.
7095
7096 2011-09-20 Juri Linkov <juri@jurta.org>
7097
7098 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7099 (Info-forward-node, Info-backward-node, Info-next-preorder)
7100 (Info-last-preorder): Use it. (Bug#9528)
7101
7102 2011-09-20 Juri Linkov <juri@jurta.org>
7103
7104 * info.el (Info-last-preorder): Visit last menu item only when
7105 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7106
7107 2011-09-20 Julien Danjou <julien@danjou.info>
7108
7109 * password-cache.el (password-cache-remove): Remove entries even if the
7110 value is nil, so that password with a nil value (negative caching) is
7111 possible to invalidate.
7112
7113 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7114
7115 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7116 all whitespace around breakpoint. (Bug#9553)
7117 (f90-find-breakpoint): Only break at whitespace inside a comment.
7118
7119 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * minibuffer.el (completion-file-name-table): Keep track of errors.
7122 (completion-table-with-predicate): Handle the case where pred1 is nil.
7123 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7124
7125 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7128 (debugger-return-value): Signal an error if the debugging context does
7129 not await any return value.
7130
7131 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7132 * image-mode.el (image-toggle-display-text)
7133 (image-toggle-display-image): Stay away from evil `intangible'.
7134
7135 2011-09-19 Leo Liu <sdl.web@gmail.com>
7136
7137 * replace.el (occur-revert-arguments): Make it permanent-local.
7138 (occur-mode): Don't call font-lock-defontify.
7139
7140 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7141
7142 * net/ldap.el (ldap-search-internal): Don't push empty search
7143 result (Bug#9508).
7144
7145 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7148
7149 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7150
7151 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7152 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7153
7154 2011-09-18 Juri Linkov <juri@jurta.org>
7155
7156 * buff-menu.el (Buffer-menu-mode-map):
7157 * dired.el (dired-mode-map):
7158 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7159 (lisp-interaction-mode-map):
7160 * emacs-lisp/package.el (package-menu-mode-map):
7161 * epa.el (epa-key-list-mode-map):
7162 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7163 (menu-bar-options-menu):
7164 * outline.el (outline-mode-menu-bar-map):
7165 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7166 * vc/vc-dir.el (vc-dir-menu-map):
7167 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7168 Capitalize non-function content words in menu item strings.
7169
7170 * dired.el (dired-mode-map): Add menu item for
7171 `image-dired-dired-toggle-marked-thumbs'.
7172
7173 2011-09-18 Juri Linkov <juri@jurta.org>
7174
7175 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7176 to `isearch-case-fold-search' and restore its original value
7177 after the `isearch-mode' call.
7178
7179 2011-09-18 Juri Linkov <juri@jurta.org>
7180
7181 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7182 because `zgrep' returns 1 for successful matches (bug#9226).
7183
7184 2011-09-18 Juri Linkov <juri@jurta.org>
7185
7186 * info.el (Info-extract-menu-node-name): Check the second match
7187 for empty string (second test-case of bug#9528).
7188 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7189 intermediate nodes to the history (first test-case of bug#9528).
7190
7191 2011-09-18 Juri Linkov <juri@jurta.org>
7192
7193 * info.el (Info-mode-syntax-table): New variable.
7194 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7195
7196 2011-09-18 Juri Linkov <juri@jurta.org>
7197
7198 * info.el (Info-file-supports-index-cookies):
7199 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7200 outputs one more line for long file names (bug#4142).
7201
7202 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7203
7204 * newcomment.el (comment-normalize-vars): If prompting for
7205 comment-start, set comment-start-skip too (Bug#8424).
7206
7207 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7208
7209 * icomplete.el: Fix previous fix of Bug#5849.
7210 (icomplete-mode): Don't set completion-show-inline-help.
7211 (icomplete-minibuffer-setup): Set completion-show-inline-help
7212 locally during icompletion.
7213
7214 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7215
7216 * woman.el (woman2-process-escapes): Don't delete unrecognized
7217 escapes (Bug#7843).
7218
7219 * files.el (inhibit-first-line-modes-regexps): Add image files.
7220 (hack-local-variables-prop-line): Return nil for malformed
7221 prop-lines (Bug#9044).
7222
7223 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7224
7225 * net/tramp.el (top): Don't require 'shell.
7226 (tramp-methods): Fix docstring.
7227 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7228 Return complete remote file name. Handle "smb" case.
7229 Use `tramp-tmpdir', if defined for the respective method.
7230 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7231
7232 * net/tramp-compat.el (top): Require 'shell.
7233
7234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7235 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7236 `tramp-current-host'.
7237 (tramp-get-remote-tmpdir): Remove.
7238
7239 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7240 `tramp-tmpdir' entries.
7241 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7242 (tramp-smb-handle-file-attributes): Ignore errors.
7243 (tramp-smb-wait-for-output): Check also for process end.
7244
7245 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7246
7247 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7248 when sending QUIT (bug#9312).
7249
7250 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7251
7252 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7253 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7254 occur-mode-display-occurrence.
7255 (occur-edit-mode): Add usage message.
7256 (occur-cease-edit): New command.
7257 (occur-after-change-function): Use text properties to find the
7258 position of the prefix text.
7259 (occur-engine): Set stickiness of prefix text properties.
7260
7261 2011-09-17 Glenn Morris <rgm@gnu.org>
7262
7263 * progmodes/etags.el (complete-tag):
7264 Fix call to completion-in-region. (Bug#9526)
7265
7266 2011-09-17 Juri Linkov <juri@jurta.org>
7267
7268 * textmodes/ispell.el (ispell-word): Add to the error message
7269 the word, ispell program name and current dictionary (bug#9121).
7270 (ispell-tex-arg-end): Capitalize "error" in the error message.
7271
7272 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7273
7274 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7275 check. (Bug#4251)
7276
7277 2011-09-17 Juri Linkov <juri@jurta.org>
7278
7279 * window.el (window-safe-min-height, window-safe-min-width):
7280 Fix typos (followup to bug#9522).
7281
7282 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7283
7284 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7285
7286 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7287
7288 * simple.el (line-move): If goal-column is set, move by logical
7289 lines, not by display lines. (Bug#971)
7290 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7291 to reflect the above change.
7292
7293 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * image.el (imagemagick-register-types): Use regexp-opt.
7296
7297 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * window.el (display-buffer-base-action): Rename from
7300 display-buffer-default-action. Make default value empty.
7301 (display-buffer-overriding-action): Convert to defvar.
7302 (display-buffer-fallback-action): New var.
7303
7304 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7305
7306 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7307 declaration.
7308 (package--add-to-archive-contents): If there is a duplicate entry
7309 with an older version, remove it.
7310 (package-menu-mark-delete, package-menu-mark-install)
7311 (package-menu-mark-unmark): Make unused args optional.
7312 (package-menu-mark-obsolete-for-deletion):
7313 Use package-menu-get-status instead of a regexp search.
7314 (package-menu-get-status): Use tabulated-list-entry.
7315 (package-menu-mark-upgrades): New command.
7316 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7317 (package-menu-execute): Do installation before deletion.
7318 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7319 instead of checking major-mode.
7320 (package-menu--find-upgrades): New function.
7321
7322 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7323
7324 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7325 passwords in the log buffer.
7326 (smtpmail-process-filter): Update the process marker so that the
7327 "broken by peer" status message is inserted in the right place.
7328
7329 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7332 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7333 bibtex-completion-at-point-function.
7334 (bibtex-completion-at-point-function): Use them.
7335
7336 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7337
7338 * mpc.el (mpc-constraints-tag-lookup): New function.
7339 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7340 also to browser "album|playlist".
7341
7342 2011-09-14 Juri Linkov <juri@jurta.org>
7343
7344 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7345 (isearch-edit-string): Use length of `isearch-string' when
7346 `isearch-fail-pos' returns nil.
7347 (isearch-message): Remove duplicate code and call
7348 `isearch-fail-pos' with arg `t'.
7349
7350 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7351
7352 * replace.el (occur-mode-goto-occurrence): Don't force using other
7353 window (Bug#9499).
7354
7355 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7356
7357 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7358
7359 * window.el (display-buffer-window): Remove.
7360 (display-buffer-record-window): Use help-setup window parameter
7361 instead of variable display-buffer-window.
7362 (display-buffer-function, special-display-buffer-names)
7363 (special-display-function): Mention help-setup parameter instead
7364 of display-buffer-window in doc-string.
7365 * help.el (help-window-setup): New argument help-window.
7366 Use help-window-setup parameter instead of display-buffer-window.
7367 Reword some messages.
7368 (with-help-window): Pass window used for displaying the buffer
7369 to help-window-setup. Don't set display-buffer-window.
7370
7371 2011-09-13 Glenn Morris <rgm@gnu.org>
7372
7373 * emacs-lisp/debug.el (debugger-make-xrefs):
7374 Preserve point. (Bug#9462)
7375
7376 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7377
7378 * window.el (window-deletable-p): Use next-frame.
7379
7380 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7381
7382 * window.el (window-auto-delete): Remove.
7383 (window-deletable-p): Remove argument FORCE. Don't deal with
7384 dedication and previous buffers.
7385 (switch-to-prev-buffer): Don't delete window.
7386 (delete-windows-on): Delete a window's frame if and only if the
7387 window is dedicated.
7388 (replace-buffer-in-windows): Delete buffer's window or frame if
7389 and only if window is dedicated.
7390 (quit-window): Handle quit-restore as before last change.
7391 (bury-buffer): Delete window only if window-deletable-p returns t.
7392
7393 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7394
7395 * window.el (window-deletable-p): Never delete the last frame on a
7396 given terminal.
7397
7398 2011-09-13 Glenn Morris <rgm@gnu.org>
7399
7400 * help.el (describe-key-briefly): Copy previous standard-output change.
7401
7402 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7403
7404 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7405
7406 2011-09-13 Glenn Morris <rgm@gnu.org>
7407
7408 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7409 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7410
7411 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7412
7413 * dired-aux.el (dired-mark-read-string): Don't return default
7414 value on empty input (Bug#9361).
7415 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7416 Omit initial minibuffer contents.
7417 (dired-do-chmod): Signal an error on empty input.
7418 (dired-mark-read-string): Don't return default on empty input.
7419
7420 * files.el (file-modes-symbolic-to-number): Doc fix.
7421
7422 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * international/mule-cmds.el (ucs-completions): Remove.
7425 (read-char-by-name): Use complete-with-action instead; add metadata.
7426
7427 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7428
7429 * window.el (display-buffer--action-function-custom-type)
7430 (display-buffer--action-custom-type): New vars.
7431 (display-buffer-alist, display-buffer-default-action)
7432 (display-buffer-overriding-action): Add defcustom types.
7433
7434 * frame.el (delete-other-frames): Doc fix (Bug#276).
7435
7436 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7437
7438 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7439
7440 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7441
7442 Change modes that used same-window-* vars to use switch-to-buffer.
7443
7444 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7445 Use switch-to-buffer.
7446
7447 * cus-edit.el (customize-group, custom-buffer-create)
7448 (customize-browse, custom-buffer-create-other-window):
7449 Use switch-to-buffer or switch-to-buffer-other-window.
7450
7451 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7452 (Info-prev, Info-up, Info-speedbar-goto-node)
7453 (info-display-manual): Use switch-to-buffer.
7454 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7455
7456 * mail/sendmail.el (mail): Use switch-to-buffer.
7457 (mail-recover): Use switch-to-buffer-other-window.
7458
7459 * cmuscheme.el (run-scheme, switch-to-scheme):
7460 * ielm.el (ielm):
7461 * shell.el (shell):
7462 * net/rlogin.el (rlogin):
7463 * net/telnet.el (telnet, rsh):
7464 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7465
7466 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7467
7468 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7469
7470 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7471
7472 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7473 so don't mention it (bug#9301).
7474 (dired-sort-toggle-or-edit): Clarify string further.
7475
7476 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7477 match `x', `w32' and `ns', like the manual says (bug#9029).
7478
7479 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7480 (process-kill-buffer-query-function): Mention the buffer name in
7481 the query.
7482
7483 * image-mode.el (image-next-line): The line parameter is mandatory
7484 (bug#9258).
7485
7486 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7487 which can be useful (bug#9301).
7488
7489 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7490
7491 * subr.el (match-string): Mention that the current buffer should
7492 be the same as the search was done in (bug#9282).
7493
7494 * facemenu.el: Disable the remove-* commands if the mark isn't
7495 active (bug#9162).
7496
7497 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7498
7499 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7500 of display-buffer.
7501 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7502
7503 * replace.el (occur-mode-goto-occurrence)
7504 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7505 and display-buffer.
7506
7507 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7508 display-buffer.
7509
7510 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7511 special-display and same-window variables.
7512 (mail-other-window): Use switch-to-buffer-other-window.
7513 (mail-other-frame): USe switch-to-buffer-other-frame.
7514
7515 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7516 Use display-buffer-other-frame.
7517 (gdb-display-gdb-buffer): Use pop-to-buffer.
7518
7519 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7520
7521 * progmodes/python.el: Don't set same-window-buffer-names.
7522
7523 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7524
7525 * window.el (display-buffer-alist): Add *Python*.
7526
7527 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7528
7529 * window.el (display-buffer-alist): Add entry for buffers
7530 previously handled same-window-*.
7531 (display-buffer-alist, display-buffer-default-action)
7532 (display-buffer-overriding-action): Mark as risky.
7533 (display-buffer-alist): Document action function changes.
7534 (display-buffer--same-window-action)
7535 (display-buffer--other-frame-action): New variables.
7536 (switch-to-buffer, display-buffer-other-frame): Use them.
7537 (display-buffer): Rename reuse-frame entry to reusable-frames.
7538 (display-buffer-reuse-selected-window): Function deleted.
7539 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7540 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7541 (display-buffer-special): New function.
7542 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7543 display-buffer-reuse-or-pop-window. Split off special-display
7544 part into display-buffer-special.
7545 (display-buffer-use-some-window): Don't perform any special
7546 pop-up-frames handling.
7547 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7548 (display-buffer--maybe-same-window): Rename from
7549 display-buffer-maybe-same-window.
7550
7551 * info.el: Don't set same-window-regexps.
7552 (info-setup): New function.
7553 (info-other-window, info): Call it.
7554
7555 * cus-edit.el: Don't set same-window-regexps.
7556 (customize-group): New argument.
7557 (customize-group-other-window): Use it.
7558 (customize-face, customize-face-other-window): Likewise.
7559 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7560
7561 * net/rlogin.el:
7562 * net/telnet.el:
7563 * progmodes/gud.el: Don't set same-window-regexps.
7564
7565 * cmuscheme.el:
7566 * ielm.el:
7567 * shell.el:
7568 * mail/sendmail.el:
7569 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7570
7571 2011-09-10 Juri Linkov <juri@jurta.org>
7572
7573 * isearch.el (isearch-edit-string): Remove obsolete mention of
7574 `C-w' (`isearch-yank-word-or-char') from docstring.
7575 (isearch-query-replace): Fix typo in docstring (bug#9466).
7576
7577 2011-09-10 Juri Linkov <juri@jurta.org>
7578
7579 * paren.el (show-paren-function): Don't show escaped parens.
7580 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7581
7582 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7583
7584 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7585 (mm-default-file-encoding): Remove autoload forms, they are
7586 replaced with autoload cookies in mml.el and mm-encode.el.
7587 (mail-add-attachment): New command.
7588 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7589 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7590 the doc string.
7591 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7592
7593 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7594
7595 * simple.el (count-words-region): Use buffer if there's no region
7596 (bug#9429).
7597
7598 2011-09-09 Juri Linkov <juri@jurta.org>
7599
7600 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7601 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7602 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7603
7604 2011-09-09 Alan Mackenzie <acm@muc.de>
7605
7606 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7607 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7608
7609 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7610
7611 Fix for Savannah bug#9392.
7612 * simple.el (mail-encode-mml): New defvar.
7613
7614 * mail/rmail.el (mail-encode-mml): Add a defvar.
7615 (rmail-enable-mime-composing): Default to t.
7616 (rmail-forward): Use MIME method of forwarding only if both
7617 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7618 Set mail-encode-mml non-nil if the MIME method was used.
7619
7620 * mail/sendmail.el (mml-to-mime): Add autoload form.
7621 (mail-encode-mml): Add a defvar.
7622 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7623 to nil.
7624 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7625 message through mml-to-mime, and reset mail-encode-mml to nil.
7626
7627 2011-09-09 Glenn Morris <rgm@gnu.org>
7628
7629 * woman.el (woman-if-body): When processing an .el block,
7630 do not delete the next .el block as well. (Bug#9447)
7631 (woman-special-characters): Add oq, cq, and hy characters.
7632
7633 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7634
7635 * window.el (window-deletable-p): Make sure window is live before
7636 invoking window-prev-buffers.
7637
7638 2011-09-08 Leo Liu <sdl.web@gmail.com>
7639
7640 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7641
7642 2011-09-08 Juri Linkov <juri@jurta.org>
7643
7644 * progmodes/compile.el (compilation-environment): Make it
7645 a defcustom (bug#8340).
7646
7647 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7648
7649 * window.el (frame-auto-delete): Rename to window-auto-delete.
7650 Make it control auto-deletion of windows and/or frames.
7651 (window-deletable-p): New argument FORCE. Rewrite conditions
7652 for deleting window/frame. (Bug#9419)
7653 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7654 Rewrite handling of case when window/frame can be deleted.
7655 (delete-windows-on): Call window-deletable-p with new FORCE
7656 argument t. (Bug#9456)
7657
7658 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7659
7660 * help-mode.el (help-mode): Restore autoload.
7661
7662 2011-09-07 Juri Linkov <juri@jurta.org>
7663
7664 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7665 `compilation-environment'. Set buffer-local
7666 `compilation-environment' to `thisenv' later after (funcall mode).
7667 (Bug#8340)
7668
7669 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7670 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7671 instead of replacing its value. (Bug#8340)
7672
7673 2011-09-07 Juri Linkov <juri@jurta.org>
7674
7675 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7676 based on text properties put by `grep-filter' instead of matching
7677 escape sequences.
7678 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7679 to the value of `grep-error-screen-columns' (bug#9438).
7680
7681 2011-09-07 Juri Linkov <juri@jurta.org>
7682
7683 * simple.el (next-error-highlight, next-error-highlight-no-select):
7684 Doc fix (bug#9432).
7685
7686 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7687
7688 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7689 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7690
7691 2011-09-07 Leo Liu <sdl.web@gmail.com>
7692
7693 * net/rcirc.el (rcirc-mode): Conditionally initialize
7694 rcirc-input-ring.
7695
7696 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * emacs-lisp/find-func.el (find-function-C-source): Only set
7699 find-function-C-source-directory after checking that we found a source
7700 file there (bug#9440).
7701
7702 2011-09-06 Alan Mackenzie <acm@muc.de>
7703
7704 * isearch.el (isearch-other-meta-char): Wherever a key list is
7705 unread, "unread" the prefix arg, too. This fixes bug #8901.
7706
7707 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7708
7709 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7710
7711 2011-09-05 Juri Linkov <juri@jurta.org>
7712
7713 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7714
7715 2011-09-05 Juri Linkov <juri@jurta.org>
7716
7717 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7718 keeping point where processing of grep matches begins, and
7719 continue to delete remaining escape sequences from the same point.
7720 (grep-filter): Make leading zero optional in "0?1;31m" because
7721 git-grep emits "\033[1;31m" escape sequences unlike expected
7722 "\033[01;31m" as GNU Grep does (bug#9408).
7723 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7724
7725 2011-09-05 Juri Linkov <juri@jurta.org>
7726
7727 * subr.el (y-or-n-p): Capitalize "yes".
7728
7729 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7730
7731 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7732 `tramp-cache-unload-hook' where appropriate.
7733 (tramp-methods): Rename `tramp-remote-sh' to
7734 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7735 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7736
7737 * net/tramp-sh.el (top): Don't require 'shell.
7738 (tramp-methods): Add `tramp-remote-shell' and
7739 `tramp-remote-shell-args' entries.
7740 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7741 (tramp-sh-handle-shell-command): Remove.
7742 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7743 Use `tramp-remote-shell'.
7744
7745 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7746
7747 * mail/sendmail.el (sendmail-query-once-function): Delete.
7748 (sendmail-query-once): Save directly to send-mail-function.
7749 Update message-send-mail-function too.
7750
7751 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7752
7753 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7754
7755 * progmodes/python.el (python-mode-map): Use correct function to
7756 start python interpreter from menu-bar (as reported by Geert
7757 Kloosterman).
7758 (inferior-python-mode-map): Fix typo.
7759 (python-shell-map): Remove.
7760
7761 2011-09-03 Deniz Dogan <deniz@dogan.se>
7762
7763 * net/rcirc.el (rcirc-print): Simplify code for
7764 rcirc-scroll-show-maximum-output. There is no need to walk
7765 through all windows to find the right one.
7766
7767 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7768
7769 * help.el (help-return-method): Doc fix.
7770
7771 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7772
7773 * window.el (window-deletable-p): Don't return a non-nil value
7774 when there's a buffer that was shown in the window before.
7775 (Bug#9419)
7776 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7777 Set window's previous buffers to nil.
7778
7779 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7780
7781 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7782 newline before and after the tag line, so it doesn't interfere
7783 with determining the paragraph direction of bidirectional text.
7784
7785 2011-09-03 Leo Liu <sdl.web@gmail.com>
7786
7787 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7788
7789 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7790
7791 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7792 (pop-to-buffer): Change interactive spec. Pass second argument
7793 directly to display-buffer.
7794 (display-buffer): Fix interactive spec. Use functionp to
7795 distinguish between a function and a list of functions.
7796
7797 * abbrev.el (edit-abbrevs):
7798 * arc-mode.el (archive-extract):
7799 * autoinsert.el (auto-insert):
7800 * bookmark.el (bookmark-bmenu-list):
7801 * files.el (find-file):
7802 * view.el (view-buffer):
7803 * progmodes/compile.el (compilation-goto-locus):
7804 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7805
7806 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7807
7808 * window.el (display-buffer-alist): Doc fix.
7809 (display-buffer): Add docstring. Don't treat
7810 display-buffer-default specially.
7811 (display-buffer-reuse-selected-window)
7812 (display-buffer-same-window, display-buffer-maybe-same-window)
7813 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7814 (display-buffer-pop-up-window)
7815 (display-buffer-reuse-or-pop-window)
7816 (display-buffer-use-some-window): New functions.
7817 (display-buffer-default-action): Use them.
7818 (display-buffer-default): Delete.
7819 (pop-to-buffer-1): Fix choice of actions.
7820
7821 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * minibuffer.el (completion--insert-strings): Don't get confused by
7824 completion entries that end with an LF char.
7825
7826 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7827
7828 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7829
7830 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7831
7832 * window.el (display-buffer): Restore interactive spec.
7833 (display-buffer-same-window, display-buffer-other-window):
7834 New functions.
7835 (pop-to-buffer-1): New function. Use the above.
7836 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7837 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7838
7839 * view.el (view-buffer-other-window, view-buffer-other-frame):
7840 Just use pop-to-buffer.
7841
7842 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7843
7844 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7845
7846 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7847
7848 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7849
7850 2011-08-31 Richard Stallman <rms@gnu.org>
7851
7852 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7853 of the separation of rmail-view-buffer from rmail-buffer.
7854 If you say no to "replace original", the decrypt is in the
7855 view buffer. If you say yes, the decrypt goes into the
7856 rmail buffer also.
7857
7858 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7859
7860 * window.el (display-buffer-window): Rewrite doc-string.
7861 (display-buffer-record-window): New function.
7862 (display-buffer-macro-specifiers)
7863 (display-buffer-even-window-sizes, display-buffer-set-height)
7864 (display-buffer-set-width, display-buffer-in-window)
7865 (display-buffer-reuse-window, display-buffer-split-specifiers)
7866 (display-buffer-side-specifiers, display-buffer-split-window-1)
7867 (display-buffer-split-window, display-buffer-split-atom-window)
7868 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7869 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7870 (display-buffer-other-window-means-other-frame)
7871 (display-buffer-normalize-special)
7872 (display-buffer-normalize-default)
7873 (display-buffer-normalize-argument)
7874 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7875 (display-buffer-normalize-specifiers, display-buffer-frame)
7876 (display-buffer-same-window, display-buffer-same-frame)
7877 (display-buffer-other-window)
7878 (display-buffer-same-frame-other-window)
7879 (display-buffer-other-frame, pop-to-buffer-same-window)
7880 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7881 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7882 (switch-to-buffer-same-frame)
7883 (switch-to-buffer-other-window-same-frame)
7884 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7885 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7886 (display-buffer-alist-set): Remove.
7887 (display-buffer-function, special-display-buffer-names)
7888 (special-display-regexps, special-display-function):
7889 In doc-string refer to display-buffer-window and quit-restore
7890 parameter.
7891 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7892 (special-display-frame-alist, special-display-popup-frame)
7893 (same-window-buffer-names, same-window-regexps, same-window-p)
7894 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7895 (split-window-preferred-function, split-height-threshold)
7896 (split-width-threshold, window-splittable-p)
7897 (split-window-sensibly, window--try-to-split-window)
7898 (window--frame-usable-p, even-window-heights)
7899 (window--even-window-heights, window--display-buffer-1)
7900 (window--display-buffer-2, display-buffer-other-frame):
7901 Restore old Emacs 23 code, order and doc-strings where applicable.
7902 (display-buffer-default, display-buffer-assq-regexp): New functions.
7903 (display-buffer-alist): Rewrite doc-string.
7904 (display-buffer-default-action)
7905 (display-buffer-overriding-action): New variables.
7906 (display-buffer, switch-to-buffer): Rewrite.
7907 (pop-to-buffer): Restore Emacs 23 behavior but use
7908 window-normalize-buffer-to-display.
7909 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7910 Restore Emacs 23 behavior but use
7911 window-normalize-buffer-to-switch-to.
7912 (pop-to-buffer-same-window): Rewrite.
7913 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7914 Rewrite using Emacs 23 options.
7915
7916 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7917
7918 * net/tramp.el (tramp-root-regexp): Remove.
7919 (tramp-completion-file-name-regexp-unified)
7920 (tramp-completion-file-name-regexp-separate)
7921 (tramp-completion-file-name-regexp-url): Don't use leading volume
7922 letter on win32 systems. (Bug#5303, Bug#9311)
7923 (tramp-drop-volume-letter): Simplify definition.
7924 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7925
7926 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7929 (bug#9356).
7930
7931 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7932
7933 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7934
7935 2011-08-29 Juri Linkov <juri@jurta.org>
7936
7937 * isearch.el (isearch-done): Don't display message "Mark saved"
7938 when arg `edit' is non-nil to prevent its flicker in the echo area.
7939
7940 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7941
7942 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7943 obsolete packages for deletion.
7944
7945 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7946
7947 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7948 (help-mode): Derive help-mode from special-mode. Don't invoke
7949 view-mode from help-mode.
7950 (help-xref-override-view-map): Remove.
7951 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7952 view-mode is not used anymore.
7953
7954 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7955
7956 * server.el (server-port): Doc fix.
7957
7958 * cus-theme.el (custom-theme-choose-mode): Inherit from
7959 special-mode (Bug#9124).
7960 (custom-theme-choose-mode-map): Add special-mode to parent.
7961
7962 2011-08-28 Alan Mackenzie <acm@muc.de>
7963
7964 * progmodes/cc-fonts.el
7965 (c-make-font-lock-BO-decl-search-function): New function.
7966 (c-basic-matchers-after - "Fontify the clauses after various
7967 keywords"): Extract the three keyword lists for the 3 erroneous
7968 constructs from the list of four, and use the new function above
7969 in place of an old one.
7970
7971 2011-08-28 Deniz Dogan <deniz@dogan.se>
7972
7973 * net/rcirc.el (rcirc-insert-prev-input)
7974 (rcirc-insert-next-input): Remove unused argument.
7975
7976 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7979
7980 2011-08-27 Alan Mackenzie <acm@muc.de>
7981
7982 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7983 handle function pointer parameters properly.
7984
7985 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7986
7987 * window.el (display-buffer-reuse-window): Fix case where
7988 selected window was reused with non-nil OTHER-WINDOW argument.
7989 (Bug#9381)
7990
7991 2011-08-27 Deniz Dogan <deniz@dogan.se>
7992
7993 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7994 oftc's NickServ messages.
7995
7996 2011-08-27 Glenn Morris <rgm@gnu.org>
7997
7998 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7999
8000 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
8001
8002 * emacs-lisp/package.el (package-install): Call package-initialize
8003 if called interactively.
8004
8005 2011-08-26 Leo Liu <sdl.web@gmail.com>
8006
8007 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8008
8009 2011-08-25 Juri Linkov <juri@jurta.org>
8010
8011 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8012 `search-whitespace-regexp' (bug#9364).
8013
8014 2011-08-25 Juri Linkov <juri@jurta.org>
8015
8016 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8017 `regexp-search-ring' to their global values to protect from
8018 updating by `read-from-minibuffer' (bug#9185).
8019
8020 2011-08-25 Juri Linkov <juri@jurta.org>
8021
8022 * textmodes/ispell.el (ispell-command-loop): Add newline
8023 at the end of the "Use option `i'..." line.
8024
8025 2011-08-25 Juri Linkov <juri@jurta.org>
8026
8027 * battery.el (display-battery-mode): If `battery-status-function'
8028 or `battery-mode-line-format' is nil, display the message and set
8029 `display-battery-mode' to nil (bug#9363).
8030
8031 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8032
8033 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8034 bidi-string-mark-left-to-right; they are unnecessary now.
8035
8036 2011-08-25 Deniz Dogan <deniz@dogan.se>
8037
8038 * net/quickurl.el: Documentation typo fixes.
8039
8040 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8041
8042 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8043
8044 2011-08-25 Glenn Morris <rgm@gnu.org>
8045
8046 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8047
8048 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8049 (smtpmail-via-smtp): Handle nil response from smtp.
8050
8051 2011-08-24 Juri Linkov <juri@jurta.org>
8052
8053 * proced.el (proced-marked): Inherit from `error' instead of
8054 `font-lock-warning-face'.
8055
8056 * ibuffer.el (ibuffer-marked-face): Change default face from
8057 `font-lock-warning-face' to `warning'.
8058 (ibuffer-deletion-face): Change default face from
8059 `font-lock-type-face' to `error'.
8060
8061 * battery.el (battery-update): Use the face `error' instead of
8062 `font-lock-warning-face' (bug#6117).
8063
8064 2011-08-24 Juri Linkov <juri@jurta.org>
8065
8066 * faces.el (success): Change face color from "Green3" to
8067 "ForestGreen" on light background (bug#9353).
8068
8069 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8070
8071 * window.el (quit-window): Rename from quit-restore-window.
8072 Use same arglist as old quit-window.
8073 (frame-auto-delete): Doc fix.
8074
8075 * view.el (view-mode-exit): Use quit-window.
8076
8077 2011-08-24 Juri Linkov <juri@jurta.org>
8078
8079 * isearch.el (isearch-ring-adjust1): Start visiting previous
8080 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8081 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8082 for empty search string (when the last search string is reused
8083 automatically) to adjust the isearch ring to the last element and
8084 prepare the correct index for further M-p commands (bug#9185).
8085
8086 2011-08-24 Kenichi Handa <handa@m17n.org>
8087
8088 * international/ucs-normalize.el: If decomposition property of
8089 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8090 nil.
8091 (nfd, nfkd): Likewise.
8092
8093 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8096 from process filters aren't reliably transmitted to the surrounding
8097 accept-process-output.
8098 (mpc-proc-check): New function.
8099 (mpc-proc-sync): Use it (bug#8293)
8100
8101 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8102
8103 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8104 Add compatibility functions (bug#9313).
8105
8106 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8107
8108 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8109
8110 * international/uni-bidi.el: Regenerate.
8111
8112 2011-08-23 Kenichi Handa <handa@m17n.org>
8113
8114 * international/charprop.el:
8115 * international/uni-bidi.el:
8116 * international/uni-category.el:
8117 * international/uni-combining.el:
8118 * international/uni-comment.el:
8119 * international/uni-decimal.el:
8120 * international/uni-decomposition.el:
8121 * international/uni-digit.el:
8122 * international/uni-lowercase.el:
8123 * international/uni-mirrored.el:
8124 * international/uni-name.el:
8125 * international/uni-numeric.el:
8126 * international/uni-old-name.el:
8127 * international/uni-titlecase.el:
8128 * international/uni-uppercase.el: Regenerate.
8129
8130 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8131
8132 * help.el (help-window-setup): Fix message displayed when other
8133 window is reused. (Bug#9341)
8134
8135 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8138 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8139
8140 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8141 Mark obsolete.
8142 * shell.el (shell-parse-pcomplete-arguments): New function.
8143 (shell-completion-vars): Use it instead (bug#9160).
8144
8145 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8148 strings and comments (bug#9333).
8149
8150 * emacs-lisp/debug.el (debug-arglist): New function.
8151 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8152 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8153
8154 2011-08-22 Juri Linkov <juri@jurta.org>
8155
8156 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8157 Revert regexp that highlights output switches to its old
8158 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8159
8160 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8161 to check for empty output (bug#9226).
8162
8163 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8164
8165 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8166 symbol-constituent as the default, as that stops font-lock from
8167 working properly (Bug#8843).
8168
8169 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8170
8171 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8172 `coding-system-for-*' around the process open call to avoid
8173 auth-source side effects.
8174 (smtpmail-try-auth-methods): Expand the secret password.
8175 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8176 probe hangs.
8177
8178 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8181
8182 * emacs-lisp/find-func.el (find-function-noselect): New arg
8183 lisp-only.
8184
8185 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8186 signal an error for built-in functions (Bug#6664).
8187
8188 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8189
8190 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8191 (smtpmail-try-auth-methods): Use it.
8192
8193 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8194
8195 * font-lock.el (font-lock-fontify-region)
8196 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8197 (font-lock-default-unfontify-buffer)
8198 (font-lock-default-fontify-region)
8199 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8200
8201 * progmodes/compile.el (compilation-error-properties):
8202 Fix confusion between file struct and message struct (Bug#9319).
8203 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8204 `ant' regexp.
8205
8206 * net/browse-url.el (browse-url-firefox): Don't call
8207 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8208
8209 2011-08-20 Glenn Morris <rgm@gnu.org>
8210
8211 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8212
8213 * tutorial.el (tutorial--default-keys): Update some default bindings.
8214
8215 * files.el (hack-local-variables): Fully ignore case for "mode:".
8216
8217 2011-08-20 Alan Mackenzie <acm@muc.de>
8218
8219 Resolve invalid use of a regexp in regexp-opt.
8220
8221 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8222 detection for a java annotation.
8223
8224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8225 detection for a java annotation.
8226
8227 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8228 handling for java.
8229 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8230
8231 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8232
8233 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8234 (Bug#9274).
8235
8236 2011-08-20 Alan Mackenzie <acm@muc.de>
8237
8238 Fontify CPP expressions correctly when starting in the middle of
8239 such a construct. Mainly for when jit-lock etc. starts a chunk
8240 here.
8241
8242 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8243 variable.
8244 (c-make-font-lock-search-form): New function, extracted from
8245 c-make-font-lock-search-function.
8246 (c-make-font-lock-search-function): Use the above function.
8247 (c-make-font-lock-context-search-function): New function.
8248 (c-cpp-matchers): Enhance the preprocessor expression case with
8249 the above function
8250 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8251 which takes an expression.
8252
8253 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8254
8255 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8256
8257 * window.el (display-buffer-reuse-window)
8258 (display-buffer-pop-up-window): Don't reuse or split a side
8259 window.
8260
8261 2011-08-19 Glenn Morris <rgm@gnu.org>
8262
8263 * files.el (hack-local-variables-prop-line, hack-local-variables):
8264 Downcase "Mode:". (Bug#9331)
8265
8266 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8267
8268 * international/characters.el: Add L and R categories.
8269
8270 * subr.el (bidi-string-mark-left-to-right): Rename from
8271 string-mark-left-to-right. Use category search.
8272
8273 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8274
8275 2011-08-18 Juri Linkov <juri@jurta.org>
8276
8277 * faces.el (error, warning, success): New faces with definitions
8278 copied from old default values of `font-lock-warning-face',
8279 `compilation-warning', `compilation-info' (bug#6117).
8280
8281 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8282
8283 * progmodes/compile.el (compilation-error): Inherit from `error'.
8284 (compilation-warning): Inherit from `warning'.
8285 (compilation-info): Inherit from `success'.
8286
8287 * dired.el (dired-marked): Inherit from `warning'.
8288 (dired-flagged): Inherit from `error'.
8289
8290 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291
8292 * mail/smtpmail.el (auth-source): Require to avoid problems with
8293 binding variables (bug#9298). Also clean up some unused
8294 autoloads.
8295
8296 * net/network-stream.el (network-stream-open-starttls):
8297 Support using starttls.el without using gnutls-cli.
8298
8299 2011-08-17 Juri Linkov <juri@jurta.org>
8300
8301 * progmodes/grep.el (rgrep): Handle the case when
8302 `grep-find-command' is a cons cell (bug#9278).
8303
8304 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8305
8306 * window.el (display-buffer-pop-up-frame): Run frame creation
8307 function with BUFFER current (as special-display-popup-frame
8308 does). Reported by Drew Adams.
8309
8310 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8311
8312 * epa-mail.el: Simplify GnuPG group expansion using
8313 epg-expand-group.
8314 (epa-mail-group-alist, epa-mail-group-modtime)
8315 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8316 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8317 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8318 Remove.
8319
8320 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8321
8322 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8323
8324 2011-08-16 Alan Mackenzie <acm@muc.de>
8325
8326 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8327 Correct, to avoid the inside of macros.
8328
8329 2011-08-16 Richard Stallman <rms@gnu.org>
8330
8331 * epa-mail.el: Handle GnuPG group definitions.
8332 (epa-mail-group-alist, epa-mail-group-modtime)
8333 (epa-mail-gnupg-conf-file): New variables.
8334 (epa-mail-parse-groups, epa-mail-sync-groups)
8335 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8336 (epa-mail-expand-recipients): New functions.
8337 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8338
8339 * mail/rmail.el (rmail-epa-decrypt): New command.
8340
8341 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8342 Don't bind buffer-read-only, just inhibit-read-only.
8343 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8344 (epa-decrypt-armor-in-region): Make error message clearer.
8345
8346 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8347
8348 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8349 and "a2b" to "ab" for `prefix'.
8350
8351 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8354 filter groups.
8355 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8356 Fourquet (Bug#8804).
8357
8358 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8359
8360 * startup.el (argi): Declare as global variable (bug#9275).
8361
8362 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8363
8364 * subr.el (string-mark-left-to-right): Search the entire string
8365 for RTL script, not just the terminating character. Doc fix.
8366
8367 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8370 New function.
8371 (js--regexp-literal, js-syntax-propertize-function): Remove.
8372 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8373 (js-mode-map): Don't rebind electric keys.
8374 (js-insert-and-indent): Remove.
8375 (js-mode): Setup electric-layout and electric-indent instead.
8376
8377 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8378
8379 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8380
8381 * epa.el (epa-progress-callback-function): Fix the logic of
8382 displaying progress.
8383 * epa-file.el (epa-file-insert-file-contents): Make progress
8384 display more user-friendly.
8385 (epa-file-write-region): Ditto.
8386
8387 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8388
8389 * subr.el (string-mark-left-to-right): New function.
8390
8391 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8392 Use string-mark-left-to-right.
8393 (list-buffers-noselect): Caller changed.
8394
8395 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8396 Use string-mark-left-to-right.
8397 (tabulated-list-print): Recenter after moving point.
8398
8399 2011-08-10 Juri Linkov <juri@jurta.org>
8400
8401 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8402 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8403 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8404
8405 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8406
8407 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8408 (Bug#7554).
8409
8410 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8411
8412 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8413 character. (Bug#6594)
8414
8415 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8416
8417 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8418 (image-dired--with-db-file): New macro.
8419 (image-dired-write-tags, image-dired-remove-tag)
8420 (image-dired-create-gallery-lists, image-dired-write-comments)
8421 (image-dired-get-comment, image-dired-mark-tagged-files)
8422 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8423 (image-dired-gallery-generate): Use insert-file-contents.
8424
8425 * time.el (display-time-world-list, display-time-world-display):
8426 * time-stamp.el (time-stamp-string):
8427 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8428 set-time-zone-rule (Bug#7337).
8429
8430 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8431
8432 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8433 (epg-error-to-string, epg-errors-to-string): New function.
8434 (epg-wait-for-completion): Reverse errors list.
8435 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8436 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8437 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8438 (epg-sign-keys, epg-generate-key-from-file)
8439 (epg-generate-key-from-string): Format errors by using
8440 epg-errors-to-string (bug#9255).
8441 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8442
8443 2011-08-07 Juri Linkov <juri@jurta.org>
8444
8445 * faces.el (list-faces-display): Remove extra angle bracket
8446 from `help-mode-map'.
8447
8448 * info.el (Info-history-toc-nodes): Doc fix.
8449
8450 * longlines.el (longlines-mode): Doc fix.
8451
8452 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8455 of statements and in a few more cases (bug#9183).
8456
8457 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8458 New functions.
8459 (cl-transform-lambda): Use them (bug#9239).
8460
8461 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8462
8463 * window.el (display-buffer-same-window)
8464 (display-buffer-same-frame, display-buffer-other-window)
8465 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8466 (pop-to-buffer-other-window)
8467 (pop-to-buffer-same-frame-other-window)
8468 (pop-to-buffer-other-frame): Make them defuns.
8469 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8470
8471 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * subr.el (make-composed-keymap): Move from C. Change calling
8474 convention, and improve docstring to bring attention to a subtle point.
8475 * minibuffer.el (completing-read-default): Adjust accordingly.
8476
8477 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8478
8479 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8480 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8481
8482 * net/trampver.el: Update release number.
8483
8484 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8487 "in" (bug#9190).
8488
8489 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * mail/sendmail.el (sendmail-query-once): Restore the current
8492 buffer after querying (bug#9074).
8493
8494 * dired.el (dired-flagged): Use different faces for marked and
8495 flagged files (bug#6117).
8496
8497 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8498 (bug#4433).
8499
8500 * ido.el (ido-mode): Switch off the message if called
8501 non-interactively.
8502
8503 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8504 before 587, since it appears that that's more likely to work for
8505 more people.
8506
8507 * cus-edit.el (custom-file): When running under emacs -q, always
8508 refuse to save the customizations, even if the .emacs file doesn't
8509 exist.
8510
8511 * info.el: Remove the `Info-beginning-of-buffer' function
8512 (bug#8325).
8513
8514 * net/network-stream.el (network-stream-open-starttls):
8515 Use `starttls-available-p' to see whether starttls.el can be used.
8516
8517 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8518
8519 * window.el (display-buffer-in-window): Don't set dedicated status
8520 of window here (Bug#9215).
8521 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8522 (display-buffer-pop-up-side-window)
8523 (display-buffer-in-side-window): Set dedicated status of window here.
8524
8525 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8528 before binding generated-autoload-file.
8529
8530 2011-08-01 Deniz Dogan <deniz@dogan.se>
8531
8532 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8533
8534 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8535
8536 Sync with Tramp 2.2.2.
8537
8538 * net/trampver.el: Update release number.
8539
8540 2011-07-30 Juri Linkov <juri@jurta.org>
8541
8542 * dired-aux.el (dired-touch-initial): Remove function.
8543 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8544 current time, and `default' to the last modification time of the
8545 current marked file (bug#6887).
8546
8547 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8548
8549 * simple.el (goto-line): Use string-to-number to provide a
8550 numeric argument to read-number (bug#9163).
8551
8552 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8553
8554 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8555 connection process, it could be nil.
8556
8557 2011-07-27 Leo Liu <sdl.web@gmail.com>
8558
8559 Simplify url handling in rcirc-mode.
8560
8561 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8562 (rcirc-browse-url-at-mouse): Remove.
8563 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8564
8565 2011-07-26 Alan Mackenzie <acm@muc.de>
8566
8567 Fontify bitfield declarations properly.
8568
8569 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8570 (c-symbol-chars): Now exported as a lang variable.
8571 (c-not-primitive-type-keywords): New lang variable.
8572
8573 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8574 QT keyword "more" to prevent "more slots: ...." being spuriously
8575 parsed as a bitfield declaration.
8576
8577 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8578 Refactor and enhance to handle bitfield declarations.
8579 (c-punctuation-in): New function.
8580 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8581 declarations properly.
8582
8583 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8584
8585 * calendar/icalendar.el (icalendar--all-events): Take care of
8586 multiple vcalendars in a single file.
8587 (icalendar--convert-float-to-ical): Checkdoc fixes.
8588
8589 2011-07-25 Deniz Dogan <deniz@dogan.se>
8590
8591 * image.el (insert-image): Clarifying docstring.
8592
8593 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8594
8595 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8596 `tramp-send-command-and-check' if there is no error.
8597 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8598
8599 2011-07-22 Alan Mackenzie <acm@muc.de>
8600
8601 Prevent cc-langs.elc being loaded at run time.
8602
8603 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8604 cc-langs.
8605
8606 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8607 "(require 'cc-langs)". Quote a form so it will evaluate at
8608 (cc-mode's) compilation time.
8609
8610 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8611
8612 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8613 loading. (Bug#9114)
8614
8615 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8616
8617 * window.el (display-buffer-pop-up-window)
8618 (display-buffer-pop-up-side-window)
8619 (display-buffer-in-side-window): Call display-buffer-set-height
8620 and display-buffer-set-width after setting the new window's
8621 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8622
8623 2011-07-20 Sam Steingold <sds@gnu.org>
8624
8625 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8626 (etags-tags-included-tables): Call `convert-standard-filename' on
8627 the file names contained in TAGS so that windows Emacs can handle
8628 TAGS files created by cygwin ctags.
8629
8630 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8631
8632 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8633 which apparently didn't work.
8634
8635 2011-07-19 Roland Winkler <winkler@gnu.org>
8636
8637 * proced.el (proced-send-signal): For *Marked Processes* buffer
8638 put point at beginning of buffer.
8639
8640 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8641
8642 * proced.el (proced-format): Make header lines align with the text
8643 (bug#1779).
8644
8645 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8646
8647 * view.el (view-buffer): Allow running in `special' modes if we're
8648 visiting a file (bug#8615).
8649
8650 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8651
8652 * window.el (display-buffer-alist-of-strings-p)
8653 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8654 New functions.
8655 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8656 more accurately.
8657
8658 2011-07-18 Alan Mackenzie <acm@muc.de>
8659
8660 Fontify declarators properly when, e.g., a jit-lock chunk begins
8661 inside a declaration.
8662
8663 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8664
8665 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8666 New function.
8667 (c-complex-decl-matchers): Insert reference to
8668 c-font-lock-enclosing-decls.
8669
8670 * progmodes/cc-engine.el (c-backward-single-comment):
8671 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8672 to nil around calls to (forward-comment -1).
8673
8674 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675
8676 * image.el (put-image): Doc typo fix.
8677
8678 * progmodes/etags.el (tags-search): Doc typo fix.
8679
8680 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8681 password if we get errors 550 to 554.
8682
8683 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8684
8685 * net/gnutls.el (gnutls-log-level): Remove.
8686
8687 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8688 indentation character (bug#6380).
8689
8690 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8691
8692 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8693 to clarify what the problem is (bug#4291).
8694
8695 * simple.el (current-kill): Clarify what
8696 `interprogram-paste-function' does (bug#7500).
8697 (auto-fill-mode): Document `auto-fill-function' in relation to
8698 `auto-fill-mode' (bug#2470).
8699
8700 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8701
8702 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8703 method if slot is read-only (bug#9035).
8704
8705 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8706
8707 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8708 * window.el (pop-to-buffer): Select window used even if it was
8709 selected before, see discussion of (Bug#8615), (Bug#6954).
8710 Pass argument NORECORD on to select-frame-set-input-focus.
8711
8712 2011-07-15 Glenn Morris <rgm@gnu.org>
8713
8714 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8715 Respect help-form.
8716
8717 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8718
8719 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8720 (gnutls-negotiate): Use it.
8721
8722 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8723
8724 * net/gnutls.el (gnutls-negotiate):
8725 Upcase `gnutls-algorithm-priority'.
8726
8727 2011-07-15 Glenn Morris <rgm@gnu.org>
8728
8729 * jka-compr.el (jka-compr-verbose): Move from here...
8730 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8731 Add missing :version tag.
8732 * info.el: No need to require jka-compr when compiling.
8733
8734 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8735
8736 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8737 (gnutls-negotiate): Use it.
8738
8739 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8740
8741 * info.el (Info-beginning-of-buffer): New command.
8742 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8743 announcing `b' as the key (bug#8325).
8744 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8745
8746 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8747
8748 * international/mule-cmds.el
8749 (describe-specified-language-support): Make the error message
8750 clearer (bug#8905).
8751
8752 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8753
8754 * isearch.el (isearch-barrier): Add a doc string, since it's
8755 mentioned in a function doc string (bug#8678).
8756
8757 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8758
8759 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8760 buffer argument (Bug#9083) and self-identifying label argument.
8761
8762 2011-07-15 Glenn Morris <rgm@gnu.org>
8763
8764 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8765
8766 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8767
8768 * man.el (Man-fontify-manpage): Fix message when formatting the
8769 man page (bug#7929).
8770
8771 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8772
8773 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8774 argument LRM; if non-nil, append an invisible LRM character to the
8775 buffer name.
8776 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8777 last argument non-nil, when formatting buffer names.
8778 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8779 paragraph direction.
8780
8781 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8784 the man page name (bug#7929).
8785
8786 * image.el (put-image): Mention the `put-image' overlay property
8787 (bug#7834).
8788
8789 * scroll-bar.el (set-scroll-bar-mode): Mention that
8790 `scroll-bar-mode' lists the values (bug#7772).
8791
8792 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8793 command (bug#7729).
8794
8795 * rect.el (apply-on-rectangle): Return the point after the last
8796 operation.
8797 (string-rectangle): Go to the point after the last operation
8798 (bug#7522).
8799
8800 * printing.el (pr-toggle-region): Clarify the documentation
8801 slightly (bug#7493).
8802
8803 * time.el (display-time-update):
8804 Allow `display-time-mail-function' to return nil (bug#7158).
8805 Fix suggested by Detlev Zundel.
8806
8807 * vc/diff.el (diff): Clarify the order the file names are read
8808 (bug#7111).
8809
8810 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8811 the doc string (bug#7015).
8812
8813 * font-lock.el (font-lock-maximum-decoration): Mention what
8814 numeric levels mean (bug#6935).
8815
8816 * startup.el (initial-buffer-choice): Don't mention the `none'
8817 selection, which is against policy.
8818
8819 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8820
8821 * window.el (display-buffer-normalize-special):
8822 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8823
8824 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8825
8826 * subr.el (version<, version<=, version=): Mention "-CVS" and
8827 "-12345" alpha version numbers.
8828
8829 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8830
8831 * bindings.el: Add advertised binding for set-mark-command
8832 (Bug#5772).
8833
8834 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8835
8836 * bindings.el (mode-line-other-buffer):
8837 * bookmark.el (bookmark-bmenu-2-window):
8838 * bs.el (bs-cycle-next, bs-cycle-previous):
8839 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8840 switch-to-buffer.
8841
8842 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8843 Delete.
8844
8845 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8846
8847 * follow.el (follow-debug-message, follow-redisplay):
8848 * jka-cmpr-hook.el (with-auto-compression-mode):
8849 Fix typos in docstrings.
8850
8851 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8852
8853 * subr.el (with-silent-modifications): Clarify somewhat what the
8854 macro inhibits (bug#6525).
8855
8856 * simple.el (eval-expression): Note what it does if called
8857 interactively (bug#6495).
8858
8859 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8860
8861 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8862 Use pop-to-buffer buffer-or-name if it is nil.
8863
8864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8865 Remove switch-to-buffer.
8866
8867 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8868
8869 * files.el (make-directory): Clarify that an error will be raised
8870 if there's an error (bug#6397).
8871
8872 * startup.el (initial-buffer-choice): Add `none' as a choice
8873 (bug#6234).
8874
8875 * subr.el (add-hook): Clarify section about buffer-local hooks
8876 (bug#6218).
8877
8878 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8879
8880 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8881
8882 * tabify.el (untabify): Preserve the current column so that point
8883 doesn't move (bug#6032).
8884
8885 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
8887 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8888 Rewrite to avoid awkward possessive "s" (bug#5986).
8889
8890 2011-07-13 Glenn Morris <rgm@gnu.org>
8891
8892 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8893 (dired-insert-directory): Give a message the first time
8894 if ls is found not to support --dired.
8895
8896 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8897
8898 * simple.el (toggle-truncate-lines): Clarify what is toggled
8899 (bug#5580). Text by Drew Adams.
8900
8901 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8902
8903 * simple.el (blink-matching-open): Make the error message from the
8904 last change less verbose.
8905
8906 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8907
8908 * font-lock.el (font-lock-comment-face): Use the high contrast
8909 "yellow" color for font-lock-comment-face on low color terminals
8910 using a dark background color (bug#4221).
8911
8912 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * dired.el (dired-insert-set-properties): Make the doc string
8915 reflect what it does now (bug#5325).
8916
8917 * simple.el (blink-matching-open): Say that we were unable to find
8918 the match within the limit, if we're limited (bug#5122).
8919
8920 * international/mule-cmds.el (prefer-coding-system): Add an
8921 example (bug#4869).
8922
8923 * progmodes/etags.el (tags-search): Document `file-list-form'
8924 (bug#4731).
8925
8926 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8927
8928 * net/browse-url.el (browse-url-default-browser)
8929 (browse-url-browser-function): Make the default browser choice a
8930 bit more logical (bug#4300). Also clean up the doc string.
8931
8932 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8933
8934 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8935 binary endings (bug#4440).
8936
8937 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8938
8939 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8940 which can be pretty annoying (bug#8971).
8941
8942 * jka-compr.el (jka-compr-verbose): New variable, and use
8943 throughout (bug#8971).
8944
8945 * info.el (Info-find-file): Fall back on the installation
8946 directory if we can't find the info node anywhere else.
8947
8948 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8949
8950 * vc/vc.el (vc-revert-file):
8951 Don't set file time-stamp in the past. (Bug#5181)
8952
8953 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8954
8955 * files.el (after-find-file): Give a better error message when
8956 trying to find a symlink that points to a file that doesn't exist
8957 (bug#4398).
8958
8959 * progmodes/cc-vars.el: Remove (probably) misleading comment
8960 (bug#4396).
8961
8962 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8963
8964 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8965
8966 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8967
8968 * mouse-sel.el: Hack restoring functionality, while keeping
8969 compatibility with 2010-07-03 changes to mouse selection.
8970 (mouse-sel-primary-overlay): New var.
8971 (mouse-sel-selection-alist): Use it.
8972 (mouse-sel-mode): Doc fix; remove points that are default features
8973 of mouse.el.
8974
8975 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8976
8977 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8978 Fix previous fix (bug#2490).
8979
8980 2011-07-12 Roland Winkler <winkler@gnu.org>
8981
8982 * textmodes/bibtex.el (bibtex-initialize):
8983 Use pop-to-buffer-same-window.
8984 (bibtex-search-entries): Fix interactive call.
8985
8986 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987
8988 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8989 Fontise bytecomp Error lines more correctly (bug#2490).
8990 Fix suggested by Johan Bockgård.
8991
8992 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8993
8994 * dired-x.el (dired-guess-default): Use `delete-dups'.
8995
8996 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8997
8998 * dired.el (dired-mark-prompt):
8999 * dired-aux.el (dired-read-shell-command): Doc fix.
9000
9001 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9002
9003 * mail/sendmail.el (sendmail-query-once):
9004 Use `customize-save-variable' unconditionally, now that it works under
9005 emacs -Q.
9006
9007 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9008
9009 * cus-edit.el (custom-file): Take an optional no-error variable.
9010 (customize-save-variable): Set the variable, and give a warning if
9011 running under "emacs -q".
9012
9013 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
9014
9015 * loadhist.el (unload-feature-special-hooks):
9016 Add `auto-coding-functions', `fill-nobreak-predicate' and
9017 `find-directory-functions' (bug#5327).
9018
9019 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9022
9023 * cus-edit.el (custom-guess-name-alist): -alist variables should
9024 use the `alist' type (bug#3120). Suggested by Drew Adams.
9025
9026 * printing.el: Add documentation to all the `pr-toggle-' commands.
9027
9028 2011-07-11 Leo Liu <sdl.web@gmail.com>
9029
9030 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9031 backends where it makes sense (bug#2623).
9032
9033 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9034
9035 * dired-x.el (dired-guess-default): Remove duplicate shell command
9036 entries (bug#2028).
9037 (dired-guess-default): Fix grammar in doc string (bug#2028).
9038 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9039
9040 * subr.el (remove-duplicates): New conveniency function.
9041
9042 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9043
9044 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9045 (bug#1526).
9046
9047 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9048
9049 * window.el (display-buffer-normalize-default): Don't invert
9050 meaning of even-window-heights. Reported by Eli Zaretskii
9051 <eliz@gnu.org>.
9052
9053 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9054
9055 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9056
9057 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9058
9059 * window.el (display-buffer): Fix arguments to
9060 display-buffer-reuse-window in last change.
9061
9062 * faces.el (link): Use a less saturated blue on light backgrounds.
9063
9064 * startup.el (fancy-startup-text, fancy-about-text)
9065 (fancy-startup-tail): Use font-lock faces, for background safety.
9066
9067 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9068
9069 * emulation/viper-cmd.el (viper-change-state-to-vi):
9070 Limit triggering of abbrev expansion (Bug#9038).
9071
9072 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (display-buffer-default-specifiers): Remove.
9075 (display-buffer-macro-specifiers): Remove default specifiers.
9076 (display-buffer-alist): Default to nil.
9077 (display-buffer-reuse-window): New optional argument other-window.
9078 (display-buffer-pop-up-window): Allow splitting internal
9079 windows. Check whether a live window was created.
9080 (display-buffer-other-window-means-other-frame)
9081 (display-buffer-normalize-arguments): Rename to
9082 display-buffer-normalize-argument and rewrite. Set the
9083 other-window specifier.
9084 (display-buffer-normalize-special): New function.
9085 (display-buffer-normalize-options): Rename to
9086 display-buffer-normalize-default and rewrite.
9087 (display-buffer-normalize-options-inhibit): Remove.
9088 (display-buffer-normalize-specifiers): Rewrite.
9089 (display-buffer): Process other-window specifier and call
9090 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9091 more faithfully.
9092 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9093 (display-buffer-alist-set): Don't handle 'unset default values.
9094 (display-buffer-in-window, display-buffer-alist-set):
9095 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9096 <tassilo@member.fsf.org>.
9097
9098 2011-07-09 Leo Liu <sdl.web@gmail.com>
9099
9100 * register.el (insert-register): Restore accidental change on
9101 2011-06-26. (Bug#9028)
9102
9103 2011-07-09 Glenn Morris <rgm@gnu.org>
9104
9105 * subr.el (remq): Handle the empty list. (Bug#9024)
9106
9107 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9108
9109 * mail/sendmail.el (send-mail-function): No longer delay custom
9110 initialization.
9111 * custom.el (custom-initialize-delay): Doc fix.
9112
9113 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9116
9117 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9118
9119 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9120 human-friendly prompt.
9121
9122 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9125 provided by a particular plugin.
9126
9127 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9128
9129 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9130 save customizations (with "emacs -Q"), just set the variable
9131 instead of erroring out.
9132
9133 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9134
9135 2011-07-08 Juri Linkov <juri@jurta.org>
9136
9137 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9138 (archive-zip-update-case): Use 7z if found by `executable-find'.
9139 The order of searching the available programs is the same as in
9140 `archive-zip-extract' (bug#8968).
9141
9142 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9143
9144 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9145 (menu-bar-options-menu): Tweak descriptions.
9146
9147 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9148
9149 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9150 menu items into verb phrases (bug#1421). Also refill to fit under
9151 80 columns.
9152
9153 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9154
9155 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9156 (Info-read-node-name): Doc fix (Bug#1084).
9157
9158 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9159 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9160 (end-of-sexp, beginning-of-sexp)
9161 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9162 (forward-symbol, forward-same-syntax, word-at-point)
9163 (sentence-at-point): Doc fix (Bug#1144).
9164
9165 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9166
9167 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9168 should cover it (bug#1281).
9169
9170 * cus-edit.el (custom-show): Mark as obsolete.
9171
9172 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9173 negotiation fails, then possibly try again with a non-encrypted
9174 connection (bug#9017).
9175
9176 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9177 be used.
9178
9179 2011-07-07 Richard Stallman <rms@gnu.org>
9180
9181 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9182 property, and handle its changed format.
9183 Look for the correct line number.
9184 Use file's line contents (but not past first =) to find
9185 correct line in message.
9186
9187 2011-07-07 Kenichi Handa <handa@m17n.org>
9188
9189 * international/characters.el (build-unicode-category-table):
9190 Delete it.
9191 (unicode-category-table): Set it by unicode-property-table-internal.
9192
9193 * international/mule-cmds.el (char-code-property-alist): Move to
9194 to src/chartab.c.
9195 (get-char-code-property): Call unicode-property-table-internal to
9196 load a file. Call get-unicode-property-internal where necessary.
9197 (put-char-code-property): Call unicode-property-table-internal to
9198 load a file. Call put-unicode-property-internal where necessary.
9199 put-unicode-property-internal where necessary.
9200 (char-code-property-description):
9201 Call unicode-property-table-internal to load a file.
9202
9203 * international/charprop.el:
9204 * international/uni-bidi.el:
9205 * international/uni-category.el:
9206 * international/uni-combining.el:
9207 * international/uni-comment.el:
9208 * international/uni-decimal.el:
9209 * international/uni-decomposition.el:
9210 * international/uni-digit.el:
9211 * international/uni-lowercase.el:
9212 * international/uni-mirrored.el:
9213 * international/uni-name.el:
9214 * international/uni-numeric.el:
9215 * international/uni-old-name.el:
9216 * international/uni-titlecase.el:
9217 * international/uni-uppercase.el: Regenerate.
9218
9219 * loadup.el: Load international/charprop.el before
9220 international/characters.
9221
9222 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9223
9224 * window.el (next-buffer, previous-buffer): Signal an error if
9225 called from a minibuffer window.
9226
9227 * bindings.el: Revert 2011-07-04 change.
9228
9229 2011-07-06 Richard Stallman <rms@gnu.org>
9230
9231 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9232 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9233 Treat markers like ints.
9234 (rmail-mime-entity): Doc fix.
9235
9236 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9237
9238 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9239 defcustom again for backwards compatibility.
9240
9241 * simple.el (shell-command-on-region): Fill.
9242
9243 * dired-aux.el (dired-kill-line): Add a doc string.
9244
9245 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9246 to "\\sw\\|\\s_" (bug#358).
9247
9248 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9249 (dired-unmark-backward): Ditto.
9250 (dired-flag-backup-files): Ditto.
9251
9252 * dired-x.el (dired-mark-sexp): Ditto.
9253
9254 2011-07-06 Richard Stallman <rms@gnu.org>
9255
9256 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9257 (rmail-mime-entity): New arg TRUNCATED.
9258 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9259 New functions.
9260 (rmail-mime-save): Warn if entity is truncated.
9261 (rmail-mime-toggle-hidden): Likewise, for showing.
9262 (rmail-mime-process-multipart): Record when an entity is truncated.
9263
9264 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9265 if ENTITY is a string.
9266
9267 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9268
9269 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9270 of faces when `M-C-x'-ing their definitions (bug#8378).
9271 Also clean up the code slightly.
9272
9273 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9274 because that makes the colors go away.
9275
9276 * mail/sendmail.el (send-mail-function): Change the default to
9277 `sendmail-query-once'.
9278 (sendmail-query-once): Add an autoload cookie.
9279
9280 * net/network-stream.el (network-stream-open-starttls): Try using
9281 a plain connection even if the server offered STARTTLS, and we
9282 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9283 capability. This should make smtpmail.el work in slightly more
9284 configurations.
9285
9286 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9289 New defun.
9290 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9291
9292 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9293
9294 * progmodes/sql.el: Version 3.0
9295 (sql-product-alist): Add product :completion-object,
9296 :completion-column, and :statement attributes.
9297 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9298 (sql-mode-syntax-table): Mark all punctuation.
9299 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9300 ansi keywords.
9301 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9302 (sql-mode-oracle-font-lock-keywords): Improve.
9303 (sql-oracle-show-reserved-words): New function for development.
9304 (sql-product-font-lock): Simplify for source code buffers.
9305 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9306 New functions.
9307 (sql-highlight-product): Set product specific syntax table.
9308 (sql-mode-map): Add statement movement functions.
9309 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9310 New variable.
9311 (sql-statement-regexp, sql-beginning-of-statement)
9312 (sql-end-of-statement, sql-signum): New functions.
9313 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9314 (sql-show-sqli-buffer): Bug fix.
9315 (sql-interactive-mode): Store connection data as buffer local.
9316 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9317 with sql-interactive-mode.
9318 (sql-save-connection): Save buffer local settings.
9319 (sql-connection-menu-filter): Change menu entry name.
9320 (sql-product-interactive): Bug fix.
9321 (sql-preoutput-hold): New variable.
9322 (sql-interactive-remove-continuation-prompt): Bug fixes.
9323 (sql-debug-redirect): New variable.
9324 (sql-str-literal): New function.
9325 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9326 Redesign.
9327 (sql-oracle-save-settings, sql-oracle-restore-settings)
9328 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9329 (sql-completion-object, sql-completion-column)
9330 (sql-completion-sqlbuf): New variables.
9331 (sql-build-completions-1, sql-build-completions)
9332 (sql-try-completion): New functions.
9333 (sql-read-table-name): Use them.
9334 (sql-contains-names): New buffer local variable.
9335 (sql-list-all, sql-list-table): Use it.
9336 (sql-oracle-completion-types): New variable.
9337 (sql-oracle-completion-object, sql-sqlite-completion-object)
9338 (sql-postgres-completion-object): New functions.
9339
9340 2011-07-06 Glenn Morris <rgm@gnu.org>
9341
9342 * window.el (pop-to-buffer): Doc fix.
9343
9344 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9345
9346 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9347
9348 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9349
9350 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9351
9352 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9353
9354 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9355
9356 * button.el (button): Inherit from link face. Suggested by Dan
9357 Nicolaescu.
9358
9359 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * progmodes/gdb-mi.el: Fit in 80 columns.
9362 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9363 switch-to-buffer.
9364
9365 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9366 if imenu is simply not configured (bug#8941).
9367
9368 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9369
9370 * allout.el (allout-post-undo-hook): New allout outline-change
9371 event hook to signal undo activity.
9372 (allout-post-command-business): Run allout-post-undo-hook if an
9373 undo just occurred.
9374 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9375 * allout-widgets.el (allout-widgets-after-undo-function):
9376 Ensure the integrity of the current item's decoration after it has been
9377 in the vicinity of an undo.
9378 (allout-widgets-mode): Include allout-widgets-after-undo-function
9379 on the new allout-post-undo-hook.
9380
9381 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9384 Let define-derived-mode define it.
9385 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9386 cycles of abbrev-table inheritance (bug#8998).
9387
9388 2011-07-05 Roland Winkler <winkler@gnu.org>
9389
9390 * textmodes/bibtex.el: Add support for biblatex.
9391 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9392 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9393 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9394 (bibtex-entry-alist, bibtex-field-alist): New variables.
9395 (bibtex-entry-field-alist): Obsolete alias for
9396 bibtex-BibTeX-entry-alist.
9397 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9398 (bibtex-set-dialect): New command.
9399 (bibtex-entry-type, bibtex-entry-head)
9400 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9401 Bind via bibtex-set-dialect.
9402 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9403 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9404 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9405 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9406 Define via bibtex-set-dialect.
9407 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9408 Obey bibtex-no-opt-remove-re.
9409 (bibtex-vec-push, bibtex-vec-incr): New functions.
9410 (bibtex-format-entry, bibtex-field-list)
9411 (bibtex-print-help-message, bibtex-validate)
9412 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9413
9414 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * progmodes/compile.el (compilation-goto-locus):
9417 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9418 * bs.el (bs-cycle-next, bs-cycle-previous):
9419 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9420 * bindings.el (mode-line-other-buffer):
9421 * autoinsert.el (auto-insert):
9422 * arc-mode.el (archive-extract):
9423 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9424
9425 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9426
9427 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9428 Fix check of `emacs-lock-unlockable-modes'.
9429 Coerce true values of `emacs-lock--try-unlocking' to t.
9430
9431 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9434 * emacs-lock.el: New file.
9435
9436 2011-07-05 Julien Danjou <julien@danjou.info>
9437
9438 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9439 than `boundp' to check if face is set.
9440
9441 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9442
9443 * register.el (registerv-make):
9444 * window.el (window-min-height): Fix typos in docstrings.
9445
9446 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9447
9448 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9449 Update doc string.
9450
9451 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9452
9453 * server.el (server-execute): Catch quit and call
9454 `server-return-error' to pass the error back to emacsclient and
9455 close the connection (bug#8942).
9456
9457 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9458
9459 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9460 insecure exception for current topic. Also note that auto-saves
9461 are handled differently.
9462
9463 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9464 State variables for tracking auto-save inhibition situation.
9465
9466 (allout-write-contents-hook-handler): Rename from
9467 'allout-write-file-hook-handler', and describe how it depends on
9468 write-contents-functions sensitivity to non-nil value to prevent
9469 file write.
9470
9471 (allout-auto-save-hook-handler): Remove. auto-save does not check
9472 this in individual buffers, only in the starting buffer, so this
9473 is not the right way for us to inhibit auto-save in a buffer
9474 according to its condition.
9475
9476 (allout-mode): Use new allout-write-contents-hook-handler, and
9477 only with write-contents-functions. Remove auto-save provisions -
9478 they're implemented elsewhere.
9479
9480 (allout-before-change-handler): If undo is in progress, note that
9481 for attention of allout-post-command-business.
9482
9483 (allout-post-command-business): If the command we're following was
9484 an undo, check for change in the status of encrypted items and
9485 adjust auto-save inhibitions accordingly.
9486
9487 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9488 according to whether there are or aren't any plain-text topics
9489 pending encryption.
9490
9491 (allout-inhibit-auto-save-info-for-decryption):
9492 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9493 if there are plain-text topics pending encryption.
9494
9495 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9496 buffer-saved-size and some allout state to not inhibit auto-saves
9497 if there are no longer any plain-text topics pending encryption.
9498
9499 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9500 No longer provide for exemption of the current topic.
9501
9502 2011-07-04 Juri Linkov <juri@jurta.org>
9503
9504 Add 7z operations to delete and save changed members (bug#8968).
9505 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9506 New defcustoms.
9507 (archive-7z-write-file-member): New function.
9508 (archive-7z-summarize): Fix the number of dashes in the
9509 listing output.
9510
9511 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9514 (bug#8958).
9515
9516 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9517
9518 * bindings.el: Ignore next-buffer and previous-buffer in
9519 minibuffer-local-map.
9520
9521 * font-lock.el (font-lock-builtin-face): Change light background
9522 color to dark slate blue (Bug#6693).
9523
9524 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9525
9526 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9527
9528 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9529
9530 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9532 Add switch-to-buffer.
9533
9534 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9535
9536 * isearch.el (isearch-search-fun-function): Clarify further the
9537 meaning of the function returned.
9538
9539 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9540
9541 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9542
9543 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9544 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9545 Use it.
9546 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9547 `tramp-default-remote-path' does not exist.
9548 (tramp-send-command-and-read): New optional argument NOERROR.
9549 (tramp-open-connection-setup-interactive-shell)
9550 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9551 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9552 (tramp-process-sentinel): Flush also process' connection property.
9553 (tramp-sh-handle-start-file-process): Do not set process
9554 sentinel. It is done now ...
9555 (tramp-maybe-open-connection): ... here. (Bug#8929)
9556
9557 2011-07-04 MON KEY <monkey@sandpframing.com>
9558
9559 * play/animate.el (animate-string): Doc fixes and allow changing
9560 the buffer name (bug#5417).
9561
9562 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9563
9564 * play/animate.el (animation-buffer-name): Rename from *animate*.
9565
9566 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9567
9568 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9569 This is simpler and helps future-proof the code.
9570 (timer-until): Use time-subtract and float-time.
9571 (timer--time-less-p): Use time-less-p.
9572
9573 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9574
9575 * type-break.el (timep): Use the value of `float-time' to avoid a
9576 byte-compiler warning.
9577
9578 * server.el (server-eval-and-print): Return any result, even nil.
9579
9580 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9581
9582 * type-break.el: Accept time formats that the builtins accept.
9583 (timep, type-break-time-difference): Accept any format that
9584 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9585 This is simpler and helps future-proof the code.
9586 (type-break-time-difference): Round rather than ignoring
9587 subseconds components.
9588
9589 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9590
9591 * info.el (Info-apropos-matches): Make non-interactive, since it
9592 doesn't seem to do anything useful as a command (bug#8829).
9593
9594 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9595
9596 * frame.el (frame-background-mode, frame-set-background-mode):
9597 Move from faces.el.
9598 (frame-default-terminal-background): New function.
9599
9600 * custom.el (custom-push-theme): Don't record faces in `changed'
9601 theme; this doesn't work correctly for per-frame face settings.
9602 (disable-theme): Use face-set-after-frame-default to reset faces.
9603 (custom--frame-color-default): New function.
9604
9605 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9606
9607 * dired.el (dired-flagging-regexp): Remove unused variable
9608 (bug#8769).
9609
9610 2011-03-29 Kevin Ryde <user42@zip.com.au>
9611
9612 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9613 `perl-Test2' extend to match possible "fail #N" rep count
9614 (bug#8377).
9615
9616 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9617
9618 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9619 `smtpmail-via-smtp' now returns the error instead of nil.
9620
9621 * isearch.el (isearch-search-fun-function): Clarify the doc string
9622 (bug#8101).
9623
9624 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9625
9626 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9627 unnecessary spaces (bug#8987).
9628
9629 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9630
9631 * net/network-stream.el (open-network-stream): Use the
9632 :end-of-capability command thoughout.
9633
9634 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9635
9636 * net/network-stream.el (open-network-stream): Add the
9637 :end-of-capability command parameter, used by pop3.el.
9638
9639 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9640
9641 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9642
9643 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9644 for list)" (bug#6475).
9645
9646 * files.el (file-expand-wildcards): Ignore non-readable
9647 sub-directories while trying to find matches instead of signaling
9648 an error (bug#6297).
9649
9650 * man.el (Man-reference-regexp): Allow matching possible
9651 word-wrapped references (bug#6289).
9652
9653 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9654 for consistency with the other vc buffers (bug#6197).
9655 (vc-checkin): Ditto.
9656
9657 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9658
9659 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9660
9661 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9662
9663 * custom.el (defcustom): Clarify that :set is only used in the
9664 Customize user interface (bug#6089).
9665
9666 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9667 associated with a file, refuse to run instead of erroring out
9668 (bug#6084).
9669
9670 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9671 the doc string, since it appears that using `fill-column' always
9672 controls the width (bug#7845).
9673
9674 * simple.el (shell-command-on-region): Say where the error output
9675 went if `shell-command-default-error-buffer' is set (bug#6857).
9676
9677 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9678
9679 * allout.el (allout-yank-processing): Adjust cursor position for
9680 backwards-deleted space.
9681
9682 (allout-rebullet-heading): Register changes with
9683 allout-exposure-changed-hook, so the modified topic is properly
9684 decorated.
9685
9686 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9687
9688 * minibuffer.el (completion-in-region): Document PREDICATE
9689 (bug#7136).
9690
9691 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9692 of keyword/argument pairs (bug#6904).
9693
9694 * replace.el (multi-occur):
9695 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9696
9697 2011-07-02 Drew Adams <drew.adams@oracle.com>
9698
9699 * dired.el (dired-mark-if): Make the message about whether it's
9700 marking or unmarking clearer (bug#8523).
9701
9702 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9703
9704 * disp-table.el (display-table-print-array): New function.
9705 (describe-display-table): Use it to print the vectors more pretty
9706 (Bug#8859).
9707
9708 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9709
9710 * window.el (window-state-get-1): Don't assign clone numbers.
9711 Add clone-of item to list of window parameters.
9712 (window-state-put-2): Don't process clone numbers.
9713 (display-buffer-alist): Fix doc-string.
9714
9715 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9716
9717 * subr.el (remq): Don't allocate if it's not needed.
9718 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9719 (keymap--merge-bindings): New functions.
9720 (keymap-canonicalize): Use them to refine the canonicalization.
9721 * minibuffer.el (minibuffer-local-completion-map)
9722 (minibuffer-local-must-match-map): Move initialization from C.
9723 (minibuffer-local-filename-completion-map): Move initialization from C;
9724 don't inherit from anything here.
9725 (minibuffer-local-filename-must-match-map): Make obsolete.
9726 (completing-read-default): Use make-composed-keymap to combine
9727 minibuffer-local-filename-completion-map with either
9728 minibuffer-local-must-match-map or
9729 minibuffer-local-filename-completion-map.
9730
9731 2011-07-01 Glenn Morris <rgm@gnu.org>
9732
9733 * type-break.el (type-break-time-sum): Use dolist.
9734
9735 * textmodes/flyspell.el (flyspell-word-search-backward):
9736 Replace CL function.
9737
9738 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * mouse.el (mouse--strip-first-event): New function.
9741 (function-key-map): Use it to map fringe clicks to normal clicks
9742 by default.
9743
9744 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9745 (vc-bzr-revision-completion-table): Add support for annotate and date.
9746
9747 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9748 inherit from parent.
9749
9750 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9751
9752 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9753 (dired-show-file-type): Doc fixup (bug#8818).
9754
9755 * dired.el (dired-mode): Fix up the doc string as suggested by
9756 Drew Adams (bug#8817).
9757
9758 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9759 cookie, since the manual says that it should be possible to add
9760 this function to `find-file-hook' (bug#8709).
9761
9762 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9763
9764 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9765 here. Noted Ted Zlatanov as the maintainer.
9766 (cfengine-common-settings, cfengine-common-syntax): New functions
9767 to set up common things between `cfengine-mode' and
9768 `cfengine3-mode'.
9769 (cfengine3-mode): New mode.
9770 (cfengine3-defuns cfengine3-defuns-regex
9771 (cfengine3-class-selector-regex cfengine3-category-regex)
9772 (cfengine3-vartypes cfengine3-font-lock-keywords)
9773 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9774 (cfengine3-indent-line): Add from cfengine3.el.
9775
9776 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9777
9778 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9779
9780 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9781
9782 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9783
9784 * window.el (same-window-buffer-names, same-window-regexps)
9785 (same-window-p, special-display-frame-alist)
9786 (special-display-popup-frame, special-display-function)
9787 (special-display-buffer-names, special-display-regexps)
9788 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9789 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9790 (split-window-preferred-function, split-height-threshold)
9791 (split-width-threshold, even-window-heights)
9792 (display-buffer-mark-dedicated, window-splittable-p)
9793 (split-window-sensibly, window-safely-shrinkable-p):
9794 Un-obsolete.
9795 (display-buffer): Don't spread args with function specifier
9796 because special-display-popup-frame won't like it.
9797
9798 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9799
9800 Time-stamp simplifications and fixes.
9801 These improve accuracy slightly, and future-proof the code
9802 against some potential changes to current-time format.
9803
9804 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9805 by using time-since and float-time.
9806
9807 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9808 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9809 + NNN microseconds".
9810
9811 * type-break.el (type-break-time-sum): Rewrite using time-add.
9812
9813 * play/hanoi.el (hanoi-current-time-float): Remove.
9814 All uses replaced by float-time.
9815
9816 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9817 This yields a more-accurate answer.
9818 (rng-time-to-float): Remove; no longer needed.
9819
9820 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9821
9822 * calendar/timeclock.el (timeclock-seconds-to-time):
9823 Defalias to seconds-to-time, since they're the same thing.
9824
9825 * emacs-lisp/elp.el (elp-elapsed-time):
9826 * emacs-lisp/benchmark.el (benchmark-elapse):
9827 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9828
9829 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * window.el (bury-buffer): Don't iconify the only frame.
9832 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9833 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9834
9835 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9836
9837 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9838 Add mouse-yank-primary.
9839
9840 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9841
9842 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9843
9844 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9847 (find-library-name): Use it to find relative load names when provided
9848 absolute file name (bug#8803).
9849
9850 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9851
9852 * textmodes/flyspell.el (flyspell-word): Consider words that
9853 differ only in case as potential doublons (bug#5687).
9854
9855 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9856 Remove two rather uninteresting debugging-like messages to make
9857 debbugs.el more silent.
9858
9859 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9860 a password-like phrase.
9861
9862 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9863
9864 * progmodes/cc-guess.el: New file.
9865
9866 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9867
9868 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9869 derived from `c-basic-common-init'.
9870
9871 * progmodes/cc-mode.el (top-level): Require cc-guess.
9872 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9873
9874 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9875
9876 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9877
9878 2011-06-30 Alan Mackenzie <acm@muc.de>
9879
9880 * progmodes/cc-engine.el (c-guess-continued-construct):
9881 Correct the handling of template-args-cont, particularly for when font
9882 lock is disabled. Name this case as "CASE G".
9883
9884 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9885
9886 * allout.el (allout-yank-processing): Fix injection of extra space
9887 between bullet and non-whitespace character in first topic when
9888 pasting, ensuring that the actual spacing in the pasted topic
9889 following the bullet char is preserved. This extra space was
9890 causing pasted encrypted topics to get a decrypted status even
9891 when the content was actually still encrypted. Now the decryption
9892 status from before the paste is preserved.
9893
9894 (allout-flag-region): Set all allout overlays so they evaporate
9895 when reduced to zero length (evanescent), to prevent overlay
9896 leakage.
9897
9898 2011-06-30 Glenn Morris <rgm@gnu.org>
9899
9900 * w32-fns.el (w32-charset-info-alist): Declare.
9901
9902 * find-dired.el (find-grep-options): Simplify.
9903
9904 * term/ns-win.el (ns-set-resource): Declare.
9905
9906 * ses.el (row, col): Declare dynamic variables honestly.
9907
9908 * textmodes/reftex-parse.el (index-tags): Declare.
9909
9910 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9911
9912 * cus-edit.el (customize-push-and-save): New function.
9913
9914 * files.el (hack-local-variables-confirm): Use it.
9915
9916 * custom.el (load-theme): New arg NO-CONFIRM.
9917 Use customize-push-and-save (Bug#8720).
9918 (custom-enabled-themes): Doc fix.
9919
9920 * cus-theme.el (customize-create-theme)
9921 (custom-theme-merge-theme): Callers to load-theme changed.
9922
9923 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9924
9925 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9926 short URLs have at least one dot in them (bug #7614).
9927
9928 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9929 nil, because using a pty is apparently too slow (bug #895).
9930
9931 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9932
9933 * mail/sendmail.el (sendmail-query-once): New function.
9934 (sendmail-query-once-function): New variable.
9935
9936 2011-06-29 Glenn Morris <rgm@gnu.org>
9937
9938 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9939
9940 * ses.el (top-level): Require cl when compiling.
9941 (ses-set-localvars): Fix error statement.
9942 Call it at compile time to silence a storm of warnings.
9943
9944 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9945
9946 * window.el (normalize-live-buffer): Rename to
9947 window-normalize-buffer.
9948 (normalize-live-frame): Rename to window-normalize-frame.
9949 (normalize-any-window): Rename to window-normalize-any-window.
9950 (normalize-live-window): Rename to window-normalize-live-window.
9951 (make-window-atom): Rename to window-make-atom.
9952 (window-resize-reset): Rename to window--resize-reset.
9953 (window-resize-reset-1): Rename to window--resize-reset-1.
9954 (resize-mini-window): Rename to window--resize-mini-window.
9955 (resize-subwindows-skip-p): Rename to
9956 window--resize-subwindows-skip-p.
9957 (resize-subwindows-normal): Rename to
9958 window--resize-subwindows-normal.
9959 (resize-subwindows): Rename to window--resize-subwindows.
9960 (resize-other-windows): Rename to window--resize-siblings.
9961 (resize-this-window): Rename to window--resize-this-window.
9962 (resize-root-window): Rename to window--resize-root-window.
9963 (resize-root-window-vertically): Rename to
9964 window--resize-root-window-vertically.
9965 (normalize-buffer-to-display): Rename to
9966 window-normalize-buffer-to-display.
9967 (normalize-buffer-to-switch-to): Rename to
9968 window-normalize-buffer-to-switch-to.
9969 Correspondingly update all callers of the functions listed
9970 above.
9971 (display-buffer-alist, display-buffer-normalize-arguments)
9972 (display-buffer-normalize-options, display-buffer)
9973 (display-buffer-alist-set): Use "function" instead of
9974 "fun-with-args".
9975
9976 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9977
9978 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9979 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9980 debbugs.gnu.org. Mention acknowledgment email.
9981
9982 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9983
9984 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9985 buffer multibyteness, since it shouldn't matter.
9986
9987 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9988
9989 * window.el (display-buffer-in-side-window): Handle dedicated
9990 windows as in display-buffer-reuse-window.
9991 (display-buffer-normalize-alist): Use value of override
9992 specifier.
9993 (display-buffer-normalize-specifiers): Use value of
9994 other-window-means-other-frame specifier.
9995 (display-buffer-alist): Rewrite some texts in widgets.
9996 (display-buffer): Spread arguments when calling function
9997 specified by fun-with-args.
9998
9999 2011-06-28 Deniz Dogan <deniz@dogan.se>
10000
10001 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10002 Unnest `let'.
10003
10004 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10005 selectors (Bug#5732).
10006 (css-proprietary-nmstart-re): Use `regexp-opt'.
10007
10008 2011-06-27 Jari Aalto <jari.aalto@cante.net>
10009
10010 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10011 (eshell-ls-date-format): New defcustom.
10012 (eshell-ls-file): Use it.
10013
10014 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10017
10018 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10019
10020 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10021 (ange-ftp-make-tmp-name): New arg.
10022 (ange-ftp-file-local-copy): Use it.
10023
10024 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
10025
10026 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10027 no-conversion (Bug#8870).
10028
10029 2011-06-27 Martin Rudalics <rudalics@gmx.at>
10030
10031 * window.el (window-right, window-left, window-child)
10032 (window-child-count, window-last-child)
10033 (window-iso-combination-p, walk-window-tree-1)
10034 (window-atom-check-1, window-tree-1, delete-window)
10035 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10036 new naming conventions - window-vchild, window-hchild,
10037 window-next and window-prev are now called window-top-child,
10038 window-left-child, window-next-sibling and window-prev-sibling
10039 respectively.
10040 (resize-window-reset): Rename to window-resize-reset.
10041 (resize-window-reset-1): Rename to window-resize-reset-1.
10042 (resize-window): Rename to window-resize.
10043 (window-min-height, window-min-width)
10044 (resize-mini-window, resize-this-window, resize-root-window)
10045 (resize-root-window-vertically, adjust-window-trailing-edge)
10046 (enlarge-window, shrink-window, maximize-window)
10047 (minimize-window, delete-window, quit-restore-window)
10048 (split-window, balance-windows, balance-windows-area-adjust)
10049 (balance-windows-area, window-state-put-2)
10050 (display-buffer-even-window-sizes, display-buffer-set-height)
10051 (display-buffer-set-width, set-window-text-height)
10052 (fit-window-to-buffer): Rename all "resize-window" prefixed
10053 calls to use the "window-resize" prefix convention.
10054 (display-buffer-alist): Fix symbol for label specifier.
10055 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10056 corresponding specifier.
10057 Reported by Juanma Barranquero <lekktu@gmail.com>.
10058
10059 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10060
10061 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10062 convention.
10063 (ses-call-printer): Does not pass an empty string to formatter when the
10064 cell is empty to keep from barking printer Calc math-format-value.
10065
10066 2011-06-27 Richard Stallman <rms@gnu.org>
10067
10068 * battery.el (battery-mode-line-limit): New variable.
10069 (battery-update): Handle it.
10070
10071 * mail/rmailmm.el (rmail-mime-process-multipart):
10072 Handle truncated messages.
10073
10074 2011-06-27 Glenn Morris <rgm@gnu.org>
10075
10076 * progmodes/flymake.el (flymake-err-line-patterns):
10077 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10078
10079 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10080
10081 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10082 (ses--clean-!, ses--clean-_): New functions.
10083 (ses-range): Add configurability of readout order, and conversion
10084 to Calc vector.
10085
10086 * ses.el (ses-repair-cell-reference-all): New function.
10087 (ses-cell-symbol): Set macro as safe, so that it can be used in
10088 formulas.
10089
10090 * ses.el: Update cycle detection algorithm.
10091 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10092 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10093 (ses-set-localvars): New function.
10094 (ses-make-cell): Add property-list as a cell element.
10095 (ses-cell-property-get-fun, ses-cell-property-get)
10096 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10097 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10098 New functions.
10099 (ses-cell-property-set, ses-cell-property-pop)
10100 (ses-cell-property-get-handle): New macro.
10101 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10102 New aliases, used for code readability.
10103 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10104 cycle detection.
10105 (ses-self-reference-early-detection): New defcustom.
10106 (ses-formula-references): Robustify against self-referring cells.
10107 (ses-mode): Use ses-set-localvars.
10108 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10109 before lauching the update processing.
10110 (ses-initialize-Dijkstra-attempt): New function.
10111 (ses-recalculate-cell): Update for cycle detection based on
10112 Dijkstra algorithm.
10113
10114 * ses.el: Fix commenting and indenting convention.
10115
10116 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * bs.el (bs-cycle-next): Complete last change.
10119
10120 2011-06-27 Drew Adams <drew.adams@oracle.com>
10121
10122 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10123
10124 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10125
10126 * net/network-stream.el (network-stream-open-starttls):
10127 Don't re-get capabilities unless we've reestablished connection.
10128 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10129
10130 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10131 to binary to possibly avoid line encoding issues on Windows (among
10132 other things).
10133
10134 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10135
10136 * net/network-stream.el (open-network-stream): Return an :error
10137 saying what the problem was, if possible.
10138
10139 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10140 server.
10141
10142 * net/network-stream.el (network-stream-open-starttls): If we
10143 wanted to use STARTTLS, and the server offered it, but we weren't
10144 able to because we had no STARTTLS support, then close the connection.
10145 (open-network-stream): Return an :error element, if present.
10146
10147 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10148
10149 * hl-line.el (hl-line-sticky-flag): Doc fix.
10150 (global-hl-line-sticky-flag): New option (Bug#8323).
10151 (global-hl-line-highlight): Obey it.
10152
10153 * vc/vc.el (vc-revert-show-diff): Default to t.
10154
10155 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10156
10157 * allout-widgets.el (allout-widgets-post-command-business):
10158 Stop decorating intermediate isearch matches. They're not being
10159 undecorated when an isearch is continued past, and isearch
10160 automatically collapses them. This leads to "widget leaks", where
10161 decorated items accumulate in collapsed areas. Lines with lots of
10162 hidden widgets can slow down cursor travel, substantially.
10163 Too much complicated machinery would be needed to ensure undecoration,
10164 so we're doing without this nicety.
10165
10166 (allout-widgets-tally-string): Don't try to do a hash-table-count
10167 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10168 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10169 *Messages* when allout-widgets-maintain-tally is t.
10170
10171 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10172
10173 * window.el (display-buffer-normalize-argument): Rename to
10174 display-buffer-normalize-arguments. Handle special meaning of
10175 LABEL argument. Respect special-display-function when popping up
10176 a new frame. Fix code searching for a window showing the buffer
10177 on another frame.
10178 (display-buffer-normalize-specifiers):
10179 Call display-buffer-normalize-arguments.
10180 (display-buffer-in-window): Don't undedicate the window if its
10181 buffer remains the same.
10182 Reported by Drew Adams <drew.adams@oracle.com>.
10183 (display-buffer-alist): Add choice for same-window macro
10184 specfier.
10185 (display-buffer): Mention special meaning of LABEL argument in
10186 doc-string. Fix quoting. Don't pop up a new frame even as
10187 fallback.
10188
10189 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10190
10191 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10192 avoid deleting the current window in some cases (bug#8911).
10193
10194 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10195
10196 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10197 (Bug#8934)
10198
10199 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10200
10201 * net/network-stream.el (network-stream-open-starttls):
10202 Use built-in TLS support if `gnutls-available-p' is true.
10203 (network-stream-open-tls): Ditto.
10204
10205 2011-06-26 Leo Liu <sdl.web@gmail.com>
10206
10207 * register.el (registerv): New struct.
10208 (registerv-make): New function.
10209 (jump-to-register, describe-register-1, insert-register):
10210 Support the jump-func, print-func and insert-func slot of a registerv
10211 struct. (Bug#8415)
10212
10213 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10214
10215 * vc/vc.el (vc-revert-show-diff): New defcustom.
10216 (vc-diff-internal): New arg specifying diff buffer.
10217 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10218 reuse an existing *vc-diff* buffer (Bug#8927).
10219
10220 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10221
10222 2011-06-26 Glenn Morris <rgm@gnu.org>
10223
10224 * progmodes/f90.el (f90-critical-indent): New option.
10225 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10226 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10227 (f90-mode): Doc fix.
10228 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10229 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10230 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10231 (f90-match-end): Handle block, critical.
10232
10233 2011-06-25 Glenn Morris <rgm@gnu.org>
10234
10235 * calendar/diary-lib.el (diary-included-files): Doc fix.
10236 (diary-include-files): New function, extracted from
10237 diary-include-other-diary-files and diary-mark-included-diary-files.
10238 (diary-include-other-diary-files, diary-mark-included-diary-files):
10239 Just call diary-include-files.
10240 (diary-mark-entries): Reset diary-included-files on first call.
10241
10242 * calendar/diary-lib.el (diary-mark-entries)
10243 (diary-mark-included-diary-files):
10244 Visit included diary-files in temp buffers.
10245
10246 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10247 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10248 (f90-start-block-re, f90-imenu-generic-expression)
10249 (f90-looking-at-program-block-start, f90-no-block-limit):
10250 Add support for submodules.
10251
10252 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10253 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10254
10255 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10256
10257 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10258 buffer-file-type before setting its value, to avoid disastrous
10259 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10260
10261 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10264
10265 * ses.el (ses-unload-function):
10266 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10267
10268 * proced.el (proced-unload-function):
10269 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10270
10271 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10272
10273 * server.el (server-create-window-system-frame): Add parameters arg.
10274 (server-process-filter): Doc fix. Handle frame-parameters.
10275
10276 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10277
10278 Fix bug#8730, bug#8781.
10279
10280 * loadhist.el (unload--set-major-mode): New function.
10281 (unload-feature): Use it.
10282
10283 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10284 (python-unload-function): New function.
10285
10286 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10289
10290 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10291
10292 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10293 the candidates list.
10294
10295 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10298
10299 2011-06-23 Richard Stallman <rms@gnu.org>
10300
10301 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10302 (rmail-variables): Set next-error-move-function.
10303 (rmail-what-message): Take argument POS.
10304 (rmail-next-error-move): New function.
10305
10306 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10309 messages for adjacent non-terminals.
10310
10311 2011-06-23 Richard Stallman <rms@gnu.org>
10312
10313 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10314 (rmail-show-message-1): Preserve buffer modified flag.
10315 (rmail-start-mail): Don't specify use of rmail-mail-return;
10316 that's done by mail-bury now.
10317 (rmail-mail-return): Handle arg NEWBUF.
10318
10319 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10320
10321 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10322 SIZE is a number.
10323
10324 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10325
10326 * window.el (get-lru-window, get-mru-window)
10327 (get-largest-window): Never return a minibuffer window.
10328 (display-buffer-pop-up-window): Fix a bug that could lead to
10329 reusing the minibuffer window.
10330 (display-buffer): Pass original specifier argument to
10331 display-buffer-function instead of the normalized one.
10332 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10333
10334 2011-06-22 Leo Liu <sdl.web@gmail.com>
10335
10336 * minibuffer.el (completing-read-function)
10337 (completing-read-default): Move from minibuf.c
10338
10339 2011-06-22 Richard Stallman <rms@gnu.org>
10340
10341 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10342 to Rmail even if not started by a special Rmail command.
10343
10344 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10345 Copy the buffer currently showing just one message.
10346
10347 2011-06-22 Roland Winkler <winkler@gnu.org>
10348
10349 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10350 (bibtex-clean-entry): First delete the old key so that a
10351 customized algorithm for generating the new key does not get
10352 confused by the old key.
10353 (bibtex-url): Obey regexp of first step.
10354 (bibtex-search-entries): Do not use add-to-list with local
10355 list-var.
10356
10357 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10358
10359 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10360 stored a user name, then query for the password first, instead of
10361 waiting for SMTP to give an error message and the trying again.
10362
10363 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10364
10365 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10366 BUFFER in call-process.
10367
10368 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369
10370 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10371 QUIT twice.
10372 (smtpmail-try-auth-methods): Require user name and password from
10373 auth-source.
10374
10375 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10376
10377 * window.el (display-buffer-default-specifiers)
10378 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10379 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10380 (split-window): Normalize SIDE argument (Bug#8916).
10381
10382 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10383 (special-display-frame-alist, special-display-popup-frame):
10384 Remove duplicate declarations. These are now in window.el.
10385
10386 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10387
10388 * mail/smtpmail.el (smtpmail-via-smtp):
10389 Set :use-starttls-if-possible so that we always use STARTTLS if the
10390 server supports it. SMTP servers that support STARTTLS commonly
10391 require it.
10392
10393 * net/network-stream.el (network-stream-open-starttls): Support
10394 upgrading to STARTTLS always, even if we don't have built-in support.
10395 (open-network-stream): Add the :always-query-capabilities keyword.
10396
10397 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10398 upgrades with `open-network-stream', and rely solely on
10399 auth-source for all credentials. Big changes throughout the file,
10400 but in particular:
10401 (smtpmail-auth-credentials): Remove.
10402 (smtpmail-starttls-credentials): Remove.
10403 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10404 MAIL FROM, too.
10405
10406 * net/network-stream.el (network-stream-open-starttls):
10407 Provide support for client certificates both for external and built-in
10408 STARTTLS.
10409 (auth-source): Require.
10410 (open-network-stream): Document the :client-certificate keyword.
10411 (network-stream-certificate): Change cert-cert to cert and
10412 cert-key to key.
10413
10414 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10415
10416 * net/tramp-cache.el (top): Don't load the persistency file when
10417 "emacs -Q" has been called.
10418
10419 2011-06-21 Tim Harper <timcharper@gmail.com>
10420
10421 * term/ns-win.el (ns-initialize-window-system):
10422 Set application-specific `ApplePressAndHoldEnabled' system
10423 resource to NO as it is not yet supported by the NS port.
10424
10425 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10426
10427 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10428 (list-dynamic-libraries): ...not here.
10429
10430 2011-06-21 Leo Liu <sdl.web@gmail.com>
10431
10432 * subr.el (sha1): Implement sha1 using secure-hash.
10433
10434 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10435
10436 * window.el (display-buffer-alist): In default value do not
10437 enforce searching a window on any but the selected frame.
10438 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10439 (display-buffer-select-window): Remove function.
10440 (display-buffer-in-window): When a window on another frame gets
10441 reused, do not select it any more but just raise its frame if
10442 necessary (Bug#8851) and (Bug#8856).
10443 (display-buffer-normalize-options): Handle pop-up-frames related
10444 options more faithfully.
10445 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10446 window if it is on another frame.
10447 (display-buffer-alist, display-buffer-default-specifiers):
10448 Don't make new frame unsplittable by default.
10449 (display-buffer-normalize-argument): Fix doc-string typo and use
10450 'same-frame-other-window instead of 'other-window when associating
10451 with display-buffer-macro-specifiers.
10452
10453 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10454
10455 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10456 New functions.
10457 (5x5-mode-map, 5x5-mode-menu): Bind them.
10458 (5x5-draw-grid): Tweak the solver's rendering.
10459
10460 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10463 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10464
10465 2011-06-21 Drew Adams <drew.adams@oracle.com>
10466
10467 * menu-bar.el: Use function variable instead of switch-to-buffer.
10468 (menu-bar-select-buffer-function): New variable.
10469 (menu-bar-update-buffers): Use it (bug#8876).
10470
10471 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10474 variable's status.
10475
10476 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10477
10478 * x-dnd.el (x-dnd-version-from-flags)
10479 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10480 and long as number (Bug#8899).
10481 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10482
10483 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10484
10485 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10486 (completion-try-completion, completion-all-completions): Compute the
10487 metadata argument if it's missing; make it optional (bug#8795).
10488
10489 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10490 (widget-complete): Use new :completion-function property.
10491 (widget-completions-at-point): New function.
10492 (default): Use :completion-function instead of :complete.
10493 (widget-default-completions): Rename from widget-default-complete;
10494 Rewrite.
10495 (widget-string-complete, widget-file-complete, widget-color-complete):
10496 Remove functions.
10497 (file, symbol, function, variable, coding-system, color):
10498 * international/mule-cmds.el (default-input-method, charset)
10499 (language-info-custom-alist):
10500 * cus-edit.el (face): Use new property :completions.
10501
10502 * progmodes/pascal.el (pascal-completions-at-point): New function.
10503 (pascal-mode): Use it.
10504 (pascal-mode-map): Use completion-at-point.
10505 (pascal-toggle-completions): Make obsolete.
10506 (pascal-complete-word, pascal-show-completions):
10507 * progmodes/octave-mod.el (octave-complete-symbol):
10508 Redefine as obsolete alias.
10509 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10510 Signal absence of completion info for old Octave,
10511 (inferior-octave-complete): Redefine as obsolete alias.
10512 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10513 (meta-completions-at-point): Rename from meta-complete-symbol and
10514 adapt it for use on completion-at-point-functions.
10515 (meta-common-mode): Use it.
10516 (meta-looking-at-backward, meta-match-buffer): Remove.
10517 (meta-complete-symbol): Redefine as obsolete alias.
10518 (meta-common-mode-map): Use completion-at-point.
10519 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10520 (makefile-mode-map): Use completion-at-point.
10521 (makefile-completions-at-point): Rename from makefile-complete and
10522 adapt it for use on completion-at-point-functions.
10523 (makefile-mode): Use it.
10524 (makefile-complete): Redefine as obsolete alias.
10525
10526 2011-06-20 Deniz Dogan <deniz@dogan.se>
10527
10528 * net/rcirc.el: Delete trailing whitespaces once and for all.
10529
10530 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10531
10532 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10533
10534 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10535
10536 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10537
10538 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10539
10540 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10541
10542 * window.el (display-buffer-other-window-means-other-frame):
10543 Call display-buffer-normalize-alist.
10544 (display-buffer-normalize-specifiers-1): Rename to
10545 display-buffer-normalize-argument. New argument other-frame.
10546 Rewrite.
10547 (display-buffer-normalize-specifiers-2): Rename to
10548 display-buffer-normalize-options.
10549 (display-buffer-normalize-alist-1): New function.
10550 (display-buffer-normalize-specifiers-3): Rename to
10551 display-buffer-normalize-alist.
10552 Call display-buffer-normalize-alist-1.
10553 (display-buffer-normalize-options-inhibit): New variable.
10554 (display-buffer-normalize-specifiers): Rewrite calling
10555 display-buffer-normalize-alist,
10556 display-buffer-normalize-argument, and
10557 display-buffer-normalize-options. Don't call the latter if
10558 display-buffer-normalize-options-inhibit is non-nil.
10559 (frame-auto-delete): New option.
10560 (window-deletable-p): Use frame-auto-delete.
10561 (window-list-no-nils, window-state-ignored-parameters)
10562 (window-state-get-1, window-state-get, window-state-put-list)
10563 (window-state-put-1, window-state-put-2, window-state-put):
10564 New functions.
10565 (display-buffer-normalize-options): Move special-display-p group
10566 after pop-up-frame group (Bug#8851) and (Bug#8856).
10567
10568 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10571 groups (Bug#8776).
10572 (rx-submatch-n): New function.
10573 (rx): Document it.
10574
10575 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10576 (Bug#8768).
10577
10578 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10579
10580 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10581
10582 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10583 anytime existing face settings are present (Bug#8889).
10584
10585 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10586 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10587 Remove unused argument.
10588
10589 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10590
10591 * window.el (display-buffer-default-specifiers):
10592 Remove pop-up-frame. Add pop-up-window-min-height,
10593 pop-up-window-min-width, and another reuse-window specifier
10594 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10595 (display-buffer-normalize-specifiers-2):
10596 Handle split-height-threshold and split-width-threshold also when
10597 pop-up-windows is unset. Add a reuse-window specifier for the
10598 case popping up a new window fails.
10599 (special-display-popup-frame): Remove double quoting.
10600 (display-buffer-normalize-specifiers-1): Fix thinko.
10601
10602 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10605 according to comint-completion-addsuffix.
10606
10607 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10608 (pcomplete-suffix-list): Mark as obsolete.
10609 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10610 pcomplete-seen in the closure.
10611 (pcomplete-comint-setup): Setup completion-at-point as well.
10612 (pcomplete--entries): New function.
10613 (pcomplete--env-regexp): New var.
10614 (pcomplete-entries): Rewrite to work with partial-completion and
10615 without relying on pcomplete-suffix-list.
10616 (pcomplete-pare-list): Remove, unused.
10617
10618 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10619
10620 * window.el (display-buffer-alist): Set pop-up-window-min-height
10621 and pop-up-window-min-width in default value. Reported by
10622 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10623 other-window-means-other-frame.
10624 (display-buffer-macro-specifiers): Comment out entry for
10625 other-window specifier.
10626 (display-buffer-other-window-means-other-frame): New function.
10627 (display-buffer-normalize-specifiers-1): New arguments
10628 buffer-name and label. Treat other-window case specially.
10629 (display-buffer-normalize-specifiers-2): Treat other-window case
10630 specially.
10631 (display-buffer-normalize-specifiers-3): New function.
10632 (display-buffer-normalize-specifiers):
10633 Call display-buffer-normalize-specifiers-3.
10634
10635 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10636
10637 * window.el (same-window-p): Fix two typos introduced when
10638 adding with-no-warnings.
10639 (display-buffer-normalize-specifiers-1): Don't check
10640 pop-up-frames for 'unset initialization.
10641 (display-buffer-normalize-specifiers-2): Major rewrite using
10642 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10643 (pop-up-frames, display-buffer-reuse-frames)
10644 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10645 Suggested by David Engster <deng@randomsample.de>.
10646 (even-window-heights): Initialize to 'unset.
10647 (display-buffer-alist-set): Handle new 'unset initializations.
10648 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10649 other window case.
10650
10651 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10652
10653 * window.el (display-buffer-normalize-specifiers-1):
10654 Respect current value of pop-up-frames for most reasonable values of
10655 second argument of display-buffer (Bug#8865).
10656 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10657 (switch-to-buffer-other-window-same-frame)
10658 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10659 Adams (Bug#8875).
10660 (display-buffer): Don't check noninteractive when calling
10661 display-buffer-pop-up-frame.
10662 (display-buffer-pop-up-frame): Never pop up a frame in
10663 noninteractive mode (Bug#8857).
10664 (enlarge-window, shrink-window): Don't report an error when the
10665 window can't be resized as requested (Bug#8862).
10666
10667 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10670
10671 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10672
10673 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10674
10675 2011-06-15 Alan Mackenzie <acm@muc.de>
10676
10677 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10678 for declarators, disable knr checking to speed up for normal files.
10679 2: Refactor, replacing a sequence of nested if forms by a cond form.
10680
10681 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10682
10683 * net/network-stream.el (open-network-stream): Add the keyword
10684 :always-query-capabilities for the case where you want to force a
10685 `plain' network connection, but the protocol still requires the
10686 capabilitiy command (i.e., SMTP and EHLO).
10687
10688 * subr.el (process-live-p): Rename from `process-alive-p' for
10689 consistency with other `-live-p' functions.
10690
10691 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * window.el (same-window-buffer-names, same-window-regexps)
10694 (special-display-frame-alist, special-display-popup-frame)
10695 (special-display-function, special-display-buffer-names)
10696 (special-display-regexps, pop-up-frame-alist)
10697 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10698 (pop-up-windows, split-window-preferred-function)
10699 (split-height-threshold, split-width-threshold, even-window-heights)
10700 (display-buffer-mark-dedicated): Don't encourage the use of
10701 display-buffer-alist from Elisp code.
10702
10703 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10704
10705 * progmodes/python.el (python-mode): Derive from prog-mode.
10706 * progmodes/ps-mode.el (ps-mode):
10707 * progmodes/mixal-mode.el (mixal-mode):
10708 * progmodes/cfengine.el (cfengine-mode):
10709 * progmodes/ld-script.el (ld-script-mode): Likewise.
10710
10711 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10712
10713 * window.el (display-buffer-alist): Trim default value to avoid
10714 popping up a new frame (Bug#8857) or reusing an arbitrary window
10715 on another frame.
10716 (display-buffer): Do not fall back on popping up a new frame in
10717 batch mode (Bug#8857).
10718
10719 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10720
10721 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10722 (custom-theme-summary): New function.
10723 (customize-themes): Use it.
10724
10725 2011-06-13 Glenn Morris <rgm@gnu.org>
10726
10727 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10728
10729 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10730
10731 * help.el (help-window): Remove variable.
10732 (help-window-point-marker, temp-buffer-max-height)
10733 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10734 (help-print-return-message): Don't set help-window.
10735 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10736 (help-window-setup-finish): Remove.
10737 (help-window-display-message, help-window-setup)
10738 (with-help-window): Major rewrite based on new
10739 display-buffer-window variable.
10740
10741 * help-mode.el (help-mode-finish): Remove help-window related
10742 code.
10743
10744 * view.el (view-exits-all-viewing-windows): Remove reference to
10745 view-return-to-alist in doc-string.
10746 (view-return-to-alist): Make obsolete.
10747 (view-buffer): Call pop-to-buffer-same-window and remove
10748 undo-window code.
10749 (view-buffer-other-window): Call pop-to-buffer-other-window and
10750 simplify code. Ignore second argument.
10751 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10752 simplify code. Ignore second argument.
10753 (view-return-to-alist-update): Make obsolete.
10754 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10755 Rewrite using quit-restore window parameters.
10756 (view-mode-exit): Rename second argument to EXIT-ONLY.
10757 Rewrite using quit-restore-window.
10758 (View-exit, View-exit-and-edit, View-leave, View-quit)
10759 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10760 appropriate arguments.
10761 (view-end-message): Use quit-restore window parameter.
10762
10763 * window.el (display-buffer-function): Rewrite doc-string.
10764 (display-buffer-window, display-buffer-alist): New variables.
10765 (display-buffer-split-specifiers)
10766 (display-buffer-side-specifiers)
10767 (display-buffer-macro-specifiers): New constants.
10768 (display-buffer-even-window-sizes, display-buffer-set-height)
10769 (display-buffer-set-width, display-buffer-select-window)
10770 (display-buffer-in-window, display-buffer-reuse-window)
10771 (display-buffer-split-window-1, display-buffer-split-window)
10772 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10773 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10774 (display-buffer-in-side-window, normalize-buffer-to-display)
10775 (display-buffer-normalize-specifiers-1)
10776 (display-buffer-normalize-specifiers-2)
10777 (display-buffer-normalize-specifiers, display-buffer-frame):
10778 New functions.
10779 (display-buffer): Major rewrite.
10780 (display-buffer-other-window, display-buffer-other-frame)
10781 (pop-to-buffer, switch-to-buffer-other-window)
10782 (switch-to-buffer-other-frame): Rewrite.
10783 (display-buffer-same-window, display-buffer-same-frame)
10784 (display-buffer-same-frame-other-window)
10785 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10786 (pop-to-buffer-other-window)
10787 (pop-to-buffer-same-frame-other-window)
10788 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10789 (switch-to-buffer-other-window-same-frame): New functions.
10790 (same-window-p, special-display-p): Rewrite disabling warnings.
10791 Make obsolete.
10792 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10793 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10794 Make obsolete
10795 (same-window-buffer-names, same-window-regexps)
10796 (special-display-frame-alist, special-display-popup-frame)
10797 (special-display-function, special-display-buffer-names)
10798 (special-display-regexps, pop-up-frame-alist)
10799 (pop-up-frame-function, split-window-preferred-function)
10800 (split-height-threshold, split-width-threshold)
10801 (even-window-heights): Make obsolete.
10802
10803 2011-06-12 Glenn Morris <rgm@gnu.org>
10804
10805 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10806 Misc simplifications.
10807
10808 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10809
10810 * window.el (window-safely-shrinkable-p): Restore function which
10811 was inadvertently removed in change from 2011-06-11. Declare as
10812 obsolete.
10813
10814 * calendar/calendar.el (calendar-generate-window):
10815 Use window-iso-combined-p instead of combination of one-window-p and
10816 window-safely-shrinkable-p.
10817
10818 2011-06-12 Glenn Morris <rgm@gnu.org>
10819
10820 * progmodes/fortran.el (fortran-mode-syntax-table):
10821 * progmodes/f90.el (f90-mode-syntax-table):
10822 Set % to punctuation. (Bug#8820)
10823 (f90-find-tag-default): Remove, no longer needed.
10824
10825 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10826
10827 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10828
10829 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * image.el (image-animated-p): Return animation delay in seconds.
10832 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10833 (image-animate-timeout): Remove DELAY argument. Don't assume
10834 every subimage has the same delay; get it from image-animated-p.
10835 (image-animate): Caller changed.
10836
10837 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10838
10839 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10840 to ignored backtrace functions.
10841
10842 2011-06-11 Glenn Morris <rgm@gnu.org>
10843
10844 * calendar/appt.el (appt-disp-window-function): Doc fix.
10845 (appt-check): Handle overlapping appointments. (Bug#8337)
10846
10847 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10848
10849 * window.el (window-tree-1, window-tree): New functions, moving
10850 the latter to window.el.
10851 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10852 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10853 (bw-refresh-edges): Remove.
10854 (balance-windows-1, balance-windows-2): New functions.
10855 (balance-windows): Rewrite in terms of window tree functions,
10856 balance-windows-1 and balance-windows-2.
10857 (bw-adjust-window): Remove.
10858 (balance-windows-area-adjust): New function with functionality of
10859 bw-adjust-window but using resize-window.
10860 (set-window-text-height): Rewrite doc-string.
10861 Use normalize-live-window and resize-window.
10862 (enlarge-window-horizontally, shrink-window-horizontally):
10863 Rename argument to DELTA.
10864 (window-buffer-height): New function.
10865 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10866 Rewrite using new window resize routines.
10867 (kill-buffer-and-window, mouse-autoselect-window-select):
10868 Use ignore-errors instead of condition-case.
10869 (quit-window): Call delete-frame instead of delete-windows-on
10870 for the only buffer on frame.
10871
10872 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10873
10874 * loadup.el (top-level): Load window before files for the sake
10875 of replace-buffer-in-windows.
10876
10877 * files.el (read-buffer-to-switch)
10878 (switch-to-buffer-other-window)
10879 (switch-to-buffer-other-frame, display-buffer-other-frame):
10880 Move to window.el.
10881
10882 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10883 (previous-buffer): Move to window.el.
10884
10885 * bindings.el (unbury-buffer): Move to window.el.
10886
10887 * window.el (delete-other-windows-vertically): Move after
10888 definition of delete-other-windows.
10889 (other-window, delete-windows-on, replace-buffer-in-windows):
10890 Move here from window.c.
10891 (record-window-buffer, unrecord-window-buffer)
10892 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10893 (switch-to-next-buffer): New functions.
10894 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10895 from simple.el. Call switch-to-next-buffer.
10896 (previous-buffer): Move here from simple.el.
10897 Call switch-to-prev-buffer.
10898 (bury-buffer): Move here from buffer.c. Switch to previous
10899 buffer when window cannot be deleted.
10900 (unbury-buffer): Move here from bindings.el.
10901 (ctl-x-map): Move binding for other-window from window.c to
10902 here.
10903 (read-buffer-to-switch, switch-to-buffer-other-window)
10904 (switch-to-buffer-other-frame): Move here from files.el.
10905 (normalize-buffer-to-switch-to): New functions.
10906 (switch-to-buffer): Move here from buffer.c.
10907 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10908
10909 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10910
10911 * window.el (window-min-height, window-min-width): Move here
10912 from window.c. Add defcustoms and rewrite doc-strings.
10913 (resize-mini-window, resize-window): New functions.
10914 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10915 Move here from window.c.
10916 (maximize-window, minimize-window): New functions.
10917 (delete-window, delete-other-windows, split-window): Move here
10918 from window.c.
10919 (window-split-min-size): New function.
10920 (split-window-keep-point): Mention split-window-above-each-other
10921 instead of split-window-vertically.
10922 (split-window-above-each-other, split-window-vertically):
10923 Rename split-window-vertically to split-window-above-each-other
10924 and provide defalias for old definition.
10925 (split-window-side-by-side, split-window-horizontally):
10926 Rename split-window-horizontally to split-window-side-by-side
10927 and provide defalias for the old definition.
10928 (ctl-x-map): Move bindings for delete-window,
10929 delete-other-windows and enlarge-window here from window.c.
10930 Replace bindings for split-window-vertically and
10931 split-window-horizontally by bindings for
10932 split-window-above-each-other and split-window-side-by-side.
10933
10934 * cus-start.el (all): Remove entries for window-min-height and
10935 window-min-width. Add entries for window-splits and
10936 window-nest.
10937
10938 2011-06-09 Glenn Morris <rgm@gnu.org>
10939
10940 * calendar/appt.el (appt-mode-line): New function.
10941 (appt-check, appt-disp-window): Use it.
10942
10943 * files.el (hack-one-local-variable-eval-safep):
10944 Allow minor-modes with explicit +/-1 arguments.
10945
10946 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10947
10948 * term/xterm.el (xterm): Add defgroup.
10949 (xterm-extra-capabilities): Add defcustom to supply known xterm
10950 capabilities, skip querying them, or query them (default).
10951 (terminal-init-xterm): Use it.
10952 (terminal-init-xterm-modify-other-keys): New function to set up
10953 modifyOtherKeys support to simplify `terminal-init-xterm'.
10954
10955 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10956
10957 * window.el (resize-window-reset, resize-window-reset-1)
10958 (resize-subwindows-skip-p, resize-subwindows-normal)
10959 (resize-subwindows, resize-other-windows, resize-this-window)
10960 (resize-root-window, resize-root-window-vertically)
10961 (window-deletable-p, window-or-subwindow-p)
10962 (frame-root-window-p): New functions.
10963
10964 2011-06-09 Glenn Morris <rgm@gnu.org>
10965
10966 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10967 (ange-ftp-get-files): Use it.
10968
10969 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10970
10971 * mail/sendmail.el (mail-recover-1, mail-recover):
10972 * files.el (recover-file, recover-session):
10973 Handle dired-listing-switches not being just a single short option.
10974
10975 2011-06-09 Glenn Morris <rgm@gnu.org>
10976
10977 * calendar/appt.el (appt-display-message, appt-disp-window):
10978 Handle lists of appointments.
10979
10980 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10981
10982 * window.el (one-window-p): Move down in code.
10983 Rewrite doc-string.
10984 (window-current-scroll-bars): Rewrite doc-string.
10985 Normalize live window argument.
10986 (walk-windows, get-window-with-predicate, count-windows):
10987 Rewrite doc-string. Use window-list-1.
10988 (window-in-direction-2, window-in-direction, get-mru-window):
10989 New functions.
10990
10991 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10992
10993 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10994 Doc fix (Bug#8713).
10995
10996 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10997
10998 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10999
11000 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
11001
11002 * loadhist.el (unload-feature-special-hooks):
11003 Add `comint-output-filter-functions'.
11004
11005 2011-06-08 Ivan Kanis <gnu@kanis.fr>
11006
11007 * calendar/appt.el (appt-check): Move some initializations into the let.
11008
11009 2011-06-08 Martin Rudalics <rudalics@gmx.at>
11010
11011 * window.el (window-height): Defalias to window-total-height.
11012 (window-width): Defalias to window-body-width.
11013
11014 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
11015
11016 * image-mode.el (image-toggle-animation): New command.
11017 (image-mode-map): Bind it to RET.
11018 (image-mode): Update message.
11019 (image-toggle-display-image): Avoid a spurious cache flush.
11020 (image-transform-rotation): Doc fix.
11021 (image-transform-properties): Return quickly in the normal case.
11022 (image-animate-loop): Rename from image-animate-max-time.
11023
11024 * image.el (image-animate-max-time): Move to image-mode.el.
11025 (create-animated-image): Remove unnecessary function.
11026 (image-animate): Rename from image-animate-start. New arg.
11027 (image-animate-stop): Remove; just use image-animate-timer.
11028 (image-animate-timer): Use car-safe.
11029 (image-animate-timeout): Rename argument.
11030
11031 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11032
11033 * window.el (get-lru-window, get-largest-window): Move here from
11034 window.c. Rename first argument to ALL-FRAMES.
11035 Rephrase doc-strings.
11036 (get-buffer-window-list): Rewrite using window-list-1.
11037 Rephrase doc-string.
11038 (window-safe-min-height, window-safe-min-width): New constants.
11039 (window-size-ignore, window-min-size, window-min-size-1)
11040 (window-sizable, window-sizable-p, window-size-fixed-1)
11041 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11042 (window-max-delta-1, window-max-delta, window-resizable)
11043 (window-resizable-p, window-total-height, window-total-width)
11044 (window-body-width): New functions.
11045 (window-full-height-p, window-full-width-p): Rewrite using
11046 window-total-size.
11047 (window-body-height): Rewrite using window-body-size.
11048
11049 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11050
11051 * window.el (window-right, window-left, window-child)
11052 (window-child-count, window-last-child, window-any-p)
11053 (normalize-live-buffer, normalize-live-frame)
11054 (normalize-any-window, normalize-live-window)
11055 (window-iso-combination-p, window-iso-combined-p)
11056 (window-iso-combinations)
11057 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11058 (windows-with-parameter, window-with-parameter)
11059 (window-atom-root, make-window-atom, window-atom-check-1)
11060 (window-atom-check, window-side-check, window-check):
11061 New functions.
11062 (ignore-window-parameters, window-sides, window-sides-vertical)
11063 (window-sides-slots): New variables.
11064 (window-size-fixed): Move down in code. Minor doc-string fix.
11065
11066 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11067
11068 * comint.el (comint-dynamic-complete-as-filename)
11069 (comint-dynamic-complete-filename): Correctly call
11070 completion-in-region.
11071
11072 2011-06-05 Deniz Dogan <deniz@dogan.se>
11073
11074 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11075 in last change.
11076
11077 2011-06-05 Deniz Dogan <deniz@dogan.se>
11078
11079 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11080 (rcirc): Use it to prompt for encryption.
11081
11082 2011-06-05 Roland Winkler <winkler@gnu.org>
11083
11084 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11085 (bibtex-search-entries): New command bound to C-c C-a.
11086 (bibtex-display-entries): New function.
11087
11088 2011-06-05 Roland Winkler <winkler@gnu.org>
11089
11090 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11091 (bibtex-insert-kill): After yanking insert newline if necessary.
11092 (bibtex-initialize): Call bibtex-string-files-init only once.
11093 (bibtex-mode): Do not call easy-menu-add.
11094 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11095 (bibtex-yank): Set arg properly if nil.
11096
11097 2011-06-05 Roland Winkler <winkler@gnu.org>
11098
11099 * textmodes/bibtex.el (bibtex-search-entry-globally):
11100 New variable.
11101 (bibtex-search-entry): Use it.
11102
11103 2011-06-05 Roland Winkler <winkler@gnu.org>
11104
11105 * textmodes/bibtex.el (bibtex-entry-format): New option
11106 sort-fields.
11107 (bibtex-format-entry, bibtex-reformat): Honor this option.
11108 (bibtex-parse-entry): Return fields in proper order.
11109
11110 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11111
11112 * doc-view.el (doc-view-remove-if): Move computation of result out
11113 of `dolist' to silence misleading lexical-binding warning.
11114
11115 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11116
11117 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11118 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11119
11120 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11121
11122 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11123 "SunOS 5.10".
11124
11125 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11126
11127 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11128 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11129 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11130 (tramp-parse-putty):
11131 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11132 (tramp-completion-function-alist-ssh)
11133 (tramp-completion-function-alist-telnet)
11134 (tramp-completion-function-alist-su)
11135 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11136 cookie.
11137
11138 * net/tramp-ftp.el:
11139 * net/tramp-sh.el:
11140 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11141 load "tramp.el" `tramp-set-completion-function'.
11142
11143 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11144
11145 * shell.el: Require and use pcomplete.
11146 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11147 (shell-completion-vars): Set pcomplete-default-completion-function.
11148
11149 2011-06-04 Deniz Dogan <deniz@dogan.se>
11150
11151 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11152 `memq' (Bug#8799).
11153
11154 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11155
11156 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11157
11158 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11159
11160 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11161 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11162 * vc/log-view.el (log-view-beginning-of-defun):
11163 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11164 (smerge-refine-forward, smerge-refine-chopup-region):
11165 Silence warning for unused `dotimes' counter variables.
11166
11167 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * net/tramp.el (tramp-with-progress-reporter): Rename from
11170 with-progress-reporter. Use `declare'.
11171 * net/tramp-smb.el:
11172 * net/tramp-sh.el:
11173 * net/tramp-gvfs.el: Update all uses.
11174
11175 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11176
11177 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11178 buffer isn't killed before making it current.
11179
11180 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 Silence various byte-compiler warnings.
11183 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11184 `access-type' and new obsolescence format.
11185 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11186 new format.
11187 (byte-compile-check-variable): New `access-type' argument.
11188 Only warn if the access-type is obsolete.
11189 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11190 (byte-compile-variable-set): Adjust callers.
11191 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11192 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11193 setting it as obsolete.
11194 * simple.el (minibuffer-completing-symbol):
11195 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11196 access as obsolete.
11197 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11198 obsolete yet.
11199 * international/quail.el (quail-mouse-choose-completion): Remove unused
11200 code referring to obsolete var.
11201 (quail-choose-completion-string): Remove.
11202 * server.el (server-clients-with, server-kill-buffer-query-function)
11203 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11204 * proced.el (proced-send-signal):
11205 * emacs-lisp/lisp.el (lisp-complete-symbol):
11206 Replace completion-annotate-function with completion-extra-properties.
11207
11208 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * simple.el (goto-line): Use read-number.
11211 (overriding-map-is-bound): Remove.
11212 (saved-overriding-map): Change default.
11213 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11214 Take the map as argument.
11215 (universal-argument, negative-argument, digit-argument): Use it.
11216 (restore-overriding-map): Adjust.
11217 (do-auto-fill): Use fill-forward-paragraph.
11218 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11219
11220 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11221 (minibuffer-inactive-mode): New major mode.
11222 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11223 the *Messages* buffer" hack.
11224 (mouse-popup-menubar): Don't burp if the event is a normal key.
11225
11226 Miscellaneous tweaks.
11227 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11228 lexical scoping as in subr.el's dolist and dotimes.
11229 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11230 Silence compiler warning.
11231 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11232 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11233 * international/ccl.el (ccl-compile): Trivial simplification.
11234 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11235 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11236 `printflag' argument.
11237 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11238 Purecopy the whole obsolescence data.
11239
11240 2011-06-01 Leo Liu <sdl.web@gmail.com>
11241
11242 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11243 improve doc-string as suggested by Marco Pessotto
11244 <melmothx@gmail.com>.
11245 (rcirc-print): Fix last change.
11246
11247 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * minibuffer.el (complete-with-action): Return nil for the metadata and
11250 boundaries of non-functional tables.
11251 (completion-table-dynamic): Return nil for the metadata.
11252 (completion-table-with-terminator): Add default case, using
11253 complete-with-action.
11254 (completion--metadata): New function.
11255 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11256 to try and avoid pathological performance problems.
11257 (completion--embedded-envvar-table): Return `category' metadata.
11258
11259 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
11261 * subr.el (process-alive-p): New tiny convenience function.
11262
11263 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11266 content but also its previous major mode.
11267
11268 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11269
11270 * emacs-lisp/debug.el (debug): Restore the previous content of the
11271 *Backtrace* buffer when we exit with C-M-c.
11272
11273 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * minibuffer.el: Add metadata method to completion tables.
11276 (completion-category-overrides): New defcustom.
11277 (completion-metadata, completion--field-metadata)
11278 (completion-metadata-get, completion--styles)
11279 (completion--cycle-threshold): New functions.
11280 (completion-try-completion, completion-all-completions):
11281 Add `metadata' argument to choose completion-styles.
11282 (completion--do-completion): Use metadata to choose cycling.
11283 (completion-all-sorted-completions): Use metadata for sorting.
11284 Remove :completion-cycle-penalty which is not needed any more.
11285 (completion--try-word-completion): Add `metadata' argument.
11286 (minibuffer-completion-help): Check metadata for annotation function
11287 and sorting.
11288 (completion-file-name-table): Return `category' metadata.
11289 (minibuffer-completing-file-name): Make obsolete.
11290 * simple.el (minibuffer-completing-symbol): Make obsolete.
11291 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11292 completion-try-completion.
11293
11294 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11297
11298 2011-05-30 Leo Liu <sdl.web@gmail.com>
11299
11300 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11301 (rcirc-print): Decode all incoming messages (bug#8744).
11302 (rcirc-decode-coding-system): Allow value nil for automatic coding
11303 system detection.
11304
11305 2011-06-01 Glenn Morris <rgm@gnu.org>
11306
11307 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11308
11309 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11310
11311 * image.el (image-animate-max-time): Allow nil and t values.
11312 Default to nil.
11313 (create-animated-image): Doc fix.
11314 (image-animate-start): Remove second arg; just use
11315 image-animate-max-time.
11316 (image-animate-timeout): Doc fix. Args changed.
11317
11318 * image-mode.el (image-toggle-display-image): Ensure that the
11319 image spec passed to the animate timer is the same object as in
11320 the buffer's display property (Bug#6981).
11321 (image-transform-properties): Doc fix.
11322
11323 * image.el (image-animate-max-time): Default to nil.
11324
11325 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11326
11327 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11328 entire buffer list (Bug#8184).
11329
11330 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11331
11332 * image.el (imagemagick-types-inhibit)
11333 (imagemagick-register-types): Doc fix.
11334
11335 2011-05-29 Deniz Dogan <deniz@dogan.se>
11336
11337 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11338 default.
11339
11340 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11341
11342 * select.el: Don't perform clipboard-manager saving in hooks;
11343 leave the hooks empty.
11344
11345 2011-05-28 Leo Liu <sdl.web@gmail.com>
11346
11347 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11348 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11349 (occur-edit-mode): New major mode (Bug#8463).
11350 (occur-after-change-function): New function.
11351 (occur-engine): Give Occur tags a read-only property.
11352
11353 2011-05-28 Kevin Ryde <user42@zip.com.au>
11354
11355 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11356
11357 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11358
11359 * bindings.el (help-echo): Make the initial non-indicator dash
11360 empty on graphical terminals (Bug#7295).
11361
11362 * files.el (auto-mode-alist): Move config rule after the
11363 in-stripping one (Bug#8547).
11364
11365 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11366
11367 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11368 setting (Bug#8740).
11369
11370 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11371
11372 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11373 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11374 (Bug#8539).
11375
11376 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11377
11378 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11379
11380 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11381
11382 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11383 (hs-hide-block-at-point, hs-find-block-beginning)
11384 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11385 (Bug#8279).
11386
11387 2011-05-28 Glenn Morris <rgm@gnu.org>
11388
11389 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11390
11391 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11392
11393 * help-fns.el (describe-function-1): If the function is a derived
11394 major mode, print the parent mode.
11395
11396 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11397 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11398
11399 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * minibuffer.el (completion--capf-wrapper): Check applicability before
11402 returning non-nil for non-exclusive completion data.
11403 * progmodes/etags.el (tags-completion-at-point-function):
11404 * info-look.el (info-lookup-completions-at-point): Mark as
11405 non-exclusive.
11406 (info-complete): Adjust accordingly.
11407
11408 * info-look.el: Convert to lexical-binding and completion-at-point.
11409 (info-lookup-completions-at-point): New function.
11410 (info-complete): Use it and completion-in-region.
11411
11412 2011-05-28 Drew Adams <drew.adams@oracle.com>
11413
11414 * isearch.el: Let M-e start with point at the first mismatched char.
11415 (isearch-fail-pos): New function.
11416 (isearch-edit-string): Use it.
11417
11418 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11419
11420 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11421
11422 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11423
11424 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11425 traversal functions for avl-trees.
11426 (avl-tree--stack): New struct.
11427 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11428 (avl-tree-enter): Add optional `updatefun' arg.
11429 (avl-tree--do-enter): Add optional `updatefun' arg.
11430 Change return value.
11431 (avl-tree-delete): Add optional `test' and `nilflag' args.
11432 (avl-tree--do-delete): Add `test' and `nilflag' args.
11433 Change return value.
11434 (avl-tree-member): Add optional `nilflag'
11435 (avl-tree-member-p): New function.
11436 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11437 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11438 (avl-tree-stack-empty-p): New functions.
11439
11440 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11441 avl-tree--del-balance1 and make it work both ways.
11442 (avl-tree--del-balance2): Remove.
11443 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11444 make it work both ways.
11445 (avl-tree--enter-balance2): Remove.
11446 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11447 New macros.
11448 (avl-tree--mapc, avl-tree-map): Add direction argument.
11449
11450 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11451
11452 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11453
11454 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11455
11456 * select.el: Support clipboard managers with built-in function
11457 x-clipboard-manager-save, via delete-frame-functions and
11458 kill-emacs-hook.
11459 (xselect-convert-to-targets): Add MULTIPLE target to list.
11460 (xselect-convert-to-save-targets): New function.
11461
11462 2011-05-27 Kenichi Handa <handa@m17n.org>
11463
11464 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11465 let-binding rfc2047-encode-encoded-words to nil.
11466
11467 2011-05-27 Glenn Morris <rgm@gnu.org>
11468
11469 * mail/emacsbug.el: Don't require url-util.
11470
11471 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11472
11473 * files.el (set-auto-mode):
11474 Also respect mode: entries at the end of the file. (Bug#8586)
11475
11476 2011-05-26 Glenn Morris <rgm@gnu.org>
11477
11478 * files.el (hack-local-variables-prop-line, hack-local-variables):
11479 Downcase mode names, as seems to be traditional.
11480 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11481
11482 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11483 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11484
11485 2011-05-25 Julien Danjou <julien@danjou.info>
11486
11487 * textmodes/rst.el (rst-define-level-faces): Do not define face
11488 symbol if it is already defined.
11489
11490 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11491
11492 * play/5x5.el (5x5-new-game, 5x5-randomize):
11493 Reset 5x5-solver-output to nil when a new grid is cast.
11494 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11495 these debugging traces, as defmacro breaks the compiled code.
11496
11497 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11498
11499 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11500
11501 2011-05-24 Leo Liu <sdl.web@gmail.com>
11502
11503 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11504 (vc-bzr-sha1): Adapt.
11505
11506 * sha1.el: Remove. Function `sha1' is now builtin.
11507
11508 * bindings.el: Provide sha1 feature.
11509
11510 2011-05-24 Kenichi Handa <handa@m17n.org>
11511
11512 * mail/sendmail.el: Require `rfc2047'.
11513 (mail-insert-from-field): Do not perform RFC2047 encoding.
11514 (mail-encode-header): New function.
11515 (sendmail-send-it): Set buffer-file-coding-system of the work
11516 buffer to the return value of select-message-coding-system.
11517 Call mail-encode-header.
11518
11519 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11520
11521 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11522
11523 * mail/supercite.el (sc-default-cite-frame):
11524 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11525
11526 2011-05-24 Glenn Morris <rgm@gnu.org>
11527
11528 * progmodes/python.el (brm-menu): Declare.
11529
11530 * emulation/viper.el (viper-set-hooks): Declare.
11531
11532 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11533 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11534 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11535 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11536 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11537 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11538
11539 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 Add an :exit-function for completion-at-point.
11542
11543 * minibuffer.el (completion--done): New fun.
11544 (completion--do-completion): Use it. New arg `expect-exact'.
11545 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11546 since completion--do-completion does it for us now.
11547 (minibuffer-force-complete): Use completion--done and
11548 completion--replace. Handle sole-completion case with more care.
11549 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11550 (completion-extra-properties): New var.
11551 (completion-annotate-function): Make obsolete.
11552 (minibuffer-completion-help): Adjust accordingly.
11553 Use completion-list-insert-choice-function.
11554 (completion-at-point, completion-help-at-point):
11555 Bind completion-extra-properties.
11556 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11557 * simple.el (completion-list-insert-choice-function): New var.
11558 (completion-setup-function): Preserve it.
11559 (choose-completion): Pay attention to it, shuffle the code a bit.
11560 (choose-completion-string): New arg `insert-function'.
11561
11562 * textmodes/bibtex.el: Convert to lexical binding.
11563 (bibtex-mode-map): Use completion-at-point.
11564 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11565 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11566 (bibtex-complete): Define as obsolete alias.
11567 (bibtex-complete-internal): Remove.
11568 (bibtex-format-entry): Remove unused sub-group in regexp.
11569 * shell.el (shell--command-completion-data)
11570 (shell-environment-variable-completion):
11571 * pcomplete.el (pcomplete-completions-at-point):
11572 * comint.el (comint--complete-file-name-data): Use :exit-function
11573 instead of completion-table-with-terminator so it also works for
11574 choose-completion.
11575
11576 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11579
11580 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11581 (bug#8710).
11582
11583 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11584
11585 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11586
11587 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11588 customization variable and implement: If non-nil, auto-fill will
11589 be inhibited while on topic's header line.
11590
11591 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11592
11593 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11594 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11595 always have a solution in grid size = 5 cases.
11596 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11597 (5x5-solver-output, 5x5-log-buffer): New vars.
11598 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11599 Make these variables buffer local to achieve 5x5 multi-session-ness.
11600 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11601 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11602 (5x5-solve-suggest): New funs.
11603 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11604 randomize a grid so that we ensure that there is always a solution.
11605 (5x5-make-random-grid): Allow other movement than flipping.
11606
11607 2011-05-23 Kevin Ryde <user42@zip.com.au>
11608
11609 * emacs-lisp/advice.el (ad-read-advised-function):
11610 Use `function-called-at-point' as the default, if it has
11611 advice and passes PREDICATE.
11612
11613 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11616 byte-compile-lambda if it's actually a lambda.
11617
11618 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11619 Fix function quoting. Use backquote better.
11620
11621 2011-05-22 Yuanle Song <sylecn@gmail.com>
11622
11623 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11624 matching (Bug#8516).
11625
11626 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11627
11628 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11629 different face (Bug#8178).
11630
11631 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11634 defface (Bug#8144).
11635
11636 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11639 funcall as well (bug#8712). Warn when performing those conversions.
11640 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11641
11642 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11643
11644 2011-05-22 Glenn Morris <rgm@gnu.org>
11645
11646 * files.el (hack-local-variables-prop-line): Small simplifications.
11647 (hack-local-variables, hack-local-variables-prop-line):
11648 If MODE-ONLY, return the mode, rather than just `t'.
11649
11650 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11653
11654 2011-05-21 Glenn Morris <rgm@gnu.org>
11655
11656 * files.el (hack-local-variables-prop-line, hack-local-variables):
11657 If only interested in the mode, don't bother doing the other stuff.
11658
11659 * image-mode.el (image-after-revert-hook):
11660 Redraw all frames on which the image is visible. (Bug#8567)
11661
11662 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11663
11664 * wid-edit.el (widget-checklist-match-inline):
11665 Fix 2011-04-19 change. (Bug#8649)
11666
11667 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11670 Also allow singlespace after single-letter capitals followed by a dot.
11671
11672 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11673 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11674
11675 2011-05-20 Nix <nix@esperi.org.uk>
11676
11677 * files.el (basic-save-buffer-2):
11678 Fix handling of break-hardlink-on-save with non-existent files.
11679
11680 2011-05-19 Deniz Dogan <deniz@dogan.se>
11681
11682 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11683 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11684
11685 2011-05-19 Glenn Morris <rgm@gnu.org>
11686
11687 * progmodes/f90.el (f90-type-def-re):
11688 Handle "type, bind(c)". (Bug#8691)
11689
11690 * emacs-lisp/autoload.el (batch-update-autoloads):
11691 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11692
11693 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11694
11695 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11696 property for the correct connection in case of multihops.
11697
11698 2011-05-18 Glenn Morris <rgm@gnu.org>
11699
11700 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11701 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11702
11703 Rationalize calendar handling of day and month abbrev-arrays.
11704 * calendar/calendar.el (calendar-customized-p): New function.
11705 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11706 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11707 Add :set function.
11708 (calendar-abbrev-length, calendar-day-abbrev-array)
11709 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11710 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11711 Elements may no longer be nil.
11712 (calendar-day-name, calendar-month-name):
11713 Update for changed nature of abbrev arrays.
11714 * calendar/diary-lib.el (diary-name-pattern):
11715 Update for changed nature of abbrev arrays.
11716 (diary-mark-entries-1): Update calendar-make-alist calls.
11717 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11718 * calendar/cal-html.el (cal-html-day-abbrev-array):
11719 Simply inherit from calendar-day-abbrev-array.
11720
11721 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * progmodes/grep.el (grep-mode): Disable default
11724 compilation-directory-matcher setting (bug#8684).
11725
11726 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11727
11728 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11729 instead of "head" and "tail". There were problems with SunOS 5.9,
11730 and it performs better.
11731
11732 2011-05-17 Glenn Morris <rgm@gnu.org>
11733
11734 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11735
11736 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11737 Replace obsolete function.
11738
11739 * shell.el (pcomplete-parse-arguments-function): Declare.
11740
11741 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11742 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11743 (appt-check): Doc fixes.
11744 (appt-disp-window-function, appt-delete-window-function):
11745 Remove needless special case in custom :type.
11746 (appt-display-count): Default to 0, not nil.
11747 (appt-check): Reset appt-display-count to 0, not nil.
11748
11749 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11750
11751 * progmodes/python.el (python-font-lock-keywords):
11752 Add the Python 3.X keyword "nonlocal" (bug#8639).
11753
11754 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11757
11758 2011-05-16 Kevin Ryde <user42@zip.com.au>
11759
11760 * info-look.el (makefile-automake-mode): New setups, looking in
11761 automake manual, then makefile-mode.
11762 (makefile-mode): Remove automake manual, have it just in
11763 makefile-automake-mode since there's various things different or
11764 not relevant to plain make.
11765 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11766 believe a hypothetical automake-mode would go to makefile-mode,
11767 not the other way around.
11768
11769 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11770
11771 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11772 hunk-end tags (Bug#8672).
11773
11774 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11775 vc-annotate-show-diff-revision-at-line (Bug#8671).
11776
11777 2011-05-14 Glenn Morris <rgm@gnu.org>
11778
11779 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11780 in the middle of an existing one with multiple authors. (Bug#8645)
11781 (change-log-font-lock-keywords): Also handle multiple author lines
11782 with leading tabs. (Bug#8644)
11783
11784 * calendar/appt.el (appt-check): Rename some local variables.
11785 Some simplification/reordering.
11786
11787 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11788 (feedmail-sendmail-f-doesnt-sell-me-out)
11789 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11790 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11791 (feedmail-queue-runner-message-sender): Set :version.
11792 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11793 (bbdb-dwim-net-address, vm-mail): Declare.
11794 (feedmail-binmail-gnulinuxish-template):
11795 Rename from feedmail-binmail-linuxish-template.
11796 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11797 Use insert-buffer-substring.
11798
11799 2011-05-14 Bill Carpenter <bill@carpenter.org>
11800
11801 * mail/feedmail.el (feedmail-patch-level): Increase.
11802 (feedmail-debug): New custom group.
11803 (feedmail-confirm-outgoing-timeout)
11804 (feedmail-sendmail-f-doesnt-sell-me-out)
11805 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11806 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11807 (feedmail-sender-line, feedmail-from-line)
11808 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11809 (feedmail-spray-this-address)
11810 (feedmail-spray-address-fiddle-plex-list)
11811 (feedmail-queue-use-send-time-for-date)
11812 (feedmail-queue-use-send-time-for-message-id)
11813 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11814 (feedmail-buffer-eating-function):
11815 Doc fixes.
11816 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11817 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11818 (feedmail-message-action-scroll-down): New functions.
11819 (feedmail-queue-directory, feedmail-queue-draft-directory):
11820 Use expand-file-name.
11821 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11822 Remove C-v help entry.
11823 (feedmail-queue-buffer-file-name): New variable.
11824 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11825 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11826 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11827 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11828 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11829 (feedmail-message-action-toggle-spray)
11830 (feedmail-run-the-queue-no-prompts)
11831 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11832 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11833 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11834 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11835 (feedmail-envelope-deducer, feedmail-fiddle-from)
11836 (feedmail-fiddle-sender, feedmail-default-date-generator)
11837 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11838 (feedmail-fiddle-spray-address)
11839 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11840 (feedmail-fiddle-list-of-fiddle-plexes)
11841 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11842 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11843 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11844 Change default. Doc fix.
11845 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11846 (feedmail-binmail-linuxish-template): New constant.
11847 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11848 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11849 (feedmail-send-it): Add debug call.
11850 Use feedmail-queue-buffer-file-name, and
11851 feedmail-send-it-immediately-wrapper.
11852 (feedmail-message-action-send): Add debug call.
11853 Use feedmail-send-it-immediately-wrapper.
11854 (feedmail-queue-express-to-queue): Add debug call.
11855 Run feedmail-queue-express-hook.
11856 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11857 (feedmail-message-action-help-blat):
11858 Rename from feedmail-queue-send-edit-prompt-help-first.
11859 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11860 Check line-endings. Handle errors better.
11861 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11862 Doc fix. Add debug call.
11863 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11864 Use feedmail-queue-send-edit-prompt-inner.
11865 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11866 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11867 from feedmail-queue-send-edit-prompt.
11868 (feedmail-queue-send-edit-prompt-help)
11869 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11870 (feedmail-tidy-up-slug): Add debug call.
11871 Respect feedmail-queue-slug-suspect-regexp.
11872 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11873 (feedmail-dump-message-to-queue): Add debug call.
11874 Expand queue-directory.
11875 (feedmail-dump-message-to-queue): Change message slightly.
11876 Use feedmail-say-chatter.
11877 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11878 (feedmail-send-it-immediately-wrapper): New function.
11879 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11880 Insert empty string rather than newline. Handle full-frame case.
11881 Use catch/throw. Use feedmail-say-chatter.
11882 (feedmail-fiddle-from): Try mail-host-address.
11883 (feedmail-default-message-id-generator): Doc fix.
11884 Bind system-time-locale. Handle missing end.
11885 (feedmail-fiddle-x-mailer): Add debug call.
11886 Handle feedmail-x-mailer-line being nil.
11887 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11888 Add debug call. Use buffer-substring-no-properties.
11889 (feedmail-say-debug, feedmail-say-chatter): New functions.
11890 (feedmail-find-eoh): Give an explicit error.
11891
11892 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11893
11894 * net/newst-treeview.el (newsticker-treeview-face): Change default
11895 family from helvetica to sans.
11896 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11897 etc/images/newsticker.
11898
11899 * net/newst-reader.el (newsticker-feed-face): Change default
11900 family from helvetica to sans.
11901
11902 * net/newst-plainview.el (newsticker-new-item-face)
11903 (newsticker-old-item-face, newsticker-immortal-item-face)
11904 (newsticker-obsolete-item-face, newsticker-date-face)
11905 (newsticker-statistics-face): Change default family from
11906 helvetica to sans.
11907 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11908 etc/images/newsticker.
11909
11910 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11911 (newsticker--process-auto-mark-filter-match): Tell user about
11912 auto-marking.
11913
11914 2011-05-13 Didier Verna <didier@xemacs.org>
11915
11916 Common Lisp indentation improvements on defmethod and lambda-lists.
11917 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11918 TODO entries.
11919 (lisp-lambda-list-keyword-parameter-indentation)
11920 (lisp-lambda-list-keyword-parameter-alignment)
11921 (lisp-lambda-list-keyword-alignment): New customizable user options.
11922 (lisp-indent-defun-method): Improve docstring.
11923 (extended-loop-p): Fix comment.
11924 (lisp-indent-lambda-list-keywords-regexp): New variable.
11925 (lisp-indent-lambda-list): New function.
11926 (lisp-indent-259): Use it.
11927 (lisp-indent-defmethod): Support for more than one
11928 method qualifier and properly indent methods lambda-lists.
11929 (defgeneric): Provide a missing common-lisp-indent-function property.
11930
11931 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11934 bounds for the empty string (bug#8667).
11935
11936 2011-05-13 Glenn Morris <rgm@gnu.org>
11937
11938 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11939
11940 * mail/sendmail.el (sendmail-program): Try executable-find first.
11941 (sendmail-send-it): `sendmail-program' cannot be unbound.
11942
11943 * calendar/appt.el (appt-make-list): Simplify.
11944 (appt-time-msg-list): Doc fix.
11945 (appt-check): Change mode-line message at the time of the appointment.
11946
11947 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11948
11949 * progmodes/ld-script.el (ld-script-keywords)
11950 (ld-script-builtins): Update keywords list.
11951
11952 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11955
11956 * shell.el (shell-completion-vars): New function.
11957 (shell-mode):
11958 * simple.el (read-shell-command): Use it.
11959 (blink-matching-open): No need for " [...]" in minibuffer-message.
11960
11961 2011-05-12 Glenn Morris <rgm@gnu.org>
11962
11963 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11964 (appt-check): Simplify.
11965
11966 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11967
11968 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11969 literal "/dev/null".
11970
11971 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11974 Fix typo.
11975
11976 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11977
11978 * progmodes/which-func.el (which-function):
11979 Use add-log-current-defun instead of add-log-current-defun-function,
11980 which might not be defined (Bug#8260).
11981
11982 2011-05-12 Glenn Morris <rgm@gnu.org>
11983
11984 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11985 Let byte-compile-initial-macro-environment always take precedence.
11986
11987 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * net/rcirc.el: Add support for SSL/TLS connections.
11990 (rcirc-server-alist): New field `encryption'.
11991 (rcirc): Check `encryption' settings.
11992 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11993 Merge make-local-variable into `set'.
11994 (rcirc--connection-open-p): New function.
11995 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11996 the process is not a network process (e.g. running gnutls-cli).
11997 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11998 Make rcirc-(en|de)code-coding-system local here.
11999 (rcirc-mode): Merge make-local-variable into `set'.
12000 (rcirc-parent-buffer): Make permanent buffer-local.
12001 (rcirc-multiline-minor-mode): Don't do it here.
12002 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12003 there's no server buffer.
12004
12005 2011-05-11 Glenn Morris <rgm@gnu.org>
12006
12007 * newcomment.el (comment-kill): Prefix "unused" local.
12008
12009 * term/w32console.el (get-screen-color): Declare.
12010
12011 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12012 Handle symbol elements of byte-compile-initial-macro-environment.
12013
12014 2011-05-10 Leo Liu <sdl.web@gmail.com>
12015
12016 * bookmark.el (bookmark-bmenu-mode-map):
12017 Bind bookmark-bmenu-search to `/'.
12018
12019 * mail/footnote.el: Convert to utf-8 encoding.
12020 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12021 (Footnote-unicode): New function.
12022 (footnote-style-alist): Add unicode style to the list.
12023 (footnote-style): Doc fix.
12024
12025 2011-05-10 Jim Meyering <meyering@redhat.com>
12026
12027 Fix doubled-word typos.
12028 * international/quail.el (quail-insert-kbd-layout): and and -> and
12029 * kermit.el: and and -> and
12030 * net/ldap.el (ldap-search-internal): to to -> to
12031 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12032 * progmodes/js.el (js-mode): and and -> and
12033 * textmodes/artist.el (artist-move-to-xy): at at -> at
12034 (artist-draw-region-trim-line-endings): if if -> if
12035 And Safetyc -> Safety.
12036 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12037
12038 2011-05-10 Glenn Morris <rgm@gnu.org>
12039 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * files.el (hack-one-local-variable-eval-safep):
12042 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12043
12044 2011-05-10 Glenn Morris <rgm@gnu.org>
12045
12046 * calendar/diary-lib.el (diary-list-entries-hook)
12047 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12048 (diary-nongregorian-marking-hook, diary-list-entries)
12049 (diary-include-other-diary-files, diary-mark-entries)
12050 (diary-mark-included-diary-files): Doc fixes.
12051
12052 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12053
12054 * misc.el: Require tabulated-list.el during compilation.
12055
12056 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12057
12058 * progmodes/compile.el (compilation-start):
12059 Run compilation-filter-hook for the async case too.
12060 (compilation-filter-hook): Doc fix.
12061
12062 2011-05-09 Deniz Dogan <deniz@dogan.se>
12063
12064 * wdired.el: Remove outdated installation comment. Fix usage
12065 comment.
12066
12067 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * misc.el: Implement new command `list-dynamic-libraries'.
12070 (list-dynamic-libraries--loaded-only-p): New variable.
12071 (list-dynamic-libraries--refresh): New function.
12072 (list-dynamic-libraries): New command.
12073
12074 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12075
12076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12077 Fix the ant regexp to handle end-line and end-column info from jikes.
12078 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12079 higher priority to avoid clobbering by gnu.
12080
12081 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12082
12083 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12084 if the face has existing theme settings (Bug#8454).
12085
12086 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12087
12088 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12089 Only match variables declared via `my' or `our' (Bug#8261).
12090
12091 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12092 special file names `.' and `..' (Bug#8259).
12093
12094 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12095
12096 * progmodes/grep.el (grep-mode-font-lock-keywords):
12097 Remove buffer-changing entries.
12098 (grep-filter): New function.
12099 (grep-mode): Add it to compilation-filter-hook.
12100
12101 * progmodes/compile.el (compilation-filter-hook)
12102 (compilation-filter-start): New defvars.
12103 (compilation-filter): Call compilation-filter-hook prior to
12104 updating the process mark.
12105
12106 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12109
12110 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12111
12112 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12113 mailclient-send-it even if window-system is nil. (Bug#8595)
12114
12115 * term/w32console.el (terminal-init-w32console):
12116 Call get-screen-color and use its output to set the frame
12117 background-mode. (Bug#8597)
12118
12119 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12122 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12123 New functions.
12124 (defgeneric, eieio--defmethod): Use them.
12125 (eieio-defgeneric): Remove.
12126 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12127
12128 2011-05-07 Glenn Morris <rgm@gnu.org>
12129
12130 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12131 Use let rather than let*.
12132 (timeclock-find-discrep): Remove unused local.
12133
12134 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12135
12136 * calendar/appt.el (appt-time-msg-list): Doc fix.
12137
12138 2011-05-06 Noah Friedman <friedman@splode.com>
12139
12140 * apropos.el (apropos-print-doc): Only use
12141 emacs-lisp-docstring-fill-column when it is bound to an integer,
12142 per that variable's documentation.
12143
12144 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12147 and warnings are not silently discarded (e.g. use -d instead of -P).
12148
12149 2011-05-06 Glenn Morris <rgm@gnu.org>
12150
12151 * calendar/appt.el (appt-message-warning-time): Doc fix.
12152 (appt-warning-time-regexp): New option.
12153 (appt-make-list): Respect appt-message-warning-time.
12154
12155 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12156 New options.
12157 (diary-add-to-list): Strip comments from the displayed string.
12158 (diary-mode): Set comment-start and comment-end.
12159
12160 * vc/diff-mode.el (smerge-refine-subst): Declare.
12161 (diff-refine-hunk): Don't require smerge-mode when compiling.
12162
12163 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12164
12165 * simple.el (list-processes): Return nil as the docstring says.
12166
12167 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12168
12169 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12170 to "".
12171 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12172 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12173 determining of binary transfer. (Bug#7383)
12174
12175 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12176
12177 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12178 Fix port computation bug. (Bug#8618)
12179
12180 2011-05-05 Glenn Morris <rgm@gnu.org>
12181
12182 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12183
12184 * simple.el (shell-dynamic-complete-functions)
12185 (comint-dynamic-complete-functions): Declare.
12186
12187 * net/network-stream.el (gnutls-negotiate):
12188 * simple.el (tabulated-list-print): Fix declarations.
12189
12190 * progmodes/gud.el (syntax-symbol, syntax-point):
12191 Remove unnecessary and incorrect declarations.
12192
12193 * emacs-lisp/check-declare.el (check-declare-scan):
12194 Handle byte-compile-initial-macro-environment in bytecomp.el
12195
12196 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 Fix earlier half-done eieio-defmethod change (bug#8338).
12199 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12200 Streamline and change calling convention.
12201 (defmethod): Adjust accordingly and simplify.
12202 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12203 new eieio--defmethod.
12204 (slot-boundp): Minor CSE simplification.
12205
12206 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12207
12208 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12209 (glasses-make-readable): Use glasses-separate-capital-groups.
12210
12211 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12214 (warning-series): Doc fix.
12215 (display-warning): Don't try to create the buffer if we just found it.
12216
12217 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12218
12219 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12220 (autoload-find-generated-file): New function.
12221 (generate-file-autoloads): Bind generated-autoload-file to
12222 buffer-file-name.
12223 (update-file-autoloads, update-directory-autoloads):
12224 Use autoload-find-generated-file. If called interactively, prompt for
12225 output file (Bug#7989).
12226 (batch-update-autoloads): Doc fix.
12227
12228 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12229
12230 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12231
12232 2011-05-04 Glenn Morris <rgm@gnu.org>
12233
12234 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12235 function, so it follows changes in calendar-date-style.
12236 (diary-fancy-date-matcher): New function.
12237 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12238 (diary-fancy-font-lock-fontify-region-function):
12239 Use diary-fancy-date-pattern as a function.
12240
12241 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12242 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12243
12244 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12245
12246 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12247 instead of positional arguments. Allow :keylist and :crlfiles
12248 arguments.
12249 (open-gnutls-stream): Call it.
12250
12251 * net/network-stream.el (network-stream-open-starttls): Adjust to
12252 call `gnutls-negotiate' with :process and :hostname arguments.
12253
12254 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * minibuffer.el (completion--message): New function.
12257 (completion--do-completion, minibuffer-complete)
12258 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12259 (completion--do-completion): Don't ignore completion-auto-help when in
12260 icomplete-mode.
12261
12262 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12263 internal encoding (e.g. tibetan zero is not whitespace).
12264 (global-whitespace-mode): Prefer save-current-buffer.
12265 (whitespace-trailing-regexp): Remove useless save-match-data.
12266 (whitespace-empty-at-bob-regexp): Minor simplification.
12267
12268 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12269
12270 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12271
12272 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12273
12274 * textmodes/ispell.el (ispell-add-per-file-word-list):
12275 Use `concat' to create string for insertion.
12276
12277 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12278
12279 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12280 Avoid open-line which runs post-self-insert-hook.
12281 (bibtex-fill-entry): Remove unused `end' var.
12282
12283 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12284
12285 * textmodes/ispell.el (ispell-add-per-file-word-list):
12286 Protect against `nil' value of `comment-start' (Bug#8579).
12287
12288 2011-05-03 Leo Liu <sdl.web@gmail.com>
12289
12290 * isearch.el (isearch-yank-pop): New command.
12291 (isearch-mode-map): Bind it to `M-y'.
12292 (isearch-forward): Mention it.
12293
12294 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * simple.el (minibuffer-complete-shell-command): Remove.
12297 (minibuffer-local-shell-command-map): Use completion-at-point.
12298 (read-shell-command): Setup completion vars here instead.
12299 (read-expression-map): Bind TAB to symbol completion.
12300
12301 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12302 error directly rather via storing it into `results'.
12303
12304 2011-05-02 Leo Liu <sdl.web@gmail.com>
12305
12306 * vc/diff.el: Fix description.
12307
12308 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12309
12310 * server.el (server-eval-at): New function.
12311
12312 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12313
12314 * net/network-stream.el (open-network-stream): Take a :nowait
12315 parameter and pass it on to `make-network-process'.
12316 (network-stream-open-plain): Ditto.
12317
12318 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12319
12320 * faces.el (face-spec-set-match-display): Don't match toolkit
12321 options on terminal frames.
12322
12323 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * progmodes/pascal.el: Use lexical binding.
12326 (pascal-mode-map): Remove author preferences.
12327
12328 * pcomplete.el (pcomplete-std-complete): Don't abuse
12329 completion-at-point.
12330
12331 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12332
12333 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12334 removing code that has been dead since 1991 or so.
12335
12336 * startup.el (command-line): When warning about "_emacs", use a
12337 delayed warning to allow the user to filter it out.
12338
12339 2011-04-28 Deniz Dogan <deniz@dogan.se>
12340
12341 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12342 user has not joined.
12343
12344 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12347 aren't any completions at point.
12348
12349 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * subr.el (display-delayed-warnings): New function.
12352 (delayed-warnings-hook): New variable.
12353
12354 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * minibuffer.el (completion-at-point, completion-help-at-point):
12357 Don't presume that a given completion-at-point-function will always
12358 use the same calling convention.
12359
12360 * pcomplete.el (pcomplete-completions-at-point):
12361 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12362 pcomplete-seen is non-nil.
12363 (pcomplete-comint-setup): Also recognize the new comint/shell
12364 completion functions.
12365 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12366 pcomplete-seen is non-nil.
12367
12368 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12369
12370 * calendar/icalendar.el (diary-lib): Add require statement.
12371 (icalendar--create-uid): Read out a uid from a text-property on
12372 the first character in the entry. This allows for code to add its
12373 own uid to the entry.
12374 (icalendar--convert-float-to-ical): Add export of
12375 `diary-float'-entries save for those with the optional DAY
12376 argument.
12377
12378 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12379
12380 * subr.el (shell-quote-argument): Use alternate escaping strategy
12381 when we spot a variable reference in a string.
12382
12383 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12384
12385 * cus-start.el (all): Define customization for debug-on-event.
12386
12387 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12388
12389 * subr.el (shell-quote-argument): Escape correctly under Windows.
12390
12391 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12394
12395 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * net/tramp.el (tramp-process-actions): Add POS argument.
12398 Delete region between POS and (pos).
12399
12400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12401 Use `nil' position in `tramp-process-actions' call.
12402 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12403
12404 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12405 position in `tramp-process-actions' call.
12406
12407 * net/trampver.el: Update release number.
12408
12409 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * custom.el (defcustom): Obey lexical-binding.
12412
12413 Fix octave-inf completion problems reported by Alexander Klimov.
12414 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12415 Inherit from octave-mode-syntax-table.
12416 (inferior-octave-mode): Set info-lookup-mode.
12417 (inferior-octave-completion-at-point): New function.
12418 (inferior-octave-complete): Use it and completion-in-region.
12419 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12420 comint-filename-completion.
12421 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12422 symbol elements which shouldn't be word elements.
12423 (octave-font-lock-keywords, octave-beginning-of-defun)
12424 (octave-function-header-regexp): Adjust regexps accordingly.
12425 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12426
12427 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12428
12429 * net/gnutls.el (gnutls-errorp): Declare before first use.
12430
12431 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12432
12433 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12434 verify-error, and verify-hostname-error parameters. Check whether
12435 default trustfile exists before going to use it. Add missing
12436 argument to gnutls-message-maybe call. Return value.
12437 Reported by Claudio Bley <claudio.bley@gmail.com>.
12438 (open-gnutls-stream): Add usage example.
12439
12440 * net/network-stream.el (network-stream-open-starttls): Give host
12441 parameter to `gnutls-negotiate'.
12442 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12443 * subr.el (shell-quote-argument): Escape correctly under Windows.
12444
12445 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12446
12447 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12448 Use correct match group (bug#8438).
12449
12450 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12451
12452 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12453 (package-menu--generate): New arg specifying packages to show.
12454 (package-menu-refresh, package-menu-execute, list-packages):
12455 Callers changed.
12456 (package-show-package-list): New function, replacing deleted
12457 package--list-packages (renamed because it is non-internal).
12458
12459 * finder.el (finder-list-matches): Use package-show-package-list
12460 instead of deleted package--list-packages.
12461
12462 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12463 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12464 (vc-annotate-mode-map): Bind it to RET.
12465
12466 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12467
12468 * progmodes/etags.el (next-file): Don't use set-buffer to change
12469 buffers (Bug#8478).
12470
12471 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12472
12473 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12474
12475 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12476 (apropos-accumulator): Doc fix.
12477 (apropos-function, apropos-macro, apropos-command)
12478 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12479 (apropos-plist): Add face property.
12480 (apropos-symbols-internal): Fix indentation.
12481 (apropos-print): Simplify help, and recognize apropos-multi-type.
12482 (apropos-print-doc): Use button-type-get to extract the button's
12483 face property. Fill docstring (Bug#8352).
12484
12485 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12488
12489 * play/mpuz.el (mpuz-silent): Doc fix.
12490 (mpuz-mode-map): Use mapc.
12491 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12492 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12493 Fix typos in docstrings.
12494
12495 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12496 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12497
12498 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12499
12500 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * minibuffer.el (completion--do-completion): Avoid the "Next char
12503 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12504
12505 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12506 mouse-2 into unread-command-events, it is interpreted correctly.
12507
12508 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12509 (image-toggle-display): Doc fix.
12510
12511 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12512
12513 * textmodes/page.el (what-page): Use line-number-at-pos to
12514 calculate line number (Bug#6825).
12515
12516 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12517
12518 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12519 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12520 Pass argument NO-DEFAULT to `find-tag-interactive'.
12521
12522 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12523
12524 Lexical-binding cleanup.
12525
12526 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12527 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12528 * progmodes/ada-prj.el (ada-prj-initialize-values)
12529 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12530 (ada-prj-show-value):
12531 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12532 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12533 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12534 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12535 * progmodes/bug-reference.el (bug-reference-push-button):
12536 * progmodes/fortran.el (fortran-line-length):
12537 * progmodes/glasses.el (glasses-change):
12538 * progmodes/octave-mod.el (octave-fill-paragraph):
12539 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12540 (python-pdbtrack-grub-for-buffer, python-sentinel):
12541 * progmodes/sql.el (sql-save-connection):
12542 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12543 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12544 Mark unused parameters.
12545
12546 * progmodes/compile.el (compilation--flush-directory-cache)
12547 (compilation--flush-parse, compile-internal): Mark unused parameters.
12548 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12549 (compilation-next-error-function): Remove unused variable `timestamp'.
12550
12551 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12552 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12553
12554 * progmodes/dcl-mode.el (dcl-end-of-command):
12555 Remove unused variable `start'.
12556 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12557 (dcl-option-value-basic, dcl-option-value-offset)
12558 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12559 Mark unused parameters.
12560 (dcl-save-local-variable): Remove unused variable `val'.
12561 (mode): Declare.
12562
12563 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12564 Mark unused parameters.
12565 (delphi-ignore-changes): Move before first use.
12566 (delphi-charset-token-at): Remove unused variable `start'.
12567 (delphi-else-start): Remove unused variable `if-count'.
12568 (delphi-comment-block-start, delphi-comment-block-end):
12569 Remove unused variable `kind'.
12570 (delphi-indent-line): Remove unused variable `new-point'.
12571
12572 * progmodes/ebrowse.el (ebrowse-files-list)
12573 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12574 Mark unused parameters. Don't quote `lambda'.
12575 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12576 Don't quote `lambda'.
12577 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12578 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12579 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12580 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12581 Use `ignore-errors'.
12582 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12583 (ebrowse-view/find-file-and-search-pattern)
12584 (ebrowse-view/find-member-declaration/definition):
12585 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12586 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12587 Rename parameter PREFIX-ARG to PREFIX.
12588 (ebrowse-tags-read-name): Remove unused variables `start' and
12589 `member-info'.
12590 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12591 to `tags-file'.
12592
12593 * progmodes/etags.el (local-find-tag-hook): Declare.
12594 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12595 Mark unused parameters.
12596
12597 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12598 (executable-interpret): Mark unused parameter.
12599
12600 * progmodes/flymake.el (flymake-process-sentinel)
12601 (flymake-after-change-function)
12602 (flymake-create-temp-with-folder-structure)
12603 (flymake-get-include-dirs-dot): Mark unused parameters.
12604 (flymake-safe-delete-directory): Remove unused variable `err'.
12605
12606 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12607 (speedbar-timer-fn, speedbar-line-text)
12608 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12609 (speedbar-center-buffer-smartly): Declare functions.
12610 (gdb-find-watch-expression): Remove unused variable `array'.
12611 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12612 (gdb-starting): Mark unused parameters.
12613 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12614 (gdb-table-string): Remove unused variable `res'.
12615 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12616 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12617 (gdb-display-buffer): Remove unused variable `cur-size'.
12618
12619 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12620 allow lexical-binding compilation.
12621 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12622 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12623 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12624 Mark unused parameters.
12625 (gud-gdb-marker-filter): Remove unused variable `match'.
12626 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12627 lambda expressions and funcall them, instead of using `fset'.
12628
12629 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12630 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12631
12632 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12633 variable `header-beg'; use `let'.
12634
12635 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12636 `restart', `last-sexp' and `at-do'.
12637
12638 * progmodes/js.el (js--debug): Mark unused parameter.
12639 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12640 (js--splice-into-items): Remove unused variable `item'.
12641 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12642
12643 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12644 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12645 (makefile-complete): Remove unused variable `try'.
12646 (makefile-fill-paragraph, makefile-match-function-end):
12647 Mark unused parameters.
12648
12649 * progmodes/octave-inf.el (inferior-octave-complete):
12650 Remove unused variable `proc'.
12651 (inferior-octave-output-digest): Mark unused parameter.
12652
12653 * progmodes/perl-mode.el (perl-calculate-indent):
12654 Remove unused variable `err'.
12655
12656 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12657 (prolog-indent-line): Mark unused parameters.
12658 (prolog-indent-line): Remove unused variable `beg'.
12659
12660 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12661 (reporter-dont-compact-list): Declare.
12662
12663 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12664 Remove unused variable `char'.
12665 (sh-debug): Mark unused parameter.
12666 (sh-get-indent-info): Remove unused variable `start'.
12667 (sh-calculate-indent): Remove unused variable `var'.
12668
12669 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12670 (simula-electric-keyword): Remove unused variable `null'.
12671 (simula-search-backward, simula-search-forward): Remove unused
12672 variables `begin' and `end'.
12673
12674 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12675 Remove unused variable `pos'.
12676 (vera-electric-tab, vera-comment-uncomment-region):
12677 Mark unused parameters.
12678 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12679
12680 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12681
12682 * emacs-lisp/package.el (package--builtins, package-alist)
12683 (package-load-descriptor, package-built-in-p, package-activate)
12684 (define-package, package-installed-p)
12685 (package-compute-transaction, package-buffer-info)
12686 (package--push): Doc fix. Distinguish more clearly between
12687 version strings and version lists.
12688
12689 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12690
12691 Lexical-binding cleanup.
12692
12693 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12694 (5x5-make-mutate-best):
12695 * play/fortune.el (fortune-in-buffer):
12696 * play/gomoku.el (gomoku-init-display):
12697 * play/solitaire.el (solitaire, solitaire-do-check):
12698 * play/tetris.el (tetris-default-update-speed-function):
12699 Mark unused parameters.
12700
12701 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12702 (bubbles--shift): Remove unused variable `char-org'.
12703 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12704 (bubbles--show-images): Remove unused variable `char'.
12705
12706 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12707 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12708 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12709 (decipher-analyze-buffer): Use ?\s.
12710 (decipher-make-checkpoint): Remove unused variable `mapping'.
12711
12712 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12713
12714 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12715 Remove unused variable `result'; use `let'.
12716
12717 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12718 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12719 (gametree-children-shown-p, gametree-compute-reduced-score):
12720 Use `ignore-errors'.
12721
12722 * play/handwrite.el (ps-lpr-switches): Declare.
12723 (handwrite): Remove unused variables `pmin' and `lastp'.
12724
12725 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12726
12727 * play/landmark.el (landmark-init-display)
12728 (landmark-update-naught-weights): Mark unused parameters.
12729 (landmark-y): Remove unused variable `noise'. Simplify.
12730 (landmark-human-plays): Remove unused variable `score'.
12731
12732 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12733 (mpuz-try-proposal): Remove unused variable `game'.
12734
12735 * play/zone.el (life-patterns): Declare.
12736
12737 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * vc/vc.el (ediff-vc-internal): Declare function.
12740
12741 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * shell.el: Use lexical-binding and std completion UI.
12744 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12745 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12746 comint-preoutput-filter-functions rather than on
12747 comint-output-filter-functions.
12748 (shell-command-completion, shell--command-completion-data)
12749 (shell-filename-completion, shell-environment-variable-completion)
12750 (shell-c-a-p-replace-by-expanded-directory): New functions.
12751 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12752 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12753 (shell-dynamic-complete-environment-variable): Use them.
12754 (shell-dynamic-complete-as-environment-variable)
12755 (shell-dynamic-complete-as-command): Remove.
12756 (shell-match-partial-variable): Match past point.
12757 * comint.el: Clean up use of completion-at-point-functions.
12758 (comint-completion-at-point): New function.
12759 (comint-mode): Use it completion-at-point-functions.
12760 (comint-dynamic-complete): Make it obsolete.
12761 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12762 (comint-c-a-p-replace-by-expanded-history): New function.
12763 (comint-dynamic-complete-functions)
12764 (comint-replace-by-expanded-history): Use it.
12765 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12766 termination strings. Try harder to avoid second try-completion.
12767 (completion-in-region-mode-map): Disable bindings that don't work yet.
12768
12769 * comint.el: Use lexical-binding. Require CL.
12770 (comint-dynamic-complete-functions): Use comint-filename-completion.
12771 (comint-completion-addsuffix): Tweak custom type.
12772 (comint-filename-completion, comint--common-suffix)
12773 (comint--common-quoted-suffix, comint--table-subvert)
12774 (comint--complete-file-name-data): New functions.
12775 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12776 (comint-dynamic-list-filename-completions): Use them.
12777 (comint-dynamic-simple-complete): Make obsolete.
12778
12779 * minibuffer.el (completion-in-region-mode):
12780 Keep completion-in-region-mode--predicate global.
12781 (completion-in-region--postch):
12782 Assume completion-in-region-mode--predicate is not null.
12783
12784 * progmodes/flymake.el (flymake-start-syntax-check-process):
12785 Obey `dir'. Simplify.
12786
12787 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12788 we're in VC after all.
12789
12790 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12791
12792 * vc/vc.el (vc-diff-build-argument-list-internal)
12793 (vc-version-ediff, vc-ediff): New commands.
12794 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12795
12796 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12799 add sanity check.
12800
12801 * obsolete/erc-hecomplete.el: Make obsolete.
12802 * obsolete/: Standardize obsolescence info in the header.
12803
12804 2011-04-20 Glenn Morris <rgm@gnu.org>
12805
12806 * calendar/solar.el (solar-horizontal-coordinates):
12807 Use the longitude argument rather than `calendar-longitude'.
12808 (solar-date-next-longitude): Remove unused locals.
12809
12810 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12811
12812 * whitespace.el: New version 13.2.1.
12813
12814 2011-04-20 felix <EmacsWiki> (tiny change)
12815
12816 * whitespace.el (global-whitespace-mode): Keep highlight when
12817 switching between major modes on a file.
12818
12819 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12822 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12823 multi-line comments as well.
12824
12825 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12826
12827 Lexical-binding cleanup.
12828
12829 * arc-mode.el (archive-mode-revert):
12830 * cmuscheme.el (scheme-interactively-start-process):
12831 * custom.el (custom-initialize-delay):
12832 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12833 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12834 * emacs-lock.el (emacs-lock-clear-sentinel):
12835 * ezimage.el (defezimage):
12836 * follow.el (follow-avoid-tail-recenter):
12837 * fringe.el (set-fringe-mode-1):
12838 * generic-x.el (bat-generic-mode-compile):
12839 * help-mode.el (help-info-variable, help-do-xref)
12840 (help-mode-revert-buffer):
12841 * help.el (view-emacs-todo):
12842 * iswitchb.el (iswitchb-completion-help):
12843 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12844 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12845 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12846 * locate.el (locate-update):
12847 * longlines.el (longlines-encode-region)
12848 (longlines-after-change-function):
12849 * outline.el (outline-isearch-open-invisible):
12850 * ps-def.el (declare-function, charset-dimension, char-width)
12851 (encode-char):
12852 * ps-mule.el (ps-mule-plot-string):
12853 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12854 (recentf-edit-list-select, recentf-edit-list-validate)
12855 (recentf-open-files-action):
12856 * rect.el (delete-whitespace-rectangle-line)
12857 (rectangle-number-line-callback):
12858 * register.el (window-configuration-to-register)
12859 (frame-configuration-to-register):
12860 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12861 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12862 (xselect-convert-to-targets, xselect-convert-to-delete)
12863 (xselect-convert-to-filename, xselect-convert-to-charpos)
12864 (xselect-convert-to-lineno, xselect-convert-to-colno)
12865 (xselect-convert-to-os, xselect-convert-to-host)
12866 (xselect-convert-to-user, xselect-convert-to-class)
12867 (xselect-convert-to-name, xselect-convert-to-integer)
12868 (xselect-convert-to-atom, xselect-convert-to-identity):
12869 * subr.el (declare, ignore, process-kill-without-query)
12870 (text-clone-maintain):
12871 * terminal.el (te-get-char, te-tic-sentinel):
12872 * tool-bar.el (tool-bar-make-keymap):
12873 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12874 * type-break.el (type-break-mode, type-break-noninteractive-query):
12875 * view.el (View-back-to-mark):
12876 * wid-browse.el (widget-browse-action, widget-browse-widget)
12877 (widget-browse-widgets, widget-browse-sexp):
12878 * widget.el (define-widget-keywords):
12879 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12880 Mark unused parameters.
12881
12882 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12883 (align-areas): Remove unused variable `look'.
12884 (align-region): Remove unused variables `real-end' and `pos-list'.
12885
12886 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12887
12888 * bindings.el (mode-line-modified, mode-line-remote):
12889 Mark unused parameters.
12890 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12891
12892 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12893 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12894
12895 * comint.el (comint-history-isearch-pop-state)
12896 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12897 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12898 (comint-substitute-in-file-name): Doc fix.
12899
12900 * completion.el (cmpl-statistics-block): Mark unused parameter.
12901 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12902 (save-completions-to-file, load-completions-from-file):
12903 Remove unused local variable `e'.
12904
12905 * composite.el (compose-chars): Remove unused variable `len'.
12906 (lgstring-insert-glyph): Remove unused variable `g'.
12907 (compose-glyph-string): Remove unused variables `ascent',
12908 `descent', `lbearing' and `rbearing'.
12909 (compose-glyph-string-relative): Remove unused variables
12910 `lbearing', `rbearing' and `wadjust'.
12911 (compose-gstring-for-graphic): Remove unused variables `header',
12912 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12913 (compose-gstring-for-terminal): Remove unused variables `header'
12914 and `nchars'. Use `let', not `let*'.
12915
12916 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12917 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12918 (Custom-buffer-done, custom-buffer-create-internal)
12919 (custom-browse-visibility-action, custom-browse-group-tag-action)
12920 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12921 (widget-magic-mouse-down-action, custom-toggle-parent)
12922 (custom-add-parent-links, custom-toggle-hide-variable)
12923 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12924 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12925 (custom-face-menu-create, custom-variable-menu-create, get)
12926 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12927 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12928 (customize-apropos): Remove unused variable `tests'.
12929 (custom-group-value-create): Remove unused variable `hidden-p'.
12930 (sort-fold-case): Declare.
12931
12932 * cus-theme.el (custom-reset-standard-faces-list)
12933 (custom-reset-standard-variables-list): Declare.
12934 (customize-create-theme, custom-theme-revert, custom-theme-write)
12935 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12936 Mark unused parameters.
12937
12938 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12939
12940 * delim-col.el (delimit-columns-max): Move defvar before first use.
12941
12942 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12943 (describe-char): Don't quote `lambda'. Mark unused parameter.
12944
12945 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12946 (auto-insert): Declare.
12947 (desktop-restore-file-buffer): Rename desktop-* parameters;
12948 mark unused ones.
12949 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12950 (desktop-buffer): Rename desktop-* parameters.
12951
12952 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12953 (dframe-reposition-frame-xemacs, dframe-help-echo)
12954 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12955 Mark unused parameters.
12956
12957 * dired-aux.el (backup-extract-version-start, overwrite-query)
12958 (overwrite-backup-query, rename-regexp-query)
12959 (rename-non-directory-query): Declare.
12960 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12961 (dired-add-entry): Remove unused variable `orig-file-name'.
12962 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12963 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12964 `dired-copy-preserve-time' directly.
12965 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12966 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12967
12968 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12969 (dired-virtual-revert, dired-make-relative-symlink):
12970 Mark unused parameters.
12971 (manual-program): Declare.
12972 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12973 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12974 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12975
12976 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12977
12978 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12979
12980 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12981 Declare.
12982
12983 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12984
12985 * electric.el (Electric-command-loop): Rename parameter
12986 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12987
12988 * expand.el (expand-in-literal): Remove unused variable `here'.
12989
12990 * facemenu.el (facemenu-add-new-color):
12991 Remove unused variable `docstring'.
12992
12993 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12994 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12995 (face-attr-construct): Mark unused parameter. Doc fix.
12996 (read-color): Remove unused variable `hex-string'.
12997
12998 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12999 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13000 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13001 (display-buffer-other-frame): Remove unused variable `old-window'.
13002 (kill-buffer-hook): Declare.
13003 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13004 Mark unused parameters.
13005 (after-find-file): Pass 1 to `auto-save-mode', not t.
13006
13007 * files-x.el (auto-insert): Declare.
13008 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13009
13010 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
13011 variable `buf'. Mark unused parameter.
13012 (find-lisp-insert-directory): Mark unused parameter.
13013
13014 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13015 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13016 (format-common-tail): Remove, unused.
13017 (format-deannotate-region): Remove unused variable `loc'.
13018 (format-annotate-region): Remove unused variable `p'.
13019 (format-annotate-single-property-change): Remove unused variables
13020 `default' and `tail'.
13021
13022 * forms.el (read-file-filter): Declare.
13023 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13024
13025 * frame.el (frame-creation-function-alist): Mark unused parameter.
13026 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13027
13028 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13029 Remove unused parameters.
13030 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13031 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13032
13033 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13034 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13035 (hfy-prepare-tag-map): Mark unused parameters.
13036 (htmlfontify-buffer): Use `called-interactively-p'.
13037
13038 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13039 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13040 (ibuffer-do-occur): Mark unused parameters.
13041 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13042 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13043
13044 * ibuffer.el: Don't quote `lambda'.
13045 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13046 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13047 Mark unused parameters.
13048
13049 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13050 (ido-completing-read): Mark unused parameters.
13051 (ido-copy-current-word): Mark unused parameters;
13052 remove unused variable `name'.
13053 (ido-sort-merged-list): Remove unused parameter `dirs'.
13054
13055 * ielm.el (ielm-input-sender): Mark unused parameter.
13056 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13057 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13058 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13059 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13060 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13061
13062 * image-dired.el (image-dired-display-thumbs): Remove unused
13063 variables `curr-file' and `count'.
13064 (image-dired-remove-tag): Remove unused variable `start'.
13065 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13066 variable `curr-file'
13067 (image-dired-rotate-original): Remove unused variable `temp-file'.
13068 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13069 Remove unused variable `file'.
13070 (image-dired-gallery-generate): Remove unused variable `curr'.
13071 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13072
13073 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13074
13075 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13076
13077 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13078
13079 * isearch.el (minibuffer-history-symbol): Declare.
13080 (isearch-edit-string): Remove unused variable `err'.
13081 (isearch-message-prefix, isearch-message-suffix):
13082 Mark unused parameters.
13083
13084 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13085
13086 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13087
13088 * makesum.el (double-column): Remove unused variable `cnt'.
13089
13090 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13091 (ido-ignore-item-temp-list): Declare.
13092
13093 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13094 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13095 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13096 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13097 `mouse-col-delta'.
13098
13099 * mouse-sel.el (mouse-extend-internal):
13100 Remove unused variable `orig-window-frame'.
13101
13102 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13103 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13104 Move declarations before first use.
13105 (pcomplete-opt): Mark unused parameters; doc fix.
13106
13107 * proced.el (proced-revert): Mark unused parameter.
13108 (proced-send-signal): Remove unused variable `err'.
13109
13110 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13111 Rename parameter PREFIX-ARG to ARG.
13112 (ps-basic-plot-string, ps-basic-plot-whitespace):
13113 Mark unused parameters.
13114
13115 * replace.el (replace-count): Define.
13116 (occur-revert-function): Mark unused parameters.
13117 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13118 (isearch-case-fold-search, isearch-string): Declare.
13119 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13120 bind `case-fold-search'. Remove unused variables `beg' and `end',
13121 and simplify.
13122 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13123 COUNT and bind `replace-count'.
13124 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13125 to COUNT.
13126
13127 * savehist.el (print-readably, print-string-length): Declare.
13128
13129 * shadowfile.el (shadow-expand-cluster-in-file-name):
13130 Remove unused variable `cluster'.
13131 (shadow-copy-file): Remove unused variable `i'.
13132 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13133 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13134 (shadow-define-literal-group, shadow-define-regexp-group)
13135 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13136
13137 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13138 (shell): Use `called-interactively-p'.
13139 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13140
13141 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13142 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13143 (delete-backward-char): Remove unused variable `ocol'.
13144 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13145 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13146 (event-apply-hyper-modifier, event-apply-shift-modifier)
13147 (event-apply-control-modifier, event-apply-meta-modifier):
13148 Mark unused parameters.
13149 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13150 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13151
13152 * speedbar.el (speedbar-ignored-directory-expressions)
13153 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13154 (speedbar-find-file, speedbar-dir-follow)
13155 (speedbar-directory-buttons-follow, speedbar-tag-find)
13156 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13157 (speedbar-buffers-line-directory, speedbar-buffer-click):
13158 Mark unused parameters.
13159 (speedbar-tag-file): Remove unused variable `mode'.
13160 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13161
13162 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13163
13164 * talk.el (talk): Remove unused variable `display'.
13165
13166 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13167 (tar-write-region-annotate): Mark unused parameter.
13168
13169 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13170 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13171 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13172 warning by another.
13173
13174 * time-stamp.el (time-stamp-string-preprocess):
13175 Remove unused variable `require-padding'.
13176
13177 * tree-widget.el (widget-glyph-enable): Declare.
13178 (tree-widget-action): Mark unused parameter.
13179
13180 * w32-fns.el (x-get-selection): Mark unused parameter.
13181 (autoload-make-program, generated-autoload-file): Declare.
13182
13183 * wdired.el (wdired-revert): Mark unused parameters.
13184 (wdired-xcase-word): Remove unused variable `err'.
13185
13186 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13187 (whitespace-help-scroll): Remove unused variable `data-help'.
13188
13189 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13190 (widget-image-insert, widget-after-change, default)
13191 (widget-default-format-handler, widget-default-notify)
13192 (widget-default-prompt-value, widget-info-link-action)
13193 (widget-url-link-action, widget-function-link-action)
13194 (widget-variable-link-action, widget-file-link-action)
13195 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13196 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13197 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13198 (widget-insert-button-action, widget-delete-button-action, visibility)
13199 (widget-documentation-link-action, widget-documentation-string-action)
13200 (widget-const-prompt-value, widget-regexp-match, symbol)
13201 (widget-coding-system-prompt-value)
13202 (widget-key-sequence-value-to-external, sexp)
13203 (widget-sexp-value-to-internal, character, vector, cons)
13204 (widget-choice-prompt-value, widget-boolean-prompt-value)
13205 (widget-color--choose-action): Mark unused parameters.
13206 (widget-item-match-inline, widget-choice-match-inline)
13207 (widget-checklist-match, widget-checklist-match-inline)
13208 (widget-group-match): Rename parameter VALUES to VALS.
13209 (widget-field-value-set): Remove unused variable `size'.
13210 (widget-color-action): Remove unused variables `value' and `start'.
13211
13212 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13213 variable `dir'. Doc fix.
13214 (windmove-find-other-window): Don't pass it.
13215
13216 * window.el (count-windows): Mark unused parameter.
13217 (bw-adjust-window): Remove unused variable `err'.
13218
13219 * woman.el (woman-file-name): Remove unused variable `default'.
13220 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13221 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13222 (global-font-lock-mode): Declare.
13223 (woman-decode-region): Mark unused parameter.
13224 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13225
13226 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13227 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13228 (x-dnd-handle-moz-url): Remove unused variable `title'.
13229 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13230
13231 * xml.el (xml-parse-tag, xml-parse-attlist):
13232 Remove unused variable `pos'.
13233
13234 2011-04-19 Glenn Morris <rgm@gnu.org>
13235
13236 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13237 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13238 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13239 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13240 * calendar/cal-html.el (cal-html-insert-minical):
13241 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13242 (calendar-mark-date-pattern):
13243 Prefix "unused" locals.
13244
13245 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13246 optional argument `style'.
13247
13248 * calendar/appt.el (appt-make-list):
13249 * calendar/cal-china.el (calendar-chinese-date-string):
13250 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13251 (diary-hebrew-yahrzeit):
13252 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13253 * calendar/calendar.el (calendar-generate-window):
13254 * calendar/time-date.el (time-to-days):
13255 Remove unused local variables.
13256
13257 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13258
13259 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13260 glyphless-char-display table.
13261 (tabulated-list-glyphless-char-display): New var.
13262
13263 2011-04-18 Sam Steingold <sds@gnu.org>
13264
13265 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13266 to acknowledgments.
13267
13268 2011-04-17 Glenn Morris <rgm@gnu.org>
13269
13270 * calendar/diary-lib.el (diary-sexp-entry):
13271 * calendar/holidays.el (holiday-sexp):
13272 Set debug-on-error rather than the removed stack-trace-on-error.
13273
13274 2011-04-16 Glenn Morris <rgm@gnu.org>
13275
13276 * progmodes/f90.el: Use lexical-binding.
13277 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13278
13279 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13280
13281 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13282 (mail-mode): Setup mailalias completion here instead.
13283 * mail/mailalias.el: Use lexical-binding.
13284 (pattern, mailalias-done): Declare dynamic.
13285 (mail-completion-at-point-function): New function, from mail-complete.
13286 (mail-complete): Use it.
13287 (mail-completion-expand): New function.
13288 (mail-get-names): Use it.
13289 (mail-directory, mail-directory-process, mail-directory-stream):
13290 Don't use `pattern' for lexically bound arg.
13291
13292 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13293
13294 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13295 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13296 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13297
13298 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13299 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13300 (byte-interactive-p): Define them again, for use when inlining
13301 old code.
13302
13303 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13304
13305 * loadup.el: Use `string-to-number', not `string-to-int'.
13306
13307 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13310 gud-gdb-complete-command.
13311 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13312 (gud-gdb-completion-at-point): New function.
13313 (gud-gdb-completions): Remove.
13314
13315 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13316
13317 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13318 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13319 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13320 whether `executable-find' is bound.
13321
13322 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13323
13324 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * minibuffer.el (completion-in-region-mode-predicate)
13327 (completion-in-region-mode--predicate): New vars.
13328 (completion-in-region, completion-in-region--postch)
13329 (completion-in-region-mode): Use them.
13330 (completion--capf-wrapper): Also return the hook function.
13331 (completion-at-point, completion-help-at-point):
13332 Adjust and provide a predicate.
13333
13334 Preserve arg names for advice of subr and lexical functions (bug#8457).
13335 * help-fns.el (help-function-arglist): Consolidate the subr and
13336 new-byte-code cases. Add argument `preserve-names' to extract names
13337 from the docstring when needed.
13338 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13339 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13340 (ad-arglist): Use help-function-arglist's new arg.
13341 (ad-definition-type): Use cond.
13342
13343 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13344
13345 * autorevert.el (auto-revert-handler):
13346 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13347 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13348 Don't quote lambda.
13349
13350 * image-mode.el (image-transform-set-scale):
13351 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13352
13353 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13354
13355 * net/network-stream.el (network-stream-open-starttls): Only do
13356 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13357 Upgrades via gnutls-cli are too slow to be done opportunistically.
13358
13359 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13360
13361 * dframe.el (dframe-current-frame): Remove spurious quote.
13362
13363 2011-04-12 Glenn Morris <rgm@gnu.org>
13364
13365 * calendar/cal-tex.el (cal-tex-end-document):
13366 Try to automatically use latin1 input if needed.
13367
13368 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13369 Don't try to cons a mark onto an empty element.
13370
13371 2011-04-11 Leo Liu <sdl.web@gmail.com>
13372
13373 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13374 buffers.
13375 (ido-kill-buffer-at-head): Support killing virtual buffers.
13376
13377 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13378
13379 * minibuffer.el (completion-show-inline-help): New var.
13380 (completion--do-completion, minibuffer-complete)
13381 (minibuffer-force-complete, minibuffer-complete-word):
13382 Inhibit minibuffer messages if completion-show-inline-help is nil.
13383
13384 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13385 to avoid interference from inline help (Bug#5849).
13386
13387 2011-04-10 Leo Liu <sdl.web@gmail.com>
13388
13389 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13390 Fix typo.
13391
13392 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13393
13394 * image-mode.el (image-toggle-display-image): Signal an error if
13395 not in Image mode.
13396 (image-transform-mode, image-transform-resize)
13397 (image-transform-set-rotation): Doc fix.
13398 (image-transform-set-resize): Delete.
13399 (image-transform-set-scale, image-transform-fit-to-height)
13400 (image-transform-fit-to-width): Handle image-toggle-display-image
13401 and image-transform-resize directly.
13402
13403 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13404
13405 * doc-view.el (doc-view-fit-width-to-window)
13406 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13407 New functions for fitting the shown image to the Emacs window size.
13408 (doc-view-mode-map): Add bindings for the new functions.
13409
13410 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13411
13412 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13413 Fix typo in docstring.
13414
13415 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13416
13417 * files.el (file-size-human-readable): Produce one digit after
13418 decimal, like "ls -lh" does.
13419
13420 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13421 the file size representation.
13422
13423 * simple.el (list-processes): If async subprocesses are not
13424 available, error out with a clear error message.
13425
13426 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13427
13428 * help.el (help-form-show): New function, to be called from C.
13429 Put help-form output in a buffer named differently than *Help*.
13430
13431 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13432
13433 * files.el (file-size-human-readable): New function.
13434
13435 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13436 computing the representation inline. Don't require `cl'.
13437
13438 2011-04-08 Glenn Morris <rgm@gnu.org>
13439
13440 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13441
13442 * net/browse-url.el (browse-url-firefox):
13443 Test system-type, not system-configuration.
13444
13445 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13446 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13447 Use log-edit-empty-buffer-p. (Bug#7598)
13448
13449 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13450 (rlogin-mode-map): Initialize in the defvar.
13451 (rlogin): Use ignore-errors.
13452
13453 * replace.el (occur-mode-map): Some fixes for menu items.
13454
13455 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13456
13457 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13458
13459 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13460
13461 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13462 issuing unused warnings.
13463
13464 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13465 macro directly.
13466
13467 * simple.el: Lisp reimplement of list-processes. Based on an
13468 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13469 (process-menu-mode): New major mode.
13470 (list-processes--refresh, list-processes):
13471 (process-menu-visit-buffer): New functions.
13472
13473 * files.el (save-buffers-kill-emacs): Don't assume any return
13474 value of list-processes, which is undocumented anyway.
13475
13476 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13477
13478 * emacs-lisp/tabulated-list.el: New file.
13479
13480 * emacs-lisp/package.el: Use Tabulated List mode.
13481 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13482 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13483 table format using Tabulated List mode variables.
13484 (package--push): New macro, replacing package-list-maybe-add.
13485 (package-menu--generate): Use package--push. Renamed from
13486 package--generate-package-list.
13487 (package-menu-refresh, list-packages): Use it.
13488 (package-menu--print-info): Rename from package-print-package.
13489 Return insertion data instead of inserting it directly.
13490 (package-menu-describe-package, package-menu-execute):
13491 Use tabulated-list-get-id.
13492 (package-menu-mark-delete, package-menu-mark-install)
13493 (package-menu-mark-unmark, package-menu-backup-unmark)
13494 (package-menu-mark-obsolete-for-deletion):
13495 Use tabulated-list-put-tag.
13496 (package--list-packages, package-menu-revert)
13497 (package-menu-get-package, package-menu-get-version)
13498 (package-menu-sort-by-column): Functions deleted.
13499 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13500 (package-menu--status-predicate, package-menu--version-predicate)
13501 (package-menu--name-predicate)
13502 (package-menu--description-predicate): Handle arguments in the
13503 Tabulated List format.
13504 (package-list-packages-no-fetch): Call list-packages.
13505
13506 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13507
13508 * files.el (after-find-file-from-revert-buffer): Remove variable.
13509 (after-find-file): Don't bind it.
13510 (revert-buffer-in-progress-p): New variable.
13511 (revert-buffer): Bind it.
13512 Pass nil for `after-find-file-from-revert-buffer'.
13513
13514 * saveplace.el (save-place-find-file-hook): Use new variable
13515 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13516
13517 2011-04-06 Glenn Morris <rgm@gnu.org>
13518
13519 * Makefile.in (AUTOGEN_VCS): New variable.
13520 (autoloads): Use $AUTOGEN_VCS.
13521
13522 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13523 * calendar/calendar.el (calendar-mode-map):
13524 Check for toolkit scroll bars. (Bug#8305)
13525
13526 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13527
13528 * minibuffer.el (completion-in-region--postch)
13529 (completion-in-region-mode): Remove unnecessary messages.
13530
13531 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13532
13533 * font-lock.el (font-lock-refresh-defaults):
13534 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13535 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13536
13537 * info.el (Info-directory-list, Info-read-node-name-2)
13538 (Info-split-parameter-string): Doc fixes.
13539 (Info-virtual-nodes): Reflow docstring.
13540 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13541 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13542 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13543 Fix typos in docstrings.
13544 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13545 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13546 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13547 (Info-restore-desktop-buffer): Mark unused parameters.
13548 (Info-directory-find-file, Info-directory-find-node)
13549 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13550 (Info-virtual-index-find-node, Info-apropos-find-file)
13551 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13552 Mark unused parameters; fix typos in docstrings.
13553 (Info-virtual-index): Remove unused local variable `nodename'.
13554
13555 2011-04-05 Deniz Dogan <deniz@dogan.se>
13556
13557 * net/rcirc.el: Update my e-mail address.
13558 (rcirc-mode-map): Remove M-o binding.
13559
13560 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * startup.el (command-line): Save the cursor's theme-face
13563 directly, instead of using face-override-spec.
13564
13565 * custom.el (load-theme): Minor optimization in assigning faces.
13566
13567 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13568
13569 * help-fns.el (describe-variable): Complete all variables having
13570 documentation, including keywords.
13571 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13572
13573 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13574
13575 Convert to lexical-binding.
13576
13577 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13578 (bs--get-marked-string, bs--get-modified-string)
13579 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13580 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13581 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13582
13583 * ehelp.el (electric-help-execute-extended)
13584 (electric-help-ctrl-x-prefix):
13585 * hexl.el (hexl-revert-buffer-function):
13586 * linum.el (linum-after-change, linum-after-scroll):
13587 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13588
13589 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13590
13591 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13592
13593 * epa-dired.el:
13594 * epa-mail.el:
13595 * epa-hook.el:
13596 * epa-file.el:
13597 * epa.el:
13598 * epg.el: Use lexical binding.
13599
13600 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13601
13602 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13603
13604 * textmodes/flyspell.el (flyspell-word): Recognize default
13605 dictionary case for flyspell-mark-duplications-exceptions.
13606 Use regexp matching for languages.
13607 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13608 default dictionary (Bug#7926).
13609
13610 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13611
13612 * emacs-lisp/package.el (package--with-work-buffer):
13613 Recognize https URLs.
13614
13615 * net/network-stream.el: Move from gnus/proto-stream.el.
13616 Change prefix to network-stream throughout.
13617 (open-protocol-stream): Merge into open-network-stream, leaving
13618 open-protocol-stream as an alias. Handle nil BUFFER args.
13619
13620 * subr.el (open-network-stream): Move to net/network-stream.el.
13621
13622 2011-04-02 Glenn Morris <rgm@gnu.org>
13623
13624 * find-dired.el (find-exec-terminator): New option.
13625 (find-ls-option): Test for -ls support.
13626 (find-ls-subdir-switches): Test for -b in find-ls-option.
13627 (find-dired, find-grep-dired): Doc fixes.
13628 (find-dired): Use find-exec-terminator.
13629
13630 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13631 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13632 (find-name-arg): Remove purecopy.
13633
13634 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13635 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13636 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13637 accordingly. Don't add the null-device if not needed.
13638
13639 * files.el (save-some-buffers): Doc fix.
13640
13641 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13642
13643 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13644
13645 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13646
13647 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13648 Use `dolist' rather than `mapcar'.
13649
13650 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13651
13652 Add lexical binding.
13653
13654 * subr.el (apply-partially): Use new closures rather than CL.
13655 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13656 (dolist, dotimes): Use slightly different expansion for lexical code.
13657 (functionp): Move to C.
13658 (letrec): New macro.
13659 (with-wrapper-hook): Use it and apply-partially instead of CL.
13660 (eval-after-load): Preserve lexical-binding.
13661 (save-window-excursion, with-output-to-temp-buffer): Turn them
13662 into macros.
13663
13664 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13665
13666 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13667 than the arglist.
13668 (help-add-fundoc-usage): Don't add `Not documented'.
13669 (help-function-arglist): Handle closures, subroutines, and new
13670 byte-code-functions.
13671 (help-make-usage): Remove leading underscores.
13672 (describe-function-1): Handle closures.
13673 (describe-variable): Use special-variable-p for completion.
13674
13675 * files.el (lexical-binding): Declare safe.
13676
13677 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13678 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13679 (pcase): Add `let' pattern.
13680 Change memoization so it actually works.
13681 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13682 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13683 <let>: New case.
13684
13685 * emacs-lisp/macroexp.el: Use lexical binding.
13686 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13687 Don't convert ' to #' without checking that it's indeed quoting
13688 a lambda.
13689
13690 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13691 Use eval-sexp-add-defvars.
13692 (eval-sexp-add-defvars): New fun.
13693
13694 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13695
13696 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13697 Don't autoload.
13698 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13699 than the internal `byte-compile-lambda'.
13700 (defmethod): Don't hide code under quotes.
13701 (eieio-defmethod): New `code' argument.
13702
13703 * emacs-lisp/eieio-comp.el: Remove.
13704
13705 * emacs-lisp/edebug.el (edebug-eval-defun)
13706 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13707 (edebug-toggle): Avoid `eval'.
13708
13709 * emacs-lisp/disass.el (disassemble-internal): Handle new
13710 `closure' objects.
13711 (disassemble-1): Handle new byte codes.
13712
13713 * emacs-lisp/cl.el (pushnew): Silence warning.
13714
13715 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13716 (cl-byte-compile-throw): Remove.
13717 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13718
13719 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13720 closures.
13721
13722 * emacs-lisp/cconv.el: New file.
13723
13724 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13725 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13726 (byte-compile-initial-macro-environment):
13727 Handle declare-function here.
13728 (byte-compile--lexical-environment): New var.
13729 (byte-stack-ref, byte-stack-set, byte-discardN)
13730 (byte-discardN-preserve-tos): New lap codes.
13731 (byte-interactive-p): Don't use any more.
13732 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13733 New macros.
13734 (byte-compile-lapcode): Use them and handle new lap codes.
13735 (byte-compile-obsolete): Remove.
13736 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13737 (byte-compile-arglist-warn): Check late def of inlinable funs.
13738 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13739 since they should have been expanded by now.
13740 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13741 (byte-compile-from-buffer): Remove unused second arg.
13742 (byte-compile-preprocess): New function.
13743 (byte-compile-toplevel-file-form): New function to distinguish
13744 file-form calls from outside from file-form calls from hunk-handlers.
13745 (byte-compile-file-form): Simplify.
13746 (byte-compile-file-form-defsubst): Remove.
13747 (byte-compile-file-form-defmumble): Simplify now that
13748 byte-compile-lambda always returns a byte-code-function.
13749 (byte-compile): Preprocess.
13750 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13751 Remove, not used any more.
13752 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13753 (byte-compile-make-args-desc): New funs.
13754 (byte-compile-lambda): Handle lexical functions. Always return
13755 a byte-code-function.
13756 (byte-compile-reserved-constants): New var, to make up room for
13757 closed-over variables.
13758 (byte-compile-constants-vector): Obey it.
13759 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13760 (byte-compile-macroexpand-declare-function): New function.
13761 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13762 byte-code-functions.
13763 (byte-compile-form): Check obsolescence here.
13764 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13765 (byte-compile-variable-ref): Remove.
13766 (byte-compile-dynamic-variable-op): New fun.
13767 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13768 (byte-compile-variable-set): New funs.
13769 (byte-compile-discard): Add 2 args.
13770 (byte-compile-stack-ref, byte-compile-stack-set)
13771 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13772 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13773 macroexpand-all instead.
13774 (byte-compile-quote-form): Remove.
13775 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13776 (byte-compile-bind, byte-compile-unbind): New funs.
13777 (byte-compile-let): Handle let* and lexical binding.
13778 (byte-compile-let*): Remove.
13779 (byte-compile-catch, byte-compile-unwind-protect)
13780 (byte-compile-track-mouse, byte-compile-condition-case):
13781 Handle a new :fun-body form, used for lexical scoping.
13782 (byte-compile-save-window-excursion)
13783 (byte-compile-with-output-to-temp-buffer): Remove.
13784 (byte-compile-defun): Simplify.
13785 (byte-compile-stack-adjustment): New fun.
13786 (byte-compile-out): Use it.
13787 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13788
13789 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13790 handler any more.
13791
13792 * emacs-lisp/byte-opt.el: Use lexical binding.
13793 (byte-inline-lapcode): Remove (to bytecomp).
13794 (byte-compile-inline-expand): Pay attention to inlining to/from
13795 lexically bound code.
13796 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13797 any more.
13798 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13799 any more and don't call compiler-macros.
13800 (byte-compile-splice-in-already-compiled-code): Remove.
13801 (byte-code): Don't inline any more.
13802 (disassemble-offset): Receive `bytes' as argument rather than via
13803 dynamic scoping.
13804 (byte-compile-tag-number): Declare before first use.
13805 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13806 `return' even if make-spliceable.
13807 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13808 obsolete interactive-p.
13809 (byte-optimize-lapcode): Optimize new lap-codes.
13810 Don't trip up on new form of `byte-constant' lap code.
13811
13812 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13813
13814 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13815
13816 * custom.el (custom-initialize-default, custom-declare-variable):
13817 Use `defvar'.
13818
13819 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13820 New variables.
13821 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13822 (COMPILE_FIRST): Add macroexp and cconv.
13823 * makefile.w32-in: Mirror changes in Makefile.in.
13824
13825 * vc/cvs-status.el:
13826 * vc/diff-mode.el:
13827 * vc/log-edit.el:
13828 * vc/log-view.el:
13829 * vc/smerge-mode.el:
13830 * textmodes/bibtex-style.el:
13831 * textmodes/css.el:
13832 * startup.el:
13833 * uniquify.el:
13834 * minibuffer.el:
13835 * newcomment.el:
13836 * reveal.el:
13837 * server.el:
13838 * mpc.el:
13839 * emacs-lisp/smie.el:
13840 * doc-view.el:
13841 * dired.el:
13842 * abbrev.el: Use lexical binding.
13843
13844 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13845
13846 * info.el (info-display-manual): New function.
13847
13848 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13851
13852 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13853
13854 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13855 an entry for that server in rcirc-authinfo. (Bug#8385)
13856
13857 2011-03-31 Glenn Morris <rgm@gnu.org>
13858
13859 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13860
13861 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13862
13863 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13864
13865 * progmodes/python.el (python-default-interpreter)
13866 (python-python-command-args, python-jython-command-args)
13867 (python-which-shell, python-which-args, python-which-bufname)
13868 (python-file-queue, python-comint-output-filter-function)
13869 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13870 variables and functions.
13871
13872 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13875 (completion-in-region-mode): New minor mode.
13876 (completion-in-region): Use it.
13877 (completion-in-region--data, completion-in-region-mode-map): New vars.
13878 (completion-in-region--postch): New function.
13879 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13880 New vars.
13881 (completion--capf-wrapper): New function.
13882 (completion-at-point): Use it to track well-behavedness of
13883 hook functions.
13884 (completion-help-at-point): New command.
13885
13886 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13887
13888 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13889 syntax class to search for whitespace on a single line
13890 (Message-ID: <4D938140.4030905@redhat.com>).
13891
13892 2011-03-30 Leo Liu <sdl.web@gmail.com>
13893
13894 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13895 New commands.
13896 (edit-abbrevs-map): Bind them here.
13897 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13898
13899 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13900
13901 * allout.el (allout-hide-by-annotation, allout-flag-region):
13902 Reduce possibility of overlay leakage by making them volatile.
13903
13904 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13905 hash is not shared between buffers. Mode initialization is
13906 responsible for giving it a useful starting value.
13907 (allout-item-span): Reduce possibility of overlay leakage by
13908 making them volatile.
13909 (allout-widgets-count-buttons-in-region): Add diagnostic function
13910 for tracking down button overlay leaks.
13911
13912 2011-03-29 Leo Liu <sdl.web@gmail.com>
13913
13914 * ido.el (ido-read-internal): Use the default history var
13915 minibuffer-history if no HISTORY is specified.
13916
13917 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13918
13919 * net/imap.el (imap-shell-open, imap-process-connection-type):
13920 Use imap-process-connection-type for 'shell' streams as well as
13921 Kerberos, SSL, other subprocesses.
13922
13923 2011-03-28 Leo Liu <sdl.web@gmail.com>
13924
13925 * abbrev.el (abbrev-table-empty-p): New function.
13926 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13927 nonempty ones. (Bug#5937)
13928
13929 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13930
13931 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13932
13933 2011-03-27 Leo Liu <sdl.web@gmail.com>
13934
13935 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13936 for foreground and background colors.
13937 (ansi-color-make-color-map): Adapt.
13938
13939 2011-03-25 Leo Liu <sdl.web@gmail.com>
13940
13941 * midnight.el (midnight-time-float): Remove. Note it calculates
13942 the microsecond component incorrectly and seconds-to-time does the
13943 same job.
13944 Remove redundant (require 'timer).
13945
13946 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13947 (ido-completions): Remove unused arguments. (Bug#8329)
13948
13949 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * minibuffer.el (completion--flush-all-sorted-completions):
13952 Remove itself from hook.
13953 (completion-at-point): Let the functions perform the completion
13954 immediately and return nil or t.
13955 * comint.el (comint-dynamic-complete-functions): Now identical to
13956 completion-at-point-functions.
13957 (comint-dynamic-list-input-ring): Remove unused var `index'.
13958 (comint--match-partial-filename, comint--unquote&expand-filename):
13959 New funs, split from comint-match-partial-filename.
13960 (comint-dynamic-complete): Use completion-at-point.
13961 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13962
13963 2011-03-24 Drew Adams <drew.adams@oracle.com>
13964
13965 * thingatpt.el: Support `defun'.
13966
13967 2011-03-23 Leo Liu <sdl.web@gmail.com>
13968
13969 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13970
13971 * help-mode.el (help-mode-finish): Tweak regexp.
13972
13973 2011-03-23 Glenn Morris <rgm@gnu.org>
13974
13975 * eshell/esh-opt.el (eshell-eval-using-options):
13976 Do not bind unused local variable `eshell-option-stub'.
13977
13978 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13979
13980 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13981
13982 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13983 keymap variable in `with-no-warnings' to avoid a warning when the
13984 keymap has been already `defconst'ed.
13985
13986 2011-03-22 Leo Liu <sdl.web@gmail.com>
13987
13988 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13989 encode all chars in abbrevs; otherwise use emacs-mule or
13990 utf-8-emacs. (Bug#8308)
13991
13992 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13993
13994 * simple.el (backward-delete-char-untabify):
13995 Avoid warning about using `delete-backward-char'.
13996
13997 * image.el (image-type-file-name-regexps): Make it variable.
13998 `imagemagick-register-types' modifies it, and the user may want
13999 to add new extensions for known image types.
14000 (imagemagick-register-types): Throw error if not using ImageMagick.
14001
14002 2011-03-22 Leo Liu <sdl.web@gmail.com>
14003
14004 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14005 located before rcirc-prompt-end-marker.
14006 (rcirc-complete): Error if point is not after rcirc prompt.
14007 Handle the case when table is nil.
14008 (rcirc-user-authenticated): Define to fix compiler warning.
14009
14010 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * custom.el (custom--inhibit-theme-enable): Make it affect only
14013 custom-theme-set-variables and custom-theme-set-faces.
14014 (provide-theme): Ignore custom--inhibit-theme-enable.
14015 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14016 (custom-enabling-themes): Delete variable.
14017 (enable-theme): Accept only loaded themes as arguments.
14018 Ignore the special custom-enabled-themes variable.
14019 (custom-enabled-themes): Forbid themes from setting this.
14020 Eliminate use of custom-enabling-themes.
14021 (custom-push-theme): Quote "changed" custom var entry.
14022
14023 2011-03-21 Leo Liu <sdl.web@gmail.com>
14024
14025 * ido.el (ido-read-internal): Add ido-selected to history instead
14026 of user input.
14027
14028 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * subr.el (deferred-action-list, deferred-action-function):
14031 Mark obsolete.
14032
14033 2011-03-21 Leo Liu <sdl.web@gmail.com>
14034
14035 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14036 change on 2011-02-13 (bug#8309).
14037
14038 * minibuffer.el (read-file-name-function): Change default value.
14039 (read-file-name--defaults): Rename from read-file-name-defaults.
14040 (read-file-name-default): Rename from read-file-name.
14041 (read-file-name): Call read-file-name-function.
14042
14043 2011-03-21 Glenn Morris <rgm@gnu.org>
14044
14045 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14046 Doc fixes.
14047
14048 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14049
14050 * cus-theme.el: Add missing provide statement.
14051 (customize-create-theme): Extract theme value correctly.
14052 (custom-theme-visit-theme): Autoload.
14053 (customize-create-theme): Prompt before inserting default faces.
14054
14055 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14056
14057 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14058 units and musical notes.
14059
14060 2011-03-20 Leo Liu <sdl.web@gmail.com>
14061
14062 * ido.el (ido-read-internal): Use completing-read-default.
14063 (ido-completing-read): Fix compatibility with completing-read.
14064
14065 2011-03-20 Christian Ohler <ohler@gnu.org>
14066
14067 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14068 (ert-delete-all-tests): Use `called-interactively-p' rather than
14069 `interactive-p'.
14070 (ert--make-xrefs-region): Respect END.
14071
14072 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * dired-aux.el (dired-create-directory): Signal an error if the
14075 directory already exists (Bug#8246).
14076
14077 * facemenu.el (list-colors-display): Call list-faces-display
14078 inside with-help-window.
14079 (list-colors-print): Use display property to align the final
14080 column, instead of checking window-width.
14081
14082 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14083
14084 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14085 windows-nt systems.
14086 (emerge-protect-metachars): Quote correctly for ms-dos and
14087 windows-nt systems.
14088
14089 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14090
14091 * info.el (info-initialize): Replace all uses of `:' with
14092 path-separator for compatibility with non-Unix systems.
14093 Cache quoting of path-separator. (Bug#8258)
14094
14095 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14096
14097 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14098 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14099 (mouse-avoidance-mode): Fix typos in docstrings.
14100
14101 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14102
14103 * startup.el (package-subdirectory-regexp): Move from package.el.
14104 Omit \\` and \\', and let callers add them.
14105
14106 * emacs-lisp/package.el (package-strip-version)
14107 (package-load-all-descriptors): Add \\` and \\' to
14108 package-subdirectory-regexp before using it.
14109 (package-untar-buffer): New arg DIR; ensure that file untars only
14110 into this expected directory. Remove superfluous delete-region.
14111 (package-unpack): Caller changed.
14112 (package-tar-file-info): Use package-subdirectory-regexp.
14113
14114 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14115
14116 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14117 diff-mode-shared-map (bug#8284).
14118 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14119
14120 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14121
14122 * calendar/time-date.el (format-seconds): Use assoc instead of
14123 assoc-string, since assoc-string doesn't exist in XEmacs.
14124
14125 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14126
14127 * custom.el (custom-known-themes): Reflow docstring.
14128 (custom-theme-load-path): Fix typo in docstring.
14129 (load-theme): Fix typo in error message.
14130 (custom-available-themes, custom-variable-theme-value):
14131 Use `let', not `let*'.
14132
14133 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14134
14135 * calc/README: Mention inclusion of musical notes.
14136
14137 * calc/calc-units.el (calc-lu-quant): Rename from
14138 `calc-logunits-quantity'.
14139 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14140 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14141 (calc-db): Rename from `calc-dblevel'.
14142 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14143 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14144 (calc-np): Rename from `calc-nplevel'.
14145 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14146 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14147 (calc-lu-plus): Rename from `calc-logunits-add'.
14148 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14149 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14150 (calc-lu-minus): Rename from `calc-logunits-sub'.
14151 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14152 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14153 (calc-lu-times): Rename from `calc-logunits-mul'.
14154 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14155 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14156 (calc-lu-divide): Rename from `calc-logunits-div'.
14157 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14158 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14159
14160 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14161 functions being autoloaded.
14162
14163 * calc/calc.el (calc-lu-power-reference): Rename from
14164 `calc-logunits-power-reference'.
14165 (calc-lu-field-reference): Rename from
14166 `calc-logunits-field-reference'.
14167
14168 * calc/calc-help.el (calc-l-prefix-help):
14169 Mention musical note functions.
14170
14171 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * minibuffer.el (completion-all-sorted-completions):
14174 Use :completion-cycle-penalty text property if present.
14175
14176 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14177
14178 * allout.el (allout-yank-processing): Adjust for new rebulleting
14179 regime so bullet being yanked is used without prompting the user
14180 for a choice.
14181
14182 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14183
14184 * startup.el (command-line): Warn the user that _emacs is deprecated.
14185
14186 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14187
14188 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14189 (delphi-verbose, delphi-comment-face, delphi-string-face)
14190 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14191 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14192 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14193 (delphi-new-comment-line, delphi-font-lock-defaults)
14194 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14195 Fix typos in docstrings.
14196
14197 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14198
14199 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14200 Invert the roles of character and string values for INSTEAD, so a
14201 string is used for the more common case of a defaulting prompt.
14202
14203 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * progmodes/ruby-mode.el (ruby-backward-sexp):
14206 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14207 * play/gamegrid.el (gamegrid-make-face):
14208 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14209 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14210 * notifications.el (notifications-notify):
14211 * net/xesam.el (xesam-search-engines):
14212 * net/quickurl.el (quickurl-list-insert):
14213 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14214
14215 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14216
14217 * startup.el (command-line): Update package subdirectory regexp.
14218
14219 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * allout.el (allout-abbreviate-flattened-numbering)
14222 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14223
14224 * subr.el (read-char-choice): Only show the cursor after the prompt,
14225 not after the answer.
14226
14227 2011-03-15 Kevin Ryde <user42@zip.com.au>
14228
14229 * help-fns.el (variable-at-point): Skip leading quotes, if any
14230 (bug#8253).
14231
14232 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14233
14234 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14235 warning message.
14236
14237 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14238
14239 * shell.el (shell): When called interactively, offer to change the
14240 shell file name on remote hosts.
14241
14242 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14243
14244 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14245 integration for LDAP parameters. The host, base, user or binddn,
14246 and secret tokens can be specified in a netrc file, for instance.
14247 This is optional because an `auth-source' parameter must be
14248 specified in the search attributes.
14249
14250 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14251
14252 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14253
14254 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14255
14256 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14257 into declaration. Remove redundant and harmful binding.
14258
14259 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14260
14261 * files.el (file-ownership-preserved-p): Pass `integer' as an
14262 explicit 2nd argument to `file-attributes'. If the file's owner
14263 is the Administrators group on Windows, and the current user is
14264 Administrator, consider that a match.
14265
14266 * server.el (server-ensure-safe-dir): Consider server directory
14267 safe on MS-Windows if its owner is the Administrators group while
14268 the current Emacs user is Administrator. Use `=' to compare
14269 numerical UIDs, since they could be integers or floats.
14270
14271 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14272
14273 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14274
14275 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14276
14277 Sync with Tramp 2.2.1.
14278
14279 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14280
14281 * net/trampver.el: Update release number.
14282
14283 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * progmodes/compile.el (compilation--previous-directory): Fix up
14286 various nil/dead-marker mismatches (bug#8014).
14287 (compilation-directory-properties, compilation-error-properties):
14288 Don't call it at a position past the one we're about to change.
14289
14290 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14291 Disable obsolescence warnings in the file that declares it.
14292
14293 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14294
14295 * allout-widgets.el (allout-widgets-tally):
14296 Initialize allout-widgets-tally as a hash table rather than nil to
14297 prevent mode-line redisplay warnings. Also, clarify the module
14298 description and fix a comment typo.
14299
14300 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14301
14302 * help-fns.el (describe-variable): Don't complete keywords.
14303 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14304
14305 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14306
14307 * emacs-lisp/package.el (package-version-join): Impose a standard
14308 string representation for pre/alpha/beta version lists.
14309 (package-unpack-single): Standardize the directory name by passing
14310 it through package-version-join.
14311 (package-strip-rcs-id): Accept any version string that does not
14312 signal an error in version-to-list.
14313
14314 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14315
14316 * simple.el (delete-trailing-whitespace): Return nil for the
14317 benefit of `write-file-functions'.
14318
14319 2011-03-10 Glenn Morris <rgm@gnu.org>
14320
14321 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14322
14323 * vc/vc-git.el (vc-git-program): New option.
14324 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14325 (vc-git--call): Use it.
14326
14327 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14328
14329 * cus-edit.el (Custom-newline): If no button at point, look
14330 for a subgroup button at start-of-line. (Bug#2298)
14331
14332 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14333
14334 2011-03-10 Julien Danjou <julien@danjou.info>
14335
14336 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14337 `cursor-type' is nil.
14338
14339 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14340
14341 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14342
14343 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14344
14345 * allout.el: Change so yank of distinctive-bullet items
14346 preserves the existing header prefix, rebulleting it if necessary,
14347 rather than replacing it. This is necessary for proper operation
14348 of cooperative addons like allout-widgets.
14349 (allout-make-topic-prefix, allout-rebullet-heading):
14350 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14351 value as alternate bullet to be used, instead of prompting the user
14352 for a bullet character.
14353
14354 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14355
14356 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14357 Do not use `tramp-file-name-port', because this returns also
14358 `tramp-default-port'.
14359
14360 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14361
14362 * net/rcirc.el (rcirc-handler-001): Remove useless
14363 with-rcirc-process-buffer.
14364 (rcirc-check-auth-status): Swap arguments to string-match.
14365
14366 2011-03-09 Glenn Morris <rgm@gnu.org>
14367
14368 * shell.el (shell-mode):
14369 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14370
14371 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14372 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14373
14374 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * emacs-lisp/package.el (package-refresh-contents)
14377 (package-menu-execute): Use condition-case-no-debug.
14378
14379 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14380
14381 * simple.el (shell-command-to-string): Use `process-file'.
14382
14383 * emacs-lisp/package.el (package-tar-file-info): Handle also
14384 remote files.
14385
14386 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14387 Use `equal' for upload base check.
14388
14389 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14390
14391 * textmodes/texinfo.el (texinfo-environments):
14392 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14393
14394 2011-03-08 Glenn Morris <rgm@gnu.org>
14395
14396 * cus-start.el (cursor-in-non-selected-windows):
14397 Fix :set quoting oddness. (Bug#8192)
14398
14399 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14400 in some setf expressions. (Bug#2159)
14401
14402 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14403
14404 * custom.el (custom-available-themes): Return themes in
14405 alphabetical order.
14406
14407 See ChangeLog.15 for earlier changes.
14408
14409 ;; Local Variables:
14410 ;; coding: utf-8
14411 ;; End:
14412
14413 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14414
14415 This file is part of GNU Emacs.
14416
14417 GNU Emacs is free software: you can redistribute it and/or modify
14418 it under the terms of the GNU General Public License as published by
14419 the Free Software Foundation, either version 3 of the License, or
14420 (at your option) any later version.
14421
14422 GNU Emacs is distributed in the hope that it will be useful,
14423 but WITHOUT ANY WARRANTY; without even the implied warranty of
14424 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14425 GNU General Public License for more details.
14426
14427 You should have received a copy of the GNU General Public License
14428 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.