]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
ispell.el: Define `ispell-with-no-warnings' as a macro. Deal with obsolete `interacti...
[gnu-emacs] / lisp / ChangeLog
1 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * textmodes/ispell.el (ispell-with-no-warnings):
4 Define as a macro.
5 (ispell-kill-ispell, ispell-change-dictionary): Use
6 `called-interactively-p' for Emacs instead of obsolete
7 `interactive-p'.
8
9 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12 (macro-declaration-function): Move var from C code.
13 (macro-declaration-function): Define function with defalias.
14 * emacs-lisp/macroexp.el (macroexpand-all-1):
15 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
16 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
17 defun/defmacro any more.
18 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
19 Provide fallback for unknown arglist.
20 (byte-compile-arglist-warn): Change calling convention.
21 (byte-compile-output-file-form): Move print-vars binding.
22 (byte-compile-output-docform): Simplify accordingly.
23 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
24 (byte-compile-defmacro-declaration): Remove.
25 (byte-compile-file-form-defmumble): Generalize to defalias.
26 (byte-compile-output-as-comment): Return byte-positions.
27 Simplify callers accordingly.
28 (byte-compile-lambda): Use `assert'.
29 (byte-compile-defun, byte-compile-defmacro): Remove.
30 (byte-compile-file-form-defalias):
31 Use byte-compile-file-form-defmumble.
32 (byte-compile-defalias-warn): Remove.
33
34 2012-05-29 Stefan Merten <smerten@oekonux.de>
35
36 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
37 possible. Fix authors. Improve comments. Improve loading of `cl'.
38
39 (rst-mode-abbrev-table): Merge definition.
40 (rst-mode): Make sure `font-lock-defaults' is buffer local.
41 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
42
43 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
44
45 * calendar/icalendar.el
46 (icalendar-export-region): Export UID properly.
47
48 2012-05-29 Leo <sdl.web@gmail.com>
49 * calendar/icalendar.el (icalendar-import-format):
50 Add `icalendar-import-format-uid' (Bug#11525).
51 (icalendar-import-format-uid): New.
52 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
53 Export UID.
54
55 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
58 different alternative patterns.
59 (pcase-codegen): Be more careful to preserve identity.
60 (pcase--u1): Don't forget to mark vars as used.
61
62 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
63 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
64 (byte-compile-from-buffer): ...rather than here.
65
66 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
67 functions from byte-compile-function-environment.
68
69 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
70
71 * window.el (window-deletable-p): Avoid deleting the root window
72 of a frame with an active minibuffer.
73
74 2012-05-29 Martin Rudalics <rudalics@gmx.at>
75
76 * simple.el (choose-completion): Use quit-window (Bug#11567).
77
78 2012-05-29 Chong Yidong <cyd@gnu.org>
79
80 * whitespace.el (whitespace-cleanup): Fix usage of
81 whitespace-empty-at-bob-regexp (Bug#11492).
82
83 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
84
85 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
86 revert (Bug#11488).
87
88 2012-05-29 Juri Linkov <juri@jurta.org>
89
90 * isearch.el (isearch-mode-map): Bind `M-s _' to
91 `isearch-toggle-symbol'. Bind `M-s c' to
92 `isearch-toggle-case-fold'.
93 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
94 (isearch-forward): Add `M-s _' to the docstring.
95 (isearch-forward-symbol, isearch-toggle-case-fold)
96 (isearch-symbol-regexp): New functions. (Bug#11381)
97
98 2012-05-29 Juri Linkov <juri@jurta.org>
99
100 * isearch.el (isearch-word): Add docstring. (Bug#11381)
101 (isearch-occur, isearch-search-and-update): If `isearch-word' is
102 a function, call it to get the regexp.
103 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
104 property `isearch-message-prefix' instead of the string "word ".
105 (isearch-search-fun-default): For the case of `isearch-word',
106 return a lambda that calls re-search-forward/re-search-backward
107 with a regexp returned by `word-search-regexp' or by the function
108 in `isearch-word'.
109
110 2012-05-29 Juri Linkov <juri@jurta.org>
111
112 * isearch.el (isearch-search-fun-default): New function.
113 (isearch-search-fun): Move default part to the new function
114 `isearch-search-fun-default'.
115 (isearch-search-fun-function): Set the default value to
116 `isearch-search-fun-default'. (Bug#11381)
117
118 * comint.el (comint-history-isearch-end):
119 Use `isearch-search-fun-default'.
120 (comint-history-isearch-search): Use `isearch-search-fun-default'
121 and remove spacial case for `isearch-word'.
122 (comint-history-isearch-wrap): Remove spacial case for
123 `isearch-word'.
124
125 * hexl.el (hexl-isearch-search-function):
126 Use `isearch-search-fun-default'.
127
128 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
129 Use `word-search-regexp' for `isearch-word'.
130
131 * misearch.el (multi-isearch-search-fun):
132 Use `isearch-search-fun-default'.
133
134 * simple.el (minibuffer-history-isearch-search):
135 Use `isearch-search-fun-default' and remove spacial case for
136 `isearch-word'.
137 (minibuffer-history-isearch-wrap): Remove spacial case for
138 `isearch-word'.
139
140 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
141 Remove spacial case for `isearch-word'.
142 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
143
144 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
145
146 Decrease XEmacs incompatibilities.
147 * textmodes/flyspell.el (flyspell-check-pre-word-p):
148 Use `string-match'.
149 (flyspell-delete-region-overlays): Use alternative definition for
150 XEmacs.
151 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
152 (flyspell-word): Use `process-kill-without-query' if XEmacs.
153 (flyspell-mode-on): Use `interactive-p' if XEmacs.
154 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
155 `define-obsolete-face-alias' under XEmacs, but old method.
156
157 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
158 `with-no-warnings' definition or Emacs alias.
159 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
160 (ispell-word): Do not use `region-p' if XEmacs.
161
162 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
163
164 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
165 Check for `ispell-dictionary-base-alist' instead of full
166 `ispell-dictionary-alist'.
167 (ispell-init-process): Show spellchecker when starting new Ispell
168 process.
169
170 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
173 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
174
175 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
176
177 * version.el (motif-version-string, gtk-version-string)
178 (ns-version-string): Declare.
179
180 2012-05-27 Juri Linkov <juri@jurta.org>
181
182 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
183 after the `eval-defun-1' specialcaseing
184 like in `edebug-eval-defun' (bug#10181).
185
186 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
187 like in `eval-defun-1'.
188
189 2012-05-27 Eli Zaretskii <eliz@gnu.org>
190
191 * mail/sendmail.el (mail-yank-region):
192 Recognize rmail-yank-current-message in addition to insert-buffer.
193 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
194 a *mail* buffer created through rmail-start-mail with sendmail as
195 mail-user-agent.
196
197 2012-05-27 Chong Yidong <cyd@gnu.org>
198
199 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
200 Default to 256 (Bug#11267).
201
202 * help.el (describe-mode): Doc fix.
203
204 2012-05-26 Glenn Morris <rgm@gnu.org>
205
206 * w32-fns.el (w32-init-info): Remove.
207 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
208
209 * info.el (info-initialize): For self-contained NS builds, put the
210 included info/ directory at the front. (Bug#2791)
211
212 * paths.el (Info-default-directory-list): Make it a defcustom,
213 mainly so that we can use custom-initialize-delay.
214
215 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * subr.el (buffer-has-markers-at): Mark obsolete.
218
219 * subr.el (lambda): Use declare.
220
221 * emacs-lisp/lisp-mode.el (lambda):
222 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
223
224 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
225
226 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
227
228 2012-05-26 Glenn Morris <rgm@gnu.org>
229
230 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
231
232 2012-05-25 Glenn Morris <rgm@gnu.org>
233
234 * paths.el: Remove no-byte-compile.
235 * loadup.el: No need to load paths.el uncompiled.
236
237 * image.el (imagemagick-types-inhibit): Doc fix.
238
239 * version.el: Remove no-byte-compile and associated formatting.
240 * loadup.el: No need to load version.el uncompiled. AFAICS, this
241 is ancient code from when there was an "inc-vers.el".
242
243 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * progmodes/gdb-mi.el: Minor style changes.
246 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
247 Turn into minor modes.
248 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
249 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
250 (gdb-shell): Remove unneeded let-binding.
251 (gdb-get-many-fields): Eliminate O(n²) behavior.
252
253 2012-05-25 Eli Zaretskii <eliz@gnu.org>
254
255 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
256 platforms that don't link in fontset.c.
257
258 2012-05-25 Juri Linkov <juri@jurta.org>
259
260 Use the same diff color scheme as in modern VCSes (bug#10181).
261
262 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
263 to avoid confusion with `diff-added' that now uses green colors.
264 (diff-removed): Use shades of red.
265 (diff-added): Use shades of green.
266 (diff-changed): Leave just the yellow color.
267 (diff-use-changed-face): New variable.
268 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
269 how to highlight context diff changes.
270 (diff-refine-change): Use shades of yellow.
271 (diff-refine-removed): New face that uses shades of red.
272 (diff-refine-added): New face that uses shades of green.
273 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
274 `diff-refine-removed' in the call to `smerge-refine-subst'
275 depending on the value of `diff-use-changed-face'.
276
277 * vc/smerge-mode.el (smerge-mine): Use shades of red.
278 (smerge-other): Use shades of green.
279 (smerge-base): Use shades of yellow.
280 (smerge-refined-change): Empty face.
281 (smerge-refined-removed): New face that uses shades of red.
282 (smerge-refined-added): New face that uses shades of green.
283 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
284 args `props-r' and `props-a', and use them. Doc fix.
285 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
286 on its value use different faces `smerge-refined-change',
287 `smerge-refined-removed', `smerge-refined-added' in the call to
288 `smerge-refine-subst'.
289
290 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
291 Add face condition `min-colors 88' with shades of red.
292 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
293 `min-colors 88' with shades of green.
294 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
295 `min-colors 88' with shades of yellow.
296
297 2012-05-24 Glenn Morris <rgm@gnu.org>
298
299 * paths.el (prune-directory-list, remote-shell-program): Move to...
300 * files.el (prune-directory-list, remote-shell-program): ...here.
301 For the latter, delay initialization, prefer ssh, just search PATH.
302
303 * paths.el (term-file-prefix): Move to faces.el (the only user).
304 * faces.el (term-file-prefix): Move here, make it a defcustom.
305
306 * paths.el (news-directory, news-path, news-inews-program):
307 Move to gnus/nnspool.el.
308
309 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
310
311 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
312 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
313 Make the latter a defcustom, with a delayed initialization.
314
315 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
316 These were deleted from Gnus itself late 2010.
317
318 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
319
320 * progmodes/which-func.el (which-func-ff-hook):
321 Check against user-error, not error.
322
323 * emacs-lisp/edebug.el (top): Do not load or set up loading of
324 cl-specs.el, which no longer exists.
325
326 2012-05-22 Glenn Morris <rgm@gnu.org>
327
328 * info.el (info-emacs-bug): New command.
329 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
330 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
331
332 2012-05-21 Glenn Morris <rgm@gnu.org>
333
334 * makefile.w32-in (update-subdirs-SH):
335 * Makefile.in (update-subdirs): Update for moved update-subdirs.
336
337 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
340
341 * progmodes/compile.el (compilation-error-regexp-alist-alist):
342 Simplify Maven regexp, and make sure the file can't start with a space
343 (bug#11517).
344
345 2012-05-21 Glenn Morris <rgm@gnu.org>
346
347 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
348 Scrap superfluous subshells.
349
350 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
353 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
354
355 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
356
357 * calc/calc.el (calc-ensure-consistent-units): New variable.
358
359 * calc/calc-units.el (math-consistent-units-p)
360 (math-check-unit-consistency): New functions.
361 (calc-quick-units, calc-convert-units):
362 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
363 is non-nil.
364 (calc-extract-units): Fix typo.
365
366 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
369
370 * textmodes/flyspell.el: Commenting style, plus code simplifications.
371 (flyspell-default-deplacement-commands): Don't spell check after
372 repeated window/frame switches (e.g. triggered by mouse-movement).
373 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
374 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
375 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
376 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
377 Remove unused vars.
378 (flyspell-get-casechars, flyspell-get-not-casechars):
379 Simplify; Don't bother removing a ] just to add it back.
380 * textmodes/ispell.el (ispell-program-name): Use executable-find.
381
382 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
383
384 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
385 New functions.
386 (math-function-table): Add support for more C functions.
387
388 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
389
390 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
391 (flyspell-debug-signal-word-checked): Protect delay handling for
392 otherchars against empty otherchars.
393
394 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
397 their respective macro declarations.
398 * skeleton.el (define-skeleton):
399 * progmodes/compile.el (define-compilation-mode):
400 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
401 (define-ibuffer-filter):
402 * emacs-lisp/generic.el (define-generic-mode):
403 * emacs-lisp/easy-mmode.el (define-minor-mode)
404 (define-globalized-minor-mode):
405 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
406 * emacs-lisp/byte-run.el (defsubst):
407 * custom.el (deftheme): Add doc-string metadata.
408
409 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
412
413 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
416
417 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
418 * emacs-lisp/cl-macs.el: Idem.
419 * emacs-lisp/cl-specs.el: Remove.
420
421 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 Minor renaming of internal CL functions and variables.
424 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
425 (cl--position): Rename from cl-position.
426 (cl--delete-duplicates): Rename from cl-delete-duplicates.
427 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
428 (cl--random-state): Rename from *random-state*.
429
430 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
433 parens around the arg list (bug#11499).
434
435 2012-05-17 Juri Linkov <juri@jurta.org>
436
437 * isearch.el (word-search-regexp, word-search-backward)
438 (word-search-forward, word-search-backward-lax)
439 (word-search-forward-lax): Move functions from search.c
440 (bug#10145, bug#11381).
441
442 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
443
444 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
445 (flyspell-debug-signal-word-checked): Delay for otherchars as for
446 normal word components.
447
448 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * minibuffer.el (completion--sifn-requote): Fix last change.
451 (minibuffer-local-must-match-filename-map):
452 Move define-obsolete-variable-alias before its var.
453
454 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
457
458 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
459 behavior.
460 (completion--string-equal-p): New function.
461 (completion--twq-all): Use it to get better assertion failure data.
462
463 Only handle ".." and '..' quoting in shell-mode (bug#11466).
464 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
465 (shell--requote-argument): New functions.
466 (shell-completion-vars): Use them.
467 (shell--parse-pcomplete-arguments): Rename from
468 shell-parse-pcomplete-arguments.
469 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
470 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
471 Obey comint-file-name-quote-list.
472
473 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
474 (smie-indent-keyword): Use it.
475
476 2012-05-14 Stefan Merten <smerten@oekonux.de>
477
478 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
479
480 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * net/rlogin.el (rlogin-mode-map): Fix last change.
483
484 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
485
486 * mail/smtpmail.el (smtpmail-send-command): Send the command and
487 the following \r\n using a single `process-send-string', since the
488 Lotus SMTP server refuses to accept any commands if they are sent
489 with two `process-send-string's (Bug#11444).
490
491 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * shell.el (shell-parse-pcomplete-arguments):
494 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
495
496 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
497
498 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
499 (image-transform-scale, image-transform-right-angle-fudge): New vars.
500 (image-transform-width, image-transform-fit-width): New functions.
501 (image-transform-properties): Use them.
502 (image-transform-check-size): New function.
503 (image-toggle-display-image): Use it (for testing).
504 (image-transform-set-rotation): Reduce angle mod 360.
505 Delete obsolete comment.
506
507 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
508
509 * image-mode.el: Fix scaling (bug#11399).
510 (image-transform-resize): Doc fix.
511 (image-transform-properties): Default scale is 1 and height should
512 be an integer.
513
514 2012-05-13 Johan Bockgård <bojohan@gnu.org>
515
516 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
517 than hard-coding `car', to fix misbehavior when moving forward.
518
519 2012-05-13 Chong Yidong <cyd@gnu.org>
520
521 * emacs-lisp/tabulated-list.el (tabulated-list-format)
522 (tabulated-list-entries, tabulated-list-padding)
523 (tabulated-list-sort-key): Make permanent-local.
524
525 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
526 (electric-buffer-list): Put electric buffer menu
527 command descriptions in this docstring, instead of the docstring
528 of electric-buffer-menu-mode. Code cleanups.
529 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
530 Electric-buffer-menu-mode.
531 (electric-buffer-update-highlight): Minor code cleanup.
532
533 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
536 (Bug#11447)
537
538 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 Move define-obsolete-variable-alias before the var's definition.
541 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
542 * tooltip.el (tooltip-hook):
543 * textmodes/reftex-toc.el (reftex-toc-map):
544 * textmodes/reftex-sel.el (reftex-select-label-map)
545 (reftex-select-bib-map):
546 * textmodes/reftex-index.el (reftex-index-map)
547 (reftex-index-phrases-map):
548 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
549 * progmodes/meta-mode.el (meta-mode-map):
550 * novice.el (disabled-command-hook):
551 * loadhist.el (unload-hook-features-list):
552 * frame.el (blink-cursor):
553 * files.el (find-file-not-found-hooks, write-file-hooks)
554 (write-contents-hooks):
555 * emulation/tpu-edt.el (GOLD-map):
556 * emacs-lock.el (emacs-lock-from-exiting):
557 * emacs-lisp/generic.el (generic-font-lock-defaults):
558 * emacs-lisp/chart.el (chart-map):
559 * dos-fns.el (register-name-alist):
560 * dired-x.el (dired-omit-files-p):
561 * desktop.el (desktop-enable):
562 * cus-edit.el (custom-mode-hook):
563 * buff-menu.el (buffer-menu-mode-hook):
564 * bookmark.el (bookmark-read-annotation-text-func)
565 (bookmark-exit-hooks):
566 * allout.el (allout-mode-deactivate-hook)
567 (allout-exposure-change-hook, allout-structure-added-hook)
568 (allout-structure-deleted-hook, allout-structure-shifted-hook):
569 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
570 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
571 comes before the corresponding variable's definition.
572
573 2012-05-12 Chong Yidong <cyd@gnu.org>
574
575 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
576 (Buffer-menu-mouse-select): Restore function (Bug#11459).
577 (Buffer-menu-mode-map): Bind it.
578 (Buffer-menu--pretty-name): Add a mouse-face property.
579
580 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
583 (prolog-upper-case-string, prolog-lower-case-string)
584 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
585 (prolog-use-smie, prolog-smie-grammar): New vars.
586 (prolog-smie-forward-token, prolog-smie-backward-token)
587 (prolog-smie-rules): New funs.
588 (prolog-comment-indent): Remove.
589 (prolog-mode-variables): Use default comment indentation instead.
590 Setup SMIE.
591 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
592 (prolog-mode): Don't call them any more.
593 (prolog-electric-colon, prolog-electric-dash)
594 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
595
596 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
597
598 * minibuffer.el (completion--twq-all): Again, allow case differences.
599
600 * term.el: Move keymap initialization code to be more idiomatic.
601 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
602 (term-terminal-menu): Move initialization into declaration.
603 (term-escape-char): Let the user set it in her .emacs.
604
605 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
606 Provide SMIE-based indentation (not enabled by default yet).
607 (sh-mode-map): Don't bind electric keys.
608 Use electric-pair-mode instead of skeleton-pair.
609 (sh-assignment-regexp): Fit within 80 columns.
610 (sh-indent-supported): Specify actual shell name instead of boolean.
611 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
612 (sh-maybe-here-document): Use it. Make obsolete.
613 (sh-electric-here-document-mode) New minor mode.
614 (sh-mode): Use it. Don't set sh-indent-supported-here here.
615 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
616 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
617 (sh-smie-rc-grammar, sh-use-smie): New vars.
618 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
619 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
620 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
621 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
622 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
623 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
624 (sh-set-shell): Use smie-setup if requested.
625
626 * term.el (term-set-escape-char): Properly set term-escape-char.
627 See http://stackoverflow.com/questions/10524656.
628
629 2012-05-10 Chong Yidong <cyd@gnu.org>
630
631 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
632 Use url-generic-parse-url, and handle host names and Windows
633 filenames properly.
634 (ffap-url-unwrap-remote): Use url-generic-parse-url.
635 (ffap-url-unwrap-remote): Accept list values, specifying a list of
636 URL schemes to work on.
637 (ffap--toggle-read-only): New function.
638 (ffap-read-only, ffap-read-only-other-window)
639 (ffap-read-only-other-frame): Use it.
640 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
641 necessary for ffap-url-unwrap-remote.
642
643 2012-05-10 Dave Abrahams <dave@boostpro.com>
644
645 * cus-start.el (create-lockfiles): Add it.
646
647 2012-05-09 Chong Yidong <cyd@gnu.org>
648
649 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
650 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
651
652 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * shell.el (shell-completion-vars): Fix last change (bug#11348).
655
656 2012-05-09 Chong Yidong <cyd@gnu.org>
657
658 * ansi-color.el (ansi-color-process-output): Check for validity of
659 comint-last-output-start before using it. This avoids a bad
660 interaction with gdb-mi's input/output buffer.
661
662 2012-05-09 Glenn Morris <rgm@gnu.org>
663
664 * files.el (dir-locals-read-from-file):
665 Mention dir-locals in any error message.
666
667 2012-05-09 Chong Yidong <cyd@gnu.org>
668
669 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
670 package (Bug#11410).
671
672 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
673 variables into description.
674
675 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
678 shell-delimiter-argument-list (bug#11348).
679 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
680
681 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
682
683 * textmodes/rst.el: Silence byte-compiler warnings.
684 (rst-re-alist, rst-reset-section-caches): Move around.
685 (rst-re): Use `characterp', not `char-valid-p'.
686 (font-lock-beg, font-lock-end): Declare.
687
688 * progmodes/idlw-shell.el (specs): Remove reference to deleted
689 variable `idlwave-shell-activate-alt-keybindings' and simplify.
690
691 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
692
693 2012-05-08 Glenn Morris <rgm@gnu.org>
694
695 * files.el (auto-mode-alist): Treat ".make" like ".mk".
696
697 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * vc/log-edit.el: Add GNU coding standards highlighting.
700 (log-edit-font-lock-gnu-style)
701 (log-edit-font-lock-gnu-keywords): New vars.
702 (log-edit-font-lock-keywords): New fun.
703 (log-edit-mode): Don't fold case in font-lock.
704 (log-edit-font-lock-keywords): Do not assume case-folding.
705
706 * imenu.el: Misc cleanup. Make docstrings out of comments.
707 Use lexical-binding.
708 (imenu--index-alist, imenu--last-menubar-index-alist)
709 (imenu-menubar-modified-tick): Use defvar-local.
710 (imenu--split-menu): Remove unused var.
711 (imenu--cleanup-seen): Declare as global.
712 (imenu--cleanup): Use dolist.
713
714 * subr.el (defvar-local): Add debug spec and doc-string position.
715
716 2012-05-08 Glenn Morris <rgm@gnu.org>
717
718 * lisp/language/burmese.el, language/cham.el, language/czech.el:
719 * language/english.el, language/georgian.el, language/greek.el:
720 * language/japanese.el, language/khmer.el, language/korean.el:
721 * language/lao.el, language/misc-lang.el, language/romanian.el:
722 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
723 * language/thai.el, language/utf-8-lang.el:
724 Remove no-byte-compile setting.
725
726 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
727
728 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
729
730 * progmodes/make-mode.el (makefile-browse):
731 Remove unnecessary interactive. (Bug#11324)
732
733 2012-05-07 Glenn Morris <rgm@gnu.org>
734
735 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
736
737 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
738
739 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * loadup.el: Preload newcomment.el.
742 * newcomment.el: Move autoload-only code to toplevel.
743
744 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
745 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
746 Handle new :right-align column property.
747 (tabulated-list-print-col): Idem, plus use `display' text-property to
748 try and preserve alignment for variable pitch fonts.
749
750 2012-05-07 Chong Yidong <cyd@gnu.org>
751
752 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
753 (tabulated-list-use-header-line): New var.
754 (tabulated-list-init-header): Use it.
755 (tabulated-list-print-fake-header): New function.
756 (tabulated-list-print): Use it.
757 (tabulated-list-sort-button-map): Add non-header-line commands.
758 (tabulated-list-init-header): Add column name property to basic
759 labels as well.
760 (tabulated-list-col-sort): Handle non-header-line button case.
761 (tabulated-list--sort-by-column-name): Fix a corner case.
762
763 * buff-menu.el (list-buffers--refresh):
764 Handle Buffer-menu-use-header-line.
765
766 2012-05-06 Chong Yidong <cyd@gnu.org>
767
768 * buff-menu.el: Convert to Tabulated List mode.
769 (Buffer-menu-buffer+size-width): Make obsolete.
770 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
771 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
772 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
773 documentation into docstring of buffer-menu.
774 (Buffer-menu-toggle-files-only): Add an informative message.
775 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
776 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
777 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
778 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
779 (Buffer-menu-execute, Buffer-menu-select)
780 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
781 (Buffer-menu-bury): Use Tabulated List machinery.
782 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
783 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
784 Delete.
785 (list-buffers--refresh): New function.
786 (list-buffers-noselect): Use it.
787 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
788 (Buffer-menu--pretty-file-name): New helper functions.
789
790 * loadup.el: Preload tabulated-list.
791
792 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
793 tabulated-list-sort-column.
794 (tabulated-list-init-header): Add the initial aligning space even
795 if tabulated-list-padding is zero.
796
797 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
798
799 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
800 whose cdr is not a cons cell correctly (bug#11038).
801
802 2012-05-06 Chong Yidong <cyd@gnu.org>
803
804 * emacs-lisp/tabulated-list.el (tabulated-list-format):
805 Accept additional plist in column descriptors.
806 (tabulated-list-init-header): Obey it.
807 (tabulated-list-get-entry): New function.
808 (tabulated-list-put-tag): Use it. Use string-width instead of
809 length.
810 (tabulated-list--column-number): New function.
811 (tabulated-list-print): Use it.
812 (tabulated-list-print-col): New function.
813 Set `tabulated-list-column-name' property on each column's text.
814 (tabulated-list-print-entry): Use it.
815 (tabulated-list-delete-entry, tabulated-list-set-col):
816 New functions.
817 (tabulated-list-sort-column): New command (Bug#11337).
818
819 * buff-menu.el (list-buffers): Move C-x C-b binding from
820 buff-menu.el to bindings.el.
821
822 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
823 :advertised-binding feature.
824
825 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
826
827 * progmodes/compile.el (compilation-internal-error-properties):
828 Calculate start position correctly when end-col is set but
829 end-line is not (Bug#11382).
830
831 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
832
833 * man.el (Man-unindent): Use text-property-default-nonsticky to
834 prevent untabify from inheriting face properties (Bug#11408).
835
836 2012-05-05 Stefan Merten <smerten@oekonux.de>
837
838 * textmodes/rst.el: Major merge with upstream development up to
839 Docutils SVN r7399 / rst.el V1.2.1.
840
841 Clarify maintainership and authors.
842
843 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
844 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
845 (rst-official-version, rst-official-cvs-rev, rst-version)
846 (rst-package-emacs-version-alist): New functions and variables
847 for version information.
848
849 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
850 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
851 (rst-mode-syntax-table, rst-mode): New and corrected functions
852 and variables representing reStructuredText features.
853
854 (rst-re): New function for reStructuredText regexes. Use in
855 many places.
856
857 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
858 (rst-mode-map): Rebind keys.
859
860 (rst-mode-lazy, rst-font-lock-keywords)
861 (rst-font-lock-extend-region)
862 (rst-font-lock-extend-region-internal)
863 (rst-font-lock-extend-region-extend)
864 (rst-font-lock-find-unindented-line-limit)
865 (rst-font-lock-find-unindented-line-match)
866 (rst-adornment-level, rst-font-lock-adornment-level)
867 (rst-font-lock-adornment-match)
868 (rst-font-lock-handle-adornment-pre-match-form)
869 (rst-font-lock-handle-adornment-matcher): Major revision of
870 font-locking. Integrate with other code. Use `jit-lock-mode'.
871
872 (rst-preferred-adornments, rst-adjust-hook)
873 (rst-new-adornment-down, rst-preferred-bullets)
874 (rst-preferred-bullets, rst-indent, rst-indent-width)
875 (rst-indent-field, rst-indent-literal-normal)
876 (rst-indent-literal-minimized, rst-indent-comment): Change,
877 extend and improve customization.
878
879 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
880 (rst-normalize-cursor-position, rst-get-decoration)
881 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
882 (rst-rstrip, rst-toc-insert-find-delete-contents)
883 (rst-shift-fill-region, rst-compute-bullet-tabs)
884 (rst-debug-print-tabs, rst-debug-mark-found)
885 (rst-shift-region-guts, rst-shift-region-right)
886 (rst-shift-region-left, rst-use-char-classes)
887 (rst-font-lock-keywords-function)
888 (rst-font-lock-indentation-point)
889 (rst-font-lock-find-unindented-line-begin)
890 (rst-font-lock-find-unindented-line-end)
891 (rst-font-lock-find-unindented-line)
892 (rst-font-lock-adornment-point, rst-font-lock-level)
893 (rst-adornment-level-alist): Remove functions and variables.
894
895 (rst-compare-adornments, rst-get-adornment-match)
896 (rst-suggest-new-adornment, rst-get-adornments-around)
897 (rst-adornment-complete-p, rst-get-next-adornment)
898 (rst-adjust-adornment, rst-display-adornments-hierarchy)
899 (rst-straighten-adornments): Standardize function names to
900 use "adornment" instead of "decoration". Correct callers.
901 Similar standardizing in many places.
902
903 (rst-update-section, rst-adjust, rst-promote-region)
904 (rst-enumerate-region, rst-bullet-list-region)
905 (rst-repeat-last-character): Correct use of `interactive'.
906
907 (rst-classify-adornment, rst-find-all-adornments)
908 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
909 (rst-find-leftmost-column, rst-repeat-last-character):
910 Refactor functions.
911
912 (rst-find-title-line, rst-reset-section-caches)
913 (rst-get-adornments-around, rst-adjust-adornment-work)
914 (rst-arabic-to-roman, rst-roman-to-arabic)
915 (rst-insert-list-pos, rst-insert-list-new-item)
916 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
917 New functions.
918
919 (rst-all-sections, rst-section-hierarchy)
920 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
921 New variables.
922
923 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
924 configuration instead of only buffer. Change where necessary.
925
926 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
927 (rst-shift-region, rst-adaptive-fill): New functions for
928 indentation and filling.
929
930 (rst-comment-line-break, rst-comment-indent)
931 (rst-comment-insert-comment, rst-comment-region)
932 (rst-uncomment-region): New functions for handling comments.
933
934 (rst-compile): Quote shell arguments.
935
936 (rst-compile-pdf-preview, rst-compile-slides-preview):
937 Delete temporary files after use.
938
939 2012-05-05 Glenn Morris <rgm@gnu.org>
940
941 * calendar/cal-html.el: Optionally include holidays in the output.
942 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
943 (cal-html-holidays): New option.
944 (cal-html-css-default): Add holiday entry.
945 (holiday-in-range): Autoload it.
946 (cal-html-htmlify-entry): Add optional class argument.
947 (cal-html-htmlify-list): Add optional holidays argument.
948 (cal-html-insert-agenda-days): Include holidays in the output.
949 (cal-html-one-month): Maybe include holidays.
950
951 * calendar/holidays.el (holiday-in-range):
952 Move here from cal-tex-list-holidays.
953 * calendar/cal-tex.el (cal-tex-list-holidays):
954 Make it an obsolete alias for holiday-in-range. Update all callers.
955
956 2012-05-05 Chong Yidong <cyd@gnu.org>
957
958 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
959 Nextstep.
960
961 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
962
963 * files.el (file-auto-mode-skip): New var.
964 (set-auto-mode-1): Use it.
965
966 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * repeat.el: Use lexical-binding.
969 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
970 (repeat-undo-count): Remove.
971 (repeat):
972 * progmodes/octave-mod.el (octave-abbrev-start):
973 * progmodes/f90.el (f90-abbrev-start):
974 * face-remap.el (text-scale-adjust):
975 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
976
977 * emacs-lisp/pcase.el (pcase--let*): New function.
978 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
979 a bit more.
980 (pcase--split-pred): Be more clever about ruling out overlap between
981 a predicate and some constant pattern.
982 (pcase--q1): Use `null' instead of (eq foo nil).
983
984 * subr.el (setq-local, defvar-local): New macros.
985 (kbd): Redefine as an alias.
986 (with-selected-window): Leave unrelated frames alone.
987 (set-temporary-overlay-map): New function.
988
989 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * subr.el (user-error): New function.
992 * window.el (switch-to-buffer):
993 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
994 (smerge-match-conflict):
995 * simple.el (previous-matching-history-element)
996 (next-matching-history-element, goto-history-element, undo-more)
997 (undo-start):
998 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
999 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1000 (next-file, tags-loop-scan, list-tags, complete-tag):
1001 * progmodes/compile.el (compilation-loop):
1002 * mouse.el (mouse-minibuffer-check):
1003 * man.el (Man-bgproc-sentinel, Man-goto-page):
1004 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1005 (Info-history-forward, Info-follow-reference, Info-menu)
1006 (Info-extract-menu-item, Info-extract-menu-counting)
1007 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1008 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1009 (Info-next-reference, Info-prev-reference, Info-index)
1010 (Info-index-next, Info-follow-nearest-node)
1011 (Info-copy-current-node-name):
1012 * imenu.el (imenu--make-index-alist)
1013 (imenu-default-create-index-function, imenu-add-to-menubar):
1014 * files.el (basic-save-buffer, recover-file):
1015 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1016 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1017 (checkdoc-message-text, checkdoc-defun):
1018 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1019 * cus-edit.el (customize-changed-options, customize-rogue)
1020 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1021 (custom-variable-mark-to-reset-standard)
1022 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1023 (custom-file):
1024 * completion.el (check-completion-length):
1025 * comint.el (comint-search-arg)
1026 (comint-previous-matching-input-string-position)
1027 (comint-previous-matching-input)
1028 (comint-replace-by-expanded-history-before-point, comint-send-input)
1029 (comint-copy-old-input, comint-backward-matching-input)
1030 (comint-goto-process-mark, comint-set-process-mark):
1031 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1032 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1033
1034 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * dabbrev.el (dabbrev--ignore-case-p): New function.
1037 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1038 Use it.
1039
1040 * files.el (automount-dir-prefix): Mark as obsolete.
1041
1042 2012-05-04 Glenn Morris <rgm@gnu.org>
1043
1044 * patcomp.el, play/bruce.el: Move to obsolete/.
1045
1046 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 Fix minor Y10k bugs.
1049 * arc-mode.el (archive-unixdate):
1050 * autoinsert.el (auto-insert-alist):
1051 * calc/calc-forms.el (math-this-year):
1052 * emacs-lisp/copyright.el (copyright-current-year)
1053 (copyright-update-year, copyright):
1054 * tar-mode.el (tar-clip-time-string):
1055 * time.el (display-time-update):
1056 Don't assume years have 4 digits.
1057
1058 2012-05-04 Chong Yidong <cyd@gnu.org>
1059
1060 * dos-w32.el (file-name-buffer-file-type-alist)
1061 (direct-print-region-use-command-dot-com):
1062 * ffap.el (ffap-menu-regexp):
1063 * find-file.el (ff-special-constructs):
1064 * follow.el (follow-debug):
1065 * forms.el (forms--debug):
1066 * iswitchb.el (iswitchb-all-frames):
1067 * ido.el (ido-all-frames):
1068 * emacs-lisp/timer.el (timer-max-repeats):
1069 * mail/feedmail.el (feedmail-mail-send-hook)
1070 (feedmail-mail-send-hook-queued):
1071 * mail/footnote.el (footnote-signature-separator):
1072 * mail/mailabbrev.el (mail-alias-separator-string)
1073 (mail-abbrev-mode-regexp):
1074 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1075 * progmodes/idlwave.el (idlwave-libinfo-file)
1076 (idlwave-default-completion-case-is-down)
1077 (idlwave-library-routines): Convert defvars to defcustoms.
1078
1079 * mail/rmail.el (rmail-decode-mime-charset):
1080 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1081 (idlwave-shell-fix-inserted-breaks)
1082 (idlwave-shell-activate-alt-keybindings)
1083 (idlwave-shell-use-breakpoint-glyph):
1084 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1085
1086 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1087
1088 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1089
1090 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1091
1092 * progmodes/verilog-mode.el (font-lock-keywords):
1093 Fix mis-highligting auto. Reported by Craig Barner.
1094 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1095 defines from global name space. Reported by Dan Dever.
1096 (verilog-auto-reset, verilog-auto-reset-widths)
1097 (verilog-auto-tieoff): Support using unbased numbers for
1098 AUTORESET and AUTOTIEOFF.
1099 (verilog-submit-bug-report): Update variable list.
1100 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1101 parenthesis from not matching. Reported by Michael Rytting.
1102 (verilog-auto-template-lint): Fix hash error when linting modules
1103 with no used templates.
1104 (verilog-warn, verilog-warn-error)
1105 (verilog-warn-fatal): When non-interactive report multiple
1106 warnings before exiting. Suggested by Brad Dobbie.
1107 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1108 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1109 to report unused template errors. Reported by Brad Dobbie.
1110 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1111 nets, bug438. Reported by Vns Blore.
1112 (verilog-auto-inout-module, verilog-auto-reg)
1113 (verilog-read-decls, verilog-read-sub-decls-sig)
1114 (verilog-signals-edit-wire-reg, verilog-signals-with):
1115 Fix passing of Verilog data types in ANSI input/output ports
1116 such as "output logic" into the AUTOs. Special case "wire" and
1117 "reg" for backwards compatibility presuming Verilog 2001.
1118 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1119 (verilog-preprocess): Fix replication of preprocess output.
1120 Reported by Brad Dobbie.
1121 (verilog-auto-inst-interfaced-ports):
1122 Create verilog-auto-inst-interfaced-ports, bug429.
1123 Reported by Julian Gorfajn.
1124 (verilog-after-save-font-hook)
1125 (verilog-before-save-font-hook): New variable.
1126 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1127 (verilog-save-font-mods): Wrap disabling fontification, reported
1128 by David Rogoff.
1129 (verilog-do-indent, verilog-pretty-declarations-auto)
1130 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1131 Reported by Pierre-David Pfister.
1132 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1133 of class declarations, bug292. Reported by Kevin Heilman.
1134 (verilog-read-decls): Fix 'parameter type' not appearing in
1135 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1136 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1137 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1138 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1139 Reported by David Kravitz.
1140
1141 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
1142
1143 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1144 assignment with tests in ifs and for loops.
1145 (verilog-extended-complete-re, verilog-complete-reg): Change so
1146 that DPI inport functions don't look like fuction declarations.
1147 (verilog-pretty-expr): Don't line up assignment
1148 operations to the test and increment in if and for loops
1149 (verilog-extended-complete-re, verilog-complete-reg): Change so
1150 that DPI inport functions don't look like fuction declarations
1151
1152 2012-05-03 Kenichi Handa <handa@m17n.org>
1153
1154 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
1155 decoding, and show a warning message without signaling an error
1156 (Bug#11282).
1157
1158 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * emacs-lisp/bytecomp.el
1161 (byte-compile-file-form-custom-declare-variable): Compile all elements,
1162 since cconv.el might have introduced :fun-body, internal-make-closure,
1163 and friends for bytecomp to handle (bug#11391).
1164 * custom.el (defcustom): Avoid ((λ ..) ..).
1165
1166 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
1169
1170 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
1171
1172 * notifications.el (dbus-debug):
1173 * term/linux.el (gpm-mouse-enable):
1174 * term/screen.el (xterm-register-default-colors): Declare.
1175
1176 2012-05-02 Chong Yidong <cyd@gnu.org>
1177
1178 * cus-start.el (gc-cons-percentage, exec-suffixes)
1179 (dos-display-scancodes, dos-hyper-key, dos-super-key)
1180 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
1181 (make-cursor-line-fully-visible, void-text-area-pointer)
1182 (font-list-limit): Add customization data.
1183
1184 * allout.el (allout-exposure-change-functions)
1185 (allout-structure-added-functions)
1186 (allout-structure-deleted-functions)
1187 (allout-structure-shifted-functions): Rename abnormal hooks from
1188 *-hook, and convert to defcustoms.
1189 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
1190 Convert to defcustoms.
1191 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
1192
1193 * allout-widgets.el: Hook callers changed.
1194
1195 2012-05-02 Eli Zaretskii <eliz@gnu.org>
1196
1197 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
1198 the yanked message in preference to the default value of
1199 buffer-file-coding-system.
1200
1201 2012-05-02 Martin Rudalics <rudalics@gmx.at>
1202
1203 * window.el (display-buffer--action-function-custom-type):
1204 Fix entry.
1205
1206 2012-05-02 Alan Mackenzie <acm@muc.de>
1207
1208 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
1209
1210 2012-05-01 Glenn Morris <rgm@gnu.org>
1211
1212 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
1213
1214 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
1215
1216 * cus-edit.el (custom-variable-documentation): Simplify with format.
1217
1218 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1219 Stefan Monnier <monnier@iro.umontreal.ca>
1220
1221 * simple.el (suggest-key-bindings, execute-extended-command):
1222 Move from keyboard.c.
1223
1224 2012-05-01 Chong Yidong <cyd@gnu.org>
1225
1226 * follow.el: Eliminate advice.
1227 (set-process-filter, process-filter, sit-for): Advice deleted.
1228 (follow-mode-off-hook): Obsolete hook removed.
1229 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
1230 Vars deleted.
1231 (follow-auto): Use a :set function.
1232 (follow-mode): Rewritten. Don't advise process filters.
1233 (follow-switch-to-current-buffer-all, follow-scroll-up)
1234 (follow-scroll-down): Assume follow-mode is bound.
1235 (follow-comint-scroll-to-bottom)
1236 (follow-align-compilation-windows): New functions.
1237 (follow--window-sorter): New function.
1238 (follow-all-followers): Use it to explicitly sort windows by their
1239 positions; don't make assumptions about next-window order.
1240 (follow-windows-start-end, follow-delete-other-windows-and-split)
1241 (follow-calc-win-start): Doc fix.
1242 (follow-windows-aligned-p, follow-select-if-visible): Don't call
1243 vertical-motion unnecessarily.
1244 (follow-adjust-window): New function.
1245 (follow-post-command-hook): Use it.
1246 (follow-call-set-process-filter, follow-call-process-filter)
1247 (follow-intercept-process-output, follow-tidy-process-filter-alist)
1248 (follow-stop-intercept-process-output, follow-generic-filter):
1249 Functions deleted.
1250 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
1251 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
1252 New functions, replacing advice on scroll-bar-* commands.
1253 (follow-mwheel-scroll): New function (Bug#4112).
1254
1255 * comint.el (comint-adjust-point): New function.
1256 (comint-postoutput-scroll-to-bottom): Use it.
1257 Call follow-comint-scroll-to-bottom for Follow mode buffers.
1258
1259 2012-05-01 Glenn Morris <rgm@gnu.org>
1260
1261 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
1262 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
1263 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
1264 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
1265 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
1266 Remove no-byte-compile setting.
1267
1268 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * minibuffer.el (completion-table-with-quoting): Fix compatibility
1271 all-completions code to not return a number in the last cdr.
1272
1273 2012-04-30 Leo Liu <sdl.web@gmail.com>
1274
1275 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
1276 read-only error.
1277
1278 2012-04-29 Chong Yidong <cyd@gnu.org>
1279
1280 * follow.el (follow-calc-win-end): Rewrite to handle partial
1281 screen lines correctly (Bug#8390).
1282 (follow-avoid-tail-recenter): Minor cleanup.
1283
1284 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 Avoid the obsolete `assoc' package.
1287 * speedbar.el (speedbar-refresh): Avoid adelete.
1288 (speedbar-file-lists): Simplify and avoid aput.
1289 * man.el (Man--sections, Man--refpages): New vars, replacing
1290 Man-sections-alist and Man-refpages-alist.
1291 (Man-build-section-alist, Man-build-references-alist):
1292 Use them; avoid aput.
1293 (Man--last-section, Man--last-refpage): New vars.
1294 (Man-follow-manual-reference): Use them.
1295 Use the `default' arg of completing-read.
1296 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1297
1298 2012-04-27 Chong Yidong <cyd@gnu.org>
1299
1300 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1301
1302 * startup.el (x-apply-session-resources): New function.
1303
1304 * term/ns-win.el (ns-initialize-window-system):
1305 * term/w32-win.el (w32-initialize-window-system):
1306 * term/x-win.el (x-initialize-window-system): Use it to properly
1307 set menu-bar-mode and other vars from X resources, even if the
1308 initial frame is not a window-system frame (Bug#2299).
1309
1310 * subr.el (read-key): Avoid running filter function when setting
1311 up temporary tool bar entries (Bug#9922).
1312
1313 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1314
1315 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1316 (Bug#11344)
1317
1318 2012-04-27 Chong Yidong <cyd@gnu.org>
1319
1320 * select.el (xselect--encode-string): New function, split from
1321 xselect-convert-to-string.
1322 (xselect-convert-to-string): Use it.
1323 (xselect-convert-to-filename, xselect-convert-to-os)
1324 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1325 returned strings are properly encoded (Bug#11315).
1326
1327 2012-04-27 Chong Yidong <cyd@gnu.org>
1328
1329 * simple.el (delete-active-region): Move to killing custom group.
1330
1331 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1332
1333 * progmodes/which-func.el (which-func-current): Quote %
1334 characters for mode-line processing.
1335
1336 2012-04-27 Chong Yidong <cyd@gnu.org>
1337
1338 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1339 reaching eob (Bug#11286).
1340
1341 2012-04-27 Eli Zaretskii <eliz@gnu.org>
1342
1343 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1344 (gdb): Make it buffer-local and init to zero.
1345 (gdb-control-commands-regexp): New variable.
1346 (gdb-send): Don't wrap in "-interpreter-exec console" if
1347 gdb-control-level is positive. Increment gdb-control-level
1348 whenever the command matches gdb-control-commands-regexp, and
1349 decrement it each time the command is "end". (Bug#11279)
1350
1351 2012-04-27 Martin Rudalics <rudalics@gmx.at>
1352
1353 * window.el (adjust-window-trailing-edge, enlarge-window)
1354 (shrink-window, window-resize):
1355 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1356 windows (Bug#11276).
1357
1358 2012-04-27 Chong Yidong <cyd@gnu.org>
1359
1360 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1361 fix "missing prefix" warning. All callers changed.
1362
1363 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * emacs-lisp/assoc.el: Move to obsolete/.
1366
1367 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1370
1371 * term/ns-win.el (ns-define-service):
1372 * progmodes/pascal.el (pascal-goto-defun):
1373 * progmodes/js.el (js--read-tab):
1374 * progmodes/etags.el (tags-lazy-completion-table):
1375 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1376 * emacs-lisp/ewoc.el (ewoc--wrap):
1377 * emacs-lisp/assoc.el (aput, adelete, amake):
1378 * doc-view.el (doc-view-convert-current-doc):
1379 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1380
1381 2012-04-26 Chong Yidong <cyd@gnu.org>
1382
1383 * image.el (image-type-from-buffer): Only return supported image
1384 type (Bug#9045).
1385
1386 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1387 value, for symmetry with diff-end-of-hunk.
1388 (diff-split-hunk, diff-find-source-location)
1389 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1390 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1391 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1392 compute the relevant hunk or file properly (Bug#6005).
1393 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1394
1395 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * vc/vc-mtn.el:
1398 * vc/vc-hg.el:
1399 * vc/vc-git.el:
1400 * vc/vc-dir.el:
1401 * vc/vc-cvs.el:
1402 * vc/vc-bzr.el:
1403 * vc/vc-arch.el:
1404 * vc/vc.el: Replace lexical-let by lexical-binding.
1405 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1406 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1407 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1408
1409 2012-04-26 Chong Yidong <cyd@gnu.org>
1410
1411 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1412 (diff-mode-shared-map): Bind it to / and [remap undo].
1413
1414 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1415 (ediff-window-setup-function): Use it as the default, to set up
1416 windows based on whether the current frame is graphical (Bug#2138).
1417 (ediff-choose-window-setup-function-automatically): Make obsolete.
1418
1419 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1420
1421 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * ffap.el: Remove old code for obsolete package.
1424 (ffap-complete-as-file-p): Remove.
1425
1426 Use completion-table-with-quoting for comint and pcomplete.
1427 * comint.el (comint--unquote&requote-argument)
1428 (comint--unquote-argument, comint--requote-argument): New functions.
1429 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1430 (comint-quote-filename): Use regexp-opt-charset.
1431 (comint--common-suffix, comint--common-quoted-suffix)
1432 (comint--table-subvert): Remove.
1433 (comint-unquote-function, comint-requote-function): New vars.
1434 (comint--complete-file-name-data): Use them with
1435 completion-table-with-quoting.
1436 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1437 * pcomplete.el (pcomplete-arg-quote-list)
1438 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1439 (pcomplete-unquote-argument-function): Default to non-nil.
1440 (pcomplete-unquote-argument): Simplify.
1441 (pcomplete--common-quoted-suffix): Remove.
1442 (pcomplete-requote-argument-function): New var.
1443 (pcomplete--common-suffix): New function.
1444 (pcomplete-completions-at-point): Use completion-table-with-quoting
1445 and completion-table-subvert.
1446
1447 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1448 (minibuffer--double-dollars): Preserve properties.
1449 (completion--sifn-requote): New function.
1450 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1451
1452 * minibuffer.el: Add support for completion of quoted/escaped data.
1453 (completion-table-with-quoting, completion-table-subvert): New funs.
1454 (completion--twq-try, completion--twq-all): New functions.
1455 (completion--nth-completion): New function.
1456 (completion-try-completion, completion-all-completions): Use it.
1457
1458 2012-04-25 Leo Liu <sdl.web@gmail.com>
1459
1460 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1461 Use compilation-message if available to find real filename.
1462
1463 2012-04-25 Chong Yidong <cyd@gnu.org>
1464
1465 * vc/diff-mode.el (diff-setup-whitespace): New function.
1466 (diff-mode): Use it.
1467
1468 * vc/diff.el (diff-sentinel):
1469 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1470 Whitespace mode variables based on diff style (Bug#8612).
1471
1472 2012-04-25 Leo Liu <sdl.web@gmail.com>
1473
1474 * progmodes/python.el (python-send-region): Add suffix .py to the
1475 temp file.
1476
1477 * files.el (auto-mode-alist): Use javascript-mode instead.
1478
1479 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1480
1481 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1482
1483 * soap-client.el (soap-resolve-references-for-sequence-type)
1484 (soap-resolve-references-for-array-type): Hack to prevent self
1485 references, see Bug#9.
1486 (soap-parse-envelope): Report the contents of the 'detail' node
1487 when receiving a fault reply.
1488 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1489
1490 * soap-inspect.el (soap-sample-value-for-simple-type)
1491 (soap-inspect-simple-type): New function.
1492
1493 * soap-client.el (soap-simple-type): New struct.
1494 (soap-default-xsd-types, soap-default-soapenc-types)
1495 (soap-decode-basic-type, soap-encode-basic-type):
1496 support unsignedInt and double basic types.
1497 (soap-resolve-references-for-simple-type)
1498 (soap-parse-simple-type, soap-encode-simple-type): New function.
1499 (soap-parse-schema): Parse xsd:simpleType declarations.
1500
1501 * soap-client.el (soap-default-xsd-types)
1502 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1503 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1504 the local name of "soapenc:Array".
1505 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1506 decoding integer, byte and anyURI xsd types.
1507
1508 2012-04-25 Chong Yidong <cyd@gnu.org>
1509
1510 * cus-edit.el (custom-buffer-create-internal): Update header text.
1511
1512 2012-04-25 Eli Zaretskii <eliz@gnu.org>
1513
1514 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1515 settings on 'system-type', not on 'window-system'. On MS-Windows,
1516 set interactive-mode on in GDB.
1517
1518 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1519
1520 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1521 (ruby-syntax-propertize-regexp): Remove.
1522 (ruby-syntax-propertize-function): Split regexp into chunks.
1523 Match following code directly.
1524
1525 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1526
1527 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1528 (ruby-syntax-propertize-regexp): New function.
1529 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1530 by a special keyword.
1531
1532 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1533 (ruby-syntax-general-delimiters-goto-beg)
1534 (ruby-syntax-propertize-general-delimiters): New functions.
1535 (ruby-syntax-propertize-function): Use them to handle GDL.
1536 (ruby-font-lock-keywords): Move old handling of GDL...
1537 (ruby-font-lock-syntactic-keywords): .. to here.
1538 (ruby-calculate-indent): Adjust indentation for GDL.
1539
1540 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
1541
1542 * notifications.el (top): Remove unneeded declarations.
1543 (notifications-specification-version): Change to "1.2".
1544 (notifications-interface, notifications-notify-method)
1545 (notifications-close-notification-method): Fix docstring.
1546 (notifications-get-capabilities-method): New defconst.
1547 (notifications-notify): Add :action-items, :resident and
1548 :transient hints. Change "image_data" to "image-data" and
1549 "image_path" to "image-path".
1550 (notifications-get-capabilities): New defun.
1551
1552 2012-04-24 Leo Liu <sdl.web@gmail.com>
1553
1554 * progmodes/python.el: Move hideshow setup to the end.
1555
1556 2012-04-24 Martin Rudalics <rudalics@gmx.at>
1557
1558 * window.el (handle-select-window): Clear echo area since this is
1559 no more done by read_char (Bug#11304).
1560
1561 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1564 and `/ M' to filter-derived-mode.
1565 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1566 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1567 (ibuffer-mark-by-mode): Use default rather than initial-input.
1568 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1569
1570 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1571
1572 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1573 (ibuffer-filter-by-derived-mode): New filter.
1574 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1575
1576 2012-04-23 Andreas Politz <politza@fh-trier.de>
1577
1578 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1579
1580 2012-04-23 Chong Yidong <cyd@gnu.org>
1581
1582 * cus-edit.el (customize-apropos, customize-apropos-options):
1583 Disable matching of non-option variables (Bug#11176).
1584 (customize-option, customize-option-other-window)
1585 (customize-changed-options): Doc fix.
1586 (customize-apropos-options, customize-apropos-faces)
1587 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1588
1589 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1590 Fix word list splitting (Bug#11132).
1591 (apropos-symbol, apropos-keybinding, apropos-label)
1592 (apropos-property, apropos-function-button)
1593 (apropos-variable-button, apropos-misc-button): New faces.
1594 (apropos-symbol-face, apropos-keybinding-face)
1595 (apropos-label-face, apropos-property-face, apropos-match-face):
1596 Variables removed (Bug#8396).
1597 (apropos-library-button, apropos-format-plist, apropos-print)
1598 (apropos-print-doc, apropos-describe-plist): Callers changed.
1599
1600 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
1601
1602 * net/xesam.el (xesam-mode-map): Use let-bound map in
1603 initialization. (Bug#11292)
1604
1605 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1606
1607 Preserve ispell session localwords when switching back to
1608 original buffer.
1609
1610 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1611 variable to hold buffer session localwords.
1612 (ispell-kill-ispell): add option 'clear to delete session
1613 localwords.
1614 (ispell-command-loop, ispell-change-dictionary)
1615 (ispell-buffer-local-words): Preserve session localwords when
1616 needed.
1617
1618 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1619 Preserve session localwords when needed.
1620
1621 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1622
1623 * ispell.el (ispell-insert-word) Remove unneeded function using
1624 obsolete `translation-table-for-input'.
1625 (ispell-word, ispell-process-line, ispell-complete-word):
1626 Use plain `insert' instead of removed `ispell-insert-word'.
1627
1628 2012-04-22 Chong Yidong <cyd@gnu.org>
1629
1630 * cus-edit.el (custom-variable-menu)
1631 (custom-variable-reset-saved, custom-face-menu)
1632 (custom-face-reset-saved): If there is no saved value, make the
1633 "reset-saved" operation bring back the default (Bug#9509).
1634 (custom-face-state): Properly detect themed faces.
1635
1636 * faces.el (face-spec-set): Stop supporting deprecated form of
1637 third arg.
1638
1639 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
1640
1641 Move functions from C to Lisp. Make non-blocking method calls
1642 the default. Implement further D-Bus standard interfaces.
1643
1644 * net/dbus.el (dbus-message-internal): Declare function.
1645 Remove unneeded function declarations.
1646 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1647 (dbus-message-type-method-return, dbus-message-type-error)
1648 (dbus-message-type-signal): Declare variables. Remove local
1649 definitions.
1650 (dbus-interface-dbus, dbus-interface-peer)
1651 (dbus-interface-introspectable, dbus-interface-properties)
1652 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1653 Adapt docstring.
1654 (dbus-interface-objectmanager): New defconst.
1655 (dbus-call-method, dbus-call-method-asynchronously)
1656 (dbus-send-signal, dbus-method-return-internal)
1657 (dbus-method-error-internal, dbus-register-service)
1658 (dbus-register-signal, dbus-register-method): New defuns, moved
1659 from dbusbind.c
1660 (dbus-call-method-handler, dbus-setenv)
1661 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1662 New defuns.
1663 (dbus-call-method-non-blocking): Make it an obsolete function.
1664 (dbus-unregister-object, dbus-unregister-service)
1665 (dbus-handle-event, dbus-register-property)
1666 (dbus-property-handler): Obey the new structure of
1667 `bus-registered-objects'.
1668 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1669 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1670 Use `dbus-call-method'.
1671
1672 2012-04-22 Chong Yidong <cyd@gnu.org>
1673
1674 * cus-edit.el (custom-commands, custom-reset-menu)
1675 (Custom-reset-standard): Tweak labels.
1676 (custom-reset-button-menu): Change default to t.
1677 (custom-buffer-create-internal): For the custom-reset-button-menu
1678 case, put the revert button first.
1679 (custom-group-subtitle): New face.
1680 (custom-group-value-create): Align docstring to a specific column.
1681
1682 * wid-edit.el (widget-documentation-link-add): Don't handle
1683 indentation in this function.
1684 (widget-documentation-string-indent-to): New function.
1685 (widget-documentation-string-value-create): Use it.
1686
1687 * autorevert.el (auto-revert):
1688 * epg-config.el (epg):
1689 * ibuffer.el (ibuffer):
1690 * mpc.el (mpc):
1691 * ses.el (ses):
1692 * eshell/eshell.el (eshell):
1693 * net/ange-ftp.el (ange-ftp):
1694 * progmodes/ebnf2ps.el (postscript):
1695 * progmodes/flymake.el (flymake):
1696 * progmodes/prolog.el (prolog):
1697 * progmodes/verilog-mode.el (verilog-mode):
1698 * progmodes/which-func.el (which-func):
1699 * term/xterm.el (xterm):
1700 * textmodes/picture.el (picture):
1701 * textmodes/tildify.el (tildify):
1702 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1703 customization buffers.
1704
1705 2012-04-22 Alan Mackenzie <acm@muc.de>
1706
1707 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1708 Adding a ) can hide the resulting (..) from searches. Fix it.
1709 Bound the backward search to the position of the existing (.
1710
1711 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
1712
1713 * progmodes/verilog-mode.el (verilog-mode): Check whether
1714 which-func-modes is t before adding verilog-mode.
1715 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1716
1717 2012-04-21 Leo Liu <sdl.web@gmail.com>
1718
1719 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1720
1721 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1722
1723 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1724 filling of the last column of a table (Bug#5635).
1725 (woman-find-next-control-line): New arg, specifying an additional
1726 regexp component for the control line.
1727 (woman2-roff-buffer): Use it.
1728 (woman-break-table): New function.
1729 (woman2-TS): Use it.
1730
1731 2012-04-21 Chong Yidong <cyd@gnu.org>
1732
1733 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1734 (woman-horizontal-escapes, woman-negative-vertical-space)
1735 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1736 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1737
1738 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * minibuffer.el (completion-file-name-table): Complete user names.
1741
1742 2012-04-20 Leo Liu <sdl.web@gmail.com>
1743
1744 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1745 and pcase-let*.
1746
1747 2012-04-20 Chong Yidong <cyd@gnu.org>
1748
1749 * server.el (server-execute): Respect initial-buffer-choice if it
1750 is a string and there are no files to open (Bug#2825).
1751 (server-create-window-system-frame, server-create-tty-frame):
1752 Don't switch buffers here.
1753 (server-process-filter): Only try to open a window system frame if
1754 compiled with graphical support (Bug#8314).
1755
1756 2012-04-20 Dan Nicolaescu <dann@gnu.org>
1757
1758 * battery.el (battery-echo-area-format): Display remaining time
1759 for sysfs backend too (Bug#11269).
1760 (battery-linux-sysfs): Fix conditional for the charge.
1761
1762 2012-04-20 Chong Yidong <cyd@gnu.org>
1763
1764 * progmodes/gdb-mi.el (gdb): Revert previous change.
1765 (gdb-inferior-io--init-proc): New function.
1766 (gdb-init-1): Use it.
1767 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1768 responsible for allocating a new pty and hooking it to gdb when
1769 the old pty gets an EIO due to process exit.
1770 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1771 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1772 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1773
1774 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1775
1776 * window.el (window-min-size, window-sizable, window-min-delta)
1777 (window-max-delta, window--resizable, window-resizable)
1778 (window-total-size, window-full-height-p, window-full-width-p)
1779 (window-in-direction, window--resize-mini-window, window-resize)
1780 (window--resize-child-windows-normal)
1781 (window--resize-child-windows, window--resize-siblings)
1782 (window--resize-this-window, adjust-window-trailing-edge)
1783 (enlarge-window, shrink-window): Doc fixes.
1784
1785 2012-04-20 Chong Yidong <cyd@gnu.org>
1786
1787 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1788 New function to call delete-process on the gdb-inferior buffer's pty.
1789 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1790 pty process (Bug#11273).
1791 (gdb-update): New arg to suppress talking to the gdb process.
1792 (gdb-done-or-error): Use it.
1793 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1794 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1795 sentinel not being called.
1796
1797 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1798
1799 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1800
1801 2012-04-20 Glenn Morris <rgm@gnu.org>
1802
1803 * net/network-stream.el (open-network-stream): Doc fix.
1804
1805 2012-04-20 Chong Yidong <cyd@gnu.org>
1806
1807 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1808
1809 2012-04-20 Alan Mackenzie <acm@muc.de>
1810
1811 Ensure searching for keywords is case sensitive.
1812
1813 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1814 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1815 (c-defun-name, c-mark-function, c-cpp-define-name)
1816 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1817 (c-context-line-break): Bind case-fold-search to nil.
1818
1819 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1820 Bind case-fold-search to nil.
1821
1822 2012-04-20 Chong Yidong <cyd@gnu.org>
1823
1824 * mail/sendmail.el (mail-bury): Call return action with the right
1825 Rmail buffer (Bug#11242).
1826
1827 * server.el (server-process-filter): Handle corner case where both
1828 tty and nowait options are present (Bug#11102).
1829
1830 2012-04-20 Eli Zaretskii <eliz@gnu.org>
1831
1832 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1833 (top level): Put into the executable the ident-style '$Id:' tag on
1834 windows-nt as well.
1835
1836 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * electric.el (electric-indent-post-self-insert-function): Check that
1839 electric-indent-mode is enabled in current buffer.
1840
1841 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1842
1843 * imenu.el (imenu-progress-message): Restore; it is "used" in
1844 erc/erc-imenu.el and net/snmp-mode.el.
1845
1846 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
1847
1848 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1849 (mouse-avoidance-nudge-mouse): Remove unused binding.
1850
1851 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1852
1853 * descr-text.el (describe-char):
1854 * progmodes/python.el (python-describe-symbol):
1855 Don't call `toggle-read-only', set `buffer-read-only'.
1856
1857 * imenu.el (imenu-default-goto-function): Mark unused args.
1858 (imenu-progress-message): Remove obsolete macro; all callers changed.
1859
1860 * subr.el (keymap-canonicalize): Remove unused binding.
1861 (read-passwd): Mark unused arg.
1862
1863 * tutorial.el (tutorial--display-changes): Remove unused binding.
1864 (tutorial--save-tutorial-to): Remove unused variable.
1865
1866 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1867 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1868 (package-generate-autoloads, package-menu--generate)
1869 (package-menu--find-upgrades): Remove unused bindings.
1870
1871 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1872 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1873 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1874 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1875 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1876 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1877 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1878 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1879 (cua-delete-char-rectangle): Mark unused args.
1880 (cua-align-rectangle): Remove unused binding.
1881
1882 * mail/rmail.el (compilation--message->loc)
1883 (epa--find-coding-system-for-mime-charset): Declare.
1884
1885 * net/dbus.el (dbus-register-service): Declare.
1886 (dbus-name-owner-changed-handler): Remove unused binding.
1887
1888 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1889 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1890 (nxml-scan-backward-within): Mark unused arg.
1891 (nxml-dynamic-markup-word): Remove unused binding.
1892
1893 * mouse.el (mouse-menu-major-mode-map):
1894 * emacs-lisp/authors.el (authors-scan-change-log)
1895 (authors-add-to-author-list):
1896 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1897 * emacs-lisp/smie.el (smie-auto-fill):
1898 * mail/sendmail.el (mail-bury):
1899 * mail/unrmail.el (unrmail):
1900 * net/tls.el (open-tls-stream):
1901 * textmodes/picture.el (picture-mouse-set-point):
1902 Remove unused bindings.
1903
1904 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
1905
1906 * net/tramp.el (tramp-action-password): Let-bind
1907 `enable-recursive-minibuffers' to t.
1908
1909 2012-04-18 Sam Steingold <sds@gnu.org>
1910
1911 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1912 instead of 'string to accommodate values like [f11].
1913 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1914 * progmodes/gdb-mi.el: Likewise.
1915
1916 2012-04-18 Leo Liu <sdl.web@gmail.com>
1917
1918 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1919 current buffer.
1920 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1921 LOCAL is nil.
1922
1923 2012-04-18 Chong Yidong <cyd@gnu.org>
1924
1925 * simple.el (line-move): Use forward-line if in batch mode
1926 (Bug#11053).
1927
1928 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1929
1930 * files.el (after-find-file): Do not try to add a final newline if
1931 the buffer is read-only (Bug#11156).
1932
1933 2012-04-17 Richard Stallman <rms@gnu.org>
1934
1935 * mail/rmail.el (rmail-start-mail):
1936 Pass (rmail-mail-return...) for the return-action.
1937 Pass (rmail-yank-current-message...) for the yank-action.
1938 (rmail-yank-current-message): New function.
1939 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1940 (rmail-reply): Likewise.
1941 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1942
1943 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1944 buffer, not the last. Reject temp buffers. Use the rmail-mode
1945 buffer, not newbuf.
1946
1947 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
1948
1949 * server.el (server-ensure-safe-dir): Simplify.
1950
1951 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * emacs-lisp/smie.el: Provide smarter auto-filling.
1954 (smie-auto-fill): New function.
1955 (smie-setup): Use it.
1956
1957 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1958
1959 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1960
1961 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1962 (comment-indent): Use it.
1963
1964 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1965
1966 * ses.el: The overall change is to add cell renaming, that is
1967 setting fancy names for cell symbols other than name matching
1968 "\\`[A-Z]+[0-9]+\\'" regexp .
1969 (ses-localvars): Add ses--renamed-cell-symb-list.
1970 (ses-create-cell-variable): New defun.
1971 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1972 (ses-relocate-formula): Relocate formulas only for cells the
1973 symbols of which are not renamed, i.e. symbols whose names do not
1974 match regexp "\\`[A-Z]+[0-9]+\\'".
1975 (ses-relocate-all): Relocate values only for cells the symbols of
1976 which are not renamed.
1977 (ses-load): Create cells variables as the (ses-cell ...) are read,
1978 in order to check row col consistency with cell symbol name only
1979 for cells that are not renamed.
1980 (ses-replace-name-in-formula): New defun.
1981 (ses-rename-cell): New defun.
1982
1983 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1984
1985 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1986 New option (bug#11118).
1987 (perl-calculate-indent): Respect it.
1988
1989 2012-04-17 Glenn Morris <rgm@gnu.org>
1990
1991 * dired-aux.el (dired-mark-read-string): Doc fix.
1992
1993 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1994
1995 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1996 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1997
1998 2012-04-17 Glenn Morris <rgm@gnu.org>
1999
2000 * mouse.el (mouse-drag-track):
2001 * speedbar.el (speedbar-frame-mode):
2002 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2003
2004 2012-04-16 Leo Liu <sdl.web@gmail.com>
2005
2006 * progmodes/python.el: Trivial cleanup.
2007
2008 2012-04-16 Glenn Morris <rgm@gnu.org>
2009
2010 * vc/vc.el (vc-string-prefix-p):
2011 * vc/pcvs-util.el (cvs-string-prefix-p):
2012 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2013 * mpc.el (mpc-string-prefix-p):
2014 Make all of these into obsolete aliases for string-prefix-p.
2015 Update callers.
2016 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2017
2018 * textmodes/two-column.el: Move custom options to the start.
2019 (frame-width): Remove compat definition.
2020 (2C-associate-buffer, 2C-dissociate):
2021 Use with-current-buffer rather than save-excursion.
2022 (2C-dissociate): Force a mode-line update.
2023 (2C-autoscroll): Use ignore-errors.
2024
2025 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2026 Autoload trivia.
2027
2028 * emacs-lisp/cl-extra.el (*random-state*):
2029 Remove unnecessary declaration.
2030
2031 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2032
2033 * play/cookie1.el (cookie-snarf):
2034 Give an explicit error if input file cannot be read.
2035
2036 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2037
2038 * progmodes/perl-mode.el (c-macro-expand):
2039 Remove unnecessary autoload (it is in loaddefs.el).
2040
2041 * textmodes/picture.el (picture-desired-column)
2042 (picture-update-desired-column): Convert comments to doc-strings.
2043 (picture-substitute): Remove function.
2044 (picture-mode-map): Initialize in the defvar.
2045
2046 * woman.el: Remove eval-after-load for tar-mode.
2047 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2048 (woman-tar-extract-file): Autoload it.
2049
2050 * frame.el (automatic-hscrolling): Make this alias obsolete.
2051
2052 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2053
2054 * ispell.el (ispell-set-spellchecker-params): Post-process
2055 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
2056 (ispell-dictionary-base-alist): Revert to original XEmacs
2057 friendly version for default. [:alpha:] will be added in
2058 `ispell-set-spellchecker-params' if needed
2059
2060 2012-04-16 Chong Yidong <cyd@gnu.org>
2061
2062 * image.el (imagemagick--extension-regexp): New variable.
2063 (imagemagick-register-types): Use it.
2064 (imagemagick-types-inhibit): Add :set function. Allow new value
2065 of t to inhibit all types.
2066
2067 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2068 so we can preload it.
2069
2070 * loadup.el (fboundp): Preload regexp-opt, needed by
2071 imagemagick-register-types.
2072
2073 2012-04-15 Chong Yidong <cyd@gnu.org>
2074
2075 * frame.el (scrolling): Remove nearly unused customization group.
2076
2077 * scroll-all.el (scroll-all-mode): Move to windows group.
2078
2079 2012-04-15 Chong Yidong <cyd@gnu.org>
2080
2081 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2082
2083 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2084
2085 Avoid the use of ((lambda ...) ...) in lexical-binding code.
2086 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
2087
2088 2012-04-15 Glenn Morris <rgm@gnu.org>
2089
2090 * simple.el (process-file-side-effects): Doc fix.
2091
2092 2012-04-15 Glenn Morris <rgm@gnu.org>
2093
2094 * international/mule-cmds.el (set-language-environment): Doc fix.
2095
2096 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2097
2098 * server.el (server-auth-key, server-generate-key): Doc fixes.
2099 (server-get-auth-key): Doc fix. Use `string-match-p'.
2100 (server-start): Reflow docstring.
2101
2102 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2103
2104 * server.el (server-generate-key): `called-interactively-p'
2105 requires a parameter.
2106
2107 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
2108
2109 * server.el (server-auth-key): New variable.
2110 (server-generate-key, server-get-auth-key): New function.
2111 (server-start): Use the new variable and functions to allow
2112 setting a permanent server key (bug#9423).
2113
2114 2012-04-14 Leo Liu <sdl.web@gmail.com>
2115
2116 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2117
2118 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2119
2120 Spelling fixes.
2121 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2122 Emacs uses American spelling.
2123
2124 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2127 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2128 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2129 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2130
2131 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * progmodes/which-func.el (which-func-modes): Change default.
2134
2135 2012-04-14 Kim F. Storm <storm@cua.dk>
2136
2137 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2138 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2139
2140 2012-04-14 Chong Yidong <cyd@gnu.org>
2141
2142 * custom.el (custom-theme-set-variables): Doc fix.
2143
2144 2012-04-14 Glenn Morris <rgm@gnu.org>
2145
2146 * international/mule.el (set-auto-coding-for-load): Doc fix.
2147
2148 2012-04-14 Alan Mackenzie <acm@muc.de>
2149
2150 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2151 imenu work again for Objective C Mode. Correct the *-index values,
2152 these having been disturbed by a previous change in 2011-08.
2153
2154 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2155 Correct two search limits.
2156
2157 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2160
2161 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
2162
2163 * international/characters.el: Fix sorting.
2164
2165 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2166
2167 * international/characters.el: Add more missing Latin case pairs.
2168
2169 2012-04-14 Glenn Morris <rgm@gnu.org>
2170
2171 * files.el (dir-locals-set-class-variables): Doc fix.
2172
2173 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2174
2175 * international/characters.el: Add set-case-syntax-pair call for
2176 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
2177 counterpart. (Bug#11209)
2178
2179 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
2180
2181 2012-04-14 Glenn Morris <rgm@gnu.org>
2182
2183 * calendar/holidays.el (calendar-check-holidays): Doc fix.
2184
2185 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2186
2187 * textmodes/ispell.el (ispell-dictionary-base-alist):
2188 Add data for Hebrew.
2189
2190 2012-04-14 Chong Yidong <cyd@gnu.org>
2191
2192 * net/rcirc.el (rcirc-cmd-quit):
2193 Revert 2012-03-18 change (Bug#11192).
2194
2195 2012-04-14 Glenn Morris <rgm@gnu.org>
2196
2197 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
2198
2199 2012-04-14 Eli Zaretskii <eliz@gnu.org>
2200
2201 * minibuffer.el (completion-in-region-mode-map):
2202 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
2203
2204 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
2205
2206 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
2207
2208 2012-04-13 Masatake YAMATO <yamato@redhat.com>
2209
2210 * minibuffer.el (minibuffer-local-filename-syntax): New variable
2211 to allow `C-M-f' and `C-M-b' to move to the nearest path
2212 separator (bug#9511).
2213
2214 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
2215
2216 * avoid.el: Require cl when compiling. And also move the
2217 `provide' to the end.
2218
2219 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2220
2221 * avoid.el (mouse-avoidance-banish-position): New variable.
2222 (mouse-avoidance-banish-destination): Use it (bug#10165).
2223
2224 2012-04-13 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/which-func.el (which-func-modes): Add objc-mode.
2227
2228 2012-04-13 Ken Brown <kbrown@cornell.edu>
2229
2230 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
2231 this is no longer needed now that cygstart understands file:// URLs.
2232 (browse-url-filename-alist): For the same reason, don't modify
2233 file:// URLs on Cygwin.
2234
2235 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
2238 the region on shift if the binding is already shifted (bug#11221).
2239
2240 2012-04-12 Glenn Morris <rgm@gnu.org>
2241
2242 * mail/mailpost.el: Move to obsolete/.
2243
2244 2012-04-12 Drew Adams <drew.adams@oracle.com>
2245
2246 * imenu.el (imenu--generic-function): Ignore invisible definitions
2247 (bug#10123).
2248
2249 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
2250
2251 * hexl.el (hexl-bits): New variable.
2252 (hexl-options): Mention the variable in the doc string.
2253 (hexl-rulerise, hexl-line-displen): New functions.
2254 (hexl-mode): Mention the new variable.
2255 (hexl-mode, hexl-current-address, hexl-current-address):
2256 Use the displen.
2257 (hexl-ascii-start-column): New function.
2258 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
2259 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
2260
2261 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2262
2263 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
2264 '("-i" ENCODING), in 2 separate command-line arguments, to specify
2265 the encoding, as expected by hunspell.
2266
2267 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * battery.el (battery--linux-sysfs-regexp): New const.
2270 (battery-status-function): Use it. Remove yeeloong special case.
2271 (battery-yeeloong-sysfs): Remove.
2272 (battery-echo-area-format): Remove yeeloong special case.
2273
2274 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2275
2276 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
2277 Reported by Noah Friedman.
2278
2279 * subr.el (read-passwd): Use read-string.
2280
2281 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2282
2283 * vcursor.el (vcursor-move): Increase the priority of the overlay
2284 (bug#9663).
2285
2286 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2287
2288 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2289 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2290
2291 2012-04-11 William Stevenson <yhvh2000@gmail.com>
2292
2293 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2294 define-minor-mode (bug#10760).
2295
2296 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2297
2298 * progmodes/grep.el (rgrep): Tweak the find command line so
2299 that directories matching `grep-find-ignored-files' won't be
2300 pruned (bug#10351).
2301
2302 2012-04-11 Chong Yidong <cyd@gnu.org>
2303
2304 * startup.el (command-line): Remove support for long-obsolete
2305 variable font-lock-face-attributes.
2306
2307 2012-04-11 Glenn Morris <rgm@gnu.org>
2308
2309 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2310
2311 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2312
2313 * window.el (window--state-get-1): Obey window-point-insertion-type.
2314
2315 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2316
2317 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2318 to previous function when point is on the first character of a
2319 function. Take care of that in `narrow-to-defun' (bug#6157).
2320
2321 2012-04-11 Glenn Morris <rgm@gnu.org>
2322
2323 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2324 not just file-errors.
2325
2326 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2327 (vc-bzr-sha1): Use internal sha1.
2328
2329 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2332
2333 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2334
2335 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2336 that start in the middle of the line (bug#10496).
2337
2338 2012-04-10 Dan Nicolaescu <dann@gnu.org>
2339
2340 * battery.el (battery-linux-proc-acpi): Only one battery is
2341 discharged at a time, but that seems to confuse battery.el when
2342 computing `rate-type' for the battery not being discharged
2343 (bug#10332).
2344
2345 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2348
2349 * international/quail.el: Use dolist and simplify.
2350 (quail-define-package, quail-update-keyboard-layout)
2351 (quail-define-rules): Use dolist.
2352 (quail-insert-kbd-layout, quail-get-translation): CSE.
2353
2354 * tmm.el: Use dolist, remove left over hook.
2355 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2356 Use dolist.
2357 (calendar-load-hook): Don't mess with it.
2358
2359 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2360 Use derived-mode-p. Run the diff asynchronously.
2361
2362 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2363
2364 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2365
2366 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
2367
2368 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2369 (list-dynamic-libraries--loaded): New function.
2370 (list-dynamic-libraries--refresh): Use it.
2371
2372 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
2373
2374 * progmodes/python.el (python-fill-paragraph):
2375 Make python-fill-region in a multiline string work when font-lock is
2376 disabled (bug#7018).
2377
2378 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2379
2380 * language/european.el (cp775): Add oem/legacy (en)coding on
2381 DOS/MS Windows for the Baltic languages. There are still plenty
2382 of texts written in this encoding/codepage (bug#6519).
2383
2384 2012-04-10 Glenn Morris <rgm@gnu.org>
2385
2386 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2387 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2388
2389 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2390
2391 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2392 next-line "n" and previous-line "p" in order to make recentf more
2393 consistent with ibuffer, dired or org-mode (bug#9387).
2394
2395 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2396
2397 * image.el (put-image): Return the overlay created instead of the
2398 optional input string (bug#7834). Note that this may break code
2399 that is (for some reason or other) depending on `put-image'
2400 returning the string.
2401
2402 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2403
2404 * simple.el (zap-to-char): Allow zapping using input methods
2405 (bug#1580).
2406
2407 * textmodes/fill.el (fill-region): Leave point and mark where they
2408 were before filling (bug#5399).
2409
2410 2012-04-09 Glenn Morris <rgm@gnu.org>
2411
2412 * version.el (emacs-bzr-get-version):
2413 Handle lightweight checkouts of local branches.
2414
2415 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2416
2417 * international/characters.el: Recover lost case pairs. (Bug#11209)
2418
2419 2012-04-09 Chong Yidong <cyd@gnu.org>
2420
2421 * custom.el (custom-variable-p): Return nil for non-symbol
2422 arguments instead of signaling an error.
2423 (user-variable-p): Obsolete alias for custom-variable-p.
2424
2425 * apropos.el (apropos-variable):
2426 * files-x.el (read-file-local-variable):
2427 * simple.el (set-variable):
2428 * woman.el (woman-mini-help):
2429 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2430
2431 2012-04-09 Glenn Morris <rgm@gnu.org>
2432
2433 * startup.el (normal-top-level): Don't look for leim-list.el
2434 in places where it will not be found. (Bug#910)
2435
2436 * international/mule-cmds.el (set-default-coding-systems):
2437 * files.el (normal-mode):
2438 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2439 This function was removed with ucs-tables.el in 2008.
2440
2441 2012-04-08 Eli Zaretskii <eliz@gnu.org>
2442
2443 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2444 ispell-encoding8-command to "-i", without a trailing space.
2445 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2446 separate command-line arguments, to specify the encoding, since
2447 that's how hunspell expects it.
2448
2449 2012-04-08 Glenn Morris <rgm@gnu.org>
2450
2451 * loadup.el: Load bindings before cus-start.
2452 This reduces somewhat the number of "rogue" settings in emacs -Q.
2453
2454 2012-04-07 Glenn Morris <rgm@gnu.org>
2455
2456 * version.el (emacs-bzr-get-version): New function.
2457 (emacs-bzr-version): New variable.
2458 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2459 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2460
2461 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2462
2463 * international/uni-bidi.el, international/uni-category.el:
2464 * international/uni-combining.el, international/uni-decimal.el:
2465 * international/uni-decomposition.el, international/uni-digit.el:
2466 * international/uni-lowercase.el, international/uni-mirrored.el:
2467 * international/uni-name.el, international/uni-numeric.el:
2468 * international/uni-titlecase.el, international/uni-uppercase.el:
2469 Update for Unicode 6.1.
2470
2471 2012-04-07 Eli Zaretskii <eliz@gnu.org>
2472
2473 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2474
2475 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2476
2477 * window.el (shrink-window): Mention the `window-min-height'
2478 variable in the doc string.
2479
2480 2012-04-05 Bastien Guerry <bzg@altern.org>
2481
2482 * color.el (color-lighten-name): Fix typo.
2483
2484 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * server.el (server--on-display-p): New function.
2487 (server--on-display-p): Use it.
2488
2489 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2490
2491 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2492 (bug#11145).
2493
2494 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * comint.el (comint--common-quoted-suffix): Check string boundary
2497 before comparing (bug#11158).
2498 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2499
2500 2012-04-04 Chong Yidong <cyd@gnu.org>
2501
2502 * minibuffer.el (completion-extra-properties): Doc fix.
2503
2504 * subr.el (delayed-warnings-hook): Doc fix.
2505
2506 2012-04-04 Daiki Ueno <ueno@unixuser.org>
2507
2508 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2509 selection (Bug#11159).
2510 (epa-insert-keys): Inform that the default public key will be
2511 exported if no key is selected.
2512
2513 2012-04-04 Richard Stallman <rms@gnu.org>
2514
2515 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2516
2517 2012-04-03 Chong Yidong <cyd@gnu.org>
2518
2519 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2520 mail-insert-file, not its obsolete alias mail-attach-file.
2521
2522 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
2523
2524 * notifications.el (notifications-notify): Fix docstring.
2525
2526 2012-04-02 Glenn Morris <rgm@gnu.org>
2527
2528 * emacs-lisp/authors.el (authors-aliases): Another addition.
2529
2530 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2533 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2534 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2535
2536 2012-04-01 Chong Yidong <cyd@gnu.org>
2537
2538 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2539 Handle root directory properly.
2540 (copy-directory): Caller changed.
2541
2542 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2543 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2544
2545 2012-03-31 Glenn Morris <rgm@gnu.org>
2546
2547 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2548
2549 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2550
2551 * calendar/calendar.el (calendar-window-list)
2552 (calendar-hide-window): Restore. (Bug#11140)
2553 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2554
2555 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2556
2557 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2558
2559 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2560 Check if file is a symlink (Bug#10489).
2561
2562 * files.el (copy-directory): Likewise.
2563
2564 2012-03-30 Chong Yidong <cyd@gnu.org>
2565
2566 * image.el (imagemagick-types-inhibit)
2567 (imagemagick-register-types): Doc fix.
2568
2569 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2570
2571 * ispell.el (ispell-get-extended-character-mode):
2572 Disable extended-char-mode for hunspell. hunspell does not support it
2573 and treats ~word as ordinary words in pipe mode.
2574
2575 2012-03-30 Glenn Morris <rgm@gnu.org>
2576
2577 * tutorial.el (help-with-tutorial): Ensure local variables don't
2578 happen to make the buffer read-only. (Bug#11127)
2579
2580 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2583 (perl-calculate-indent): Return `noindent' in strings.
2584
2585 2012-03-28 Sam Steingold <sds@gnu.org>
2586
2587 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2588 instead of the broken adhockery which does not prevent calendar
2589 buffers from being displayed at random after exit.
2590 (calendar-window-list, calendar-hide-window): Remove the broken
2591 adhockery.
2592
2593 2012-03-28 Glenn Morris <rgm@gnu.org>
2594
2595 * replace.el (query-replace-map): Doc fix.
2596
2597 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2598
2599 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2600 contents. (Bug#11109)
2601
2602 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2605 (bug#11077).
2606 (avl-tree--check, avl-tree--check-node): New funs.
2607
2608 2012-03-27 Martin Rudalics <rudalics@gmx.at>
2609
2610 * window.el (switch-to-visible-buffer): New option.
2611 (switch-to-prev-buffer, switch-to-next-buffer):
2612 Observe switch-to-visible-buffer. Make sure that checking for a window
2613 showing a buffer already is done on the same frame.
2614
2615 2012-03-27 Glenn Morris <rgm@gnu.org>
2616
2617 * startup.el (mail-host-address): Doc fix.
2618
2619 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2622 than 197 variables.
2623
2624 2012-03-26 Ami Fischman <ami@fischman.org>
2625
2626 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2627
2628 2012-03-26 Glenn Morris <rgm@gnu.org>
2629
2630 * files.el (save-buffers-kill-emacs): Doc fix.
2631
2632 * startup.el (normal-top-level, command-line, command-line-1):
2633 Give them doc strings.
2634
2635 2012-03-25 Eli Zaretskii <eliz@gnu.org>
2636
2637 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2638 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2639
2640 2012-03-25 Chong Yidong <cyd@gnu.org>
2641
2642 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2643 theme if it was previously enabled before (Bug#11031).
2644
2645 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2646 spec with custom-face-get-current-spec if its :shown-value is not
2647 determined yet (Bug#9337).
2648 (customize-create-theme, custom-theme-revert): Doc fixes.
2649
2650 * button.el (button-at): Minor addition to docstring.
2651
2652 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
2653
2654 * vc/vc.el (vc-merge): Fix a prompt.
2655
2656 2012-03-24 Chong Yidong <cyd@gnu.org>
2657
2658 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2659 point (Bug#9623).
2660
2661 * button.el (button-at): Minor addition to docstring.
2662
2663 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * newcomment.el (comment-choose-indent): No space after BOL.
2666
2667 2012-03-22 Sam Steingold <sds@gnu.org>
2668
2669 * window.el (switch-to-prev-buffer): Revert last patch because the
2670 bug turned out to be an advertised feature (Elisp manual 28.14).
2671
2672 2012-03-22 Glenn Morris <rgm@gnu.org>
2673
2674 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2675 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2676
2677 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2678
2679 * net/network-stream.el (network-stream-open-starttls): Make error
2680 message under Windows be less misleading.
2681
2682 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2683
2684 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2685 understands (bug#9942).
2686
2687 2012-03-22 Chong Yidong <cyd@gnu.org>
2688
2689 * simple.el (end-of-visible-line): Handle return value of
2690 next-single-property-change properly (Bug#9371).
2691
2692 2012-03-22 Kenichi Handa <handa@m17n.org>
2693
2694 * international/quail.el (quail-insert-kbd-layout): Fix previous
2695 change. To avoid unwanted bidi reordering, use
2696 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2697
2698 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2699
2700 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2701 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2702 (ruby-beginning-of-indent): Be more careful with the difference
2703 between word-boundary and symbol boundary.
2704 (ruby-mode-syntax-table): Make : a symbol constituent.
2705
2706 2012-03-21 Andreas Politz <politza@fh-trier.de>
2707
2708 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2709
2710 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * progmodes/etags.el (tags-completion-at-point-function):
2713 Improve last fix.
2714
2715 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2716
2717 2012-03-21 Sam Steingold <sds@gnu.org>
2718
2719 * progmodes/etags.el (tags-completion-at-point-function):
2720 Avoid the error when point is inside the pattern.
2721
2722 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2723
2724 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2725 line (Bug#10855).
2726
2727 2012-03-21 Drew Adams <drew.adams@oracle.com>
2728
2729 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2730
2731 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2732
2733 * ido.el (ido-set-current-directory, ido-read-internal)
2734 (ido-choose-completion-string, ido-completion-help): Handle nil
2735 value of ido-completion-buffer (Bug#11008).
2736
2737 2012-03-21 Sam Steingold <sds@gnu.org>
2738
2739 * window.el (switch-to-prev-buffer): Do not switch to a visible
2740 window previous buffer, just like with the frame previous buffers.
2741
2742 2012-03-21 Chong Yidong <cyd@gnu.org>
2743
2744 * faces.el (make-face, make-empty-face, copy-face):
2745 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2746 Doc fixes.
2747
2748 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2751 (widget-complete): Remove broken use of it.
2752
2753 2012-03-20 Chong Yidong <cyd@gnu.org>
2754
2755 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2756 Use string-width and truncate-string-width to handle arbitrary
2757 characters.
2758
2759 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2760
2761 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2762 to draw rectangles, not squares. (Regression introduced by revno
2763 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2764
2765 2012-03-18 Chong Yidong <cyd@gnu.org>
2766
2767 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2768 it is not yet defined (for temacs).
2769
2770 2012-03-18 Leo Liu <sdl.web@gmail.com>
2771
2772 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2773
2774 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2775
2776 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2777 (ispell-choices-win-default-height, ispell-silently-savep)
2778 (ispell-dictionary-alist, ispell-encoding8-command)
2779 (ispell-check-version, ispell-aspell-find-dictionary)
2780 (ispell-valid-dictionary-list, ispell-words-keyword)
2781 (ispell-get-word, ispell-internal-change-dictionary)
2782 (ispell-region, ispell-skip-region-list)
2783 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2784 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2785 (ispell-message-text-end, ispell-message)
2786 (ispell-buffer-local-parsing): Doc fix.
2787
2788 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
2789
2790 * htmlfontify.el: Add support for code block fontification for ODT
2791 export (Bug #9914).
2792 (hfy-optimisations): Define new option
2793 `body-text-only'
2794 (hfy-fontify-buffer): Honor above setting.
2795 (hfy-begin-span, hfy-end-span): New routines factored out form
2796 `hfy-fontify-buffer'.
2797 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2798 that permit insertion of custom tags.
2799 (hfy-fontify-buffer): Use above handlers.
2800 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2801 (hfy-face-to-css): Re-defined to be a variable.
2802 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2803 over multiple runs. This is made possible by having the caller let
2804 bind a special variable `hfy-user-sheet-assoc'.
2805 (htmlfontify-string): New defun.
2806 (hfy-compile-face-map): Make sure that the last char in the
2807 buffer is correctly fontified.
2808 (hfy-face-resolve-face): Whitespace only change.
2809
2810 2012-03-17 Eli Zaretskii <eliz@gnu.org>
2811
2812 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2813 message more clear.
2814
2815 2012-03-16 Leo Liu <sdl.web@gmail.com>
2816
2817 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2818
2819 2012-03-16 Alan Mackenzie <acm@muc.de>
2820
2821 Further optimise the handling of large macros.
2822
2823 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2824 limit to a call of `c-literal-limits'.
2825 (c-determine-+ve-limit): New function.
2826 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2827 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2828 In CASE 5B, restrict a search limit to 500.
2829 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2830
2831 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2832 Restrict macro bounds to +-500 from after-change's BEG END.
2833
2834 2012-03-16 Leo Liu <sdl.web@gmail.com>
2835
2836 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2837
2838 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2839
2840 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2841 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2842
2843 2012-03-16 Glenn Morris <rgm@gnu.org>
2844
2845 * view.el (view-buffer, view-buffer-other-window)
2846 (view-buffer-other-frame): Doc fixes re special mode-class.
2847
2848 * subr.el (eval-after-load): If named feature is provided not from
2849 a file, run after-load forms. (Bug#10946)
2850
2851 * calendar/calendar.el (calendar-insert-at-column):
2852 Handle non-unit-width characters a bit better. (Bug#10978)
2853
2854 2012-03-15 Chong Yidong <cyd@gnu.org>
2855
2856 * emacs-lisp/ring.el (ring-extend): New function.
2857 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2858
2859 * comint.el (comint-read-input-ring)
2860 (comint-add-to-input-history): Grow comint-input-ring lazily.
2861
2862 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2865 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2866
2867 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2868 (imenu-add-to-menubar): Don't add a redundant index.
2869 (imenu-update-menubar): Handle a dynamically composed keymap.
2870
2871 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2872
2873 * mail/sendmail.el (mail-encode-header):
2874 Bind rfc2047-encode-encoded-words to nil.
2875
2876 2012-03-13 Glenn Morris <rgm@gnu.org>
2877
2878 * calendar/calendar.el (calendar-string-spread):
2879 Handle non-unit-width characters a bit better. (Bug#10978)
2880
2881 2012-03-13 Leo Liu <sdl.web@gmail.com>
2882
2883 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2884 directory and file as argument (Bug#10822).
2885
2886 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2887
2888 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2889 For dynamically generated code, follow $PC.
2890 (gdb-disassembly-handler-custom): Handle no function name case.
2891
2892 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2893
2894 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2895 * emulation/ws-mode.el (ws-query-replace):
2896 * sort.el (sort-regexp-fields):
2897 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2898
2899 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * dabbrev.el: Fix cycle completion order (bug#10963).
2902 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2903 (dabbrev-completion): Don't use an obarray; provide
2904 a cycle-sort-function.
2905
2906 2012-03-12 Leo Liu <sdl.web@gmail.com>
2907
2908 * simple.el (kill-new): Use equal-including-properties for comparison.
2909 (kill-do-not-save-duplicates): Doc fix.
2910
2911 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * dabbrev.el: Fix cycle completion (bug#10963).
2914 Use lexical binding and wrap to 80 columns.
2915 (dabbrev-completion): Delay computing the list of completions.
2916
2917 2012-03-12 Kenichi Handa <handa@m17n.org>
2918
2919 * international/quail.el (quail-insert-kbd-layout): Surround each
2920 row by LRO and PDF instead of inserting many LRMs. Pad the left
2921 and right of each non-spacing marks. Insert invisible space
2922 between lower and upper characters to prevent composition.
2923
2924 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * minibuffer.el (minibuffer-complete): Don't get confused when the
2927 function is run twice via different commands (bug#10958).
2928 (complete-with-action): Fix docstring.
2929
2930 2012-03-12 Chong Yidong <cyd@gnu.org>
2931
2932 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2933 (nxml-completion-at-point-function): New function.
2934 (nxml-mode): Use it.
2935 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2936
2937 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2938 Load generated autoloads file before byte compiling (Bug#10970).
2939 (package--make-autoloads-and-compile): New helper fun.
2940
2941 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2942
2943 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2944
2945 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
2946
2947 * autorevert.el (auto-revert-handler): Ensure, that
2948 file-readable-p is applied only for local files or in
2949 auto-revert-tail-mode.
2950
2951 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2952
2953 * server.el (server-eval-at): Handle non-tcp connections.
2954 Decode result string.
2955
2956 * server.el (server-msg-size): New constant.
2957 (server-reply-print): New function.
2958 (server-eval-and-print): Use it.
2959 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2960 Handle -print-nonl.
2961
2962 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2963
2964 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2965 (Bug#10987).
2966
2967 2012-03-11 Chong Yidong <cyd@gnu.org>
2968
2969 * simple.el (goto-line): Doc fix (Bug#9938).
2970
2971 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2972
2973 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2974 when finished (Bug#10963).
2975
2976 2012-03-11 Martin Rudalics <rudalics@gmx.at>
2977
2978 * window.el (split-window-below): Fix bug in case where
2979 split-window-keep-point is nil (Bug#10971).
2980
2981 2012-03-11 Juri Linkov <juri@jurta.org>
2982
2983 * replace.el (replace-highlight): Set isearch-word to nil
2984 unconditionally. (Bug#10887)
2985
2986 2012-03-10 Eli Zaretskii <eliz@gnu.org>
2987
2988 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2989 mairix-replace-illegal-chars; all callers changed. Don't remove
2990 ^, ~, and = characters: they are meaningful in mairix search specs.
2991 (mairix-widget-create-query): Add usage information about mairix
2992 search forms: negating words, searching for substrings, etc.
2993
2994 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2995
2996 * international/fontset.el (font-encoding-alist): Add an entry for
2997 ksx1001 (Bug#5667).
2998
2999 2012-03-10 Richard Stallman <rms@gnu.org>
3000
3001 * mail/sendmail.el (mail-encode-header):
3002 Set rfc2047-encode-encoded-words.
3003
3004 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3005
3006 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3007 view buffer means not swapped.
3008 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3009 (rmail-write-region-annotate): Error if real text has disappeared.
3010
3011 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3012
3013 2012-03-10 Chong Yidong <cyd@gnu.org>
3014
3015 * emulation/cua-rect.el (cua--init-rectangles):
3016 * emulation/cua-base.el (cua--init-keymaps):
3017 Add delete-forward-char to remappings (Bug#9666).
3018
3019 2012-03-10 Martin Rudalics <rudalics@gmx.at>
3020
3021 * speedbar.el (speedbar-unhighlight-one-tag-line):
3022 Avoid unhighlighting due to frame switching (Bug#10275).
3023
3024 2012-03-10 Chong Yidong <cyd@gnu.org>
3025
3026 * minibuffer.el (completion-in-region, completion-help-at-point):
3027 Give the completion field overlay a high priority (Bug#6830).
3028
3029 * dired.el (dired-goto-file): Recognize absolute file name
3030 listings (Bug#7126).
3031 (dired-goto-file-1): New helper function.
3032 (dired-toggle-read-only): Inhibit warnings.
3033
3034 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/dbus.el (dbus-property-handler): Return empty array if
3037 there are no properties.
3038
3039 2012-03-09 Leo Liu <sdl.web@gmail.com>
3040
3041 * savehist.el (savehist-printable): Stricter check for string
3042 value (Bug#10937).
3043
3044 2012-03-09 Eli Zaretskii <eliz@gnu.org>
3045
3046 * mail/smtpmail.el (smtpmail-send-it):
3047 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3048 valid mbox format.
3049
3050 2012-03-09 Glenn Morris <rgm@gnu.org>
3051
3052 * files.el (dir-locals-find-file):
3053 Don't check result is regular, readable.
3054 (dir-locals-read-from-file): Demote errors.
3055
3056 2012-03-08 Eli Zaretskii <eliz@gnu.org>
3057
3058 * international/quail.el (quail-insert-kbd-layout):
3059 Insert invisible LRM characters before each character in a keyboard
3060 layout cell, to prevent their reordering by bidi display engine.
3061 For details, see the discussion in
3062 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3063
3064 2012-03-08 Alan Mackenzie <acm@muc.de>
3065
3066 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3067 the starting position; make it extend the marked region when
3068 invoked repeatedly - all under appropriate circumstances.
3069 Fixes bugs #5525, #10906.
3070
3071 2012-03-08 Glenn Morris <rgm@gnu.org>
3072
3073 * files.el (locate-dominating-file, dir-locals-find-file):
3074 Undo 2012-03-06 change.
3075
3076 2012-03-07 Eli Zaretskii <eliz@gnu.org>
3077
3078 * international/quail.el (quail-help):
3079 Force bidi-paragraph-direction be left-to-right. See discussion in
3080 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3081 for the reason.
3082
3083 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
3084
3085 Avoid superfluous registering of signals. (Bug#10807)
3086
3087 * notifications.el (notifications-on-action-object)
3088 (notifications-on-close-object): New defvars.
3089 (notifications-on-action-signal, notifications-on-closed-signal):
3090 Unregister the signal if not needed any longer.
3091 (notifications-notify): Register `notifications-action-signal' or
3092 `notifications-closed-signal', if :on-action or :on-close has been
3093 passed as argument.
3094
3095 2012-03-07 Chong Yidong <cyd@gnu.org>
3096
3097 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3098 non-X platforms.
3099
3100 2012-03-06 Glenn Morris <rgm@gnu.org>
3101
3102 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3103 (x-disown-selection-internal, x-get-selection-internal):
3104 Doc fix (add arglist signatures). (Bug#10783)
3105
3106 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3107
3108 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3109 Handle breakpoints with no "type".
3110
3111 2012-03-06 Glenn Morris <rgm@gnu.org>
3112
3113 * files.el (locate-dominating-file): Add optional predicate argument.
3114 (dir-locals-find-file): Make use of above change.
3115
3116 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3117
3118 * info.el (Info-insert-dir): Also try "dir.gz".
3119
3120 2012-03-06 Glenn Morris <rgm@gnu.org>
3121
3122 * files.el (dir-locals-find-file):
3123 Ignore non-readable or non-regular files. (Bug#10928)
3124
3125 * files.el (locate-dominating-file): Doc fix.
3126
3127 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3128
3129 * calendar/calendar.el (calendar-set-mode-line):
3130 `getenv' returns a string. (Bug#10951)
3131
3132 2012-03-05 Leo Liu <sdl.web@gmail.com>
3133
3134 * simple.el (backward-delete-char-untabify): Constrain point to
3135 field (Bug#10939).
3136
3137 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3138
3139 2012-03-05 Chong Yidong <cyd@gnu.org>
3140
3141 * simple.el (count-words): If called from Lisp, return the word
3142 count, for symmetry with `count-lines'. Arglist changed.
3143 (count-words--message): Args changed. Consolidate counting code
3144 from count-words and count-words-region.
3145 (count-words-region): Caller changed.
3146 (count-lines-region): Make it an obsolete alias.
3147
3148 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3149
3150 * saveplace.el (save-place-to-alist)
3151 (save-place-ignore-files-regexp): Allow value nil to disable this
3152 feature.
3153
3154 2012-03-04 Chong Yidong <cyd@gnu.org>
3155
3156 * faces.el (face-spec-reset-face): For the default face, reset the
3157 attributes to default values (Bug#10748).
3158
3159 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3160
3161 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
3162 previous patch: Check `message-send-mail-function', and not the
3163 default function (bug#10897).
3164
3165 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * notifications.el (notifications-on-action-signal)
3168 (notifications-on-closed-signal): Check for unique service name of
3169 incoming event. Fix error in removing entry.
3170 (top): Register for signals with wildcard service name.
3171 (notifications-notify): Use daemon unique service name for map entries.
3172
3173 2012-03-04 Chong Yidong <cyd@gnu.org>
3174
3175 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
3176
3177 2012-03-04 Glenn Morris <rgm@gnu.org>
3178
3179 * abbrev.el (copy-abbrev-table, abbrev-table-p)
3180 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
3181 (expand-abbrev, define-abbrev-table): Doc fixes.
3182
3183 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3184
3185 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
3186 `message-default-send-mail-function' and not `send-mail-function'
3187 when doing the prompting for `sendmail-query-once' before sending
3188 in Message buffers (bug#10897).
3189
3190 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
3191 This is inconsistent with all the other stream functions, which leave
3192 the setting up to the higher levels (if so wanted) (bug#10931).
3193
3194 2012-03-02 Alan Mackenzie <acm@muc.de>
3195
3196 Depessimize the handling of very large macros.
3197
3198 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
3199 (c-macro-cache-syntactic): New variables to implement a one
3200 element macro cache.
3201 (c-invalidate-macro-cache): New function.
3202 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
3203 Adapt to use the new cache.
3204 (c-state-safe-place): Use better the cache of safe positions.
3205 (c-state-semi-nonlit-pos-cache)
3206 (c-state-semi-nonlit-pos-cache-limit):
3207 New variables for...
3208 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
3209 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
3210 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
3211 Use c-state-semi-safe-place.
3212
3213 * progmodes/cc-langs.el (c-get-state-before-change-functions):
3214 Add c-invalidate-macro-cache to the C, C++, Obj entries.
3215
3216 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
3217
3218 * jka-compr.el (jka-compr-call-process):
3219 Apply `file-accessible-directory-p' only when the default directory is
3220 not remote.
3221
3222 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
3223
3224 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
3225 access of FILE2, if FILE1 does not exist.
3226
3227 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
3228 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
3229
3230 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
3231 Add "PAGER=" to `process-environment'.
3232
3233 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
3234
3235 * progmodes/sql.el: Bug fix
3236 (sql-get-login-ext): Save login values in globals.
3237 (sql-get-login): Use new version of `sql-get-login-ext'.
3238 (sql-interactive-mode): Set global `sql-connection' to nil.
3239 (sql-connect): Set global values for connection.
3240 (sql-product-interactive): Save global values as buffer local.
3241
3242 2012-02-29 Leo Liu <sdl.web@gmail.com>
3243
3244 * abbrev.el (define-abbrevs): Reset sys to nil.
3245
3246 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3247
3248 * files.el (file-equal-p): Rename from `files-equal-p'.
3249 Return nil when one or both files don't exist.
3250 (file-subdir-of-p): Now only top directory must exists,
3251 return nil if it doesn't.
3252 (copy-directory): No need to test with `file-subdir-of-p' after
3253 creating dir.
3254 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
3255 to `file-equal-p'.
3256
3257 2012-02-28 Glenn Morris <rgm@gnu.org>
3258
3259 * shell.el (shell-mode):
3260 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
3261 * play/landmark.el (landmark-font-lock-face-O):
3262 * play/handwrite.el (handwrite):
3263 * play/gomoku.el (gomoku-O):
3264 * net/browse-url.el (browse-url-browser-display):
3265 * international/mule.el (define-charset):
3266 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
3267 * filesets.el (filesets-find-file-delay):
3268 * eshell/em-xtra.el (eshell-xtra):
3269 * eshell/em-unix.el (eshell-grep):
3270 * emulation/viper.el (viper-mode):
3271 * emacs-lisp/regexp-opt.el (regexp-opt-group):
3272 * emacs-lisp/easymenu.el (easy-menu-define):
3273 * calendar/timeclock.el (timeclock-use-display-time):
3274 * bs.el (bs-mode):
3275 * bookmark.el (bookmark-save-flag):
3276 Doc fix (standardize possessive apostrophe usage).
3277
3278 2012-02-27 Chong Yidong <cyd@gnu.org>
3279
3280 * emulation/viper-cmd.el (viper-intercept-ESC-key):
3281 Fix key-binding lookup for ESC key (Bug#9146).
3282
3283 * font-lock.el (font-lock-specified-p): Rename from
3284 font-lock-spec-present. Callers changed.
3285
3286 2012-02-27 Daniel Hackney <dan@haxney.org>
3287
3288 * emacs-lisp/package.el (package-compute-transaction):
3289 Handle holding a package version to t in package-load-list.
3290
3291 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3294 (tramp-get-inode, tramp-get-device): Use cached values.
3295
3296 2012-02-26 Alan Mackenzie <acm@muc.de>
3297
3298 Check there is a font-lock specification before doing initial
3299 fontification.
3300
3301 * font-core.el (font-lock-mode): Move the conditional from
3302 :after-hook to font-lock-initial-fontify.
3303 (font-lock-default-function): Move the check for a specification
3304 to font-lock-spec-present.
3305
3306 * font-lock.el (font-lock-initial-fontify): Call ...
3307 (font-lock-spec-present): New function.
3308
3309 2012-02-26 Jim Blandy <jimb@red-bean.com>
3310
3311 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3312 (gdb-send): Apply it to the operand of the '-interpreter-exec
3313 console' command, so that we can pass arguments with (say) quotes
3314 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3315
3316 2012-02-26 Chong Yidong <cyd@gnu.org>
3317
3318 * help-fns.el (describe-function-1): Clarify description of
3319 remapping (Bug#10844).
3320
3321 * files.el (files-equal-p): Doc fix.
3322 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3323 and quit the loop once a mismatch is found.
3324
3325 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
3326
3327 * bs.el (bs--show-with-configuration): Don't throw an error
3328 if the window cannot be split; otherwise, subsequent calls to
3329 bs-show fail, restoring a stale window config. (Bug#10882)
3330
3331 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3332
3333 * term/ns-win.el (global-map): Bind ns-drag-file to
3334 ns-find-file (Bug#5855, Bug#10050).
3335
3336 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3337
3338 * calendar/parse-time.el (parse-time-string): Allow extractor to
3339 return nil.
3340
3341 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
3342
3343 * net/tramp.el (tramp-file-name-for-operation):
3344 Add `files-equal-p' and `file-subdir-of-p'.
3345
3346 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3347 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3348 Add COPY-CONTENTS argument.
3349
3350 2012-02-25 Chong Yidong <cyd@gnu.org>
3351
3352 Add custom groups for VC backends, for consistency with vc-bzr.
3353
3354 * vc/vc-arch.el (vc-arch):
3355 * vc/vc-cvs.el (vc-cvs):
3356 * vc/vc-git.el (vc-git):
3357 * vc/vc-hg.el (vc-hg):
3358 * vc/vc-mtn.el (vc-mtn):
3359 * vc/vc-rcs.el (vc-rcs):
3360 * vc/vc-sccs.el (vc-sccs):
3361 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3362 All relevant defcustoms reassigned.
3363
3364 2012-02-25 Chong Yidong <cyd@gnu.org>
3365
3366 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3367
3368 * term/x-win.el (x-initialize-window-system): Reduce default for
3369 x-selection-timeout to 5 seconds (Bug#8869).
3370
3371 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3372
3373 * files.el (files-equal-p, file-subdir-of-p): New functions.
3374 (copy-directory): Error when trying to copy a directory on itself.
3375 Add missing copy-contents arg to tramp handler.
3376 * dired-aux.el (dired-copy-file-recursive): Same.
3377 (dired-create-files): Modify destination when source is equal to
3378 dest when copying files.
3379 Return also when dest is a subdir of source. (Bug#10489)
3380
3381 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3384 (Bug#10874)
3385
3386 2012-02-23 Alan Mackenzie <acm@muc.de>
3387
3388 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3389 parameter "after-hook:" to allow the expansion to run code after
3390 the execution of the mode hooks.
3391
3392 * font-lock.el (font-lock-initial-fontify): New function extracted
3393 from font-lock-mode-internal.
3394
3395 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3396 :after-hook.
3397
3398 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3401 (completion--cache-all-sorted-completions): New function.
3402 (completion-all-sorted-completions): Use it.
3403 (completion--do-completion, minibuffer-force-complete):
3404 Use it to re-instate the flush hook.
3405
3406 * icomplete.el (icomplete-completions): Replace last fix with a better
3407 one (bug#10850).
3408
3409 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3410
3411 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3412 when it might call us back infinitely (bug#10797).
3413
3414 2012-02-23 Glenn Morris <rgm@gnu.org>
3415
3416 * minibuffer.el (completion-category-overrides): Doc fix.
3417
3418 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3421 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3422
3423 2012-02-23 Glenn Morris <rgm@gnu.org>
3424
3425 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3426 (authors-obsolete-files-regexps, authors-ignored-files)
3427 (authors-ambiguous-files, authors-renamed-files-alist):
3428 Add more entries.
3429
3430 2012-02-23 Juri Linkov <juri@jurta.org>
3431
3432 * isearch.el (isearch-occur): Sync interactive spec with occur's
3433 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3434
3435 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3436
3437 2012-02-22 Juri Linkov <juri@jurta.org>
3438
3439 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3440 (ucs-insert): Doc fix. Check for hex digits in the string.
3441 Don't display `nil' in the error message. (Bug#10857)
3442
3443 2012-02-22 Alan Mackenzie <acm@muc.de>
3444
3445 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3446
3447 2012-02-22 Glenn Morris <rgm@gnu.org>
3448
3449 * ffap.el (ffap-c-path):
3450 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3451
3452 2012-02-22 Chong Yidong <cyd@gnu.org>
3453
3454 * custom.el (load-theme): Doc fix.
3455
3456 2012-02-22 Glenn Morris <rgm@gnu.org>
3457
3458 * dired-x.el (dired-guess-shell-alist-default):
3459 Remove escape sequences from nroff output. (Bug#172)
3460
3461 2012-02-21 Glenn Morris <rgm@gnu.org>
3462
3463 * vc/emerge.el (emerge-defvar-local):
3464 Set `permanent-local' property rather than unused `preserved'.
3465
3466 * textmodes/picture.el (picture-delete-char): New alias.
3467 (picture-mode-map): Use it. (Bug#10860)
3468 (picture-mode): Doc fix.
3469
3470 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
3471
3472 * newcomment.el (uncomment-region-default): Remove unused binding.
3473
3474 2012-02-21 Glenn Morris <rgm@gnu.org>
3475
3476 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3477 (picture-self-insert, picture-tab-chars): Doc fix.
3478 (picture-mode-map): Fix C-a, C-e.
3479
3480 2012-02-20 Glenn Morris <rgm@gnu.org>
3481
3482 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3483
3484 2012-02-20 Leo Liu <sdl.web@gmail.com>
3485
3486 * icomplete.el (icomplete-completions): Check FROM arg before
3487 passing to substring (Bug#10850).
3488
3489 2012-02-19 Chong Yidong <cyd@gnu.org>
3490
3491 * comint.el: Require ansi-color.
3492 (comint-output-filter-functions): Add ansi-color-process-output.
3493
3494 * ansi-color.el: Don't set comint-output-filter-functions; it is
3495 now in the initial value defined in comint.el.
3496 (ansi-color-apply-face-function): New variable.
3497 (ansi-color-apply-on-region): Use it.
3498 (ansi-color-apply-overlay-face): New function.
3499
3500 * shell.el (shell): No need to require ansi-color.
3501 (shell-mode): Use ansi-color-apply-face-function to highlight
3502 color escapes using font-lock-face property (Bug#10835).
3503
3504 2012-02-19 Chong Yidong <cyd@gnu.org>
3505
3506 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3507 mode-line formats (Bug#10839).
3508
3509 2012-02-18 Glenn Morris <rgm@gnu.org>
3510
3511 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3512
3513 * mail/undigest.el (unforward-rmail-message): Doc fix.
3514
3515 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3516
3517 2012-02-18 Eli Zaretskii <eliz@gnu.org>
3518
3519 * international/characters.el (script-list): Sync with the latest
3520 Unicode Character Database.
3521
3522 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3523
3524 * international/titdic-cnv.el: Remove duplicate coding tag.
3525 * language/cham.el: Likewise.
3526 * language/tai-viet.el: Likewise.
3527
3528 2012-02-18 Glenn Morris <rgm@gnu.org>
3529
3530 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3531 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3532 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3533 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3534 * calendar/holidays.el (holiday-bahai-holidays)
3535 (calendar-holidays, list-holidays):
3536 Use utf-8 Bahá'í in doc-strings, menus, etc.
3537
3538 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3539
3540 * saveplace.el (save-place-ignore-files-regexp): New variable
3541 allowing for excluding files from saving their location of point.
3542 The default value matches the temporary commit message editing
3543 files from Git, SVN, Bazaar, and Mercurial.
3544 (save-place-to-alist): Use it.
3545
3546 2012-02-17 Lawrence Mitchell <wence@gmx.li>
3547 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * newcomment.el (uncomment-region-default): Don't leave extra space
3550 when an arg is provided (bug#8150).
3551
3552 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3553
3554 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3555
3556 2012-02-17 Glenn Morris <rgm@gnu.org>
3557
3558 * net/socks.el: Require network-stream. (Bug#10599)
3559
3560 2012-02-17 Kenichi Handa <handa@m17n.org>
3561
3562 * international/charprop.el:
3563 * international/uni-name.el:
3564 * international/uni-old-name.el:
3565 * international/uni-comment.el: Regenerate.
3566
3567 2012-02-16 Glenn Morris <rgm@gnu.org>
3568
3569 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3570 Interactively in calendar buffer, give an error if not on a date.
3571
3572 2012-02-15 Glenn Morris <rgm@gnu.org>
3573
3574 * shell.el (shell-delimiter-argument-list):
3575 Revert 2011-02-17 change. (Bug#8027)
3576
3577 2012-02-15 Chong Yidong <cyd@gnu.org>
3578
3579 * minibuffer.el (completion-at-point-functions): Doc fix.
3580
3581 * custom.el (defcustom): Doc fix; note use of defvar.
3582
3583 2012-02-15 Glenn Morris <rgm@gnu.org>
3584
3585 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3586 Doc fixes.
3587
3588 2012-02-14 Glenn Morris <rgm@gnu.org>
3589
3590 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3591
3592 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3593
3594 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3595 way the ports list is computed.
3596 (smtpmail-query-smtp-server): Prompt the user for a port number if
3597 we can't connect to any of the standard ports (bug#10810).
3598
3599 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3600
3601 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3602
3603 2012-02-13 Glenn Morris <rgm@gnu.org>
3604
3605 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3606
3607 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3608
3609 * net/gnutls.el (gnutls-trustfiles): New variable.
3610 (gnutls-negotiate): Use it.
3611
3612 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3613
3614 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3615 does its stuff if Gnus is running.
3616
3617 2012-02-13 Alan Mackenzie <acm@muc.de>
3618
3619 Fix a loop in c-set-fl-decl-start.
3620
3621 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3622 c-backward-syntactic-ws actually moves backwards.
3623
3624 2012-02-13 Leo Liu <sdl.web@gmail.com>
3625
3626 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3627 beginning so that all \C-o chars are removed.
3628
3629 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3630
3631 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3632
3633 2012-02-12 Alan Mackenzie <acm@muc.de>
3634
3635 Fix infinite loop with long macros.
3636 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3637
3638 2012-02-12 Chong Yidong <cyd@gnu.org>
3639
3640 * window.el (display-buffer): Doc fix (Bug#10785).
3641
3642 2012-02-12 Glenn Morris <rgm@gnu.org>
3643
3644 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3645 (x-disown-selection-internal, x-get-selection-internal):
3646 Sync docs with the xselect.c versions.
3647
3648 * allout-widgets.el: Add missing license notice.
3649
3650 2012-02-11 Glenn Morris <rgm@gnu.org>
3651
3652 * select.el (x-get-selection-internal, x-own-selection-internal)
3653 (x-disown-selection-internal):
3654 * x-dnd.el (x-get-selection-internal): Update declarations.
3655
3656 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3657
3658 * window.el (window-sides-slots):
3659 * tool-bar.el (tool-bar-position):
3660 * term/xterm.el (xterm-extra-capabilities):
3661 * ses.el (ses-self-reference-early-detection):
3662 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3663 (verilog-auto-wire-type)
3664 (verilog-auto-delete-trailing-whitespace)
3665 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3666 (verilog-auto-tieoff-declaration):
3667 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3668 (sql-oracle-statement-starters, sql-oracle-scan-on):
3669 * progmodes/prolog.el (prolog-align-comments-flag)
3670 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3671 (prolog-left-indent-regexp, prolog-paren-indent-p)
3672 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3673 (prolog-types, prolog-mode-specificators)
3674 (prolog-determinism-specificators, prolog-directives)
3675 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3676 (prolog-electric-dot-flag)
3677 (prolog-electric-dot-full-predicate-template)
3678 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3679 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3680 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3681 (prolog-program-switches, prolog-prompt-regexp)
3682 (prolog-debug-on-string, prolog-debug-off-string)
3683 (prolog-trace-on-string, prolog-trace-off-string)
3684 (prolog-zip-on-string, prolog-zip-off-string)
3685 (prolog-use-standard-consult-compile-method-flag)
3686 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3687 (prolog-imenu-max-lines, prolog-info-predicate-index)
3688 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3689 (prolog-char-quote-workaround):
3690 * progmodes/cc-vars.el (c-defun-tactic):
3691 * net/tramp.el (tramp-encoding-command-interactive)
3692 (tramp-local-end-of-line):
3693 * net/soap-client.el (soap-client):
3694 * net/netrc.el (netrc-file):
3695 * net/gnutls.el (gnutls):
3696 * minibuffer.el (completion-category-overrides)
3697 (completion-cycle-threshold)
3698 (completion-pcm-complete-word-inserts-delimiters):
3699 * man.el (Man-name-local-regexp):
3700 * mail/feedmail.el (feedmail-display-full-frame):
3701 * international/characters.el (glyphless-char-display-control):
3702 * eshell/em-ls.el (eshell-ls-date-format):
3703 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3704 (lisp-lambda-list-keyword-parameter-indentation)
3705 (lisp-lambda-list-keyword-parameter-alignment):
3706 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3707 * dired-x.el (dired-omit-verbose):
3708 * cus-theme.el (custom-theme-allow-multiple-selections):
3709 * calc/calc.el (calc-highlight-selections-with-faces)
3710 (calc-lu-field-reference, calc-lu-power-reference)
3711 (calc-note-threshold):
3712 * battery.el (battery-mode-line-limit):
3713 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3714 (archive-7z-update):
3715 * allout.el (allout-prefixed-keybindings)
3716 (allout-unprefixed-keybindings)
3717 (allout-inhibit-auto-fill-on-headline)
3718 (allout-flattened-numbering-abbreviation):
3719 * allout-widgets.el (allout-widgets-auto-activation)
3720 (allout-widgets-icons-dark-subdir)
3721 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3722 (allout-widgets-theme-dark-background)
3723 (allout-widgets-theme-light-background)
3724 (allout-widgets-item-image-properties-emacs)
3725 (allout-widgets-item-image-properties-xemacs)
3726 (allout-widgets-run-unit-tests-on-load)
3727 (allout-widgets-time-decoration-activity)
3728 (allout-widgets-hook-error-post-time)
3729 (allout-widgets-track-decoration):
3730 Add missing :version tags to new defcustoms and defgroups.
3731
3732 * progmodes/sql.el (sql-ansi-statement-starters)
3733 (sql-oracle-statement-starters): Add custom type.
3734
3735 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3736 (prolog-system-version): Give it a type.
3737
3738 2012-02-11 Eli Zaretskii <eliz@gnu.org>
3739
3740 * term/pc-win.el (x-select-text, x-selection-owner-p)
3741 (x-own-selection-internal, x-disown-selection-internal)
3742 (x-get-selection-internal): Sync doc strings and argument lists
3743 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3744
3745 2012-02-11 Leo Liu <sdl.web@gmail.com>
3746
3747 * progmodes/python.el (python-end-of-statement): Fix infinite
3748 loop. (Bug#10788)
3749
3750 2012-02-10 Glenn Morris <rgm@gnu.org>
3751
3752 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3753 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3754
3755 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3756
3757 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3758 about SMTP before checking the From header.
3759
3760 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3761 into own function for reuse by emacsbug.el.
3762
3763 2012-02-10 Leo Liu <sdl.web@gmail.com>
3764
3765 * subr.el (condition-case-unless-debug): Rename from
3766 condition-case-no-debug. All callers changed.
3767 (with-demoted-errors): Fix caller.
3768
3769 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3770 * nxml/rng-valid.el (rng-do-some-validation):
3771 * emacs-lisp/package.el (package-refresh-contents)
3772 (package-menu-execute):
3773 * desktop.el (desktop-create-buffer):
3774 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3775
3776 2012-02-10 Glenn Morris <rgm@gnu.org>
3777
3778 * textmodes/bibtex.el:
3779 Add missing :version tags for new/changed defcustoms.
3780
3781 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3782
3783 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
3784
3785 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3786 (smtpmail-via-smtp): Use it, or fall back on the From address.
3787 (smtpmail-send-it): Ditto.
3788
3789 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3792 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3793 (byte-compile-tmp-var): New const.
3794 (byte-compile-defvar): Use it to minimize .elc size.
3795 Just use `defvar' rather than simulate it (bug#10761).
3796
3797 2012-02-09 Glenn Morris <rgm@gnu.org>
3798
3799 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3800
3801 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3802 Add :version tags.
3803
3804 * progmodes/compile.el (compilation-error-screen-columns)
3805 (compilation-first-column, compilation-filter-start): Doc fixes.
3806
3807 * vc/log-view.el (log-view-toggle-entry-display):
3808 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3809
3810 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3811 (report-emacs-bug-can-use-xdg-email):
3812 (report-emacs-bug-insert-to-mailer): Doc fixes.
3813 (report-emacs-bug): Message fix.
3814
3815 * net/browse-url.el (browse-url-can-use-xdg-open)
3816 (browse-url-xdg-open): Doc fixes.
3817
3818 * electric.el (electric-indent-mode, electric-pair-mode)
3819 (electric-layout-rules, electric-layout-mode): Doc fixes.
3820 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3821
3822 2012-02-08 Martin Rudalics <rudalics@gmx.at>
3823
3824 * server.el (server-unselect-display): Don't inadvertently kill
3825 the current buffer. (Bug#10729)
3826
3827 2012-02-08 Glenn Morris <rgm@gnu.org>
3828
3829 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3830 (sql-list-table): Doc fixes.
3831
3832 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3833 Comment out (does nothing).
3834
3835 * completion.el (dynamic-completion-mode):
3836 * dirtrack.el (dirtrack-debug-mode):
3837 * electric.el (electric-layout-mode):
3838 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3839 * face-remap.el (text-scale-mode, buffer-face-mode):
3840 * iimage.el (iimage-mode):
3841 * image-mode.el (image-transform-mode):
3842 * minibuffer.el (completion-in-region-mode):
3843 * scroll-lock.el (scroll-lock-mode):
3844 * simple.el (next-error-follow-minor-mode):
3845 * tar-mode.el (tar-subfile-mode):
3846 * tooltip.el (tooltip-mode):
3847 * vcursor.el (vcursor-use-vcursor-map):
3848 * wid-browse.el (widget-minor-mode):
3849 * emulation/tpu-edt.el (tpu-edt-mode):
3850 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3851 * international/iso-ascii.el (iso-ascii-mode):
3852 * language/thai-util.el (thai-word-mode):
3853 * mail/supercite.el (sc-minor-mode):
3854 * net/goto-addr.el (goto-address-mode):
3855 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3856 * progmodes/cwarn.el (cwarn-mode):
3857 * progmodes/flymake.el (flymake-mode):
3858 * progmodes/glasses.el (glasses-mode):
3859 * progmodes/hideshow.el (hs-minor-mode):
3860 * progmodes/pascal.el (pascal-outline-mode):
3861 * textmodes/enriched.el (enriched-mode):
3862 * vc/smerge-mode.el (smerge-mode):
3863 Doc fixes (minor mode argument).
3864
3865 2012-02-07 Eli Zaretskii <eliz@gnu.org>
3866
3867 * ls-lisp.el (ls-lisp-sanitize): New function.
3868 (ls-lisp-insert-directory): Use it to fix or remove any elements
3869 in file-alist with missing attributes. (Bug#4673)
3870
3871 2012-02-07 Alan Mackenzie <acm@muc.de>
3872
3873 Fix spurious recognition of c-in-knr-argdecl.
3874
3875 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3876 putative K&R region.
3877
3878 2012-02-07 Alan Mackenzie <acm@muc.de>
3879
3880 * progmodes/cc-engine.el (c-forward-objc-directive):
3881 Prevent looping in "#pragma mark @implementation".
3882
3883 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * notifications.el (notifications-on-closed-signal): Make `reason'
3886 optional. (Bug#10744)
3887
3888 2012-02-07 Glenn Morris <rgm@gnu.org>
3889
3890 * emacs-lisp/easy-mmode.el (define-minor-mode):
3891 Doc fixes for the macro and the mode it defines.
3892
3893 * image.el (imagemagick-types-inhibit): Doc fix.
3894
3895 * cus-start.el (imagemagick-render-type): Add it.
3896
3897 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3898
3899 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3900 Set the default at load time, too, so that `font-lock-fontify-buffer'
3901 can be called without setting up the entire mode first. This fixes
3902 a bug in `mm-inline-text' with C MIME parts.
3903
3904 2012-02-06 Chong Yidong <cyd@gnu.org>
3905
3906 * simple.el (list-processes--refresh): Delete exited processes
3907 (Bug#8094).
3908
3909 * comint.el (comint-next-prompt): next-single-char-property-change
3910 and prev-single-char-property-change never return nil (Bug#8657).
3911
3912 * custom.el (defcustom): Doc fix (Bug#9711).
3913
3914 2012-02-05 Chong Yidong <cyd@gnu.org>
3915
3916 * cus-edit.el (custom-variable-reset-backup): Quote the value
3917 before storing it in the customized-value property (Bug#6712).
3918 (custom-display): Add a customization type tag.
3919 (custom-buffer-create-internal): Improve tooltip message.
3920
3921 * wid-edit.el (widget-field-value-get): New optional arg to
3922 suppress trailing whitespace truncation.
3923 (character): Use it (Bug#2689).
3924
3925 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3928 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3929
3930 2012-02-05 Chong Yidong <cyd@gnu.org>
3931
3932 * cus-edit.el (custom-variable-value-create): For mismatched
3933 types, show the current value (Bug#7600).
3934
3935 * custom.el (defcustom): Doc fix.
3936
3937 2012-02-05 Glenn Morris <rgm@gnu.org>
3938
3939 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3940
3941 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
3942
3943 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3944 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3945 (pp-last-sexp): Use `looking-at-p'.
3946
3947 2012-02-04 Glenn Morris <rgm@gnu.org>
3948
3949 * files.el (revert-buffer):
3950 Doc fix (mention revert-buffer-in-progress-p).
3951
3952 * emacs-lisp/ert-x.el (ert-simulate-command):
3953 Check deferred-action-list (which is obsolete) is bound.
3954
3955 * subr.el (with-wrapper-hook): Doc fixes.
3956
3957 * simple.el (filter-buffer-substring-functions)
3958 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3959
3960 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3961
3962 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3963 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3964
3965 2012-02-04 Leo Liu <sdl.web@gmail.com>
3966
3967 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3968
3969 2012-02-04 Glenn Morris <rgm@gnu.org>
3970
3971 * image.el (image-extension-data): Add obsolete alias.
3972
3973 * isearch.el (isearch-update): Doc fix.
3974
3975 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3976
3977 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3978
3979 2012-02-03 Glenn Morris <rgm@gnu.org>
3980
3981 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3982 (image-animate-timeout): Doc fix.
3983
3984 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3985
3986 2012-02-02 Glenn Morris <rgm@gnu.org>
3987
3988 * server.el (server-auth-dir): Doc fix.
3989 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3990
3991 * subr.el (run-mode-hooks): Doc fix.
3992
3993 2012-02-02 Juri Linkov <juri@jurta.org>
3994
3995 * image-mode.el (image-toggle-display-image): Remove tautological
3996 `major-mode' from the `derived-mode-p' test.
3997
3998 2012-02-02 Kenichi Handa <handa@m17n.org>
3999
4000 * composite.el (compose-region): Cancel previous change.
4001
4002 2012-02-02 Kenichi Handa <handa@m17n.org>
4003
4004 * composite.el (compose-region, compose-string): Signal error for
4005 a null string component (Bug#6988).
4006
4007 2012-02-01 Chong Yidong <cyd@gnu.org>
4008
4009 * view.el (view-buffer-other-window, view-buffer-other-frame):
4010 Handle special modes like view-buffer (Bug#10650).
4011 (view-buffer): Simplify.
4012
4013 * frame.el (set-frame-font): Tweak meaning of third argument.
4014
4015 * dynamic-setting.el (font-setting-change-default-font):
4016 Use set-frame-font (Bug#9982).
4017
4018 2012-02-01 Glenn Morris <rgm@gnu.org>
4019
4020 * progmodes/compile.el (compilation-internal-error-properties):
4021 Respect compilation-first-column in the "*compilation*" buffer.
4022
4023 * emacs-lisp/easy-mmode.el (define-minor-mode):
4024 Relax :variable's test for a named function.
4025
4026 2012-01-31 Alan Mackenzie <acm@muc.de>
4027
4028 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4029 off by one error.
4030
4031 2012-01-31 Chong Yidong <cyd@gnu.org>
4032
4033 * frame.el (set-frame-font): New arg ALL-FRAMES.
4034
4035 * menu-bar.el (menu-set-font): Use set-frame-font.
4036
4037 * faces.el (face-spec-reset-face): Don't apply unspecified
4038 attribute values to the default face.
4039
4040 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
4041
4042 * progmodes/cwarn.el (cwarn): Remove dead link.
4043 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4044 Remove * from defcustom docstrings.
4045 (turn-on-cwarn-mode): Make obsolete.
4046 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4047 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4048
4049 2012-01-31 Glenn Morris <rgm@gnu.org>
4050
4051 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4052 Fix :variable handling of mode a symbol not equal to modefun.
4053 Allow named functions to be used as the cdr of :variable.
4054
4055 2012-01-30 Glenn Morris <rgm@gnu.org>
4056
4057 * emacs-lisp/authors.el (authors-fixed-entries):
4058 Remove reference to deleted file rnewspost.el.
4059
4060 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
4061
4062 * window.el (window-with-parameter): Remove unused variable `windows'.
4063 (window--side-check): Remove unused variable `code'.
4064 (window--resize-siblings): Remove unused variable `first'.
4065 (adjust-window-trailing-edge): Remove unused variable `failed'.
4066 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4067 Use `let', not `let*'.
4068 (balance-windows-2): Remove unused variable `found'.
4069 (window--state-put-2): Remove unused variable `splits'.
4070 (window-state-put): Remove unused variable `selected'.
4071 (same-window-p): Use `string-match-p'.
4072 (display-buffer-assq-regexp): Remove unused variable `value'.
4073 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4074 Mark argument ALIST as ignored.
4075 (pop-to-buffer): Remove unused variable `old-window'.
4076
4077 2012-01-29 Eli Zaretskii <eliz@gnu.org>
4078
4079 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4080 and .lzma compressed files.
4081
4082 2012-01-29 Chong Yidong <cyd@gnu.org>
4083
4084 * frame.el (window-system-default-frame-alist): Doc fix.
4085
4086 * dynamic-setting.el (font-setting-change-default-font): Don't
4087 change the default face if SET-FONT argument is non-nil (Bug#9982).
4088
4089 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4090
4091 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4092
4093 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
4094
4095 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4096 breakpoints in files outside current directory (Bug#6098).
4097
4098 2012-01-29 Chong Yidong <cyd@gnu.org>
4099
4100 * progmodes/python.el: Require ansi-color at top-level.
4101
4102 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4103 Define and use in Emacs Lisp mode (Bug#9360).
4104 (lisp-mode-abbrev-table): Add doc.
4105 (lisp-mode-variables): Don't set local-abbrev-table.
4106 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4107
4108 2012-01-28 Roland Winkler <winkler@gnu.org>
4109
4110 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4111
4112 2012-01-28 Roland Winkler <winkler@gnu.org>
4113
4114 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4115 (bibtex-set-dialect): Use it. Either set global values of
4116 dialect-dependent variables or bind these variables buffer-locally
4117 (Bug#10254).
4118 (bibtex-mode): Call bibtex-set-dialect via
4119 hack-local-variables-hook.
4120 (bibtex-dialect): Update docstring.
4121 Add safe-local-variable predicate.
4122 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4123 bibtex-set-dialect.
4124 (bibtex-mode-map): Define menu for each dialect.
4125 (bibtex-entry): Fix docstring.
4126
4127 2012-01-28 Chong Yidong <cyd@gnu.org>
4128
4129 * eshell/esh-arg.el (eshell-quote-argument): New function.
4130
4131 * eshell/esh-ext.el (eshell-invoke-batch-file):
4132 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4133 first arg to eshell-parse-command (Bug#10523).
4134
4135 2012-01-28 Drew Adams <drew.adams@oracle.com>
4136
4137 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4138 `default-directory' is non-nil.
4139
4140 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4141
4142 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4143 line that displays system-configuration-options. (Bug#9924)
4144
4145 2012-01-28 Drew Adams <drew.adams@oracle.com>
4146
4147 * descr-text.el (describe-char): Show information about POS, in
4148 addition to information about the character at POS. Improve and
4149 update the doc string. Change "code point" to "code point in
4150 charset", to avoid confusion with the character's Unicode code
4151 point shown above that. (Bug#10129)
4152
4153 2012-01-28 Eli Zaretskii <eliz@gnu.org>
4154
4155 * descr-text.el (describe-char): Show the raw character, not only
4156 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4157 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4158 for the reasons.
4159
4160 2012-01-28 Phil Hagelberg <phil@hagelb.org>
4161
4162 * emacs-lisp/package.el (package-install):
4163 Run package-refresh-contents if there is no archive yet (Bug#9798).
4164
4165 2012-01-28 Chong Yidong <cyd@gnu.org>
4166
4167 * emacs-lisp/package.el (package-maybe-load-descriptor):
4168 New function, split from package-maybe-load-descriptor.
4169 (package-maybe-load-descriptor): Use it.
4170 (package-download-transaction): Fully load required packages
4171 inside the loop, so that `require' calls work (Bug#10593).
4172 (package-install): No need to call package-initialize now.
4173
4174 2012-01-28 Chong Yidong <cyd@gnu.org>
4175
4176 * simple.el (deactivate-mark): Doc fix (Bug#8614).
4177
4178 * tooltip.el (tooltip-mode): Doc fix.
4179 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
4180
4181 * frame.el (set-cursor-color): Doc fix (Bug#352).
4182
4183 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
4184 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
4185
4186 * cus-edit.el (custom-buffer-create-internal): Fix search button
4187 action (Bug#10542).
4188 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
4189
4190 2012-01-27 Eduard Wiebe <usenet@pusto.de>
4191
4192 * dired.el (dired-mark-files-regexp):
4193 Include any subdirectory components. (Bug#10445)
4194
4195 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
4196
4197 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
4198 Handle [host]:port syntax. (Bug#10533)
4199
4200 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
4201
4202 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
4203
4204 2012-01-26 Glenn Morris <rgm@gnu.org>
4205
4206 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
4207 * term.el (term-raw-escape-map): Use Control-X-prefix.
4208 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
4209
4210 2012-01-25 Martin Rudalics <rudalics@gmx.at>
4211
4212 * window.el (window-state-get, window--state-get-1): Don't deal
4213 with fixed-sizeness of windows. Simplify code.
4214
4215 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
4216
4217 * window.el (window--state-get-1, window--state-put-2):
4218 Don't save and restore the mark.
4219
4220 2012-01-25 Chong Yidong <cyd@gnu.org>
4221
4222 * custom.el (custom-variable-p): Doc fix.
4223
4224 2012-01-25 Glenn Morris <rgm@gnu.org>
4225
4226 * dired.el (dired-goto-file): Handle some of the more common
4227 characters that `ls -b' escapes. (Bug#10596)
4228
4229 * progmodes/compile.el (compilation-next-error-function):
4230 Respect compilation-first-column in the "*compilation*" buffer.
4231 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
4232
4233 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
4234
4235 2012-01-24 Glenn Morris <rgm@gnu.org>
4236
4237 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
4238
4239 2012-01-24 Julien Danjou <julien@danjou.info>
4240
4241 * color.el (color-rgb-to-hsl): Fix value computing.
4242 (color-hue-to-rgb): New function.
4243 (color-hsl-to-rgb): New function.
4244 (color-clamp, color-saturate-hsl, color-saturate-name)
4245 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4246 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
4247
4248 2012-01-24 Glenn Morris <rgm@gnu.org>
4249
4250 * vc/vc-rcs.el (vc-rcs-create-tag):
4251 * vc/vc-sccs.el (vc-sccs-create-tag):
4252 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
4253
4254 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
4255
4256 * eshell/esh-util.el (eshell-read-hosts-file):
4257 Skip comment lines. (Bug#10549)
4258
4259 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
4260
4261 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * subr.el (display-delayed-warnings): Doc fix.
4264 (collapse-delayed-warnings): New function to collapse identical
4265 adjacent warnings.
4266 (delayed-warnings-hook): Add it.
4267
4268 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
4269
4270 * net/tramp.el (tramp-action-login): Set connection property "login-as".
4271
4272 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
4273 properties, when "login-as" is set.
4274
4275 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
4276 (tramp-default-user-alist): Don't add "pscp".
4277 (tramp-do-copy-or-rename-file-out-of-band): Use connection
4278 property "login-as", if set. (Bug#10530)
4279
4280 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
4281
4282 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4283 "plink1" and "psftp". (Bug#10530)
4284
4285 2012-01-21 Kenichi Handa <handa@m17n.org>
4286
4287 * international/mule-cmds.el (prefer-coding-system): Show a
4288 warning message if the default value of file-name-coding-system
4289 was not changed.
4290
4291 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4292
4293 * windmove.el (windmove-reference-loc):
4294 Fix windmove-reference-loc miscalculation.
4295
4296 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4297
4298 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4299 default unit.
4300
4301 2012-01-21 Glenn Morris <rgm@gnu.org>
4302
4303 * international/mule.el (auto-coding-alist): Add .tbz.
4304
4305 * files.el (local-enable-local-variables): Doc fix.
4306 (inhibit-local-variables-regexps): Rename from
4307 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4308 Doc fix. Add some extensions from auto-coding-alist.
4309 (inhibit-local-variables-suffixes):
4310 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4311 (inhibit-local-variables-p):
4312 New function, extracted from set-auto-mode-1.
4313 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4314 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4315 (hack-local-variables): Doc fix. Make the mode-only case
4316 respect enable-local-variables and friends.
4317 Respect inhibit-local-variables-regexps for file-locals, but
4318 not for directory-locals.
4319 (set-visited-file-name):
4320 Take account of inhibit-local-variables-regexps.
4321 Whether it applies may change as the file name is changed.
4322 * jka-cmpr-hook.el (jka-compr-install):
4323 * jka-compr.el (jka-compr-uninstall):
4324 Update for inhibit-first-line-modes-suffixes name change.
4325
4326 2012-01-20 Martin Rudalics <rudalics@gmx.at>
4327
4328 * help-macro.el (make-help-screen): Temporarily restore original
4329 binding for minor-mode-map-alist (Bug#10454).
4330
4331 2012-01-19 Julien Danjou <julien@danjou.info>
4332
4333 * color.el (color-name-to-rgb): Use the white color to find the max
4334 color component value and return correctly computed values.
4335 (color-name-to-rgb): Add missing float conversion for max value.
4336
4337 2012-01-19 Martin Rudalics <rudalics@gmx.at>
4338
4339 * window.el (window--state-get-1, window-state-get): Do not use
4340 special state value for window-persistent-parameters.
4341 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4342 (window--state-put-2): Reset all window parameters to nil before
4343 assigning values of persistent parameters.
4344
4345 2012-01-18 Alan Mackenzie <acm@muc.de>
4346
4347 Eliminate sluggishness and hangs in fontification of "semicolon
4348 deserts".
4349
4350 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4351 Change value 10000 -> 3000.
4352 (c-state-safe-place): Reformulate so it doesn't stack up an
4353 infinite number of wrong entries in c-state-nonlit-pos-cache.
4354 (c-determine-limit-get-base, c-determine-limit): New functions to
4355 determine backward search limits disregarding literals.
4356 (c-find-decl-spots): Amend commenting.
4357 (c-cheap-inside-bracelist-p): New function which detects "={".
4358
4359 * progmodes/cc-fonts.el
4360 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4361 backward search.
4362 (c-font-lock-declarations): Fix an occurrence of point being
4363 undefined. Check additionally for point being in a bracelist or
4364 near a macro invocation without a semicolon so as to avoid a
4365 fruitless time consuming search for a declarator. Give a more
4366 precise search limit for declarators using the new
4367 c-determine-limit.
4368
4369 2012-01-18 Glenn Morris <rgm@gnu.org>
4370
4371 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4372 (set-auto-mode): Doc fixes.
4373
4374 2012-01-17 Glenn Morris <rgm@gnu.org>
4375
4376 * isearch.el (search-nonincremental-instead): Fix doc typo.
4377
4378 * dired.el (dired-insert-directory): Handle newlines in directory name.
4379 (dired-build-subdir-alist): Unescape newlines in directory name.
4380
4381 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4384 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4385 (tramp-action-terminal): Use it. (Bug#10530)
4386
4387 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4390
4391 2012-01-16 Martin Rudalics <rudalics@gmx.at>
4392
4393 * window.el (window-state-ignored-parameters): Remove variable.
4394 (window--state-get-1): Rename argument MARKERS to IGNORE.
4395 Handle persistent window parameters. Make copy of clone-of
4396 parameter only if requested. (Bug#10348)
4397 (window--state-put-2): Install a window parameter only if it has
4398 a non-nil value or an existing parameter shall be overwritten.
4399
4400 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
4401
4402 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4403
4404 2012-01-14 Eli Zaretskii <eliz@gnu.org>
4405
4406 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4407 don't pass the (nil) value of `upnode' to string-match.
4408
4409 2012-01-14 Chong Yidong <cyd@gnu.org>
4410
4411 * startup.el (command-line): Fix X resource class for cursorColor.
4412 Fix values recognized by the cursorBlink resource.
4413
4414 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4415
4416 * epg.el (epg--make-temp-file): Avoid permission race condition
4417 when running on old Emacs versions (bug#10403).
4418
4419 2012-01-14 Glenn Morris <rgm@gnu.org>
4420
4421 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4422
4423 2012-01-13 Alan Mackenzie <acm@muc.de>
4424
4425 Fix filling for when filladapt mode is enabled.
4426
4427 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4428 c-mask-paragraph, pass in `fill-paragraph' rather than
4429 `fill-region-as-paragraph'. (This is a reversion of a previous
4430 change.)
4431 * progmodes/cc-mode.el (c-basic-common-init):
4432 Make fill-paragraph-handle-comment buffer local and set it to nil.
4433
4434 2012-01-13 Glenn Morris <rgm@gnu.org>
4435
4436 * dired.el (dired-switches-escape-p): New function.
4437 (dired-insert-directory): Use dired-switches-escape-p.
4438 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4439
4440 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4441
4442 2012-01-12 Glenn Morris <rgm@gnu.org>
4443
4444 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4445 changes in adaptive-fill-regexp. (Bug#10276)
4446
4447 2012-01-11 Alan Mackenzie <acm@muc.de>
4448
4449 Fix Emacs bug #10463 - put `widen's around the critical spots.
4450
4451 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4452 widen around each invocation of c-state-pp-to-literal. Remove an
4453 unused let variable.
4454
4455 2012-01-11 Glenn Morris <rgm@gnu.org>
4456
4457 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4458 Doc fix.
4459
4460 2012-01-10 Chong Yidong <cyd@gnu.org>
4461
4462 * net/network-stream.el (network-stream-open-starttls):
4463 Avoid emitting a confusing error message when the server gives a bad
4464 response to the capability command.
4465
4466 2012-01-10 Glenn Morris <rgm@gnu.org>
4467
4468 * mail/unrmail.el (unrmail): Tweak previous change.
4469
4470 2012-01-09 Chong Yidong <cyd@gnu.org>
4471
4472 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4473
4474 2012-01-08 Alan Mackenzie <acm@muc.de>
4475
4476 Optimise font locking in long enum definitions.
4477
4478 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4479 arm to a cond form to handle enums.
4480 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4481 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4482
4483 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4484
4485 * files.el (move-file-to-trash): Preserve default file modes on error.
4486 (Bug#10401)
4487
4488 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4489
4490 * faces.el (set-face-attribute): Clarify the meaning of the nil
4491 frame (bug#10294).
4492
4493 * subr.el (with-selected-frame): Mention that the selected frame
4494 is restored (bug#9980).
4495
4496 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4497 (bug#9759).
4498
4499 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4500 (password-read): Don't autoload unused function.
4501
4502 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
4503
4504 * progmodes/which-func.el (which-func-mode): Turn into a
4505 non-interactive function and mark as obsolete (bug#10428).
4506
4507 2012-01-06 Chong Yidong <cyd@gnu.org>
4508
4509 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4510 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4511 functions, along with 1 and -1.
4512
4513 2012-01-06 Eli Zaretskii <eliz@gnu.org>
4514
4515 * time.el (display-time-load-average)
4516 (display-time-default-load-average): Doc fixes. See the thread
4517 starting at
4518 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4519 for the details.
4520
4521 2012-01-06 Glenn Morris <rgm@gnu.org>
4522
4523 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4524 has no messages. (Bug#10377)
4525
4526 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4527 than Info-edit. (Bug#10385)
4528
4529 * time.el (display-time-load-average, display-time-next-load-average):
4530 Doc fixes.
4531
4532 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4533 local setting of buffer-read-only to the input buffer. (Bug#10419)
4534
4535 * calendar/calendar.el (calendar-mode):
4536 Locally set scroll-margin to 0. (Bug#10379)
4537
4538 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
4539
4540 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4541
4542 2012-01-05 Glenn Morris <rgm@gnu.org>
4543
4544 * eshell/em-unix.el (diff-no-select): Autoload it.
4545 (eshell/diff): Use diff-no-select. (Bug#10420)
4546
4547 2012-01-05 Chong Yidong <cyd@gnu.org>
4548
4549 * shell.el (shell-dynamic-complete-functions): Revert last change.
4550 (shell-command-completion-function): New function.
4551 (shell-completion-vars): Use it to implement
4552 shell-completion-execonly (Bug#10417).
4553
4554 * custom.el (enable-theme): Don't set custom-safe-themes.
4555
4556 * cus-theme.el (custom-theme-merge-theme):
4557 Ignore custom-enabled-themes and custom-safe-themes.
4558
4559 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4560
4561 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4562 first prompt in `sql-interacive-mode'.
4563 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4564 keywords.
4565 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4566 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4567 context of original buffer. Invoke `sql-login-hook'.
4568
4569 2012-01-04 Eli Zaretskii <eliz@gnu.org>
4570
4571 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4572 letters in cite-prefix.
4573
4574 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4575
4576 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4577
4578 2012-01-03 Chong Yidong <cyd@gnu.org>
4579
4580 * shell.el (shell-dynamic-complete-functions):
4581 Put pcomplete-completions-at-point, so as to try
4582 comint-filename-completion first (Bug#10417).
4583
4584 2012-01-02 Richard Stallman <rms@gnu.org>
4585
4586 * battery.el (battery-status-function):
4587 Detect when to use battery-yeeloong-sysfs.
4588 (battery-echo-area-format): Add string for Yeeloong.
4589 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4590 (battery-yeeloong-sysfs): New function.
4591
4592 2012-01-02 Chong Yidong <cyd@gnu.org>
4593
4594 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4595 (dirtrack): Merge code for handling relative filenames in prompt
4596 from shell-dir-cookie-watcher.
4597 (dirtrack-debug-message): New arg to avoid excess format calls.
4598
4599 * shell.el (shell-dir-cookie-re): Variable deleted.
4600 (shell-dir-cookie-watcher): Function deleted.
4601 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4602 with dirtrack-mode.
4603
4604 2012-01-01 Eli Zaretskii <eliz@gnu.org>
4605
4606 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4607 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4608 libgnutls-26.dll.
4609
4610 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4613
4614 2011-12-31 Eli Zaretskii <eliz@gnu.org>
4615
4616 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4617 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4618
4619 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4622 also for alternative shells.
4623 (tramp-open-connection-setup-interactive-shell): Check, whether
4624 the shell is a busybox.
4625 (tramp-send-command): Don't suppress multiple prompts for
4626 busyboxes, it hurts.
4627
4628 2011-12-28 Chong Yidong <cyd@gnu.org>
4629
4630 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4631 (gdb-get-source-file): Move mode line update to
4632 gdb-get-source-file (Bug#10087).
4633
4634 2011-12-25 Chong Yidong <cyd@gnu.org>
4635
4636 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4637 gud-gdb-marker-filter without taking it as an argument.
4638 (gud-gdb-run-command-fetch-lines): Caller changed.
4639 (gud-gdb-completion-function): New variable.
4640 (gud-gdb-completion-at-point): Use it.
4641 (gud-gdb-completions-1): Split from gud-gdb-completions.
4642
4643 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4644 function as separate arguments.
4645 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4646 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4647 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4648 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4649 (gdb-stopped, def-gdb-auto-update-trigger)
4650 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4651 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4652 Callers changed.
4653 (gud-gdbmi-completions): New function.
4654 (gdb): Use it for generating the completion table.
4655
4656 2011-12-24 Alan Mackenzie <acm@muc.de>
4657
4658 Introduce a mechanism to widen the region used in context font
4659 locking. Use this to protect declarations from losing their contexts.
4660
4661 * progmodes/cc-langs.el (c-before-font-lock-functions):
4662 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4663 (c-before-context-fontification-functions): New defvar, a list of
4664 functions to be run just before context (etc.) font locking.
4665
4666 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4667 New, functionality extracted from
4668 c-neutralize-syntax-in-and-mark-CPP.
4669 (c-in-after-change-fontification): New variable.
4670 (c-after-change): Set c-in-after-change-fontification.
4671 (c-set-fl-decl-start): Rejig its interface, so it can be called
4672 from both after-change and context fontifying.
4673 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4674 New functions.
4675 (c-standard-font-lock-fontify-region-function): New variable.
4676 (c-font-lock-fontify-region): New function.
4677
4678 2011-12-24 Juri Linkov <juri@jurta.org>
4679
4680 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4681 (Bug#10348)
4682
4683 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4686 existence of source file. (Bug#10325)
4687
4688 2011-12-23 Alan Mackenzie <acm@muc.de>
4689
4690 Fix unstable fontification inside templates.
4691
4692 * progmodes/cc-langs.el (c-before-font-lock-functions):
4693 Newly created from the singular version. The (c c++ objc) entry now
4694 additionally has c-set-fl-decl-start. The other languages (apart
4695 from AWK) have that as a single entry.
4696
4697 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4698 The functionality for "local" declarations has been extracted to
4699 c-set-fl-decl-start.
4700
4701 * progmodes/cc-mode.el (c-common-init, c-after-change):
4702 Changes due to pluralisation of c-before-font-lock-functions.
4703 (c-set-fl-decl-start): New function, extracted from
4704 c-font-lock-enclosing-decls and enhanced.
4705
4706 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
4707
4708 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4709
4710 2011-12-22 Juri Linkov <juri@jurta.org>
4711
4712 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4713
4714 2011-12-22 Chong Yidong <cyd@gnu.org>
4715
4716 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4717
4718 2011-12-21 Drew Adams <drew.adams@oracle.com>
4719
4720 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4721
4722 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4723
4724 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4725
4726 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4727
4728 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4729 highlighting and support. Fix up comments for capitalization.
4730 (cfengine-mode-debug): New var.
4731 (cfengine3-mode): Change the modeline indicator to "CFE3".
4732 (cfengine3-font-lock-keywords): Improve defun highlighting.
4733 (cfengine2-actions): Rename from `cfengine-actions'.
4734 (cfengine2-font-lock-keywords): Rename from
4735 `cfengine-font-lock-keywords'.
4736 (cfengine2-imenu-expression): Rename from
4737 `cfengine-imenu-expression'.
4738 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4739 (cfengine2-beginning-of-defun): Rename from
4740 `cfengine-beginning-of-defun'.
4741 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4742 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4743 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4744 modeline indicator to "CFE2".
4745 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4746 (cfengine-mode-abbrevs): Mark obsolete.
4747
4748 2011-12-21 Chong Yidong <cyd@gnu.org>
4749
4750 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4751 filename argument.
4752
4753 2011-12-20 Martin Rudalics <rudalics@gmx.at>
4754
4755 * window.el (window-normalize-buffer-to-display): Remove.
4756 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4757
4758 2011-12-19 Chong Yidong <cyd@gnu.org>
4759
4760 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4761 Don't signal an error in a predicate function; return non-nil.
4762 (vc-dir-mark-file): Move the error here.
4763 (vc-dir-mark-unmark): If acting on the region, keep going if one
4764 of the entries cannot be marked/unmarked.
4765 (vc-dir-mark-all-files): If current entry is a directory, mark
4766 only child files, as documented.
4767
4768 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4769
4770 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4771 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4772 addition.
4773
4774 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4775
4776 * term/ns-win.el (ns-get-selection-internal)
4777 (ns-store-selection-internal): Declare.
4778 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4779 Declare as obsolete.
4780 (ns-get-pasteboard, ns-paste-secondary):
4781 Use ns-get-selection-internal.
4782 (ns-set-pasteboard, ns-copy-including-secondary):
4783 Use ns-store-selection-internal.
4784
4785 2011-12-17 Chong Yidong <cyd@gnu.org>
4786
4787 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4788 (vc-deduce-fileset): Doc fix.
4789
4790 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4791
4792 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4793
4794 2011-12-13 Sam Steingold <sds@gnu.org>
4795
4796 * man.el (Man-getpage-in-background): When running under a
4797 window-system, ignore $MANWIDTH and $COLUMNS.
4798
4799 2011-12-15 Kenichi Handa <handa@m17n.org>
4800
4801 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4802 (setup-ethiopic-environment-internal): Comment out key-binding for
4803 ethio-toggle-punctuation.
4804
4805 2011-12-13 Alan Mackenzie <acm@muc.de>
4806
4807 Add the switch statement to AWK Mode.
4808
4809 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4810 "default" to the keywords regexp.
4811
4812 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4813 expression as the rest.
4814 (c-nonlabel-token-key): Allow string literals for AWK.
4815 Refactor for the other modes.
4816
4817 Large brace-block initialisation makes CC Mode slow: Fix.
4818 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4819 routines. Limit backward searching in c-font-lock-enclosing.decl.
4820
4821 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4822 pp-state and literal type in addition to the limits.
4823 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4824 (c-state-literal-at): Use the above new defun.
4825 (c-slow-in-literal, c-fast-in-literal): Remove.
4826 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4827
4828 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4829 being in a literal. Add a limit for backward searching.
4830
4831 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4832 c-slow-in-literal.
4833
4834 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4837
4838 2011-12-13 Martin Rudalics <rudalics@gmx.at>
4839
4840 * window.el (delete-other-windows): Use correct frame in call to
4841 window-with-parameter.
4842
4843 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4844
4845 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4846 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4847 (makefile-gmake-statements, makefile-makepp-statements):
4848 Use it and add new makepp keywords.
4849 (makefile-makepp-font-lock-keywords): Add new patterns.
4850 (makefile-match-function-end): Match new [...] and [[...]].
4851
4852 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * ses.el (ses-call-printer-return, ses-cell-property-get)
4855 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4856 (ses-create-cell-variable, ses-reset-header-string)
4857 (ses-cell-set-formula, ses-repair-cell-reference-all)
4858 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4859 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4860 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4861 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4862 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4863 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4864 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4865 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4866 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4867 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4868 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4869 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4870
4871 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4872
4873 * ses.el: The overall change is to add cell renaming, that is
4874 setting fancy names for cell symbols other than name matching
4875 "\\`[A-Z]+[0-9]+\\'" regexp .
4876 (ses-create-cell-variable): New defun.
4877 (ses-relocate-formula): Relocate formulas only for cells the
4878 symbols of which are not renamed, i.e. symbols whose names do not
4879 match regexp "\\`[A-Z]+[0-9]+\\'".
4880 (ses-relocate-all): Relocate values only for cells the symbols of
4881 which are not renamed.
4882 (ses-load): Create cells variables as the (ses-cell ...) are read,
4883 in order to check row col consistency with cell symbol name only
4884 for cells that are not renamed.
4885 (ses-replace-name-in-formula): New defun.
4886 (ses-rename-cell): New defun.
4887
4888 2011-12-11 Chong Yidong <cyd@gnu.org>
4889
4890 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4891 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4892
4893 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4894
4895 * window.el (other-window): Fix docstring.
4896
4897 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4898
4899 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4900 `from' or `to' address before taking its substring.
4901 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4902 encoded name is chopped in the middle of the encoded string, and
4903 thus displayed encoded.
4904
4905 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4908
4909 2011-12-10 Eli Zaretskii <eliz@gnu.org>
4910
4911 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4912 to use texinfo-update-node and commands that call it if the
4913 Texinfo file uses @node lines without next/prev/up pointers.
4914 Correct outdated description about texinfo-master-menu.
4915 (texinfo-all-menus-update, texinfo-master-menu)
4916 (texinfo-update-node, texinfo-every-node-update)
4917 (texinfo-multiple-files-update): Doc fix. Warn against updating
4918 all the @node lines.
4919 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4920 argument is numeric. Explain better in the doc string what the
4921 function really does.
4922 (texinfo-insert-master-menu-list): Improve the error message
4923 displayed if there's no menu in the Top node.
4924 (Bug#2975) See also this thread:
4925 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4926
4927 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4928
4929 * speedbar.el (speedbar-supported-extension-expressions):
4930 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4931
4932 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
4933
4934 * printing.el (pr-mode-alist):
4935 * simple.el (filter-buffer-substring-functions)
4936 (completion-list-insert-choice-function):
4937 * window.el (window-with-parameter, window-atom-root)
4938 (window-sides-slots, window-size-fixed, window-min-delta)
4939 (window-max-delta, window--resize-mini-window)
4940 (window--resize-child-windows-normal, window-tree)
4941 (delete-other-windows, quit-window, split-window)
4942 (display-buffer-record-window, special-display-buffer-names)
4943 (special-display-regexps, special-display-popup-frame)
4944 (same-window-p, split-window-sensibly)
4945 (display-buffer-overriding-action, display-buffer-alist)
4946 (display-buffer-base-action, display-buffer, switch-to-buffer)
4947 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4948 (fit-window-to-buffer, recenter-positions)
4949 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4950 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4951 and remove unneeded backslashes in docstrings.
4952
4953 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4956
4957 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4958 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4959 end in ".mk".
4960 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4961 when reading the makefile (bug#10116).
4962
4963 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4966 (bug#10116).
4967
4968 2011-12-06 Glenn Morris <rgm@gnu.org>
4969
4970 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4971
4972 2011-12-06 Chong Yidong <cyd@gnu.org>
4973
4974 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4975
4976 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
4977
4978 * textmodes/table.el (table-shorten-cell): Fix typo.
4979
4980 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4981
4982 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4983
4984 2011-12-05 Eli Zaretskii <eliz@gnu.org>
4985
4986 * descr-text.el (describe-char): Fix display of strong
4987 right-to-left characters and directional embeddings and overrides.
4988
4989 * simple.el (what-cursor-position): Fix display of codepoints of
4990 strong right-to-left characters.
4991
4992 2011-12-05 Chong Yidong <cyd@gnu.org>
4993
4994 * faces.el (read-color): Doc fix.
4995
4996 2011-12-05 Glenn Morris <rgm@gnu.org>
4997
4998 * align.el (align--set-marker): Add doc-string.
4999 Don't try to move something that is not a marker. (Bug#10216)
5000
5001 2011-12-04 Glenn Morris <rgm@gnu.org>
5002
5003 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5004 overly zealous deletion of trailing whitespace.
5005
5006 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
5007
5008 * server.el (server-delete-client): On Windows, do not try to delete
5009 the only terminal.
5010 (server-process-filter): On Windows, treat requests for a tty frame as
5011 if they were for a GUI frame if the running server is in GUI mode.
5012
5013 2011-12-03 Glenn Morris <rgm@gnu.org>
5014
5015 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5016
5017 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * electric.el: Streamline electric-indent's hook.
5020 (electric-indent-chars): Revert to simple list.
5021 (electric-indent-functions): New var.
5022 (electric-indent-post-self-insert-function): Use it.
5023
5024 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5025 there's no inferior buffer (bug#10196).
5026 (prolog-consult-compile): Don't use toggle-read-only.
5027
5028 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
5029
5030 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5031 interrupt. (Bug#10187)
5032
5033 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5036 (bug#9160).
5037
5038 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5039 (bug#10191).
5040
5041 2011-12-02 Juri Linkov <juri@jurta.org>
5042
5043 * info.el (Info-search): Display "end of manual" when Isearch
5044 reaches the end of single-file Info manual. (Bug#9918)
5045
5046 2011-12-02 Eli Zaretskii <eliz@gnu.org>
5047
5048 * isearch.el (isearch-message-prefix): Run the input method part
5049 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5050
5051 2011-12-02 Juri Linkov <juri@jurta.org>
5052
5053 * isearch.el (isearch-occur): Use `word-search-regexp' for
5054 `isearch-word'.
5055 (isearch-search-and-update): Add condition for `isearch-word' and
5056 call `word-search-regexp'. (Bug#10145)
5057
5058 2011-12-01 Glenn Morris <rgm@gnu.org>
5059
5060 * eshell/em-hist.el (eshell-hist-initialize):
5061 Handle eshell-history-size nil and HISTSIZE set or unset.
5062 (eshell-history-file-name, eshell-history-size): Fix custom type.
5063
5064 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5067
5068 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
5069
5070 * progmodes/verilog-mode.el (verilog-pretty-expr):
5071 Rework verilog-pretty-expr to handle new assignment operators in system
5072 verilog, such as += *= and the like.
5073 (verilog-assignment-operator-re): Regular expression to find the
5074 assigment operator in a verilog assignment.
5075 (verilog-assignment-operation-re): Regular expression to find an
5076 assignment statement for pretty-expr.
5077 (verilog-in-attribute-p): Query returns true if point is in an
5078 attribute context; used to skip these for expression line up from
5079 pretty-expr.
5080 (verilog-in-parameter-p): Query returns true if point is in an
5081 parameter definition context; used to skip these for expression
5082 line up from pretty-expr.
5083 (verilog-in-parenthesis-p): Query returns true if point is in a
5084 parenthetical expression, specifically ( ) but not [ ] or { };
5085 used by pretty-expr.
5086 (verilog-just-one-space): If there is no space, don't add one.
5087 (verilog-get-lineup-indent-2): Specifically skip just attribute
5088 contexts for expression lineup, rather than skipping all
5089 parenthetical expressions.
5090 (verilog-calculate-indent): Fix comment, and fix indent.
5091 (verilog-do-indent): Indent declarations in lists (suggested by
5092 Joachim Lechner).
5093 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5094 skeleton items.
5095 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5096 by Alain Mellan).
5097
5098 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
5099
5100 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5101 parameters with embedded comments. Reported by Ray Stevens.
5102 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5103 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5104 Reported by Tim Holt.
5105 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5106 instantiated by upper module causing wrong expansion until AUTOed a
5107 second time. Reported by K C Buckenmaier.
5108 (verilog-diff-auto): Fix showing .* as a difference when
5109 `verilog-auto-star-save' off. Reported by Dan Dever.
5110 (verilog-auto-reset, verilog-read-always-signals)
5111 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5112 temporary signals in reset list if
5113 verilog-auto-reset-blocking-in-non is nil, and match assignment
5114 style to each signal's assignment type, bug381.
5115 Reported by Thomas Esposito.
5116 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5117 (verilog-uvm-statement-re): Support UVM indentation and
5118 highlighting, with old OVM keywords only.
5119 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
5120 Support AUTOTIEOFF creating non-wire data types.
5121 Suggested by Jonathan Greenlaw.
5122 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5123 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5124 (verilog-inject-sense, verilog-read-inst-pins)
5125 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5126 Fix mismatching parenthesis inside commented out code when deleting
5127 AUTOINST, bug383. Reported by Jonathan Greenlaw.
5128 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5129 non-numeric vector width. Reported by Alex Reed.
5130 (verilog-auto-ascii-enum): Add "onehot" option to work around not
5131 detecting signals with parameter widths. Reported by Alex Reed.
5132 (verilog-auto-delete-trailing-whitespace):
5133 With `verilog-auto-delete-trailing-whitespace' remove trailing
5134 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5135 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5136 Fix verilog-scan-cache corruption when running user AUTO expansion
5137 hooks that call indentation routines.
5138 (verilog-simplify-range-expression): Fix typo ignoring lower case
5139 identifiers.
5140 (verilog-delete-auto): Fix delete-autos to also remove user created
5141 automatics, as long as they start with AUTO.
5142 (verilog-batch-diff-auto, verilog-diff-auto)
5143 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5144 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5145 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5146 (verilog-in-paren-quick, verilog-re-search-backward-quick)
5147 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5148 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
5149 is disabled and its cache will get corrupt, causing AUTOS not to
5150 expand. Instead use only -quick functions.
5151 (verilog-scan-region): Fix scanning over escaped quotes.
5152 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5153 (verilog-re-search-backward-quick)
5154 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5155 related functions now ignore strings, to fix misparsing of strings
5156 with magic comments embedded in them.
5157 (verilog-read-auto-template):
5158 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5159 Reported by Brad Dobbie.
5160 (verilog-read-auto-template):
5161 Fix 'verilog-auto-inst-template-numbers' with comments.
5162 Reported by Brad Dobbie.
5163 (verilog-auto-inst, verilog-auto-inst-param)
5164 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
5165 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
5166 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
5167 debugging templates without merge conflicts, bug357.
5168 Reported by Brad Dobbie.
5169 (verilog-read-auto-template):
5170 Fix verilog-auto-inst-template-numbers with multiple templates.
5171 Reported by Brad Dobbie.
5172 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
5173 abbrevs so user won't be asked to save.
5174 (verilog-read-auto-lisp-present): Fix to start at beginning of
5175 buffer in case called outside of verilog-auto.
5176 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
5177 to "X-2". Reported by Matthew Myers.
5178 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
5179 all inputs from module templates. Reported by Leith Johnson.
5180 (verilog-module-inside-filename-p): Fix locating programs as with
5181 modules.
5182 (verilog-auto-inst-port): Fix vl-width expressions when using
5183 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
5184 (verilog-decls-get-regs, verilog-decls-get-signals,
5185 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
5186 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
5187 verilog-read-decls): Combine reg and wire structures into one var
5188 structure to represent SystemVerilog concepts.
5189 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
5190 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
5191 (verilog-auto-wire-type, verilog-insert-definition):
5192 Add verilog-auto-wire-type and AUTOLOGIC to support using
5193 SystemVerilog "logic" keyword instead of "wire"/"reg".
5194 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
5195 to declares outputs that also have assignments (presumably in an
5196 ifdef or generate if so there's not a driver conflict).
5197 Reported by Matthew Myers.
5198 (verilog-auto-declare-nettype, verilog-insert-definition):
5199 Add verilog-auto-declare-nettype to fix declarations using
5200 `default_nettype none. Reported by Julian Gorfajn.
5201 (verilog-read-always-signals-recurse, verilog-read-decls)
5202 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
5203 malformed end statement, bug325. Reported by Joshua Wise and
5204 Andrew Drake.
5205 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
5206 (verilog-inst-comment-re): Fix not deleting Interfaced comment
5207 when expanding .* in interfaces, bug320.
5208 Reported by Pierre-David Pfister.
5209 (verilog-read-module-name): Fix import statements between module
5210 name and open parenthesis, bug317.
5211 Reported by Pierre-David Pfister.
5212 (verilog-simplify-range-expression): Fix simplification of
5213 multiplications inside AUTOWIRE connections, bug303.
5214 (verilog-auto-inst-port): Support parameter expansion in
5215 multidimensional arrays.
5216 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
5217 after "assert property". Reported by Julian Gorfajn.
5218 (verilog-simplify-range-expression): Fix "couldn't merge" errors
5219 with multiplication, bug303.
5220 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
5221 Reported by Jan Frode Lonnum.
5222
5223 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
5224
5225 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
5226 (hfy-shell-file-name, hfy-shell):
5227 * international/fontset.el (x-decompose-font-name): Fix typos.
5228
5229 2011-11-29 Ken Brown <kbrown@cornell.edu>
5230
5231 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
5232 (gdb-version): Remove defvar.
5233 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
5234 (gdb-gud-context-command, gdb-non-stop-handler)
5235 (gdb-current-context-command, gdb-stopped): Use it.
5236 (gdb-init-1): Enable pretty printing here.
5237 (gdb-non-stop-handler): Don't enable pretty-printing here.
5238 Check to see if the target supports non-stop mode; if not, turn off
5239 non-stop mode. Use the following.
5240 (gdb-check-target-async): New defun.
5241 (gud-watch, gdb-stopped): Fix whitespace.
5242 (gdb-get-source-file): Don't try to display the source file if
5243 `gdb-main-file' is nil.
5244
5245 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * align.el: Try to generate fewer markers (bug#10047).
5248 (align--set-marker): New macro.
5249 (align-region): Use it.
5250
5251 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5252
5253 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
5254
5255 2011-11-29 Chong Yidong <cyd@gnu.org>
5256
5257 * indent.el (indent-for-tab-command, indent-according-to-mode):
5258 Doc fix.
5259 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
5260
5261 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
5264 aware of remote file names. (Bug#10124)
5265
5266 2011-11-29 Chong Yidong <cyd@gnu.org>
5267
5268 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
5269
5270 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * files.el (find-file): Don't use force-same-window (bug#10144).
5273 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
5274 use pop-to-buffer if the selected window can't be used.
5275 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
5276
5277 2011-11-28 Eli Zaretskii <eliz@gnu.org>
5278
5279 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
5280 special-mode-map.
5281
5282 2011-11-28 Chong Yidong <cyd@gnu.org>
5283
5284 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5285
5286 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
5287
5288 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5289 gdb-get-source-file-list on gdb-create-source-file-list.
5290
5291 2011-11-26 Eli Zaretskii <eliz@gnu.org>
5292
5293 * whitespace.el (whitespace-newline): Use a different foreground
5294 color for 16-color light-background displays.
5295
5296 2011-11-24 Chong Yidong <cyd@gnu.org>
5297
5298 * window.el (display-buffer--special-action): Doc fix.
5299
5300 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
5301
5302 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5303 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5304 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5305 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5306 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5307 (avl-tree-stack-first):
5308 * emacs-lisp/cconv.el (cconv--analyse-use):
5309 * net/gnutls.el (gnutls-negotiate): Fix typos.
5310
5311 2011-11-24 Glenn Morris <rgm@gnu.org>
5312
5313 * lpr.el (lpr-windows-system, lpr-lp-system):
5314 * mail/binhex.el (binhex-begin-line):
5315 * progmodes/grep.el (grep-history, grep-find-history):
5316 * textmodes/flyspell.el:
5317 * vc/pcvs-defs.el (cvs-global-menu):
5318 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5319 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5320 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5321
5322 * net/tls.el: Fix case of "GnuTLS".
5323
5324 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5325
5326 * version.el (emacs-build-system): Give it a doc-string.
5327
5328 2011-11-24 Juri Linkov <juri@jurta.org>
5329
5330 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5331
5332 2011-11-24 Glenn Morris <rgm@gnu.org>
5333
5334 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5335 if called on a non-mime message just toggle the headers. (Bug#8006)
5336
5337 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
5338
5339 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5340 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5341 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5342 (allout-rebullet-heading, allout-open-sibtopic)
5343 (allout-toggle-current-subtree-encryption)
5344 (allout-toggle-subtree-encryption, allout-encrypt-string)
5345 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5346 (allout-distinctive-bullets-string, allout-auto-activation):
5347 * window.el (window-normalize-buffer-to-display):
5348 * progmodes/verilog-mode.el (verilog-batch-indent):
5349 * textmodes/bibtex.el (bibtex-field-braces-opt)
5350 (bibtex-field-strings-opt):
5351 * vc/cvs-status.el (cvs-tree-merge):
5352 Fix typos.
5353
5354 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
5355
5356 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5357 `non-essential' to t, in order to avoid remote connections.
5358
5359 2011-11-23 Eli Zaretskii <eliz@gnu.org>
5360
5361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5362 On MS-DOS and MS-Windows, compare with loaddefs.el
5363 case-insensitively.
5364
5365 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5366
5367 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5368
5369 2011-11-23 Glenn Morris <rgm@gnu.org>
5370
5371 * paths.el (rmail-file-name): Reformat the doc-string so that it
5372 is picked up.
5373
5374 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5375 (rmail-auto-file): Ignore case in the "special" field names,
5376 as mail-fetch-field does for all others.
5377
5378 * mail/rmail.el (rmail-forward):
5379 * mail/rmailkwd.el (rmail-set-label):
5380 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5381 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5382
5383 * mail/rmail.el (rmail-current-message): Doc fix.
5384
5385 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5386
5387 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5390
5391 2011-11-22 Glenn Morris <rgm@gnu.org>
5392
5393 * mail/rmailmm.el (test-rmail-mime-handler)
5394 (test-rmail-mime-bulk-handler)
5395 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5396
5397 2011-11-21 Juri Linkov <juri@jurta.org>
5398
5399 * calc/calc.el (calc-read-key-sequence):
5400 Let-bind `input-method-function' to nil. (Bug#10018)
5401
5402 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5403
5404 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5405 Tell the caller that the next line needs recomputation, even
5406 though it doesn't start a sexp (bug#10094).
5407
5408 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5411
5412 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5415 Use force-same-window.
5416
5417 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5418
5419 * descr-text.el (describe-char-unicode-data):
5420 * json.el (json-string-escape):
5421 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5422 (Footnote-unicode, Footnote-style-p):
5423 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5424
5425 2011-11-20 Chong Yidong <cyd@gnu.org>
5426
5427 * window.el (replace-buffer-in-windows): Restore interactive spec.
5428
5429 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5432
5433 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5434 (byte-compile-global-not-obsolete-vars): New var.
5435 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5436 Use it.
5437 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5438
5439 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
5440
5441 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5442 * progmodes/pascal.el (electric-pascal-equal):
5443 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5444 * xml.el (xml-substitute-special): Fix typos.
5445
5446 2011-11-20 Glenn Morris <rgm@gnu.org>
5447
5448 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5449 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5450 Doc fixes.
5451 (rmail-decode-mime-charset): Mark as obsolete.
5452
5453 * mail/rmailsum.el (rmail-message-regexp-p-1):
5454 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5455 Before using mime functions, check they are set. (Bug#10077)
5456
5457 2011-11-19 Juri Linkov <juri@jurta.org>
5458
5459 * info.el (Info-finder-find-node): Use `package--builtins' instead
5460 of `package-alist'. Use node names formed by the pattern "Keyword "
5461 and the keyword name.
5462
5463 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5464
5465 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5466
5467 2011-11-19 Juri Linkov <juri@jurta.org>
5468
5469 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5470 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5471 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5472 `old-history', `old-history-forward'. Add let-binding
5473 `window-selected'. Remove calls to `kill-buffer',
5474 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5475 before calling `Info-find-node', so `Info-find-node-2' will reread
5476 the Info file. Restore window positions only when `window-selected'
5477 is non-nil.
5478
5479 2011-11-19 Juri Linkov <juri@jurta.org>
5480
5481 * isearch.el (isearch-lazy-highlight-new-loop):
5482 Remove condition `(not isearch-error)'. (Bug#9918)
5483
5484 * misearch.el (multi-isearch-search-fun): Add condition
5485 `(not bound)' to ignore lazy-highlighting search.
5486 Add the search-failed message "end of multi" when the end of
5487 multi-sequence is reached. Uncapitalize the search-failed
5488 message "Repeat for next buffer".
5489
5490 * info.el (Info-search): Add the search-failed message
5491 "end of the manual" when the end of the manual is reached
5492 in Isearch mode.
5493
5494 2011-11-19 Juri Linkov <juri@jurta.org>
5495
5496 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5497 Use non-destructive `remove' instead of `delete' because
5498 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5499 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5500
5501 2011-11-19 Juri Linkov <juri@jurta.org>
5502
5503 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5504 to nil instead of binding `search-ring' and `regexp-search-ring'.
5505 (Bug#9185)
5506
5507 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5508
5509 * simple.el (line-move): Force movement by logical lines for any
5510 hscrolled window, not only when auto-hscroll-mode is on.
5511 (line-move-visual): Update doc string to that effect. (Bug#10076)
5512
5513 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * language/european.el (macintosh): Define as alias for mac-roman.
5516
5517 2011-11-19 Eli Zaretskii <eliz@gnu.org>
5518
5519 * mail/rmailmm.el (rmail-mime-display-header)
5520 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5521 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5522 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5523 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5524 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5525 of a raw aref.
5526 (rmail-mime-entity-segment): To get past the tagline, move forward
5527 2 more lines, to account for the 2 empty lines that precede and
5528 follow the line with the buttons.
5529 (rmail-mime-update-tagline): Move one more line, to get past the
5530 empty line that follows the buttons in the tagline. (Bug#9520)
5531
5532 2011-11-19 Martin Rudalics <rudalics@gmx.at>
5533
5534 * window.el (window-max-delta-1, window-min-delta-1)
5535 (window-min-size-1, window-state-get-1, window-state-put-1)
5536 (window-state-put-2): Use "window--" prefix.
5537
5538 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5541 (smie-warning-count): New var.
5542 (smie-set-prec2tab): Use it.
5543 (smie-bnf->prec2): Improve warnings. Add docstring.
5544 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5545 (smie-bnf--set-class): New function.
5546 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5547 corner case.
5548
5549 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5550 (compilation-error-properties, compilation-move-to-column):
5551 Handle compilation-first-column while in the target buffer.
5552
5553 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5554 Don't hardcode point-min==1.
5555
5556 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5557 (eshell-rewrite-for-command): Remove workaround.
5558 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5559 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5560 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5561
5562 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5563
5564 2011-11-17 Glenn Morris <rgm@gnu.org>
5565
5566 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5567 Ignore buffer-local generated-autoload-file if it is the same
5568 as the global value. (Bug#10049)
5569
5570 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5573 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5574 (reftex-toc-previous-heading, reftex-toc-max-level)
5575 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5576 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5577 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5578 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5579 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5580 (reftex-toc-rename-label, reftex-toc-visit-location)
5581 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5582 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5583 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5584 leaving "*toc*" only for references to the buffer.
5585
5586 2011-11-17 Martin Rudalics <rudalics@gmx.at>
5587
5588 * window.el (window-resize, delete-window, split-window):
5589 Replace window-splits by window-combination-resize.
5590 * cus-start.el (window-splits): Replace by window-combination-resize.
5591
5592 2011-11-17 Glenn Morris <rgm@gnu.org>
5593
5594 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5595 Make bash entry derive from sh entry, not shell entry.
5596
5597 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5600 properties of linked files. (Bug#9879)
5601
5602 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5603 local file name.
5604
5605 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * menu-bar.el (menu-bar-file-menu):
5608 * printing.el (pr-ps-utility):
5609 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5610 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5611 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5612 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5613 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5614 (icalendar--convert-cyclic-to-ical)
5615 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5616 (icalendar--convert-ical-to-diary)
5617 (icalendar--convert-recurring-to-diary)
5618 (icalendar--convert-non-recurring-all-day-to-diary)
5619 (icalendar-import-format-sample):
5620 * progmodes/idlw-shell.el (idlwave-shell-mode):
5621 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5622 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5623 (vhdl-ps-print-init): Fix typos.
5624
5625 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5626
5627 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5628 FSF and collapse date sequence, obscure author/maintainer email address
5629 better, remove extra version line, track relocation of author's webpage.
5630
5631 * progmodes/python.el (python-pdbtrack-input-prompt)
5632 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5633 regular python pdb prompts. Adjustments shamelessly taken exactly as
5634 suggested in EmacsWiki page (tiny change):
5635 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5636
5637 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
5638
5639 * expand.el (expand-pos, expand-index, expand-point):
5640 Remove redundant info from docstring.
5641 (expand-add-abbrevs): Doc fix.
5642 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5643 (expand-sample-perl-mode-expand-list): Fix typos.
5644
5645 * net/dbus.el (dbus-event-member-name):
5646 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5647 * term/pc-win.el (msdos-create-frame-with-faces):
5648 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5649
5650 2011-11-16 Martin Rudalics <rudalics@gmx.at>
5651
5652 * window.el (split-window, window-state-get-1)
5653 (window-state-put-1, window-state-put-2): Rename occurrences of
5654 window-nest to window-combination-limit.
5655 * cus-start.el (window-nest): Rename to window-combination-limit.
5656
5657 2011-11-16 Chong Yidong <cyd@gnu.org>
5658
5659 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5660 regexp (Bug#10033).
5661
5662 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5663
5664 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5665 `completing-read' will remove *Completions* and will preserve
5666 current-buffer for us.
5667 (tmm-add-prompt): Users of *Completions* will always (re)set its
5668 major mode.
5669 (tmm-old-comp-map): Remove.
5670
5671 2011-11-16 Glenn Morris <rgm@gnu.org>
5672
5673 * mail/rmailedit.el: Require rmailmm when compiling.
5674 (rmail-old-mime-state): New declaration.
5675 (rmail-edit-current-message): If editing a mime message,
5676 edit the "raw" message from the mbox buffer.
5677 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5678
5679 2011-11-15 Glenn Morris <rgm@gnu.org>
5680
5681 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5682 which wasn't being used. Add optional arg to force given state.
5683 (rmail-mime): Add optional arg to force given state.
5684
5685 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5686
5687 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5688 * frame.el (display-mm-dimensions-alist):
5689 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5690 (outline-move-subtree-down):
5691 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5692 (newsticker--treeview-do-get-node):
5693 * net/quickurl.el (quickurl-list-buffer-name):
5694 * progmodes/dcl-mode.el (dcl-mode):
5695 * progmodes/gdb-mi.el (gdb-mapcar*):
5696 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5697
5698 2011-11-15 Glenn Morris <rgm@gnu.org>
5699
5700 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5701 in a boolean sense, so just make it a boolean, and fix the doc.
5702 (rmail-show-mime-function, rmail-mime-feature)
5703 (rmail-require-mime-maybe): Doc fixes.
5704 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5705
5706 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5707
5708 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
5709
5710 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5711 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5712 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5713 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5714
5715 2011-11-15 Glenn Morris <rgm@gnu.org>
5716
5717 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5718 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5719 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5720 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5721 (rmail-mime, rmail-show-mime): Doc fixes.
5722
5723 * term/ns-win.el (mode-line-frame-identification):
5724 Leave it alone. (Bug#10051)
5725
5726 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5727
5728 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5729 Handle empty buffers. (Bug#9978)
5730
5731 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
5732
5733 * international/mule.el (define-charset):
5734 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5735 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5736 * progmodes/verilog-mode.el (verilog-backward-token):
5737 * textmodes/ispell.el (lookup-words):
5738 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5739
5740 2011-11-14 Glenn Morris <rgm@gnu.org>
5741
5742 * progmodes/executable.el
5743 (executable-make-buffer-file-executable-if-script-p):
5744 Handle file-modes returning nil.
5745
5746 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5747 message - not necessary, and causes problems. (Bug#9831)
5748
5749 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5750
5751 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5752
5753 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5754 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5755 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5756
5757 2011-11-12 Martin Rudalics <rudalics@gmx.at>
5758
5759 * window.el (window-resize, delete-window): Use window-splits
5760 variable instead of function.
5761 (window-state-get-1, window-state-put-2, window-state-put):
5762 Don't deal with windows' splits status.
5763
5764 2011-11-12 Glenn Morris <rgm@gnu.org>
5765
5766 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5767 (apropos-documentation): Doc fixes.
5768
5769 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5772 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5773
5774 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * electric.el (electric-indent-post-self-insert-function): Make it
5777 possible for a char to only indent in some circumstances.
5778 (electric-indent-mode): Simplify.
5779
5780 2011-11-11 Martin Rudalics <rudalics@gmx.at>
5781
5782 * window.el (windows-with-parameter): Remove unused function.
5783 (windows-at-side): Rename to window-at-side-list.
5784 (window-check, window-atom-check, window-atom-check-1)
5785 (window-side-check, window-size-ignore, window-size-fixed-1)
5786 (window-in-direction-2): Prefix with "window--".
5787 (window-tree-1): Rename to window--subtree, fix doc-string.
5788
5789 2011-11-11 Glenn Morris <rgm@gnu.org>
5790
5791 * subr.el (eval-after-load): If FILE is already loaded,
5792 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5793
5794 2011-11-10 Glenn Morris <rgm@gnu.org>
5795
5796 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5797 Call svn via vc-svn-command rather than vc-do-command.
5798 (vc-svn-command): Add --non-interactive. (Bug#9993)
5799 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5800
5801 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5802 Add toggle-read-only. (Bug#7292)
5803 * files.el (toggle-read-only): Mention that it should only
5804 be used interactively. (Bug#10006)
5805
5806 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5809 Adjust regexp for OCaml warnings.
5810
5811 * electric.el (electric-pair-post-self-insert-function): Let user
5812 turn it off buffer-locally (bug#9932).
5813
5814 * progmodes/python.el (python-beginning-of-statement):
5815 Rewrite (bug#2703).
5816
5817 * progmodes/compile.el: Better handle TABs (bug#9749).
5818 (compilation-internal-error-properties)
5819 (compilation-next-error-function): Obey the target buffer's
5820 compilation-error-screen-columns.
5821
5822 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
5823
5824 * progmodes/meta-mode.el: Remove obsolete comments.
5825 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5826 Fix typos in docstrings.
5827
5828 2011-11-09 Martin Rudalics <rudalics@gmx.at>
5829
5830 * window.el (window-size-fixed-p): Rewrite doc-string.
5831 (window-resizable-p): Rename to window--resizable-p. Update callers.
5832 (window--resizable): New function. Make all callers of
5833 window-resizable call window--resizable instead.
5834 (window-resizable): Rewrite in terms of window--resizable.
5835
5836 2011-11-08 Glenn Morris <rgm@gnu.org>
5837
5838 * progmodes/delphi.el (delphi-mode-syntax-table):
5839 Let define-derived-mode define a proper syntax table. (Bug#9994)
5840
5841 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * window.el: Stay away from defsubst.
5844 (window-list-no-nils): Remove.
5845 (window-state-get-1, window-state-get): Use backquote instead.
5846
5847 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5848
5849 * emacs-lisp/find-func.el (find-function-read):
5850 Fix incorrect use of default argument in `completing-read'.
5851
5852 2011-11-08 Martin Rudalics <rudalics@gmx.at>
5853
5854 * window.el (display-buffer-function, special-display-function):
5855 Mention display-buffer-record-window but do not mention
5856 help-setup parameter in doc-strings.
5857 (window-min-delta): Fix doc-string typo.
5858
5859 2011-11-08 Chong Yidong <cyd@gnu.org>
5860
5861 * window.el (window-total-height, window-total-width): Doc fix.
5862 (window-body-size): Move from C.
5863 (window-body-height, window-body-width): Move to C.
5864
5865 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * window.el: Make special-display like display-buffer-alist (bug#9532).
5868 (display-buffer--special-action): New function, morphed
5869 from display-buffer--special.
5870 (display-buffer): Use it to handle special-display-buffers at higher
5871 priority (just after display-buffer-alist).
5872 (display-buffer-fallback-action, display-buffer--other-frame-action)
5873 (pop-to-buffer-same-window): Remove display-buffer--special.
5874
5875 2011-11-07 Glenn Morris <rgm@gnu.org>
5876
5877 * calendar/cal-menu.el (cal-menu-set-date-title):
5878 Do nothing if not in a calendar. (Bug#9976)
5879
5880 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * files.el (find-file): Always use selected-window.
5883
5884 2011-11-07 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (window-combinations): Make WINDOW argument
5887 mandatory. Rewrite doc-string.
5888 (walk-window-subtree, window-atom-check, window-min-delta)
5889 (window-max-delta, window--resize-this-window)
5890 (window--resize-root-window-vertically, window-tree)
5891 (balance-windows, window-state-put): Rewrite doc-strings as to
5892 not mention the term "subwindow".
5893 (window--resize-subwindows-skip-p): Rename to
5894 window--resize-child-windows-skip-p.
5895 (window--resize-subwindows-normal): Rename to
5896 window--resize-child-windows-normal.
5897 (window--resize-subwindows): Rename to
5898 window--resize-child-windows.
5899 (window-or-subwindow-p): Rename to window--in-subtree-p.
5900
5901 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5902
5903 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5904 Ensure that mbox format messages end in two newlines (Bug#9974).
5905
5906 2011-11-06 Chong Yidong <cyd@gnu.org>
5907
5908 * window.el (window-combination-p): Function deleted; its
5909 side-effect is not used in any existing code.
5910 (window-combinations, window-combined-p): Call window-*-child
5911 directly.
5912
5913 2011-11-05 Chong Yidong <cyd@gnu.org>
5914
5915 * window.el (window-valid-p): Rename from window-any-p.
5916 (window-size-ignore, window-state-get): Callers changed.
5917 (window-normalize-window): Rename from window-normalize-any-window.
5918 New arg LIVE-ONLY, replacing window-normalize-live-window.
5919 (window-normalize-live-window): Delete.
5920 (window-combination-p, window-combined-p, window-combinations)
5921 (walk-window-subtree, window-atom-root, window-min-size)
5922 (window-sizable, window-sizable-p, window-size-fixed-p)
5923 (window-min-delta, window-max-delta, window-resizable)
5924 (window-resizable-p, window-full-height-p, window-full-width-p)
5925 (window-current-scroll-bars, window-point-1, set-window-point-1)
5926 (window-at-side-p, window-in-direction, window-resize)
5927 (adjust-window-trailing-edge, maximize-window, minimize-window)
5928 (window-deletable-p, delete-window, delete-other-windows)
5929 (record-window-buffer, unrecord-window-buffer)
5930 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5931 (quit-window, split-window, window-state-put)
5932 (set-window-text-height, fit-window-to-buffer)
5933 (shrink-window-if-larger-than-buffer): Callers changed.
5934
5935 2011-11-04 Eli Zaretskii <eliz@gnu.org>
5936
5937 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5938 rfc2047-decode-string.
5939 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5940 warnings.
5941
5942 * window.el (window-body-height, window-body-width): Mention in
5943 the doc string that the return values are in frame's canonical
5944 units. (Bug#9949)
5945
5946 2011-11-03 Alan Mackenzie <acm@muc.de>
5947
5948 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5949 change in cc-engine.el.
5950
5951 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5954
5955 2011-11-02 Martin Rudalics <rudalics@gmx.at>
5956
5957 * window.el (quit-window): Call unrecord-window-buffer after
5958 showing another buffer in the window. (Bug#9937)
5959 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5960
5961 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
5962
5963 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5964 Accept status with more than 9 shelves. (Bug#9935)
5965 Reported by Colin D Bennett <colin@gibibit.com>.
5966
5967 2011-11-01 Martin Rudalics <rudalics@gmx.at>
5968
5969 * help.el (with-help-window): Don't reference
5970 temp-buffer-show-specifiers in doc-string.
5971
5972 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5973
5974 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5975 menu-item.
5976
5977 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5978
5979 * whitespace.el: New version 13.2.2.
5980 (whitespace-newline-mode): Disable properly. Reported by Sarah
5981 <EmacsWiki>.
5982
5983 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
5984
5985 * net/newst-treeview.el: Remove "Time-stamp".
5986 (newsticker--group-manage-orphan-feeds): Do not call
5987 newsticker--treeview-tree-update.
5988 (newsticker-treeview-update, newsticker-treeview):
5989 Call newsticker--treeview-tree-update if necessary.
5990
5991 2011-10-30 Martin Rudalics <rudalics@gmx.at>
5992
5993 * window.el (window-iso-combination-p, window-iso-combined-p)
5994 (window-iso-combinations): Remove "iso-" infix.
5995 Suggested by Chong Yidong.
5996 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5997 (window-max-delta-1, window-resize, window--resize-siblings)
5998 (window--resize-this-window, adjust-window-trailing-edge)
5999 (split-window, balance-windows-1)
6000 (shrink-window-if-larger-than-buffer):
6001 * calendar/calendar.el (calendar-generate-window):
6002 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
6003
6004 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6007 in place (bug#9907).
6008 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6009 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6010 (eshell-structure-basic-command, eshell-rewrite-while-command)
6011 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6012 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6013 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6014 (eshell-do-pipelines-synchronously, eshell-eval-command):
6015 Use backquotes and prefer setq to set.
6016 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6017 (eshell-macrop): Use functionp.
6018 (eshell-do-eval): Handle multiple expressions in `while' body.
6019
6020 2011-10-30 Chong Yidong <cyd@gnu.org>
6021
6022 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6023 instead of set-mark (Bug#9810).
6024
6025 2011-10-30 Chong Yidong <cyd@gnu.org>
6026
6027 * window.el (split-window-below, split-window-right): Rename from
6028 split-window-above-each-other and split-window-side-by-side
6029 respectively. All callers changed.
6030 (split-window-sensibly, split-window-sensibly): Use them.
6031 (split-window-keep-point): Doc fix.
6032
6033 * isearch.el: Add isearch-scroll property to split-window-below
6034 and split-window-right.
6035
6036 * follow.el (follow-mode):
6037 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6038 * progmodes/ada-xref.el (ada-gdb-application):
6039 * emulation/vip.el (vip-buffer-in-two-windows):
6040 * image-dired.el (image-dired-dired-with-window-configuration):
6041 * dired-x.el (dired-do-find-marked-files):
6042 * dired.el (dired-pop-to-buffer):
6043 * bs.el (bs--show-with-configuration):
6044 * vc/emerge.el (emerge-setup-windows):
6045 * textmodes/two-column.el (2C-two-columns):
6046 * textmodes/reftex-toc.el (reftex-toc):
6047 * progmodes/gdb-mi.el (gdb-setup-windows):
6048 * progmodes/fortran.el (fortran-window-create):
6049 * net/newst-treeview.el (newsticker--treeview-window-init):
6050 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6051 * emulation/tpu-edt.el (tpu-gold-map):
6052 * emulation/crisp.el (crisp-mode-map):
6053 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6054
6055 2011-10-29 Chong Yidong <cyd@gnu.org>
6056
6057 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6058
6059 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6060
6061 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6062 forged Ispell output (Bug#7904).
6063
6064 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6065
6066 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * doc-view.el: Avoid ugly errors about not finding nil.
6069 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6070 (doc-view-dvipdf-program, doc-view-unoconv-program)
6071 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6072 Avoid nil or absolute file name as default value.
6073 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6074
6075 2011-10-28 Alan Mackenzie <acm@muc.de>
6076
6077 * progmodes/cc-defs.el (c-version): -> 5.32.2.
6078
6079 2011-10-28 Alan Mackenzie <acm@muc.de>
6080
6081 Amend the handling of c-beginning/end-of-defun in nested declaration
6082 scopes.
6083
6084 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6085 cc-langs.el. Change it to a defcustom.
6086
6087 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6088 cc-vars.el.
6089
6090 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6091 Prevent "class foo : bar" being spuriously recognized as a label.
6092
6093 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
6094 Add parameter `inclusive' (to include enclosing braces in the region).
6095 (c-widen-to-enclosing-decl-scope): New function.
6096 (c-while-widening-to-decl-block): New macro.
6097 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6098 outward for defun boundaries, and correspondingly change symbol
6099 `respect-enclosure' to `go-outward'.
6100 (c-declaration-limits): Change algorithm to report only the "innermost"
6101 defun's boundaries.
6102
6103 2011-10-28 Deniz Dogan <deniz@dogan.se>
6104
6105 * net/rcirc.el (rcirc-mode): Use hard newlines.
6106
6107 2011-10-28 Alan Mackenzie <acm@muc.de>
6108
6109 Amend to indent and fontify macros "which include their own semicolon"
6110 correctly, using the "virtual semicolon" mechanism.
6111
6112 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
6113
6114 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6115 Recode to scan one line at a time rather than having \n and \r
6116 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
6117 (c-forward-label): Amend for virtual semicolons.
6118 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
6119
6120 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6121 of the new C macros.
6122
6123 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
6124 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6125 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
6126 (c-opt-cpp-macro-define): Make into a full language variable.
6127 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6128 AWK Mode (including \n, \r) removed, no longer needed.
6129
6130 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6131 Invoke c-make-macro-with-semi-re.
6132
6133 * progmodes/cc-vars.el (c-macro-with-semi-re):
6134 (c-macro-names-with-semicolon): New variables.
6135 (c-make-macro-with-semi-re): New function.
6136
6137 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * vc/log-edit.el: Fill empty field rather than adding new one.
6140 (log-edit-add-field): New function.
6141 (log-edit-insert-changelog): Use it.
6142
6143 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6144
6145 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6146
6147 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6150 (gdb--check-interpreter): New function.
6151 (gdb): Use it.
6152
6153 2011-10-27 Glenn Morris <rgm@gnu.org>
6154
6155 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6156 (least-positive-float, least-negative-float)
6157 (least-positive-normalized-float, least-negative-normalized-float)
6158 (float-epsilon, float-negative-epsilon):
6159 Remove unnecessary declarations.
6160
6161 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6162 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6163 (least-positive-float, least-negative-float)
6164 (least-positive-normalized-float, least-negative-normalized-float)
6165 (float-epsilon, float-negative-epsilon): Add doc-strings,
6166 based on those in cl.texi.
6167
6168 * files.el (set-visited-file-name): If the major-mode changed,
6169 reload the local variables. (Bug#9796)
6170
6171 2011-10-27 Chong Yidong <cyd@gnu.org>
6172
6173 * subr.el (change-major-mode-after-body-hook): New hook.
6174 (run-mode-hooks): Run it.
6175
6176 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6177 Use change-major-mode-before-body-hook.
6178
6179 * simple.el (fundamental-mode):
6180 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
6181 change introducing fundamental-mode-hook.
6182
6183 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
6186
6187 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
6188
6189 * ido.el (ido-file-name-all-completions-1): Do not require
6190 tramp.el explicitly. (Bug#7583)
6191
6192 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * progmodes/octave-mod.el:
6195 * progmodes/octave-inf.el: Update maintainer.
6196
6197 2011-10-26 Chong Yidong <cyd@gnu.org>
6198
6199 * subr.el (with-wrapper-hook): Rewrite doc.
6200
6201 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
6202
6203 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
6204 filenames "/method:foo:". (Bug#9793)
6205
6206 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
6209 (bug#9865).
6210
6211 2011-10-24 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
6214
6215 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
6216
6217 * notifications.el: Add the requirement of a running D-Bus session
6218 bus to the Commentary.
6219
6220 2011-10-24 Juri Linkov <juri@jurta.org>
6221
6222 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6223 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
6224 (Bug#9364)
6225
6226 2011-10-24 Juri Linkov <juri@jurta.org>
6227
6228 * info.el (Info-following-node-name-re): Add newline to the list
6229 of allowed characters for leading space. (Bug#9824)
6230
6231 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6232
6233 * progmodes/octave-inf.el (inferior-octave-mode-map):
6234 Fix C-c C-h binding.
6235 * progmodes/octave-mod.el (octave-help): Remove.
6236
6237 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
6238
6239 Sync with Tramp 2.2.3.
6240
6241 * net/tramp-cache.el (top): Pacify byte-compiler using
6242 `init-file-user' and `site-run-file'.
6243
6244 * net/trampver.el: Update release number.
6245
6246 2011-10-23 Chong Yidong <cyd@gnu.org>
6247
6248 * files.el (toggle-read-only): Remove obsolete comment about
6249 version control.
6250
6251 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
6252 for toggle-read-only. Note that this hasn't called vc-next-action
6253 since 2008-05-02, though it wasn't documented at the time.
6254
6255 * vc/ediff-init.el (ediff-toggle-read-only-function):
6256 Use toggle-read-only.
6257
6258 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
6259
6260 Fix bug #9560, sporadic wrong indentation; improve instrumentation
6261 of c-parse-state.
6262
6263 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6264 correct faulty logical expression.
6265 (c-parse-state-state, c-record-parse-state-state):
6266 (c-replay-parse-state-state): New defvar/defuns.
6267 (c-debug-parse-state): Use new functions.
6268
6269 2011-10-22 Martin Rudalics <rudalics@gmx.at>
6270
6271 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
6272 last fix. Use window-in-direction correctly.
6273
6274 2011-10-21 Chong Yidong <cyd@gnu.org>
6275
6276 * progmodes/idlwave.el (idlwave-mode):
6277 * progmodes/vera-mode.el (vera-mode): No need to set
6278 require-final-newline; that's done in prog-mode.
6279 Suggested by Stefan Monnier.
6280
6281 2011-10-21 Martin Rudalics <rudalics@gmx.at>
6282
6283 * mouse.el (mouse-drag-window-above)
6284 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6285 (mouse-drag-mode-line-1, mouse-drag-header-line)
6286 (mouse-drag-vertical-line-rightward-window): Remove.
6287 (mouse-drag-line): New function.
6288 (mouse-drag-mode-line, mouse-drag-header-line)
6289 (mouse-drag-vertical-line): Call mouse-drag-line.
6290 * window.el (window-at-side-p, windows-at-side): New functions.
6291
6292 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
6293
6294 * tar-mode.el (tar-grind-file-mode):
6295 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6296
6297 2011-10-21 Chong Yidong <cyd@gnu.org>
6298
6299 * progmodes/idlwave.el (idlwave-mode):
6300 * progmodes/vera-mode.el (vera-mode):
6301 Use mode-require-final-newline.
6302
6303 2011-10-20 Glenn Morris <rgm@gnu.org>
6304
6305 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6306
6307 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6308
6309 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6310
6311 2011-10-20 Chong Yidong <cyd@gnu.org>
6312
6313 * emulation/cua-base.el (cua-mode):
6314 * mail/footnote.el (footnote-mode):
6315 * mail/mailabbrev.el (mail-abbrevs-mode):
6316 * net/xesam.el (xesam-minor-mode):
6317 * progmodes/bug-reference.el (bug-reference-mode):
6318 * progmodes/cap-words.el (capitalized-words-mode):
6319 * progmodes/compile.el (compilation-minor-mode)
6320 (compilation-shell-minor-mode):
6321 * progmodes/gud.el (gud-tooltip-mode):
6322 * progmodes/hideif.el (hide-ifdef-mode):
6323 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6324 * progmodes/subword.el (subword-mode):
6325 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6326 * progmodes/which-func.el (which-function-mode):
6327 * term/tvi970.el (tvi970-set-keypad-mode):
6328 * term/vt100.el (vt100-wide-mode):
6329 * textmodes/flyspell.el (flyspell-mode):
6330 * textmodes/ispell.el (ispell-minor-mode):
6331 * textmodes/nroff-mode.el (nroff-electric-mode):
6332 * textmodes/paragraphs.el (use-hard-newlines):
6333 * textmodes/refill.el (refill-mode):
6334 * textmodes/reftex.el (reftex-mode):
6335 * textmodes/rst.el (rst-minor-mode):
6336 * textmodes/sgml-mode.el (html-autoview-mode)
6337 (sgml-electric-tag-pair-mode):
6338 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6339 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6340 * emulation/crisp.el (crisp-mode):
6341 * emacs-lisp/eldoc.el (eldoc-mode):
6342 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6343 minor mode behavior.
6344
6345 2011-10-19 Juri Linkov <juri@jurta.org>
6346
6347 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6348 the list of hard-coded chars with escape-glyph face.
6349
6350 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6353
6354 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6357 running process.
6358
6359 2011-10-19 Glenn Morris <rgm@gnu.org>
6360
6361 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6362 Ignore ignored files. (Bug#9726)
6363
6364 2011-10-19 Chong Yidong <cyd@gnu.org>
6365
6366 Doc fix for minor modes, stating that an omitted argument enables
6367 the mode unconditionally when called from Lisp.
6368
6369 * abbrev.el (abbrev-mode):
6370 * allout.el (allout-mode):
6371 * autoinsert.el (auto-insert-mode):
6372 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6373 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6374 (global-auto-revert-mode):
6375 * battery.el (display-battery-mode):
6376 * composite.el (global-auto-composition-mode)
6377 (auto-composition-mode):
6378 * delsel.el (delete-selection-mode):
6379 * desktop.el (desktop-save-mode):
6380 * dired-x.el (dired-omit-mode):
6381 * dirtrack.el (dirtrack-mode):
6382 * doc-view.el (doc-view-minor-mode):
6383 * double.el (double-mode):
6384 * electric.el (electric-indent-mode, electric-pair-mode):
6385 * emacs-lock.el (emacs-lock-mode):
6386 * epa-hook.el (auto-encryption-mode):
6387 * follow.el (follow-mode):
6388 * font-core.el (font-lock-mode):
6389 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6390 * help.el (temp-buffer-resize-mode):
6391 * hilit-chg.el (highlight-changes-mode)
6392 (highlight-changes-visible-mode):
6393 * hi-lock.el (hi-lock-mode):
6394 * hl-line.el (hl-line-mode, global-hl-line-mode):
6395 * icomplete.el (icomplete-mode):
6396 * ido.el (ido-everywhere):
6397 * image-file.el (auto-image-file-mode):
6398 * image-mode.el (image-minor-mode):
6399 * iswitchb.el (iswitchb-mode):
6400 * jka-cmpr-hook.el (auto-compression-mode):
6401 * linum.el (linum-mode):
6402 * longlines.el (longlines-mode):
6403 * master.el (master-mode):
6404 * mb-depth.el (minibuffer-depth-indicate-mode):
6405 * menu-bar.el (menu-bar-mode):
6406 * minibuf-eldef.el (minibuffer-electric-default-mode):
6407 * mouse-sel.el (mouse-sel-mode):
6408 * msb.el (msb-mode):
6409 * mwheel.el (mouse-wheel-mode):
6410 * outline.el (outline-minor-mode):
6411 * paren.el (show-paren-mode):
6412 * recentf.el (recentf-mode):
6413 * reveal.el (reveal-mode, global-reveal-mode):
6414 * rfn-eshadow.el (file-name-shadow-mode):
6415 * ruler-mode.el (ruler-mode):
6416 * savehist.el (savehist-mode):
6417 * scroll-all.el (scroll-all-mode):
6418 * scroll-bar.el (scroll-bar-mode):
6419 * server.el (server-mode):
6420 * shell.el (shell-dirtrack-mode):
6421 * simple.el (auto-fill-mode, transient-mark-mode)
6422 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6423 (line-number-mode, column-number-mode, size-indication-mode)
6424 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6425 * strokes.el (strokes-mode):
6426 * time.el (display-time-mode):
6427 * t-mouse.el (gpm-mouse-mode):
6428 * tool-bar.el (tool-bar-mode):
6429 * tooltip.el (tooltip-mode):
6430 * type-break.el (type-break-mode-line-message-mode)
6431 (type-break-query-mode):
6432 * view.el (view-mode):
6433 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6434 (global-whitespace-mode, global-whitespace-newline-mode):
6435 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6436
6437 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6438 Fix autogenerated docstring.
6439
6440 2011-10-19 Juri Linkov <juri@jurta.org>
6441
6442 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6443 by checking environment variables "DESKTOP_SESSION" and
6444 "XDG_CURRENT_DESKTOP". (Bug#9779)
6445
6446 2011-10-19 Juri Linkov <juri@jurta.org>
6447
6448 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6449 (browse-url-chromium-program, browse-url-chromium-arguments):
6450 New defcustoms.
6451 (browse-url-default-browser): Check for `browse-url-chromium' and
6452 call `browse-url-chromium-program'.
6453 (browse-url-chromium): New command. (Bug#9779)
6454
6455 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
6456
6457 * facemenu.el (list-colors-duplicates): On Windows, detect more
6458 duplicates by assuming that only colors matching "^System" are
6459 special "system colors". (Bug#9722)
6460
6461 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6462
6463 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6464 to distinguish the author from the committer.
6465
6466 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
6467
6468 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6469
6470 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6471
6472 * international/mule.el (sgml-html-meta-auto-coding-function):
6473 Add support for detecting encoding in HTML5 specified only as
6474 <meta charset="UTF-8">. Implementation just makes http-equiv and
6475 content-type parts from HTML4 encoding string optional. (Bug#9716)
6476
6477 2011-10-18 Glenn Morris <rgm@gnu.org>
6478
6479 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6480
6481 2011-10-18 Chong Yidong <cyd@gnu.org>
6482
6483 * faces.el (cursor): Doc fix.
6484
6485 2011-10-17 Chong Yidong <cyd@gnu.org>
6486
6487 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6488
6489 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6490
6491 * dirtrack.el (dirtrack): Support shell buffers with path
6492 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6493
6494 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6495
6496 * json.el: Bump version to 1.3 and note change in History.
6497 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6498
6499 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * comint.el (comint-insert-input, comint-send-input)
6502 (comint-get-old-input-default, comint-backward-matching-input)
6503 (comint-next-prompt): Use nil instead of `input' for field property of
6504 past user input (bug#114).
6505
6506 * minibuffer.el (completion--replace): Inherit surrounding properties
6507 (bug#114).
6508 (minibuffer-complete-and-exit): Use it.
6509
6510 * comint.el (comint--table-subvert): Quote the all-completions output
6511 (bug#9160).
6512
6513 2011-10-17 Martin Rudalics <rudalics@gmx.at>
6514
6515 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6516
6517 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6518 window on right of selected. (Bug#9350) Reword other window
6519 entries and separate them from frame entries.
6520
6521 2011-10-15 Glenn Morris <rgm@gnu.org>
6522
6523 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6524 Doc fixes.
6525
6526 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
6527
6528 * net/network-stream.el (network-stream-open-starttls):
6529 Improve detection of failure due to lack of TLS support.
6530
6531 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6532 putting the input text in front and in bold.
6533
6534 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6537
6538 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6539 empty buffer.
6540
6541 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6542 unread-command-events rather than pushing yet-another event.
6543
6544 2011-10-14 Eli Zaretskii <eliz@gnu.org>
6545
6546 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6547 the explanation of the possible choices. Make the options passed
6548 to completing-read shorter.
6549
6550 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6551
6552 * textmodes/flyspell.el (flyspell-large-region): Make sure
6553 extended character mode is used if defined (Bug#1339).
6554
6555 2011-10-13 Eli Zaretskii <eliz@gnu.org>
6556
6557 * simple.el (what-cursor-position): Fix the display of the
6558 character info for LRE, LRO, RLE, and RLO characters by appending
6559 an invisible PDF.
6560
6561 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6564 even in case of error; add debug spec; simplify data flow.
6565 (with-timeout-handler): Remove.
6566
6567 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
6568
6569 Fix Bug#6019, Bug#9315.
6570
6571 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6572 complete `buffer-file-name', the local file name part could look
6573 remotely (for example on VMS).
6574
6575 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6576 `tramp-run-real-handler'.
6577 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6578 already quoted by '"'.
6579
6580 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6581 Let `file-name-handler-alist' be nil, the local file name part
6582 could look remotely (for example on VMS).
6583
6584 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6587 from here...
6588 (flyspell-post-command-hook): ...to here.
6589
6590 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6593 if not needed.
6594 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6595 using completion. Protect against "slow" callers.
6596 Remove the "message hack".
6597
6598 2011-10-11 Juri Linkov <juri@jurta.org>
6599
6600 * isearch.el (isearch-lazy-highlight-word): New variable.
6601 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6602 Use it. (Bug#9727)
6603
6604 2011-10-11 Glenn Morris <rgm@gnu.org>
6605
6606 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6607 like f90-previous-statement does.
6608
6609 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6610
6611 * eshell/eshell.el (eshell-command): History should be saved
6612 only in interactive use, to avoid error.
6613
6614 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * minibuffer.el (completion-file-name-table): Fix last change,
6617 i.e. ignore normal errors but not the other ones.
6618
6619 2011-10-10 Martin Rudalics <rudalics@gmx.at>
6620
6621 * window.el (special-display-buffer-names)
6622 (special-display-regexps): Remove some remnants of earlier
6623 changes from doc-strings.
6624 (quit-windows-on): New function.
6625
6626 * vc/vc.el (vc-revert, vc-rollback):
6627 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6628 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6629 (Bug#6183) (Bug#7074) (Bug#7447)
6630
6631 2011-10-09 Martin Rudalics <rudalics@gmx.at>
6632
6633 * window.el (frame-auto-hide-function): Add version tag.
6634 (Bug#9699)
6635
6636 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
6637
6638 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6639 condition.
6640
6641 2011-10-09 Leo Liu <sdl.web@gmail.com>
6642
6643 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6644 (Bug#9701)
6645
6646 2011-10-08 Glenn Morris <rgm@gnu.org>
6647
6648 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6649 before the first code statement zero indent. (Bug#9690)
6650
6651 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
6652
6653 * simple.el (count-words-region): Always count in the region.
6654 Report the number of lines and characters too.
6655 (count-words): New command, which counts in the buffer if the
6656 region is inactive, as count-words-region used to.
6657 (count-words--message): New function. Handle plurals.
6658 (count-lines-region): Make it an alias for count-words-region.
6659
6660 * bindings.el (esc-map): Replace count-lines-region with
6661 count-words-region.
6662
6663 2011-10-08 Martin Rudalics <rudalics@gmx.at>
6664
6665 * window.el (window--delete): Delete dedicated frame
6666 unconditionally when argument KILL is non-nil. (Bug#9699)
6667 (switch-to-buffer): Fix doc-string typo.
6668
6669 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6670
6671 * eshell/eshell.el (eshell-command): Avoid using hooks.
6672
6673 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
6674
6675 * bindings.el ([M-left],[M-right]): Bind to left-word and
6676 right-word respectively.
6677
6678 2011-10-07 Glenn Morris <rgm@gnu.org>
6679
6680 * cus-start.el (debug-on-quit): Fix custom type.
6681
6682 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6683
6684 * subr.el (define-key-after): Clarify that the function is not
6685 useful for non-menu keymaps.
6686
6687 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6688
6689 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6690
6691 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6692 in current minibuffer (Fix bug with recursive minibuffers).
6693
6694 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
6695
6696 * progmodes/gdb-mi.el (gdb): Doc fix.
6697
6698 2011-10-05 Martin Rudalics <rudalics@gmx.at>
6699
6700 * window.el (frame-auto-hide-function): New option replacing
6701 frame-auto-delete. Suggested by Stefan Monnier.
6702 (window--delete): Call frame-auto-hide-function instead of
6703 investigating frame-auto-delete.
6704 (window-point-1, set-window-point-1): New functions.
6705 (window-in-direction, record-window-buffer, window-state-get-1)
6706 (display-buffer-record-window): Use window-point-1 instead of
6707 window-point.
6708 (set-window-buffer-start-and-point): Use set-window-point-1.
6709
6710 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6713
6714 2011-10-05 Glenn Morris <rgm@gnu.org>
6715
6716 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6717 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6718
6719 2011-10-05 Leo Liu <sdl.web@gmail.com>
6720
6721 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6722 works with buffer object.
6723
6724 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * mpc.el (mpc-tool-bar-map): Add labels.
6727
6728 2011-10-04 Glenn Morris <rgm@gnu.org>
6729
6730 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6731
6732 2011-10-04 Martin Rudalics <rudalics@gmx.at>
6733
6734 * window.el (window--delete): New function.
6735 (frame-auto-delete): Resuscitate option.
6736 (bury-buffer, replace-buffer-in-windows)
6737 (quit-window): Rewrite using window--delete.
6738 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6739 Pass display-buffer-mark-dedicated to window--display-buffer-2
6740 (Bug#9639).
6741
6742 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6745 returns a list (bug#9554). Add remote file name completion.
6746 * comint.el (comint--table-subvert): Curry and get quote&unquote
6747 functions as arguments.
6748 (comint--complete-file-name-data): Adjust call accordingly.
6749 * pcomplete.el (pcomplete--table-subvert): Remove.
6750 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6751
6752 * minibuffer.el (completion-table-case-fold): Use currying.
6753 (completion--styles-type, completion--cycling-threshold-type):
6754 New constants.
6755 (completion-styles, completion-category-overrides)
6756 (completion-cycle-threshold): Use them.
6757 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6758 completion-table-case-fold.
6759
6760 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
6761
6762 * minibuffer.el (completion-category-overrides): Fix type of styles
6763 and add more user friendly tags (bug#9660).
6764
6765 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6768 (mule-input-method-string): New widget.
6769 (default-input-method, language-info-custom-alist): Use it.
6770
6771 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * pcomplete.el: Require comint.
6774 (pcomplete--common-suffix): Remove.
6775 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6776 (pcomplete--table-subvert): Sync with comint--table-subvert.
6777 (pcomplete--entries): Use comint-completion-file-name-table.
6778 * comint.el (comint-unquote-filename): Simplify.
6779 (comint-completion-file-name-table): New function (bug#9616).
6780 (comint--complete-file-name-data): Use it.
6781
6782 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6783 (pcmpl-gnu-tar-buffer): Remove.
6784 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6785 around. Make sure pcomplete-suffix-list is only changed temporarily.
6786 Don't look inside the tar's file if it's too large.
6787
6788 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
6789
6790 * cus-edit.el (custom-mode-map):
6791 * epa.el (epa-key-list-mode-map):
6792 * man.el (Man-mode-map):
6793 * startup.el (splash-screen-keymap):
6794 * simple.el (special-mode-map): Use scroll-up-command and
6795 scroll-down-command.
6796
6797 * progmodes/idlw-help.el (idlwave-help-mode-map):
6798 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6799 * net/newst-plainview.el (newsticker-mode-map):
6800 * emulation/ws-mode.el (wordstar-mode-map):
6801 * emulation/vi.el (vi-com-map):
6802 * calc/calc-graph.el (calc-graph-show-dumb):
6803 * term/sun.el (terminal-init-sun):
6804 * term/ns-win.el (global-map):
6805 * progmodes/grep.el (grep-mode-map):
6806 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6807 * mail/rmail.el (rmail-mode-map):
6808 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6809
6810 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6811 custom-safe-themes as special.
6812
6813 2011-10-01 Julien Danjou <julien@danjou.info>
6814
6815 * notifications.el (notifications-notify): Fix docstring.
6816
6817 2011-10-01 Per Starbäck <per@starback.se>
6818
6819 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6820
6821 2011-09-30 Martin Rudalics <rudalics@gmx.at>
6822
6823 * startup.el (command-line-1): Fix last fix by inserting
6824 initial-scratch-message into *scratch* before displaying it.
6825 (Bug#9605) and (Bug#9636)
6826
6827 2011-09-29 Eli Zaretskii <eliz@gnu.org>
6828
6829 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6830 window is hscrolled, move by logical lines. (Bug#9607)
6831 (line-move-visual): Update the doc string to the above effect.
6832
6833 2011-09-29 Martin Rudalics <rudalics@gmx.at>
6834
6835 * window.el (display-buffer-record-window): When WINDOW is the
6836 selected window use `point' instead of `window-point'. (Bug#9626)
6837
6838 * startup.el (command-line-1): Use insert-before-markers when
6839 inserting initial-scratch-message. (Bug#9605)
6840
6841 * help.el (help-window): Remove variable.
6842
6843 2011-09-29 Glenn Morris <rgm@gnu.org>
6844
6845 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6846
6847 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
6848
6849 * descr-text.el (describe-char-categories): Accept category
6850 descriptions more than one line long.
6851
6852 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * simple.el (delete-trailing-whitespace): Fix last change.
6855
6856 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6857 Don't confuse "y => 3" as the beginning of a `y' operation.
6858
6859 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6860 object has more than 4 slots (bug#9613).
6861
6862 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
6863
6864 * subr.el (with-output-to-temp-buffer):
6865 * net/quickurl.el (quickurl, quickurl-browse-url):
6866 Fix typos in docstrings.
6867
6868 2011-09-27 Eli Zaretskii <eliz@gnu.org>
6869
6870 * minibuffer.el (completion-styles)
6871 (completion-category-overrides): Cross reference each other in doc
6872 strings.
6873
6874 2011-09-27 Glenn Morris <rgm@gnu.org>
6875
6876 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6877 to split-string. (Bug#9606)
6878
6879 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6880
6881 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6882 (bug#9615).
6883
6884 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
6885
6886 * emacs-lisp/package.el (list-packages): Fix echo area message.
6887
6888 2011-09-27 Leo Liu <sdl.web@gmail.com>
6889
6890 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6891
6892 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
6893
6894 * net/dbus.el (dbus-unregister-object): Don't release services for
6895 registered signals. (Bug#9581)
6896
6897 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6898
6899 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6900 function that picks between cfengine 2 and 3 support
6901 automatically. Update docs accordingly.
6902
6903 2011-09-22 Kenichi Handa <handa@m17n.org>
6904
6905 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6906 ZERO.
6907 (indian-itrans-v5-table-for-tamil): New variable.
6908 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6909
6910 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6911
6912 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6913 that's true if the current command involved collapsing of text.
6914 It's reset to false at the beginning of the next command.
6915 (allout-post-command-business): Move the cursor to the beginning
6916 of entry if the cursor is hidden and collapsing activity just
6917 happened.
6918
6919 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
6920
6921 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6922 tracking (Bug#9541).
6923
6924 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
6925
6926 * net/newst-reader.el (newsticker-html-renderer)
6927 (newsticker-show-news): Automatically load html rendering package
6928 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6929 because w3m-fill-column is let-bound" and the error "Symbol's value
6930 as variable is void: w3m-fill-column".
6931
6932 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6935 Release services only if they are defined. (Bug#9581)
6936
6937 2011-09-23 Richard Stallman <rms@gnu.org>
6938
6939 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6940 distinguish start of paragraph from start of its text.
6941
6942 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6943
6944 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6945 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6946 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6947
6948 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6949
6950 * international/mule-diag.el (mule-diag): Insert a newline after
6951 each fontset description.
6952
6953 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * simple.el (delete-trailing-whitespace):
6956 Document last change; simplify.
6957
6958 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6959
6960 * simple.el (delete-trailing-whitespace): Also delete
6961 extra newlines at the end of the buffer.
6962
6963 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6964 (picture-newline): Use forward-line so as to ignore fields.
6965
6966 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * subr.el (with-wrapper-hook): Fix edebug spec.
6969
6970 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6971
6972 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6973 (bug#4538).
6974
6975 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
6976
6977 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6978 Fix nasty bug using wrong cached values.
6979
6980 2011-09-23 Alan Mackenzie <acm@muc.de>
6981
6982 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6983
6984 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
6985
6986 * window.el (pop-to-buffer): Ensure right window is selected if we
6987 chose another frame.
6988
6989 2011-09-22 Eli Zaretskii <eliz@gnu.org>
6990
6991 * simple.el (what-cursor-position): Use get-char-property-change
6992 and next-single-char-property-change, to be able to show display
6993 properties that come from overlays as well as text properties.
6994
6995 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
6996
6997 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6998
6999 * cmuscheme.el (run-scheme, switch-to-scheme):
7000 * cus-edit.el (customize-group, custom-buffer-create)
7001 (customize-browse):
7002 * info.el (info):
7003 * shell.el (shell):
7004 * mail/sendmail.el (mail):
7005 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7006
7007 2011-09-22 Richard Stallman <rms@gnu.org>
7008
7009 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7010 move back only to line beg, don't move back over blank lines.
7011
7012 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
7013
7014 * files.el (copy-directory): Set directory attributes only in case
7015 they could be retrieved from the source directory. (Bug#9565)
7016
7017 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7018
7019 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7020 (hs-find-block-beginning, hs-hide-level-recursive):
7021 Ignore strings as well as comments. (Bug#9502)
7022
7023 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7024
7025 * progmodes/sql.el (sql-comint-postgres):
7026 Convert port number to a string. (Bug#9566)
7027
7028 2011-09-22 Martin Rudalics <rudalics@gmx.at>
7029
7030 * window.el (quit-window): Undedicate window when switching to
7031 previous buffer. Reported by Thierry Volpiatto
7032 <thierry.volpiatto@gmail.com>.
7033 (special-display-popup-frame): When popping up a new frame reset
7034 its previous buffers to nil. Simplify code.
7035
7036 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
7037
7038 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7039 and process filter, as done also in `shell-command'.
7040
7041 2011-09-21 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (set-window-buffer-start-and-point):
7044 Call set-window-start with NOFORCE argument t.
7045 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
7046 (quit-window): Reword doc-string. Handle new format of
7047 quit-restore parameter. Don't delete window if it has a
7048 previous buffer we can show instead of the present one.
7049 (display-buffer-record-window): Rewrite using a new format for
7050 the quit-restore window parameter
7051 (special-display-popup-frame, display-buffer-same-window)
7052 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7053 (display-buffer-pop-up-window, display-buffer-use-some-window):
7054 Adapt symbol passed to display-buffer-record-window.
7055 * help.el (help-window-setup): Handle new format of quit-restore
7056 parameter.
7057
7058 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * faces.el (face-list): Fix docstring (bug#9564).
7061
7062 * window.el (display-buffer--action-function-custom-type):
7063 Don't include internal functions in the Custom interface.
7064
7065 2011-09-20 Juri Linkov <juri@jurta.org>
7066
7067 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7068 (Info-forward-node, Info-backward-node, Info-next-preorder)
7069 (Info-last-preorder): Use it. (Bug#9528)
7070
7071 2011-09-20 Juri Linkov <juri@jurta.org>
7072
7073 * info.el (Info-last-preorder): Visit last menu item only when
7074 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7075
7076 2011-09-20 Julien Danjou <julien@danjou.info>
7077
7078 * password-cache.el (password-cache-remove): Remove entries even if the
7079 value is nil, so that password with a nil value (negative caching) is
7080 possible to invalidate.
7081
7082 2011-09-20 Lawrence Mitchell <wence@gmx.li>
7083
7084 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7085 all whitespace around breakpoint. (Bug#9553)
7086 (f90-find-breakpoint): Only break at whitespace inside a comment.
7087
7088 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7089
7090 * minibuffer.el (completion-file-name-table): Keep track of errors.
7091 (completion-table-with-predicate): Handle the case where pred1 is nil.
7092 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7093
7094 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7097 (debugger-return-value): Signal an error if the debugging context does
7098 not await any return value.
7099
7100 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7101 * image-mode.el (image-toggle-display-text)
7102 (image-toggle-display-image): Stay away from evil `intangible'.
7103
7104 2011-09-19 Leo Liu <sdl.web@gmail.com>
7105
7106 * replace.el (occur-revert-arguments): Make it permanent-local.
7107 (occur-mode): Don't call font-lock-defontify.
7108
7109 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
7110
7111 * net/ldap.el (ldap-search-internal): Don't push empty search
7112 result (Bug#9508).
7113
7114 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7117
7118 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
7119
7120 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7121 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7122
7123 2011-09-18 Juri Linkov <juri@jurta.org>
7124
7125 * buff-menu.el (Buffer-menu-mode-map):
7126 * dired.el (dired-mode-map):
7127 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7128 (lisp-interaction-mode-map):
7129 * emacs-lisp/package.el (package-menu-mode-map):
7130 * epa.el (epa-key-list-mode-map):
7131 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7132 (menu-bar-options-menu):
7133 * outline.el (outline-mode-menu-bar-map):
7134 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7135 * vc/vc-dir.el (vc-dir-menu-map):
7136 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7137 Capitalize non-function content words in menu item strings.
7138
7139 * dired.el (dired-mode-map): Add menu item for
7140 `image-dired-dired-toggle-marked-thumbs'.
7141
7142 2011-09-18 Juri Linkov <juri@jurta.org>
7143
7144 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7145 to `isearch-case-fold-search' and restore its original value
7146 after the `isearch-mode' call.
7147
7148 2011-09-18 Juri Linkov <juri@jurta.org>
7149
7150 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7151 because `zgrep' returns 1 for successful matches (bug#9226).
7152
7153 2011-09-18 Juri Linkov <juri@jurta.org>
7154
7155 * info.el (Info-extract-menu-node-name): Check the second match
7156 for empty string (second test-case of bug#9528).
7157 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7158 intermediate nodes to the history (first test-case of bug#9528).
7159
7160 2011-09-18 Juri Linkov <juri@jurta.org>
7161
7162 * info.el (Info-mode-syntax-table): New variable.
7163 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
7164
7165 2011-09-18 Juri Linkov <juri@jurta.org>
7166
7167 * info.el (Info-file-supports-index-cookies):
7168 Increment line-beginning-position's arg from 3 to 4 because makeinfo
7169 outputs one more line for long file names (bug#4142).
7170
7171 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7172
7173 * newcomment.el (comment-normalize-vars): If prompting for
7174 comment-start, set comment-start-skip too (Bug#8424).
7175
7176 2011-09-18 Johan Bockgård <bojohan@gnu.org>
7177
7178 * icomplete.el: Fix previous fix of Bug#5849.
7179 (icomplete-mode): Don't set completion-show-inline-help.
7180 (icomplete-minibuffer-setup): Set completion-show-inline-help
7181 locally during icompletion.
7182
7183 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
7184
7185 * woman.el (woman2-process-escapes): Don't delete unrecognized
7186 escapes (Bug#7843).
7187
7188 * files.el (inhibit-first-line-modes-regexps): Add image files.
7189 (hack-local-variables-prop-line): Return nil for malformed
7190 prop-lines (Bug#9044).
7191
7192 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * net/tramp.el (top): Don't require 'shell.
7195 (tramp-methods): Fix docstring.
7196 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
7197 Return complete remote file name. Handle "smb" case.
7198 Use `tramp-tmpdir', if defined for the respective method.
7199 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
7200
7201 * net/tramp-compat.el (top): Require 'shell.
7202
7203 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7204 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
7205 `tramp-current-host'.
7206 (tramp-get-remote-tmpdir): Remove.
7207
7208 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
7209 `tramp-tmpdir' entries.
7210 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
7211 (tramp-smb-handle-file-attributes): Ignore errors.
7212 (tramp-smb-wait-for-output): Check also for process end.
7213
7214 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7215
7216 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
7217 when sending QUIT (bug#9312).
7218
7219 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
7220
7221 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
7222 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
7223 occur-mode-display-occurrence.
7224 (occur-edit-mode): Add usage message.
7225 (occur-cease-edit): New command.
7226 (occur-after-change-function): Use text properties to find the
7227 position of the prefix text.
7228 (occur-engine): Set stickiness of prefix text properties.
7229
7230 2011-09-17 Glenn Morris <rgm@gnu.org>
7231
7232 * progmodes/etags.el (complete-tag):
7233 Fix call to completion-in-region. (Bug#9526)
7234
7235 2011-09-17 Juri Linkov <juri@jurta.org>
7236
7237 * textmodes/ispell.el (ispell-word): Add to the error message
7238 the word, ispell program name and current dictionary (bug#9121).
7239 (ispell-tex-arg-end): Capitalize "error" in the error message.
7240
7241 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
7242
7243 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
7244 check. (Bug#4251)
7245
7246 2011-09-17 Juri Linkov <juri@jurta.org>
7247
7248 * window.el (window-safe-min-height, window-safe-min-width):
7249 Fix typos (followup to bug#9522).
7250
7251 2011-09-17 Sven Joachim <svenjoac@gmx.de>
7252
7253 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
7254
7255 2011-09-16 Eli Zaretskii <eliz@gnu.org>
7256
7257 * simple.el (line-move): If goal-column is set, move by logical
7258 lines, not by display lines. (Bug#971)
7259 (next-line, previous-line, goal-column, line-move-visual): Doc fix
7260 to reflect the above change.
7261
7262 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * image.el (imagemagick-register-types): Use regexp-opt.
7265
7266 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7267
7268 * window.el (display-buffer-base-action): Rename from
7269 display-buffer-default-action. Make default value empty.
7270 (display-buffer-overriding-action): Convert to defvar.
7271 (display-buffer-fallback-action): New var.
7272
7273 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
7274
7275 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
7276 declaration.
7277 (package--add-to-archive-contents): If there is a duplicate entry
7278 with an older version, remove it.
7279 (package-menu-mark-delete, package-menu-mark-install)
7280 (package-menu-mark-unmark): Make unused args optional.
7281 (package-menu-mark-obsolete-for-deletion):
7282 Use package-menu-get-status instead of a regexp search.
7283 (package-menu-get-status): Use tabulated-list-entry.
7284 (package-menu-mark-upgrades): New command.
7285 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7286 (package-menu-execute): Do installation before deletion.
7287 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7288 instead of checking major-mode.
7289 (package-menu--find-upgrades): New function.
7290
7291 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7292
7293 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7294 passwords in the log buffer.
7295 (smtpmail-process-filter): Update the process marker so that the
7296 "broken by peer" status message is inserted in the right place.
7297
7298 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7301 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7302 bibtex-completion-at-point-function.
7303 (bibtex-completion-at-point-function): Use them.
7304
7305 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7306
7307 * mpc.el (mpc-constraints-tag-lookup): New function.
7308 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7309 also to browser "album|playlist".
7310
7311 2011-09-14 Juri Linkov <juri@jurta.org>
7312
7313 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7314 (isearch-edit-string): Use length of `isearch-string' when
7315 `isearch-fail-pos' returns nil.
7316 (isearch-message): Remove duplicate code and call
7317 `isearch-fail-pos' with arg `t'.
7318
7319 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
7320
7321 * replace.el (occur-mode-goto-occurrence): Don't force using other
7322 window (Bug#9499).
7323
7324 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7325
7326 2011-09-14 Martin Rudalics <rudalics@gmx.at>
7327
7328 * window.el (display-buffer-window): Remove.
7329 (display-buffer-record-window): Use help-setup window parameter
7330 instead of variable display-buffer-window.
7331 (display-buffer-function, special-display-buffer-names)
7332 (special-display-function): Mention help-setup parameter instead
7333 of display-buffer-window in doc-string.
7334 * help.el (help-window-setup): New argument help-window.
7335 Use help-window-setup parameter instead of display-buffer-window.
7336 Reword some messages.
7337 (with-help-window): Pass window used for displaying the buffer
7338 to help-window-setup. Don't set display-buffer-window.
7339
7340 2011-09-13 Glenn Morris <rgm@gnu.org>
7341
7342 * emacs-lisp/debug.el (debugger-make-xrefs):
7343 Preserve point. (Bug#9462)
7344
7345 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7346
7347 * window.el (window-deletable-p): Use next-frame.
7348
7349 2011-09-13 Martin Rudalics <rudalics@gmx.at>
7350
7351 * window.el (window-auto-delete): Remove.
7352 (window-deletable-p): Remove argument FORCE. Don't deal with
7353 dedication and previous buffers.
7354 (switch-to-prev-buffer): Don't delete window.
7355 (delete-windows-on): Delete a window's frame if and only if the
7356 window is dedicated.
7357 (replace-buffer-in-windows): Delete buffer's window or frame if
7358 and only if window is dedicated.
7359 (quit-window): Handle quit-restore as before last change.
7360 (bury-buffer): Delete window only if window-deletable-p returns t.
7361
7362 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
7363
7364 * window.el (window-deletable-p): Never delete the last frame on a
7365 given terminal.
7366
7367 2011-09-13 Glenn Morris <rgm@gnu.org>
7368
7369 * help.el (describe-key-briefly): Copy previous standard-output change.
7370
7371 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7372
7373 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7374
7375 2011-09-13 Glenn Morris <rgm@gnu.org>
7376
7377 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7378 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7379
7380 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
7381
7382 * dired-aux.el (dired-mark-read-string): Don't return default
7383 value on empty input (Bug#9361).
7384 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7385 Omit initial minibuffer contents.
7386 (dired-do-chmod): Signal an error on empty input.
7387 (dired-mark-read-string): Don't return default on empty input.
7388
7389 * files.el (file-modes-symbolic-to-number): Doc fix.
7390
7391 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * international/mule-cmds.el (ucs-completions): Remove.
7394 (read-char-by-name): Use complete-with-action instead; add metadata.
7395
7396 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * window.el (display-buffer--action-function-custom-type)
7399 (display-buffer--action-custom-type): New vars.
7400 (display-buffer-alist, display-buffer-default-action)
7401 (display-buffer-overriding-action): Add defcustom types.
7402
7403 * frame.el (delete-other-frames): Doc fix (Bug#276).
7404
7405 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
7407 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7408
7409 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
7410
7411 Change modes that used same-window-* vars to use switch-to-buffer.
7412
7413 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7414 Use switch-to-buffer.
7415
7416 * cus-edit.el (customize-group, custom-buffer-create)
7417 (customize-browse, custom-buffer-create-other-window):
7418 Use switch-to-buffer or switch-to-buffer-other-window.
7419
7420 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7421 (Info-prev, Info-up, Info-speedbar-goto-node)
7422 (info-display-manual): Use switch-to-buffer.
7423 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7424
7425 * mail/sendmail.el (mail): Use switch-to-buffer.
7426 (mail-recover): Use switch-to-buffer-other-window.
7427
7428 * cmuscheme.el (run-scheme, switch-to-scheme):
7429 * ielm.el (ielm):
7430 * shell.el (shell):
7431 * net/rlogin.el (rlogin):
7432 * net/telnet.el (telnet, rsh):
7433 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7434
7435 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7436
7437 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7438
7439 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7440
7441 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7442 so don't mention it (bug#9301).
7443 (dired-sort-toggle-or-edit): Clarify string further.
7444
7445 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7446 match `x', `w32' and `ns', like the manual says (bug#9029).
7447
7448 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7449 (process-kill-buffer-query-function): Mention the buffer name in
7450 the query.
7451
7452 * image-mode.el (image-next-line): The line parameter is mandatory
7453 (bug#9258).
7454
7455 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7456 which can be useful (bug#9301).
7457
7458 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7459
7460 * subr.el (match-string): Mention that the current buffer should
7461 be the same as the search was done in (bug#9282).
7462
7463 * facemenu.el: Disable the remove-* commands if the mark isn't
7464 active (bug#9162).
7465
7466 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7467
7468 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7469 of display-buffer.
7470 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7471
7472 * replace.el (occur-mode-goto-occurrence)
7473 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7474 and display-buffer.
7475
7476 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7477 display-buffer.
7478
7479 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7480 special-display and same-window variables.
7481 (mail-other-window): Use switch-to-buffer-other-window.
7482 (mail-other-frame): USe switch-to-buffer-other-frame.
7483
7484 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7485 Use display-buffer-other-frame.
7486 (gdb-display-gdb-buffer): Use pop-to-buffer.
7487
7488 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7489
7490 * progmodes/python.el: Don't set same-window-buffer-names.
7491
7492 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7493
7494 * window.el (display-buffer-alist): Add *Python*.
7495
7496 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * window.el (display-buffer-alist): Add entry for buffers
7499 previously handled same-window-*.
7500 (display-buffer-alist, display-buffer-default-action)
7501 (display-buffer-overriding-action): Mark as risky.
7502 (display-buffer-alist): Document action function changes.
7503 (display-buffer--same-window-action)
7504 (display-buffer--other-frame-action): New variables.
7505 (switch-to-buffer, display-buffer-other-frame): Use them.
7506 (display-buffer): Rename reuse-frame entry to reusable-frames.
7507 (display-buffer-reuse-selected-window): Function deleted.
7508 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7509 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7510 (display-buffer-special): New function.
7511 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7512 display-buffer-reuse-or-pop-window. Split off special-display
7513 part into display-buffer-special.
7514 (display-buffer-use-some-window): Don't perform any special
7515 pop-up-frames handling.
7516 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7517 (display-buffer--maybe-same-window): Rename from
7518 display-buffer-maybe-same-window.
7519
7520 * info.el: Don't set same-window-regexps.
7521 (info-setup): New function.
7522 (info-other-window, info): Call it.
7523
7524 * cus-edit.el: Don't set same-window-regexps.
7525 (customize-group): New argument.
7526 (customize-group-other-window): Use it.
7527 (customize-face, customize-face-other-window): Likewise.
7528 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7529
7530 * net/rlogin.el:
7531 * net/telnet.el:
7532 * progmodes/gud.el: Don't set same-window-regexps.
7533
7534 * cmuscheme.el:
7535 * ielm.el:
7536 * shell.el:
7537 * mail/sendmail.el:
7538 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7539
7540 2011-09-10 Juri Linkov <juri@jurta.org>
7541
7542 * isearch.el (isearch-edit-string): Remove obsolete mention of
7543 `C-w' (`isearch-yank-word-or-char') from docstring.
7544 (isearch-query-replace): Fix typo in docstring (bug#9466).
7545
7546 2011-09-10 Juri Linkov <juri@jurta.org>
7547
7548 * paren.el (show-paren-function): Don't show escaped parens.
7549 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7550
7551 2011-09-10 Eli Zaretskii <eliz@gnu.org>
7552
7553 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7554 (mm-default-file-encoding): Remove autoload forms, they are
7555 replaced with autoload cookies in mml.el and mm-encode.el.
7556 (mail-add-attachment): New command.
7557 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7558 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7559 the doc string.
7560 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7561
7562 2011-09-10 Reuben Thomas <rrt@sc3d.org>
7563
7564 * simple.el (count-words-region): Use buffer if there's no region
7565 (bug#9429).
7566
7567 2011-09-09 Juri Linkov <juri@jurta.org>
7568
7569 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7570 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7571 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7572
7573 2011-09-09 Alan Mackenzie <acm@muc.de>
7574
7575 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7576 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7577
7578 2011-09-09 Eli Zaretskii <eliz@gnu.org>
7579
7580 Fix for Savannah bug#9392.
7581 * simple.el (mail-encode-mml): New defvar.
7582
7583 * mail/rmail.el (mail-encode-mml): Add a defvar.
7584 (rmail-enable-mime-composing): Default to t.
7585 (rmail-forward): Use MIME method of forwarding only if both
7586 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7587 Set mail-encode-mml non-nil if the MIME method was used.
7588
7589 * mail/sendmail.el (mml-to-mime): Add autoload form.
7590 (mail-encode-mml): Add a defvar.
7591 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7592 to nil.
7593 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7594 message through mml-to-mime, and reset mail-encode-mml to nil.
7595
7596 2011-09-09 Glenn Morris <rgm@gnu.org>
7597
7598 * woman.el (woman-if-body): When processing an .el block,
7599 do not delete the next .el block as well. (Bug#9447)
7600 (woman-special-characters): Add oq, cq, and hy characters.
7601
7602 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7603
7604 * window.el (window-deletable-p): Make sure window is live before
7605 invoking window-prev-buffers.
7606
7607 2011-09-08 Leo Liu <sdl.web@gmail.com>
7608
7609 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7610
7611 2011-09-08 Juri Linkov <juri@jurta.org>
7612
7613 * progmodes/compile.el (compilation-environment): Make it
7614 a defcustom (bug#8340).
7615
7616 2011-09-08 Martin Rudalics <rudalics@gmx.at>
7617
7618 * window.el (frame-auto-delete): Rename to window-auto-delete.
7619 Make it control auto-deletion of windows and/or frames.
7620 (window-deletable-p): New argument FORCE. Rewrite conditions
7621 for deleting window/frame. (Bug#9419)
7622 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7623 Rewrite handling of case when window/frame can be deleted.
7624 (delete-windows-on): Call window-deletable-p with new FORCE
7625 argument t. (Bug#9456)
7626
7627 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
7628
7629 * help-mode.el (help-mode): Restore autoload.
7630
7631 2011-09-07 Juri Linkov <juri@jurta.org>
7632
7633 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7634 `compilation-environment'. Set buffer-local
7635 `compilation-environment' to `thisenv' later after (funcall mode).
7636 (Bug#8340)
7637
7638 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7639 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7640 instead of replacing its value. (Bug#8340)
7641
7642 2011-09-07 Juri Linkov <juri@jurta.org>
7643
7644 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7645 based on text properties put by `grep-filter' instead of matching
7646 escape sequences.
7647 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7648 to the value of `grep-error-screen-columns' (bug#9438).
7649
7650 2011-09-07 Juri Linkov <juri@jurta.org>
7651
7652 * simple.el (next-error-highlight, next-error-highlight-no-select):
7653 Doc fix (bug#9432).
7654
7655 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7656
7657 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7658 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7659
7660 2011-09-07 Leo Liu <sdl.web@gmail.com>
7661
7662 * net/rcirc.el (rcirc-mode): Conditionally initialize
7663 rcirc-input-ring.
7664
7665 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * emacs-lisp/find-func.el (find-function-C-source): Only set
7668 find-function-C-source-directory after checking that we found a source
7669 file there (bug#9440).
7670
7671 2011-09-06 Alan Mackenzie <acm@muc.de>
7672
7673 * isearch.el (isearch-other-meta-char): Wherever a key list is
7674 unread, "unread" the prefix arg, too. This fixes bug #8901.
7675
7676 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7677
7678 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7679
7680 2011-09-05 Juri Linkov <juri@jurta.org>
7681
7682 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7683
7684 2011-09-05 Juri Linkov <juri@jurta.org>
7685
7686 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7687 keeping point where processing of grep matches begins, and
7688 continue to delete remaining escape sequences from the same point.
7689 (grep-filter): Make leading zero optional in "0?1;31m" because
7690 git-grep emits "\033[1;31m" escape sequences unlike expected
7691 "\033[01;31m" as GNU Grep does (bug#9408).
7692 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7693
7694 2011-09-05 Juri Linkov <juri@jurta.org>
7695
7696 * subr.el (y-or-n-p): Capitalize "yes".
7697
7698 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
7699
7700 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7701 `tramp-cache-unload-hook' where appropriate.
7702 (tramp-methods): Rename `tramp-remote-sh' to
7703 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7704 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7705
7706 * net/tramp-sh.el (top): Don't require 'shell.
7707 (tramp-methods): Add `tramp-remote-shell' and
7708 `tramp-remote-shell-args' entries.
7709 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7710 (tramp-sh-handle-shell-command): Remove.
7711 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7712 Use `tramp-remote-shell'.
7713
7714 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
7715
7716 * mail/sendmail.el (sendmail-query-once-function): Delete.
7717 (sendmail-query-once): Save directly to send-mail-function.
7718 Update message-send-mail-function too.
7719
7720 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7721
7722 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7723
7724 * progmodes/python.el (python-mode-map): Use correct function to
7725 start python interpreter from menu-bar (as reported by Geert
7726 Kloosterman).
7727 (inferior-python-mode-map): Fix typo.
7728 (python-shell-map): Remove.
7729
7730 2011-09-03 Deniz Dogan <deniz@dogan.se>
7731
7732 * net/rcirc.el (rcirc-print): Simplify code for
7733 rcirc-scroll-show-maximum-output. There is no need to walk
7734 through all windows to find the right one.
7735
7736 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7737
7738 * help.el (help-return-method): Doc fix.
7739
7740 2011-09-03 Martin Rudalics <rudalics@gmx.at>
7741
7742 * window.el (window-deletable-p): Don't return a non-nil value
7743 when there's a buffer that was shown in the window before.
7744 (Bug#9419)
7745 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7746 Set window's previous buffers to nil.
7747
7748 2011-09-03 Eli Zaretskii <eliz@gnu.org>
7749
7750 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7751 newline before and after the tag line, so it doesn't interfere
7752 with determining the paragraph direction of bidirectional text.
7753
7754 2011-09-03 Leo Liu <sdl.web@gmail.com>
7755
7756 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7757
7758 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7759
7760 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7761 (pop-to-buffer): Change interactive spec. Pass second argument
7762 directly to display-buffer.
7763 (display-buffer): Fix interactive spec. Use functionp to
7764 distinguish between a function and a list of functions.
7765
7766 * abbrev.el (edit-abbrevs):
7767 * arc-mode.el (archive-extract):
7768 * autoinsert.el (auto-insert):
7769 * bookmark.el (bookmark-bmenu-list):
7770 * files.el (find-file):
7771 * view.el (view-buffer):
7772 * progmodes/compile.el (compilation-goto-locus):
7773 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7774
7775 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
7776
7777 * window.el (display-buffer-alist): Doc fix.
7778 (display-buffer): Add docstring. Don't treat
7779 display-buffer-default specially.
7780 (display-buffer-reuse-selected-window)
7781 (display-buffer-same-window, display-buffer-maybe-same-window)
7782 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7783 (display-buffer-pop-up-window)
7784 (display-buffer-reuse-or-pop-window)
7785 (display-buffer-use-some-window): New functions.
7786 (display-buffer-default-action): Use them.
7787 (display-buffer-default): Delete.
7788 (pop-to-buffer-1): Fix choice of actions.
7789
7790 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * minibuffer.el (completion--insert-strings): Don't get confused by
7793 completion entries that end with an LF char.
7794
7795 2011-09-01 Eli Zaretskii <eliz@gnu.org>
7796
7797 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7798
7799 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
7800
7801 * window.el (display-buffer): Restore interactive spec.
7802 (display-buffer-same-window, display-buffer-other-window):
7803 New functions.
7804 (pop-to-buffer-1): New function. Use the above.
7805 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7806 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7807
7808 * view.el (view-buffer-other-window, view-buffer-other-frame):
7809 Just use pop-to-buffer.
7810
7811 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7812
7813 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7814
7815 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7816
7817 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7818
7819 2011-08-31 Richard Stallman <rms@gnu.org>
7820
7821 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7822 of the separation of rmail-view-buffer from rmail-buffer.
7823 If you say no to "replace original", the decrypt is in the
7824 view buffer. If you say yes, the decrypt goes into the
7825 rmail buffer also.
7826
7827 2011-08-31 Martin Rudalics <rudalics@gmx.at>
7828
7829 * window.el (display-buffer-window): Rewrite doc-string.
7830 (display-buffer-record-window): New function.
7831 (display-buffer-macro-specifiers)
7832 (display-buffer-even-window-sizes, display-buffer-set-height)
7833 (display-buffer-set-width, display-buffer-in-window)
7834 (display-buffer-reuse-window, display-buffer-split-specifiers)
7835 (display-buffer-side-specifiers, display-buffer-split-window-1)
7836 (display-buffer-split-window, display-buffer-split-atom-window)
7837 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7838 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7839 (display-buffer-other-window-means-other-frame)
7840 (display-buffer-normalize-special)
7841 (display-buffer-normalize-default)
7842 (display-buffer-normalize-argument)
7843 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7844 (display-buffer-normalize-specifiers, display-buffer-frame)
7845 (display-buffer-same-window, display-buffer-same-frame)
7846 (display-buffer-other-window)
7847 (display-buffer-same-frame-other-window)
7848 (display-buffer-other-frame, pop-to-buffer-same-window)
7849 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7850 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7851 (switch-to-buffer-same-frame)
7852 (switch-to-buffer-other-window-same-frame)
7853 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7854 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7855 (display-buffer-alist-set): Remove.
7856 (display-buffer-function, special-display-buffer-names)
7857 (special-display-regexps, special-display-function):
7858 In doc-string refer to display-buffer-window and quit-restore
7859 parameter.
7860 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7861 (special-display-frame-alist, special-display-popup-frame)
7862 (same-window-buffer-names, same-window-regexps, same-window-p)
7863 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7864 (split-window-preferred-function, split-height-threshold)
7865 (split-width-threshold, window-splittable-p)
7866 (split-window-sensibly, window--try-to-split-window)
7867 (window--frame-usable-p, even-window-heights)
7868 (window--even-window-heights, window--display-buffer-1)
7869 (window--display-buffer-2, display-buffer-other-frame):
7870 Restore old Emacs 23 code, order and doc-strings where applicable.
7871 (display-buffer-default, display-buffer-assq-regexp): New functions.
7872 (display-buffer-alist): Rewrite doc-string.
7873 (display-buffer-default-action)
7874 (display-buffer-overriding-action): New variables.
7875 (display-buffer, switch-to-buffer): Rewrite.
7876 (pop-to-buffer): Restore Emacs 23 behavior but use
7877 window-normalize-buffer-to-display.
7878 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7879 Restore Emacs 23 behavior but use
7880 window-normalize-buffer-to-switch-to.
7881 (pop-to-buffer-same-window): Rewrite.
7882 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7883 Rewrite using Emacs 23 options.
7884
7885 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp.el (tramp-root-regexp): Remove.
7888 (tramp-completion-file-name-regexp-unified)
7889 (tramp-completion-file-name-regexp-separate)
7890 (tramp-completion-file-name-regexp-url): Don't use leading volume
7891 letter on win32 systems. (Bug#5303, Bug#9311)
7892 (tramp-drop-volume-letter): Simplify definition.
7893 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7894
7895 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7898 (bug#9356).
7899
7900 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7901
7902 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7903
7904 2011-08-29 Juri Linkov <juri@jurta.org>
7905
7906 * isearch.el (isearch-done): Don't display message "Mark saved"
7907 when arg `edit' is non-nil to prevent its flicker in the echo area.
7908
7909 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7910
7911 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7912 obsolete packages for deletion.
7913
7914 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7915
7916 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7917 (help-mode): Derive help-mode from special-mode. Don't invoke
7918 view-mode from help-mode.
7919 (help-xref-override-view-map): Remove.
7920 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7921 view-mode is not used anymore.
7922
7923 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
7924
7925 * server.el (server-port): Doc fix.
7926
7927 * cus-theme.el (custom-theme-choose-mode): Inherit from
7928 special-mode (Bug#9124).
7929 (custom-theme-choose-mode-map): Add special-mode to parent.
7930
7931 2011-08-28 Alan Mackenzie <acm@muc.de>
7932
7933 * progmodes/cc-fonts.el
7934 (c-make-font-lock-BO-decl-search-function): New function.
7935 (c-basic-matchers-after - "Fontify the clauses after various
7936 keywords"): Extract the three keyword lists for the 3 erroneous
7937 constructs from the list of four, and use the new function above
7938 in place of an old one.
7939
7940 2011-08-28 Deniz Dogan <deniz@dogan.se>
7941
7942 * net/rcirc.el (rcirc-insert-prev-input)
7943 (rcirc-insert-next-input): Remove unused argument.
7944
7945 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7948
7949 2011-08-27 Alan Mackenzie <acm@muc.de>
7950
7951 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7952 handle function pointer parameters properly.
7953
7954 2011-08-27 Martin Rudalics <rudalics@gmx.at>
7955
7956 * window.el (display-buffer-reuse-window): Fix case where
7957 selected window was reused with non-nil OTHER-WINDOW argument.
7958 (Bug#9381)
7959
7960 2011-08-27 Deniz Dogan <deniz@dogan.se>
7961
7962 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7963 oftc's NickServ messages.
7964
7965 2011-08-27 Glenn Morris <rgm@gnu.org>
7966
7967 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7968
7969 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
7970
7971 * emacs-lisp/package.el (package-install): Call package-initialize
7972 if called interactively.
7973
7974 2011-08-26 Leo Liu <sdl.web@gmail.com>
7975
7976 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7977
7978 2011-08-25 Juri Linkov <juri@jurta.org>
7979
7980 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7981 `search-whitespace-regexp' (bug#9364).
7982
7983 2011-08-25 Juri Linkov <juri@jurta.org>
7984
7985 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7986 `regexp-search-ring' to their global values to protect from
7987 updating by `read-from-minibuffer' (bug#9185).
7988
7989 2011-08-25 Juri Linkov <juri@jurta.org>
7990
7991 * textmodes/ispell.el (ispell-command-loop): Add newline
7992 at the end of the "Use option `i'..." line.
7993
7994 2011-08-25 Juri Linkov <juri@jurta.org>
7995
7996 * battery.el (display-battery-mode): If `battery-status-function'
7997 or `battery-mode-line-format' is nil, display the message and set
7998 `display-battery-mode' to nil (bug#9363).
7999
8000 2011-08-25 Eli Zaretskii <eliz@gnu.org>
8001
8002 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8003 bidi-string-mark-left-to-right; they are unnecessary now.
8004
8005 2011-08-25 Deniz Dogan <deniz@dogan.se>
8006
8007 * net/quickurl.el: Documentation typo fixes.
8008
8009 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
8010
8011 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8012
8013 2011-08-25 Glenn Morris <rgm@gnu.org>
8014
8015 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8016
8017 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8018 (smtpmail-via-smtp): Handle nil response from smtp.
8019
8020 2011-08-24 Juri Linkov <juri@jurta.org>
8021
8022 * proced.el (proced-marked): Inherit from `error' instead of
8023 `font-lock-warning-face'.
8024
8025 * ibuffer.el (ibuffer-marked-face): Change default face from
8026 `font-lock-warning-face' to `warning'.
8027 (ibuffer-deletion-face): Change default face from
8028 `font-lock-type-face' to `error'.
8029
8030 * battery.el (battery-update): Use the face `error' instead of
8031 `font-lock-warning-face' (bug#6117).
8032
8033 2011-08-24 Juri Linkov <juri@jurta.org>
8034
8035 * faces.el (success): Change face color from "Green3" to
8036 "ForestGreen" on light background (bug#9353).
8037
8038 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
8039
8040 * window.el (quit-window): Rename from quit-restore-window.
8041 Use same arglist as old quit-window.
8042 (frame-auto-delete): Doc fix.
8043
8044 * view.el (view-mode-exit): Use quit-window.
8045
8046 2011-08-24 Juri Linkov <juri@jurta.org>
8047
8048 * isearch.el (isearch-ring-adjust1): Start visiting previous
8049 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8050 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8051 for empty search string (when the last search string is reused
8052 automatically) to adjust the isearch ring to the last element and
8053 prepare the correct index for further M-p commands (bug#9185).
8054
8055 2011-08-24 Kenichi Handa <handa@m17n.org>
8056
8057 * international/ucs-normalize.el: If decomposition property of
8058 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8059 nil.
8060 (nfd, nfkd): Likewise.
8061
8062 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8065 from process filters aren't reliably transmitted to the surrounding
8066 accept-process-output.
8067 (mpc-proc-check): New function.
8068 (mpc-proc-sync): Use it (bug#8293)
8069
8070 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8073 Add compatibility functions (bug#9313).
8074
8075 2011-08-23 Eli Zaretskii <eliz@gnu.org>
8076
8077 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8078
8079 * international/uni-bidi.el: Regenerate.
8080
8081 2011-08-23 Kenichi Handa <handa@m17n.org>
8082
8083 * international/charprop.el:
8084 * international/uni-bidi.el:
8085 * international/uni-category.el:
8086 * international/uni-combining.el:
8087 * international/uni-comment.el:
8088 * international/uni-decimal.el:
8089 * international/uni-decomposition.el:
8090 * international/uni-digit.el:
8091 * international/uni-lowercase.el:
8092 * international/uni-mirrored.el:
8093 * international/uni-name.el:
8094 * international/uni-numeric.el:
8095 * international/uni-old-name.el:
8096 * international/uni-titlecase.el:
8097 * international/uni-uppercase.el: Regenerate.
8098
8099 2011-08-23 Martin Rudalics <rudalics@gmx.at>
8100
8101 * help.el (help-window-setup): Fix message displayed when other
8102 window is reused. (Bug#9341)
8103
8104 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8107 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8108
8109 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8110 Mark obsolete.
8111 * shell.el (shell-parse-pcomplete-arguments): New function.
8112 (shell-completion-vars): Use it instead (bug#9160).
8113
8114 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8117 strings and comments (bug#9333).
8118
8119 * emacs-lisp/debug.el (debug-arglist): New function.
8120 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8121 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8122
8123 2011-08-22 Juri Linkov <juri@jurta.org>
8124
8125 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8126 Revert regexp that highlights output switches to its old
8127 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8128
8129 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8130 to check for empty output (bug#9226).
8131
8132 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
8133
8134 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8135 symbol-constituent as the default, as that stops font-lock from
8136 working properly (Bug#8843).
8137
8138 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8139
8140 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8141 `coding-system-for-*' around the process open call to avoid
8142 auth-source side effects.
8143 (smtpmail-try-auth-methods): Expand the secret password.
8144 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8145 probe hangs.
8146
8147 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8150
8151 * emacs-lisp/find-func.el (find-function-noselect): New arg
8152 lisp-only.
8153
8154 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8155 signal an error for built-in functions (Bug#6664).
8156
8157 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8158
8159 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8160 (smtpmail-try-auth-methods): Use it.
8161
8162 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
8163
8164 * font-lock.el (font-lock-fontify-region)
8165 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8166 (font-lock-default-unfontify-buffer)
8167 (font-lock-default-fontify-region)
8168 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
8169
8170 * progmodes/compile.el (compilation-error-properties):
8171 Fix confusion between file struct and message struct (Bug#9319).
8172 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
8173 `ant' regexp.
8174
8175 * net/browse-url.el (browse-url-firefox): Don't call
8176 browse-url-firefox-sentinel unless using -remote (Bug#9328).
8177
8178 2011-08-20 Glenn Morris <rgm@gnu.org>
8179
8180 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
8181
8182 * tutorial.el (tutorial--default-keys): Update some default bindings.
8183
8184 * files.el (hack-local-variables): Fully ignore case for "mode:".
8185
8186 2011-08-20 Alan Mackenzie <acm@muc.de>
8187
8188 Resolve invalid use of a regexp in regexp-opt.
8189
8190 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
8191 detection for a java annotation.
8192
8193 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
8194 detection for a java annotation.
8195
8196 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
8197 handling for java.
8198 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
8199
8200 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
8201
8202 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
8203 (Bug#9274).
8204
8205 2011-08-20 Alan Mackenzie <acm@muc.de>
8206
8207 Fontify CPP expressions correctly when starting in the middle of
8208 such a construct. Mainly for when jit-lock etc. starts a chunk
8209 here.
8210
8211 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
8212 variable.
8213 (c-make-font-lock-search-form): New function, extracted from
8214 c-make-font-lock-search-function.
8215 (c-make-font-lock-search-function): Use the above function.
8216 (c-make-font-lock-context-search-function): New function.
8217 (c-cpp-matchers): Enhance the preprocessor expression case with
8218 the above function
8219 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
8220 which takes an expression.
8221
8222 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
8223
8224 2011-08-20 Martin Rudalics <rudalics@gmx.at>
8225
8226 * window.el (display-buffer-reuse-window)
8227 (display-buffer-pop-up-window): Don't reuse or split a side
8228 window.
8229
8230 2011-08-19 Glenn Morris <rgm@gnu.org>
8231
8232 * files.el (hack-local-variables-prop-line, hack-local-variables):
8233 Downcase "Mode:". (Bug#9331)
8234
8235 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * international/characters.el: Add L and R categories.
8238
8239 * subr.el (bidi-string-mark-left-to-right): Rename from
8240 string-mark-left-to-right. Use category search.
8241
8242 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
8243
8244 2011-08-18 Juri Linkov <juri@jurta.org>
8245
8246 * faces.el (error, warning, success): New faces with definitions
8247 copied from old default values of `font-lock-warning-face',
8248 `compilation-warning', `compilation-info' (bug#6117).
8249
8250 * font-lock.el (font-lock-warning-face): Inherit from `error'.
8251
8252 * progmodes/compile.el (compilation-error): Inherit from `error'.
8253 (compilation-warning): Inherit from `warning'.
8254 (compilation-info): Inherit from `success'.
8255
8256 * dired.el (dired-marked): Inherit from `warning'.
8257 (dired-flagged): Inherit from `error'.
8258
8259 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8260
8261 * mail/smtpmail.el (auth-source): Require to avoid problems with
8262 binding variables (bug#9298). Also clean up some unused
8263 autoloads.
8264
8265 * net/network-stream.el (network-stream-open-starttls):
8266 Support using starttls.el without using gnutls-cli.
8267
8268 2011-08-17 Juri Linkov <juri@jurta.org>
8269
8270 * progmodes/grep.el (rgrep): Handle the case when
8271 `grep-find-command' is a cons cell (bug#9278).
8272
8273 2011-08-17 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (display-buffer-pop-up-frame): Run frame creation
8276 function with BUFFER current (as special-display-popup-frame
8277 does). Reported by Drew Adams.
8278
8279 2011-08-17 Daiki Ueno <ueno@unixuser.org>
8280
8281 * epa-mail.el: Simplify GnuPG group expansion using
8282 epg-expand-group.
8283 (epa-mail-group-alist, epa-mail-group-modtime)
8284 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8285 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8286 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8287 Remove.
8288
8289 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8290
8291 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8292
8293 2011-08-16 Alan Mackenzie <acm@muc.de>
8294
8295 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8296 Correct, to avoid the inside of macros.
8297
8298 2011-08-16 Richard Stallman <rms@gnu.org>
8299
8300 * epa-mail.el: Handle GnuPG group definitions.
8301 (epa-mail-group-alist, epa-mail-group-modtime)
8302 (epa-mail-gnupg-conf-file): New variables.
8303 (epa-mail-parse-groups, epa-mail-sync-groups)
8304 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8305 (epa-mail-expand-recipients): New functions.
8306 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8307
8308 * mail/rmail.el (rmail-epa-decrypt): New command.
8309
8310 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8311 Don't bind buffer-read-only, just inhibit-read-only.
8312 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8313 (epa-decrypt-armor-in-region): Make error message clearer.
8314
8315 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8318 and "a2b" to "ab" for `prefix'.
8319
8320 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
8321
8322 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8323 filter groups.
8324 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8325 Fourquet (Bug#8804).
8326
8327 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * startup.el (argi): Declare as global variable (bug#9275).
8330
8331 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
8332
8333 * subr.el (string-mark-left-to-right): Search the entire string
8334 for RTL script, not just the terminating character. Doc fix.
8335
8336 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8339 New function.
8340 (js--regexp-literal, js-syntax-propertize-function): Remove.
8341 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8342 (js-mode-map): Don't rebind electric keys.
8343 (js-insert-and-indent): Remove.
8344 (js-mode): Setup electric-layout and electric-indent instead.
8345
8346 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8347
8348 2011-08-12 Daiki Ueno <ueno@unixuser.org>
8349
8350 * epa.el (epa-progress-callback-function): Fix the logic of
8351 displaying progress.
8352 * epa-file.el (epa-file-insert-file-contents): Make progress
8353 display more user-friendly.
8354 (epa-file-write-region): Ditto.
8355
8356 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
8357
8358 * subr.el (string-mark-left-to-right): New function.
8359
8360 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8361 Use string-mark-left-to-right.
8362 (list-buffers-noselect): Caller changed.
8363
8364 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8365 Use string-mark-left-to-right.
8366 (tabulated-list-print): Recenter after moving point.
8367
8368 2011-08-10 Juri Linkov <juri@jurta.org>
8369
8370 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8371 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8372 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8373
8374 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
8375
8376 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8377 (Bug#7554).
8378
8379 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8380
8381 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8382 character. (Bug#6594)
8383
8384 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
8385
8386 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8387 (image-dired--with-db-file): New macro.
8388 (image-dired-write-tags, image-dired-remove-tag)
8389 (image-dired-create-gallery-lists, image-dired-write-comments)
8390 (image-dired-get-comment, image-dired-mark-tagged-files)
8391 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8392 (image-dired-gallery-generate): Use insert-file-contents.
8393
8394 * time.el (display-time-world-list, display-time-world-display):
8395 * time-stamp.el (time-stamp-string):
8396 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8397 set-time-zone-rule (Bug#7337).
8398
8399 2011-08-08 Daiki Ueno <ueno@unixuser.org>
8400
8401 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8402 (epg-error-to-string, epg-errors-to-string): New function.
8403 (epg-wait-for-completion): Reverse errors list.
8404 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8405 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8406 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8407 (epg-sign-keys, epg-generate-key-from-file)
8408 (epg-generate-key-from-string): Format errors by using
8409 epg-errors-to-string (bug#9255).
8410 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8411
8412 2011-08-07 Juri Linkov <juri@jurta.org>
8413
8414 * faces.el (list-faces-display): Remove extra angle bracket
8415 from `help-mode-map'.
8416
8417 * info.el (Info-history-toc-nodes): Doc fix.
8418
8419 * longlines.el (longlines-mode): Doc fix.
8420
8421 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8424 of statements and in a few more cases (bug#9183).
8425
8426 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8427 New functions.
8428 (cl-transform-lambda): Use them (bug#9239).
8429
8430 2011-08-05 Martin Rudalics <rudalics@gmx.at>
8431
8432 * window.el (display-buffer-same-window)
8433 (display-buffer-same-frame, display-buffer-other-window)
8434 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8435 (pop-to-buffer-other-window)
8436 (pop-to-buffer-same-frame-other-window)
8437 (pop-to-buffer-other-frame): Make them defuns.
8438 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8439
8440 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * subr.el (make-composed-keymap): Move from C. Change calling
8443 convention, and improve docstring to bring attention to a subtle point.
8444 * minibuffer.el (completing-read-default): Adjust accordingly.
8445
8446 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
8447
8448 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8449 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8450
8451 * net/trampver.el: Update release number.
8452
8453 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8456 "in" (bug#9190).
8457
8458 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8459
8460 * mail/sendmail.el (sendmail-query-once): Restore the current
8461 buffer after querying (bug#9074).
8462
8463 * dired.el (dired-flagged): Use different faces for marked and
8464 flagged files (bug#6117).
8465
8466 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8467 (bug#4433).
8468
8469 * ido.el (ido-mode): Switch off the message if called
8470 non-interactively.
8471
8472 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8473 before 587, since it appears that that's more likely to work for
8474 more people.
8475
8476 * cus-edit.el (custom-file): When running under emacs -q, always
8477 refuse to save the customizations, even if the .emacs file doesn't
8478 exist.
8479
8480 * info.el: Remove the `Info-beginning-of-buffer' function
8481 (bug#8325).
8482
8483 * net/network-stream.el (network-stream-open-starttls):
8484 Use `starttls-available-p' to see whether starttls.el can be used.
8485
8486 2011-08-01 Martin Rudalics <rudalics@gmx.at>
8487
8488 * window.el (display-buffer-in-window): Don't set dedicated status
8489 of window here (Bug#9215).
8490 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8491 (display-buffer-pop-up-side-window)
8492 (display-buffer-in-side-window): Set dedicated status of window here.
8493
8494 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8497 before binding generated-autoload-file.
8498
8499 2011-08-01 Deniz Dogan <deniz@dogan.se>
8500
8501 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8502
8503 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
8504
8505 Sync with Tramp 2.2.2.
8506
8507 * net/trampver.el: Update release number.
8508
8509 2011-07-30 Juri Linkov <juri@jurta.org>
8510
8511 * dired-aux.el (dired-touch-initial): Remove function.
8512 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8513 current time, and `default' to the last modification time of the
8514 current marked file (bug#6887).
8515
8516 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8517
8518 * simple.el (goto-line): Use string-to-number to provide a
8519 numeric argument to read-number (bug#9163).
8520
8521 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
8522
8523 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8524 connection process, it could be nil.
8525
8526 2011-07-27 Leo Liu <sdl.web@gmail.com>
8527
8528 Simplify url handling in rcirc-mode.
8529
8530 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8531 (rcirc-browse-url-at-mouse): Remove.
8532 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8533
8534 2011-07-26 Alan Mackenzie <acm@muc.de>
8535
8536 Fontify bitfield declarations properly.
8537
8538 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8539 (c-symbol-chars): Now exported as a lang variable.
8540 (c-not-primitive-type-keywords): New lang variable.
8541
8542 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8543 QT keyword "more" to prevent "more slots: ...." being spuriously
8544 parsed as a bitfield declaration.
8545
8546 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8547 Refactor and enhance to handle bitfield declarations.
8548 (c-punctuation-in): New function.
8549 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8550 declarations properly.
8551
8552 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
8553
8554 * calendar/icalendar.el (icalendar--all-events): Take care of
8555 multiple vcalendars in a single file.
8556 (icalendar--convert-float-to-ical): Checkdoc fixes.
8557
8558 2011-07-25 Deniz Dogan <deniz@dogan.se>
8559
8560 * image.el (insert-image): Clarifying docstring.
8561
8562 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
8563
8564 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8565 `tramp-send-command-and-check' if there is no error.
8566 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8567
8568 2011-07-22 Alan Mackenzie <acm@muc.de>
8569
8570 Prevent cc-langs.elc being loaded at run time.
8571
8572 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8573 cc-langs.
8574
8575 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8576 "(require 'cc-langs)". Quote a form so it will evaluate at
8577 (cc-mode's) compilation time.
8578
8579 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
8580
8581 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8582 loading. (Bug#9114)
8583
8584 2011-07-21 Martin Rudalics <rudalics@gmx.at>
8585
8586 * window.el (display-buffer-pop-up-window)
8587 (display-buffer-pop-up-side-window)
8588 (display-buffer-in-side-window): Call display-buffer-set-height
8589 and display-buffer-set-width after setting the new window's
8590 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8591
8592 2011-07-20 Sam Steingold <sds@gnu.org>
8593
8594 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8595 (etags-tags-included-tables): Call `convert-standard-filename' on
8596 the file names contained in TAGS so that windows Emacs can handle
8597 TAGS files created by cygwin ctags.
8598
8599 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8600
8601 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8602 which apparently didn't work.
8603
8604 2011-07-19 Roland Winkler <winkler@gnu.org>
8605
8606 * proced.el (proced-send-signal): For *Marked Processes* buffer
8607 put point at beginning of buffer.
8608
8609 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
8610
8611 * proced.el (proced-format): Make header lines align with the text
8612 (bug#1779).
8613
8614 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8615
8616 * view.el (view-buffer): Allow running in `special' modes if we're
8617 visiting a file (bug#8615).
8618
8619 2011-07-19 Martin Rudalics <rudalics@gmx.at>
8620
8621 * window.el (display-buffer-alist-of-strings-p)
8622 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8623 New functions.
8624 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8625 more accurately.
8626
8627 2011-07-18 Alan Mackenzie <acm@muc.de>
8628
8629 Fontify declarators properly when, e.g., a jit-lock chunk begins
8630 inside a declaration.
8631
8632 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8633
8634 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8635 New function.
8636 (c-complex-decl-matchers): Insert reference to
8637 c-font-lock-enclosing-decls.
8638
8639 * progmodes/cc-engine.el (c-backward-single-comment):
8640 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8641 to nil around calls to (forward-comment -1).
8642
8643 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
8645 * image.el (put-image): Doc typo fix.
8646
8647 * progmodes/etags.el (tags-search): Doc typo fix.
8648
8649 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8650 password if we get errors 550 to 554.
8651
8652 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653
8654 * net/gnutls.el (gnutls-log-level): Remove.
8655
8656 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8657 indentation character (bug#6380).
8658
8659 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8660
8661 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8662 to clarify what the problem is (bug#4291).
8663
8664 * simple.el (current-kill): Clarify what
8665 `interprogram-paste-function' does (bug#7500).
8666 (auto-fill-mode): Document `auto-fill-function' in relation to
8667 `auto-fill-mode' (bug#2470).
8668
8669 2011-07-16 Lawrence Mitchell <wence@gmx.li>
8670
8671 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8672 method if slot is read-only (bug#9035).
8673
8674 2011-07-16 Martin Rudalics <rudalics@gmx.at>
8675
8676 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8677 * window.el (pop-to-buffer): Select window used even if it was
8678 selected before, see discussion of (Bug#8615), (Bug#6954).
8679 Pass argument NORECORD on to select-frame-set-input-focus.
8680
8681 2011-07-15 Glenn Morris <rgm@gnu.org>
8682
8683 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8684 Respect help-form.
8685
8686 2011-07-09 Lawrence Mitchell <wence@gmx.li>
8687
8688 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8689 (gnutls-negotiate): Use it.
8690
8691 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
8693 * net/gnutls.el (gnutls-negotiate):
8694 Upcase `gnutls-algorithm-priority'.
8695
8696 2011-07-15 Glenn Morris <rgm@gnu.org>
8697
8698 * jka-compr.el (jka-compr-verbose): Move from here...
8699 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8700 Add missing :version tag.
8701 * info.el: No need to require jka-compr when compiling.
8702
8703 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8705 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8706 (gnutls-negotiate): Use it.
8707
8708 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8709
8710 * info.el (Info-beginning-of-buffer): New command.
8711 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8712 announcing `b' as the key (bug#8325).
8713 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8714
8715 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8716
8717 * international/mule-cmds.el
8718 (describe-specified-language-support): Make the error message
8719 clearer (bug#8905).
8720
8721 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8722
8723 * isearch.el (isearch-barrier): Add a doc string, since it's
8724 mentioned in a function doc string (bug#8678).
8725
8726 2011-07-15 Martin Rudalics <rudalics@gmx.at>
8727
8728 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8729 buffer argument (Bug#9083) and self-identifying label argument.
8730
8731 2011-07-15 Glenn Morris <rgm@gnu.org>
8732
8733 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8734
8735 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736
8737 * man.el (Man-fontify-manpage): Fix message when formatting the
8738 man page (bug#7929).
8739
8740 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8741
8742 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8743 argument LRM; if non-nil, append an invisible LRM character to the
8744 buffer name.
8745 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8746 last argument non-nil, when formatting buffer names.
8747 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8748 paragraph direction.
8749
8750 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8751
8752 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8753 the man page name (bug#7929).
8754
8755 * image.el (put-image): Mention the `put-image' overlay property
8756 (bug#7834).
8757
8758 * scroll-bar.el (set-scroll-bar-mode): Mention that
8759 `scroll-bar-mode' lists the values (bug#7772).
8760
8761 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8762 command (bug#7729).
8763
8764 * rect.el (apply-on-rectangle): Return the point after the last
8765 operation.
8766 (string-rectangle): Go to the point after the last operation
8767 (bug#7522).
8768
8769 * printing.el (pr-toggle-region): Clarify the documentation
8770 slightly (bug#7493).
8771
8772 * time.el (display-time-update):
8773 Allow `display-time-mail-function' to return nil (bug#7158).
8774 Fix suggested by Detlev Zundel.
8775
8776 * vc/diff.el (diff): Clarify the order the file names are read
8777 (bug#7111).
8778
8779 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8780 the doc string (bug#7015).
8781
8782 * font-lock.el (font-lock-maximum-decoration): Mention what
8783 numeric levels mean (bug#6935).
8784
8785 * startup.el (initial-buffer-choice): Don't mention the `none'
8786 selection, which is against policy.
8787
8788 2011-07-14 Martin Rudalics <rudalics@gmx.at>
8789
8790 * window.el (display-buffer-normalize-special):
8791 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8792
8793 2011-07-14 Eli Zaretskii <eliz@gnu.org>
8794
8795 * subr.el (version<, version<=, version=): Mention "-CVS" and
8796 "-12345" alpha version numbers.
8797
8798 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8799
8800 * bindings.el: Add advertised binding for set-mark-command
8801 (Bug#5772).
8802
8803 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * bindings.el (mode-line-other-buffer):
8806 * bookmark.el (bookmark-bmenu-2-window):
8807 * bs.el (bs-cycle-next, bs-cycle-previous):
8808 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8809 switch-to-buffer.
8810
8811 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8812 Delete.
8813
8814 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
8815
8816 * follow.el (follow-debug-message, follow-redisplay):
8817 * jka-cmpr-hook.el (with-auto-compression-mode):
8818 Fix typos in docstrings.
8819
8820 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8821
8822 * subr.el (with-silent-modifications): Clarify somewhat what the
8823 macro inhibits (bug#6525).
8824
8825 * simple.el (eval-expression): Note what it does if called
8826 interactively (bug#6495).
8827
8828 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8829
8830 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8831 Use pop-to-buffer buffer-or-name if it is nil.
8832
8833 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8834 Remove switch-to-buffer.
8835
8836 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8837
8838 * files.el (make-directory): Clarify that an error will be raised
8839 if there's an error (bug#6397).
8840
8841 * startup.el (initial-buffer-choice): Add `none' as a choice
8842 (bug#6234).
8843
8844 * subr.el (add-hook): Clarify section about buffer-local hooks
8845 (bug#6218).
8846
8847 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8848
8849 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * tabify.el (untabify): Preserve the current column so that point
8852 doesn't move (bug#6032).
8853
8854 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8855
8856 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8857 Rewrite to avoid awkward possessive "s" (bug#5986).
8858
8859 2011-07-13 Glenn Morris <rgm@gnu.org>
8860
8861 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8862 (dired-insert-directory): Give a message the first time
8863 if ls is found not to support --dired.
8864
8865 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
8867 * simple.el (toggle-truncate-lines): Clarify what is toggled
8868 (bug#5580). Text by Drew Adams.
8869
8870 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
8871
8872 * simple.el (blink-matching-open): Make the error message from the
8873 last change less verbose.
8874
8875 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8876
8877 * font-lock.el (font-lock-comment-face): Use the high contrast
8878 "yellow" color for font-lock-comment-face on low color terminals
8879 using a dark background color (bug#4221).
8880
8881 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8882
8883 * dired.el (dired-insert-set-properties): Make the doc string
8884 reflect what it does now (bug#5325).
8885
8886 * simple.el (blink-matching-open): Say that we were unable to find
8887 the match within the limit, if we're limited (bug#5122).
8888
8889 * international/mule-cmds.el (prefer-coding-system): Add an
8890 example (bug#4869).
8891
8892 * progmodes/etags.el (tags-search): Document `file-list-form'
8893 (bug#4731).
8894
8895 2011-07-13 Lawrence Mitchell <wence@gmx.li>
8896
8897 * net/browse-url.el (browse-url-default-browser)
8898 (browse-url-browser-function): Make the default browser choice a
8899 bit more logical (bug#4300). Also clean up the doc string.
8900
8901 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
8902
8903 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8904 binary endings (bug#4440).
8905
8906 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8907
8908 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8909 which can be pretty annoying (bug#8971).
8910
8911 * jka-compr.el (jka-compr-verbose): New variable, and use
8912 throughout (bug#8971).
8913
8914 * info.el (Info-find-file): Fall back on the installation
8915 directory if we can't find the info node anywhere else.
8916
8917 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8918
8919 * vc/vc.el (vc-revert-file):
8920 Don't set file time-stamp in the past. (Bug#5181)
8921
8922 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8923
8924 * files.el (after-find-file): Give a better error message when
8925 trying to find a symlink that points to a file that doesn't exist
8926 (bug#4398).
8927
8928 * progmodes/cc-vars.el: Remove (probably) misleading comment
8929 (bug#4396).
8930
8931 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8932
8933 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8934
8935 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8936
8937 * mouse-sel.el: Hack restoring functionality, while keeping
8938 compatibility with 2010-07-03 changes to mouse selection.
8939 (mouse-sel-primary-overlay): New var.
8940 (mouse-sel-selection-alist): Use it.
8941 (mouse-sel-mode): Doc fix; remove points that are default features
8942 of mouse.el.
8943
8944 2011-07-12 Johan Bockgård <bojohan@gnu.org>
8945
8946 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8947 Fix previous fix (bug#2490).
8948
8949 2011-07-12 Roland Winkler <winkler@gnu.org>
8950
8951 * textmodes/bibtex.el (bibtex-initialize):
8952 Use pop-to-buffer-same-window.
8953 (bibtex-search-entries): Fix interactive call.
8954
8955 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8956
8957 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8958 Fontise bytecomp Error lines more correctly (bug#2490).
8959 Fix suggested by Johan Bockgård.
8960
8961 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8962
8963 * dired-x.el (dired-guess-default): Use `delete-dups'.
8964
8965 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * dired.el (dired-mark-prompt):
8968 * dired-aux.el (dired-read-shell-command): Doc fix.
8969
8970 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
8972 * mail/sendmail.el (sendmail-query-once):
8973 Use `customize-save-variable' unconditionally, now that it works under
8974 emacs -Q.
8975
8976 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8977
8978 * cus-edit.el (custom-file): Take an optional no-error variable.
8979 (customize-save-variable): Set the variable, and give a warning if
8980 running under "emacs -q".
8981
8982 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * loadhist.el (unload-feature-special-hooks):
8985 Add `auto-coding-functions', `fill-nobreak-predicate' and
8986 `find-directory-functions' (bug#5327).
8987
8988 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989
8990 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8991
8992 * cus-edit.el (custom-guess-name-alist): -alist variables should
8993 use the `alist' type (bug#3120). Suggested by Drew Adams.
8994
8995 * printing.el: Add documentation to all the `pr-toggle-' commands.
8996
8997 2011-07-11 Leo Liu <sdl.web@gmail.com>
8998
8999 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9000 backends where it makes sense (bug#2623).
9001
9002 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9003
9004 * dired-x.el (dired-guess-default): Remove duplicate shell command
9005 entries (bug#2028).
9006 (dired-guess-default): Fix grammar in doc string (bug#2028).
9007 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
9008
9009 * subr.el (remove-duplicates): New conveniency function.
9010
9011 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012
9013 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9014 (bug#1526).
9015
9016 2011-07-10 Martin Rudalics <rudalics@gmx.at>
9017
9018 * window.el (display-buffer-normalize-default): Don't invert
9019 meaning of even-window-heights. Reported by Eli Zaretskii
9020 <eliz@gnu.org>.
9021
9022 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9023
9024 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9025
9026 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
9027
9028 * window.el (display-buffer): Fix arguments to
9029 display-buffer-reuse-window in last change.
9030
9031 * faces.el (link): Use a less saturated blue on light backgrounds.
9032
9033 * startup.el (fancy-startup-text, fancy-about-text)
9034 (fancy-startup-tail): Use font-lock faces, for background safety.
9035
9036 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9037
9038 * emulation/viper-cmd.el (viper-change-state-to-vi):
9039 Limit triggering of abbrev expansion (Bug#9038).
9040
9041 2011-07-09 Martin Rudalics <rudalics@gmx.at>
9042
9043 * window.el (display-buffer-default-specifiers): Remove.
9044 (display-buffer-macro-specifiers): Remove default specifiers.
9045 (display-buffer-alist): Default to nil.
9046 (display-buffer-reuse-window): New optional argument other-window.
9047 (display-buffer-pop-up-window): Allow splitting internal
9048 windows. Check whether a live window was created.
9049 (display-buffer-other-window-means-other-frame)
9050 (display-buffer-normalize-arguments): Rename to
9051 display-buffer-normalize-argument and rewrite. Set the
9052 other-window specifier.
9053 (display-buffer-normalize-special): New function.
9054 (display-buffer-normalize-options): Rename to
9055 display-buffer-normalize-default and rewrite.
9056 (display-buffer-normalize-options-inhibit): Remove.
9057 (display-buffer-normalize-specifiers): Rewrite.
9058 (display-buffer): Process other-window specifier and call
9059 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9060 more faithfully.
9061 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
9062 (display-buffer-alist-set): Don't handle 'unset default values.
9063 (display-buffer-in-window, display-buffer-alist-set):
9064 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
9065 <tassilo@member.fsf.org>.
9066
9067 2011-07-09 Leo Liu <sdl.web@gmail.com>
9068
9069 * register.el (insert-register): Restore accidental change on
9070 2011-06-26. (Bug#9028)
9071
9072 2011-07-09 Glenn Morris <rgm@gnu.org>
9073
9074 * subr.el (remq): Handle the empty list. (Bug#9024)
9075
9076 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9077
9078 * mail/sendmail.el (send-mail-function): No longer delay custom
9079 initialization.
9080 * custom.el (custom-initialize-delay): Doc fix.
9081
9082 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9085
9086 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
9087
9088 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9089 human-friendly prompt.
9090
9091 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9094 provided by a particular plugin.
9095
9096 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9099 save customizations (with "emacs -Q"), just set the variable
9100 instead of erroring out.
9101
9102 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9103
9104 2011-07-08 Juri Linkov <juri@jurta.org>
9105
9106 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9107 (archive-zip-update-case): Use 7z if found by `executable-find'.
9108 The order of searching the available programs is the same as in
9109 `archive-zip-extract' (bug#8968).
9110
9111 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9112
9113 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9114 (menu-bar-options-menu): Tweak descriptions.
9115
9116 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9117
9118 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9119 menu items into verb phrases (bug#1421). Also refill to fit under
9120 80 columns.
9121
9122 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9123
9124 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9125 (Info-read-node-name): Doc fix (Bug#1084).
9126
9127 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9128 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9129 (end-of-sexp, beginning-of-sexp)
9130 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9131 (forward-symbol, forward-same-syntax, word-at-point)
9132 (sentence-at-point): Doc fix (Bug#1144).
9133
9134 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135
9136 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9137 should cover it (bug#1281).
9138
9139 * cus-edit.el (custom-show): Mark as obsolete.
9140
9141 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
9142 negotiation fails, then possibly try again with a non-encrypted
9143 connection (bug#9017).
9144
9145 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9146 be used.
9147
9148 2011-07-07 Richard Stallman <rms@gnu.org>
9149
9150 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9151 property, and handle its changed format.
9152 Look for the correct line number.
9153 Use file's line contents (but not past first =) to find
9154 correct line in message.
9155
9156 2011-07-07 Kenichi Handa <handa@m17n.org>
9157
9158 * international/characters.el (build-unicode-category-table):
9159 Delete it.
9160 (unicode-category-table): Set it by unicode-property-table-internal.
9161
9162 * international/mule-cmds.el (char-code-property-alist): Move to
9163 to src/chartab.c.
9164 (get-char-code-property): Call unicode-property-table-internal to
9165 load a file. Call get-unicode-property-internal where necessary.
9166 (put-char-code-property): Call unicode-property-table-internal to
9167 load a file. Call put-unicode-property-internal where necessary.
9168 put-unicode-property-internal where necessary.
9169 (char-code-property-description):
9170 Call unicode-property-table-internal to load a file.
9171
9172 * international/charprop.el:
9173 * international/uni-bidi.el:
9174 * international/uni-category.el:
9175 * international/uni-combining.el:
9176 * international/uni-comment.el:
9177 * international/uni-decimal.el:
9178 * international/uni-decomposition.el:
9179 * international/uni-digit.el:
9180 * international/uni-lowercase.el:
9181 * international/uni-mirrored.el:
9182 * international/uni-name.el:
9183 * international/uni-numeric.el:
9184 * international/uni-old-name.el:
9185 * international/uni-titlecase.el:
9186 * international/uni-uppercase.el: Regenerate.
9187
9188 * loadup.el: Load international/charprop.el before
9189 international/characters.
9190
9191 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
9192
9193 * window.el (next-buffer, previous-buffer): Signal an error if
9194 called from a minibuffer window.
9195
9196 * bindings.el: Revert 2011-07-04 change.
9197
9198 2011-07-06 Richard Stallman <rms@gnu.org>
9199
9200 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
9201 (rmail-mime-insert-bulk, rmail-mime-insert-text):
9202 Treat markers like ints.
9203 (rmail-mime-entity): Doc fix.
9204
9205 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9206
9207 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
9208 defcustom again for backwards compatibility.
9209
9210 * simple.el (shell-command-on-region): Fill.
9211
9212 * dired-aux.el (dired-kill-line): Add a doc string.
9213
9214 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
9215 to "\\sw\\|\\s_" (bug#358).
9216
9217 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
9218 (dired-unmark-backward): Ditto.
9219 (dired-flag-backup-files): Ditto.
9220
9221 * dired-x.el (dired-mark-sexp): Ditto.
9222
9223 2011-07-06 Richard Stallman <rms@gnu.org>
9224
9225 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
9226 (rmail-mime-entity): New arg TRUNCATED.
9227 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
9228 New functions.
9229 (rmail-mime-save): Warn if entity is truncated.
9230 (rmail-mime-toggle-hidden): Likewise, for showing.
9231 (rmail-mime-process-multipart): Record when an entity is truncated.
9232
9233 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
9234 if ENTITY is a string.
9235
9236 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9237
9238 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
9239 of faces when `M-C-x'-ing their definitions (bug#8378).
9240 Also clean up the code slightly.
9241
9242 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
9243 because that makes the colors go away.
9244
9245 * mail/sendmail.el (send-mail-function): Change the default to
9246 `sendmail-query-once'.
9247 (sendmail-query-once): Add an autoload cookie.
9248
9249 * net/network-stream.el (network-stream-open-starttls): Try using
9250 a plain connection even if the server offered STARTTLS, and we
9251 kinda wanted to use it, if Emacs doesn't have any STARTTLS
9252 capability. This should make smtpmail.el work in slightly more
9253 configurations.
9254
9255 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9258 New defun.
9259 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
9260
9261 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
9262
9263 * progmodes/sql.el: Version 3.0
9264 (sql-product-alist): Add product :completion-object,
9265 :completion-column, and :statement attributes.
9266 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
9267 (sql-mode-syntax-table): Mark all punctuation.
9268 (sql-font-lock-keywords-builder): Temporarily remove fallback on
9269 ansi keywords.
9270 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
9271 (sql-mode-oracle-font-lock-keywords): Improve.
9272 (sql-oracle-show-reserved-words): New function for development.
9273 (sql-product-font-lock): Simplify for source code buffers.
9274 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
9275 New functions.
9276 (sql-highlight-product): Set product specific syntax table.
9277 (sql-mode-map): Add statement movement functions.
9278 (sql-ansi-statement-starters, sql-oracle-statement-starters):
9279 New variable.
9280 (sql-statement-regexp, sql-beginning-of-statement)
9281 (sql-end-of-statement, sql-signum): New functions.
9282 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9283 (sql-show-sqli-buffer): Bug fix.
9284 (sql-interactive-mode): Store connection data as buffer local.
9285 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9286 with sql-interactive-mode.
9287 (sql-save-connection): Save buffer local settings.
9288 (sql-connection-menu-filter): Change menu entry name.
9289 (sql-product-interactive): Bug fix.
9290 (sql-preoutput-hold): New variable.
9291 (sql-interactive-remove-continuation-prompt): Bug fixes.
9292 (sql-debug-redirect): New variable.
9293 (sql-str-literal): New function.
9294 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9295 Redesign.
9296 (sql-oracle-save-settings, sql-oracle-restore-settings)
9297 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9298 (sql-completion-object, sql-completion-column)
9299 (sql-completion-sqlbuf): New variables.
9300 (sql-build-completions-1, sql-build-completions)
9301 (sql-try-completion): New functions.
9302 (sql-read-table-name): Use them.
9303 (sql-contains-names): New buffer local variable.
9304 (sql-list-all, sql-list-table): Use it.
9305 (sql-oracle-completion-types): New variable.
9306 (sql-oracle-completion-object, sql-sqlite-completion-object)
9307 (sql-postgres-completion-object): New functions.
9308
9309 2011-07-06 Glenn Morris <rgm@gnu.org>
9310
9311 * window.el (pop-to-buffer): Doc fix.
9312
9313 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9314
9315 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9316
9317 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
9318
9319 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9320
9321 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9322
9323 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
9324
9325 * button.el (button): Inherit from link face. Suggested by Dan
9326 Nicolaescu.
9327
9328 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * progmodes/gdb-mi.el: Fit in 80 columns.
9331 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9332 switch-to-buffer.
9333
9334 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9335 if imenu is simply not configured (bug#8941).
9336
9337 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9338
9339 * allout.el (allout-post-undo-hook): New allout outline-change
9340 event hook to signal undo activity.
9341 (allout-post-command-business): Run allout-post-undo-hook if an
9342 undo just occurred.
9343 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9344 * allout-widgets.el (allout-widgets-after-undo-function):
9345 Ensure the integrity of the current item's decoration after it has been
9346 in the vicinity of an undo.
9347 (allout-widgets-mode): Include allout-widgets-after-undo-function
9348 on the new allout-post-undo-hook.
9349
9350 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9352 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9353 Let define-derived-mode define it.
9354 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9355 cycles of abbrev-table inheritance (bug#8998).
9356
9357 2011-07-05 Roland Winkler <winkler@gnu.org>
9358
9359 * textmodes/bibtex.el: Add support for biblatex.
9360 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9361 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9362 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9363 (bibtex-entry-alist, bibtex-field-alist): New variables.
9364 (bibtex-entry-field-alist): Obsolete alias for
9365 bibtex-BibTeX-entry-alist.
9366 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9367 (bibtex-set-dialect): New command.
9368 (bibtex-entry-type, bibtex-entry-head)
9369 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9370 Bind via bibtex-set-dialect.
9371 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9372 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9373 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9374 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9375 Define via bibtex-set-dialect.
9376 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9377 Obey bibtex-no-opt-remove-re.
9378 (bibtex-vec-push, bibtex-vec-incr): New functions.
9379 (bibtex-format-entry, bibtex-field-list)
9380 (bibtex-print-help-message, bibtex-validate)
9381 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9382
9383 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * progmodes/compile.el (compilation-goto-locus):
9386 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9387 * bs.el (bs-cycle-next, bs-cycle-previous):
9388 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9389 * bindings.el (mode-line-other-buffer):
9390 * autoinsert.el (auto-insert):
9391 * arc-mode.el (archive-extract):
9392 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9393
9394 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9395
9396 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9397 Fix check of `emacs-lock-unlockable-modes'.
9398 Coerce true values of `emacs-lock--try-unlocking' to t.
9399
9400 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9401
9402 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9403 * emacs-lock.el: New file.
9404
9405 2011-07-05 Julien Danjou <julien@danjou.info>
9406
9407 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9408 than `boundp' to check if face is set.
9409
9410 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * register.el (registerv-make):
9413 * window.el (window-min-height): Fix typos in docstrings.
9414
9415 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9416
9417 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9418 Update doc string.
9419
9420 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * server.el (server-execute): Catch quit and call
9423 `server-return-error' to pass the error back to emacsclient and
9424 close the connection (bug#8942).
9425
9426 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9427
9428 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9429 insecure exception for current topic. Also note that auto-saves
9430 are handled differently.
9431
9432 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9433 State variables for tracking auto-save inhibition situation.
9434
9435 (allout-write-contents-hook-handler): Rename from
9436 'allout-write-file-hook-handler', and describe how it depends on
9437 write-contents-functions sensitivity to non-nil value to prevent
9438 file write.
9439
9440 (allout-auto-save-hook-handler): Remove. auto-save does not check
9441 this in individual buffers, only in the starting buffer, so this
9442 is not the right way for us to inhibit auto-save in a buffer
9443 according to its condition.
9444
9445 (allout-mode): Use new allout-write-contents-hook-handler, and
9446 only with write-contents-functions. Remove auto-save provisions -
9447 they're implemented elsewhere.
9448
9449 (allout-before-change-handler): If undo is in progress, note that
9450 for attention of allout-post-command-business.
9451
9452 (allout-post-command-business): If the command we're following was
9453 an undo, check for change in the status of encrypted items and
9454 adjust auto-save inhibitions accordingly.
9455
9456 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9457 according to whether there are or aren't any plain-text topics
9458 pending encryption.
9459
9460 (allout-inhibit-auto-save-info-for-decryption):
9461 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9462 if there are plain-text topics pending encryption.
9463
9464 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9465 buffer-saved-size and some allout state to not inhibit auto-saves
9466 if there are no longer any plain-text topics pending encryption.
9467
9468 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9469 No longer provide for exemption of the current topic.
9470
9471 2011-07-04 Juri Linkov <juri@jurta.org>
9472
9473 Add 7z operations to delete and save changed members (bug#8968).
9474 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9475 New defcustoms.
9476 (archive-7z-write-file-member): New function.
9477 (archive-7z-summarize): Fix the number of dashes in the
9478 listing output.
9479
9480 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9481
9482 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9483 (bug#8958).
9484
9485 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
9486
9487 * bindings.el: Ignore next-buffer and previous-buffer in
9488 minibuffer-local-map.
9489
9490 * font-lock.el (font-lock-builtin-face): Change light background
9491 color to dark slate blue (Bug#6693).
9492
9493 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9494
9495 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9496
9497 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9500 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9501 Add switch-to-buffer.
9502
9503 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504
9505 * isearch.el (isearch-search-fun-function): Clarify further the
9506 meaning of the function returned.
9507
9508 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9511
9512 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9513 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9514 Use it.
9515 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9516 `tramp-default-remote-path' does not exist.
9517 (tramp-send-command-and-read): New optional argument NOERROR.
9518 (tramp-open-connection-setup-interactive-shell)
9519 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9520 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9521 (tramp-process-sentinel): Flush also process' connection property.
9522 (tramp-sh-handle-start-file-process): Do not set process
9523 sentinel. It is done now ...
9524 (tramp-maybe-open-connection): ... here. (Bug#8929)
9525
9526 2011-07-04 MON KEY <monkey@sandpframing.com>
9527
9528 * play/animate.el (animate-string): Doc fixes and allow changing
9529 the buffer name (bug#5417).
9530
9531 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9532
9533 * play/animate.el (animation-buffer-name): Rename from *animate*.
9534
9535 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9536
9537 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9538 This is simpler and helps future-proof the code.
9539 (timer-until): Use time-subtract and float-time.
9540 (timer--time-less-p): Use time-less-p.
9541
9542 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * type-break.el (timep): Use the value of `float-time' to avoid a
9545 byte-compiler warning.
9546
9547 * server.el (server-eval-and-print): Return any result, even nil.
9548
9549 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9550
9551 * type-break.el: Accept time formats that the builtins accept.
9552 (timep, type-break-time-difference): Accept any format that
9553 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9554 This is simpler and helps future-proof the code.
9555 (type-break-time-difference): Round rather than ignoring
9556 subseconds components.
9557
9558 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9559
9560 * info.el (Info-apropos-matches): Make non-interactive, since it
9561 doesn't seem to do anything useful as a command (bug#8829).
9562
9563 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
9564
9565 * frame.el (frame-background-mode, frame-set-background-mode):
9566 Move from faces.el.
9567 (frame-default-terminal-background): New function.
9568
9569 * custom.el (custom-push-theme): Don't record faces in `changed'
9570 theme; this doesn't work correctly for per-frame face settings.
9571 (disable-theme): Use face-set-after-frame-default to reset faces.
9572 (custom--frame-color-default): New function.
9573
9574 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575
9576 * dired.el (dired-flagging-regexp): Remove unused variable
9577 (bug#8769).
9578
9579 2011-03-29 Kevin Ryde <user42@zip.com.au>
9580
9581 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9582 `perl-Test2' extend to match possible "fail #N" rep count
9583 (bug#8377).
9584
9585 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9586
9587 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9588 `smtpmail-via-smtp' now returns the error instead of nil.
9589
9590 * isearch.el (isearch-search-fun-function): Clarify the doc string
9591 (bug#8101).
9592
9593 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9594
9595 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9596 unnecessary spaces (bug#8987).
9597
9598 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9599
9600 * net/network-stream.el (open-network-stream): Use the
9601 :end-of-capability command thoughout.
9602
9603 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9604
9605 * net/network-stream.el (open-network-stream): Add the
9606 :end-of-capability command parameter, used by pop3.el.
9607
9608 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9609
9610 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9611
9612 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9613 for list)" (bug#6475).
9614
9615 * files.el (file-expand-wildcards): Ignore non-readable
9616 sub-directories while trying to find matches instead of signaling
9617 an error (bug#6297).
9618
9619 * man.el (Man-reference-regexp): Allow matching possible
9620 word-wrapped references (bug#6289).
9621
9622 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9623 for consistency with the other vc buffers (bug#6197).
9624 (vc-checkin): Ditto.
9625
9626 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9627
9628 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9629
9630 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9631
9632 * custom.el (defcustom): Clarify that :set is only used in the
9633 Customize user interface (bug#6089).
9634
9635 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9636 associated with a file, refuse to run instead of erroring out
9637 (bug#6084).
9638
9639 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9640 the doc string, since it appears that using `fill-column' always
9641 controls the width (bug#7845).
9642
9643 * simple.el (shell-command-on-region): Say where the error output
9644 went if `shell-command-default-error-buffer' is set (bug#6857).
9645
9646 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9647
9648 * allout.el (allout-yank-processing): Adjust cursor position for
9649 backwards-deleted space.
9650
9651 (allout-rebullet-heading): Register changes with
9652 allout-exposure-changed-hook, so the modified topic is properly
9653 decorated.
9654
9655 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656
9657 * minibuffer.el (completion-in-region): Document PREDICATE
9658 (bug#7136).
9659
9660 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9661 of keyword/argument pairs (bug#6904).
9662
9663 * replace.el (multi-occur):
9664 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9665
9666 2011-07-02 Drew Adams <drew.adams@oracle.com>
9667
9668 * dired.el (dired-mark-if): Make the message about whether it's
9669 marking or unmarking clearer (bug#8523).
9670
9671 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9672
9673 * disp-table.el (display-table-print-array): New function.
9674 (describe-display-table): Use it to print the vectors more pretty
9675 (Bug#8859).
9676
9677 2011-07-02 Martin Rudalics <rudalics@gmx.at>
9678
9679 * window.el (window-state-get-1): Don't assign clone numbers.
9680 Add clone-of item to list of window parameters.
9681 (window-state-put-2): Don't process clone numbers.
9682 (display-buffer-alist): Fix doc-string.
9683
9684 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * subr.el (remq): Don't allocate if it's not needed.
9687 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9688 (keymap--merge-bindings): New functions.
9689 (keymap-canonicalize): Use them to refine the canonicalization.
9690 * minibuffer.el (minibuffer-local-completion-map)
9691 (minibuffer-local-must-match-map): Move initialization from C.
9692 (minibuffer-local-filename-completion-map): Move initialization from C;
9693 don't inherit from anything here.
9694 (minibuffer-local-filename-must-match-map): Make obsolete.
9695 (completing-read-default): Use make-composed-keymap to combine
9696 minibuffer-local-filename-completion-map with either
9697 minibuffer-local-must-match-map or
9698 minibuffer-local-filename-completion-map.
9699
9700 2011-07-01 Glenn Morris <rgm@gnu.org>
9701
9702 * type-break.el (type-break-time-sum): Use dolist.
9703
9704 * textmodes/flyspell.el (flyspell-word-search-backward):
9705 Replace CL function.
9706
9707 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * mouse.el (mouse--strip-first-event): New function.
9710 (function-key-map): Use it to map fringe clicks to normal clicks
9711 by default.
9712
9713 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9714 (vc-bzr-revision-completion-table): Add support for annotate and date.
9715
9716 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9717 inherit from parent.
9718
9719 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9720
9721 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9722 (dired-show-file-type): Doc fixup (bug#8818).
9723
9724 * dired.el (dired-mode): Fix up the doc string as suggested by
9725 Drew Adams (bug#8817).
9726
9727 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9728 cookie, since the manual says that it should be possible to add
9729 this function to `find-file-hook' (bug#8709).
9730
9731 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9732
9733 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9734 here. Noted Ted Zlatanov as the maintainer.
9735 (cfengine-common-settings, cfengine-common-syntax): New functions
9736 to set up common things between `cfengine-mode' and
9737 `cfengine3-mode'.
9738 (cfengine3-mode): New mode.
9739 (cfengine3-defuns cfengine3-defuns-regex
9740 (cfengine3-class-selector-regex cfengine3-category-regex)
9741 (cfengine3-vartypes cfengine3-font-lock-keywords)
9742 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9743 (cfengine3-indent-line): Add from cfengine3.el.
9744
9745 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
9746
9747 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9748
9749 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9750
9751 2011-07-01 Martin Rudalics <rudalics@gmx.at>
9752
9753 * window.el (same-window-buffer-names, same-window-regexps)
9754 (same-window-p, special-display-frame-alist)
9755 (special-display-popup-frame, special-display-function)
9756 (special-display-buffer-names, special-display-regexps)
9757 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9758 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9759 (split-window-preferred-function, split-height-threshold)
9760 (split-width-threshold, even-window-heights)
9761 (display-buffer-mark-dedicated, window-splittable-p)
9762 (split-window-sensibly, window-safely-shrinkable-p):
9763 Un-obsolete.
9764 (display-buffer): Don't spread args with function specifier
9765 because special-display-popup-frame won't like it.
9766
9767 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9768
9769 Time-stamp simplifications and fixes.
9770 These improve accuracy slightly, and future-proof the code
9771 against some potential changes to current-time format.
9772
9773 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9774 by using time-since and float-time.
9775
9776 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9777 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9778 + NNN microseconds".
9779
9780 * type-break.el (type-break-time-sum): Rewrite using time-add.
9781
9782 * play/hanoi.el (hanoi-current-time-float): Remove.
9783 All uses replaced by float-time.
9784
9785 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9786 This yields a more-accurate answer.
9787 (rng-time-to-float): Remove; no longer needed.
9788
9789 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9790
9791 * calendar/timeclock.el (timeclock-seconds-to-time):
9792 Defalias to seconds-to-time, since they're the same thing.
9793
9794 * emacs-lisp/elp.el (elp-elapsed-time):
9795 * emacs-lisp/benchmark.el (benchmark-elapse):
9796 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9797
9798 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * window.el (bury-buffer): Don't iconify the only frame.
9801 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9802 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9803
9804 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
9805
9806 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9807 Add mouse-yank-primary.
9808
9809 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9810
9811 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9812
9813 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9816 (find-library-name): Use it to find relative load names when provided
9817 absolute file name (bug#8803).
9818
9819 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9820
9821 * textmodes/flyspell.el (flyspell-word): Consider words that
9822 differ only in case as potential doublons (bug#5687).
9823
9824 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9825 Remove two rather uninteresting debugging-like messages to make
9826 debbugs.el more silent.
9827
9828 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9829 a password-like phrase.
9830
9831 2011-06-30 Masatake YAMATO <yamato@redhat.com>
9832
9833 * progmodes/cc-guess.el: New file.
9834
9835 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9836
9837 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9838 derived from `c-basic-common-init'.
9839
9840 * progmodes/cc-mode.el (top-level): Require cc-guess.
9841 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9842
9843 2011-06-30 Lawrence Mitchell <wence@gmx.li>
9844
9845 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9846
9847 2011-06-30 Alan Mackenzie <acm@muc.de>
9848
9849 * progmodes/cc-engine.el (c-guess-continued-construct):
9850 Correct the handling of template-args-cont, particularly for when font
9851 lock is disabled. Name this case as "CASE G".
9852
9853 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9854
9855 * allout.el (allout-yank-processing): Fix injection of extra space
9856 between bullet and non-whitespace character in first topic when
9857 pasting, ensuring that the actual spacing in the pasted topic
9858 following the bullet char is preserved. This extra space was
9859 causing pasted encrypted topics to get a decrypted status even
9860 when the content was actually still encrypted. Now the decryption
9861 status from before the paste is preserved.
9862
9863 (allout-flag-region): Set all allout overlays so they evaporate
9864 when reduced to zero length (evanescent), to prevent overlay
9865 leakage.
9866
9867 2011-06-30 Glenn Morris <rgm@gnu.org>
9868
9869 * w32-fns.el (w32-charset-info-alist): Declare.
9870
9871 * find-dired.el (find-grep-options): Simplify.
9872
9873 * term/ns-win.el (ns-set-resource): Declare.
9874
9875 * ses.el (row, col): Declare dynamic variables honestly.
9876
9877 * textmodes/reftex-parse.el (index-tags): Declare.
9878
9879 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
9880
9881 * cus-edit.el (customize-push-and-save): New function.
9882
9883 * files.el (hack-local-variables-confirm): Use it.
9884
9885 * custom.el (load-theme): New arg NO-CONFIRM.
9886 Use customize-push-and-save (Bug#8720).
9887 (custom-enabled-themes): Doc fix.
9888
9889 * cus-theme.el (customize-create-theme)
9890 (custom-theme-merge-theme): Callers to load-theme changed.
9891
9892 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9893
9894 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9895 short URLs have at least one dot in them (bug #7614).
9896
9897 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9898 nil, because using a pty is apparently too slow (bug #895).
9899
9900 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9901
9902 * mail/sendmail.el (sendmail-query-once): New function.
9903 (sendmail-query-once-function): New variable.
9904
9905 2011-06-29 Glenn Morris <rgm@gnu.org>
9906
9907 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9908
9909 * ses.el (top-level): Require cl when compiling.
9910 (ses-set-localvars): Fix error statement.
9911 Call it at compile time to silence a storm of warnings.
9912
9913 2011-06-29 Martin Rudalics <rudalics@gmx.at>
9914
9915 * window.el (normalize-live-buffer): Rename to
9916 window-normalize-buffer.
9917 (normalize-live-frame): Rename to window-normalize-frame.
9918 (normalize-any-window): Rename to window-normalize-any-window.
9919 (normalize-live-window): Rename to window-normalize-live-window.
9920 (make-window-atom): Rename to window-make-atom.
9921 (window-resize-reset): Rename to window--resize-reset.
9922 (window-resize-reset-1): Rename to window--resize-reset-1.
9923 (resize-mini-window): Rename to window--resize-mini-window.
9924 (resize-subwindows-skip-p): Rename to
9925 window--resize-subwindows-skip-p.
9926 (resize-subwindows-normal): Rename to
9927 window--resize-subwindows-normal.
9928 (resize-subwindows): Rename to window--resize-subwindows.
9929 (resize-other-windows): Rename to window--resize-siblings.
9930 (resize-this-window): Rename to window--resize-this-window.
9931 (resize-root-window): Rename to window--resize-root-window.
9932 (resize-root-window-vertically): Rename to
9933 window--resize-root-window-vertically.
9934 (normalize-buffer-to-display): Rename to
9935 window-normalize-buffer-to-display.
9936 (normalize-buffer-to-switch-to): Rename to
9937 window-normalize-buffer-to-switch-to.
9938 Correspondingly update all callers of the functions listed
9939 above.
9940 (display-buffer-alist, display-buffer-normalize-arguments)
9941 (display-buffer-normalize-options, display-buffer)
9942 (display-buffer-alist-set): Use "function" instead of
9943 "fun-with-args".
9944
9945 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
9946
9947 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9948 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9949 debbugs.gnu.org. Mention acknowledgment email.
9950
9951 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9952
9953 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9954 buffer multibyteness, since it shouldn't matter.
9955
9956 2011-06-28 Martin Rudalics <rudalics@gmx.at>
9957
9958 * window.el (display-buffer-in-side-window): Handle dedicated
9959 windows as in display-buffer-reuse-window.
9960 (display-buffer-normalize-alist): Use value of override
9961 specifier.
9962 (display-buffer-normalize-specifiers): Use value of
9963 other-window-means-other-frame specifier.
9964 (display-buffer-alist): Rewrite some texts in widgets.
9965 (display-buffer): Spread arguments when calling function
9966 specified by fun-with-args.
9967
9968 2011-06-28 Deniz Dogan <deniz@dogan.se>
9969
9970 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9971 Unnest `let'.
9972
9973 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9974 selectors (Bug#5732).
9975 (css-proprietary-nmstart-re): Use `regexp-opt'.
9976
9977 2011-06-27 Jari Aalto <jari.aalto@cante.net>
9978
9979 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9980 (eshell-ls-date-format): New defcustom.
9981 (eshell-ls-file): Use it.
9982
9983 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9986
9987 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9988
9989 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9990 (ange-ftp-make-tmp-name): New arg.
9991 (ange-ftp-file-local-copy): Use it.
9992
9993 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
9994
9995 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9996 no-conversion (Bug#8870).
9997
9998 2011-06-27 Martin Rudalics <rudalics@gmx.at>
9999
10000 * window.el (window-right, window-left, window-child)
10001 (window-child-count, window-last-child)
10002 (window-iso-combination-p, walk-window-tree-1)
10003 (window-atom-check-1, window-tree-1, delete-window)
10004 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10005 new naming conventions - window-vchild, window-hchild,
10006 window-next and window-prev are now called window-top-child,
10007 window-left-child, window-next-sibling and window-prev-sibling
10008 respectively.
10009 (resize-window-reset): Rename to window-resize-reset.
10010 (resize-window-reset-1): Rename to window-resize-reset-1.
10011 (resize-window): Rename to window-resize.
10012 (window-min-height, window-min-width)
10013 (resize-mini-window, resize-this-window, resize-root-window)
10014 (resize-root-window-vertically, adjust-window-trailing-edge)
10015 (enlarge-window, shrink-window, maximize-window)
10016 (minimize-window, delete-window, quit-restore-window)
10017 (split-window, balance-windows, balance-windows-area-adjust)
10018 (balance-windows-area, window-state-put-2)
10019 (display-buffer-even-window-sizes, display-buffer-set-height)
10020 (display-buffer-set-width, set-window-text-height)
10021 (fit-window-to-buffer): Rename all "resize-window" prefixed
10022 calls to use the "window-resize" prefix convention.
10023 (display-buffer-alist): Fix symbol for label specifier.
10024 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10025 corresponding specifier.
10026 Reported by Juanma Barranquero <lekktu@gmail.com>.
10027
10028 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10029
10030 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10031 convention.
10032 (ses-call-printer): Does not pass an empty string to formatter when the
10033 cell is empty to keep from barking printer Calc math-format-value.
10034
10035 2011-06-27 Richard Stallman <rms@gnu.org>
10036
10037 * battery.el (battery-mode-line-limit): New variable.
10038 (battery-update): Handle it.
10039
10040 * mail/rmailmm.el (rmail-mime-process-multipart):
10041 Handle truncated messages.
10042
10043 2011-06-27 Glenn Morris <rgm@gnu.org>
10044
10045 * progmodes/flymake.el (flymake-err-line-patterns):
10046 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10047
10048 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10049
10050 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
10051 (ses--clean-!, ses--clean-_): New functions.
10052 (ses-range): Add configurability of readout order, and conversion
10053 to Calc vector.
10054
10055 * ses.el (ses-repair-cell-reference-all): New function.
10056 (ses-cell-symbol): Set macro as safe, so that it can be used in
10057 formulas.
10058
10059 * ses.el: Update cycle detection algorithm.
10060 (ses-localvars): Add ses--Dijkstra-attempt-nb and
10061 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
10062 (ses-set-localvars): New function.
10063 (ses-make-cell): Add property-list as a cell element.
10064 (ses-cell-property-get-fun, ses-cell-property-get)
10065 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
10066 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10067 New functions.
10068 (ses-cell-property-set, ses-cell-property-pop)
10069 (ses-cell-property-get-handle): New macro.
10070 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10071 New aliases, used for code readability.
10072 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10073 cycle detection.
10074 (ses-self-reference-early-detection): New defcustom.
10075 (ses-formula-references): Robustify against self-referring cells.
10076 (ses-mode): Use ses-set-localvars.
10077 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10078 before lauching the update processing.
10079 (ses-initialize-Dijkstra-attempt): New function.
10080 (ses-recalculate-cell): Update for cycle detection based on
10081 Dijkstra algorithm.
10082
10083 * ses.el: Fix commenting and indenting convention.
10084
10085 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * bs.el (bs-cycle-next): Complete last change.
10088
10089 2011-06-27 Drew Adams <drew.adams@oracle.com>
10090
10091 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10092
10093 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10094
10095 * net/network-stream.el (network-stream-open-starttls):
10096 Don't re-get capabilities unless we've reestablished connection.
10097 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10098
10099 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10100 to binary to possibly avoid line encoding issues on Windows (among
10101 other things).
10102
10103 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10104
10105 * net/network-stream.el (open-network-stream): Return an :error
10106 saying what the problem was, if possible.
10107
10108 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10109 server.
10110
10111 * net/network-stream.el (network-stream-open-starttls): If we
10112 wanted to use STARTTLS, and the server offered it, but we weren't
10113 able to because we had no STARTTLS support, then close the connection.
10114 (open-network-stream): Return an :error element, if present.
10115
10116 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10117
10118 * hl-line.el (hl-line-sticky-flag): Doc fix.
10119 (global-hl-line-sticky-flag): New option (Bug#8323).
10120 (global-hl-line-highlight): Obey it.
10121
10122 * vc/vc.el (vc-revert-show-diff): Default to t.
10123
10124 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10125
10126 * allout-widgets.el (allout-widgets-post-command-business):
10127 Stop decorating intermediate isearch matches. They're not being
10128 undecorated when an isearch is continued past, and isearch
10129 automatically collapses them. This leads to "widget leaks", where
10130 decorated items accumulate in collapsed areas. Lines with lots of
10131 hidden widgets can slow down cursor travel, substantially.
10132 Too much complicated machinery would be needed to ensure undecoration,
10133 so we're doing without this nicety.
10134
10135 (allout-widgets-tally-string): Don't try to do a hash-table-count
10136 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10137 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10138 *Messages* when allout-widgets-maintain-tally is t.
10139
10140 2011-06-26 Martin Rudalics <rudalics@gmx.at>
10141
10142 * window.el (display-buffer-normalize-argument): Rename to
10143 display-buffer-normalize-arguments. Handle special meaning of
10144 LABEL argument. Respect special-display-function when popping up
10145 a new frame. Fix code searching for a window showing the buffer
10146 on another frame.
10147 (display-buffer-normalize-specifiers):
10148 Call display-buffer-normalize-arguments.
10149 (display-buffer-in-window): Don't undedicate the window if its
10150 buffer remains the same.
10151 Reported by Drew Adams <drew.adams@oracle.com>.
10152 (display-buffer-alist): Add choice for same-window macro
10153 specfier.
10154 (display-buffer): Mention special meaning of LABEL argument in
10155 doc-string. Fix quoting. Don't pop up a new frame even as
10156 fallback.
10157
10158 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10161 avoid deleting the current window in some cases (bug#8911).
10162
10163 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10166 (Bug#8934)
10167
10168 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10169
10170 * net/network-stream.el (network-stream-open-starttls):
10171 Use built-in TLS support if `gnutls-available-p' is true.
10172 (network-stream-open-tls): Ditto.
10173
10174 2011-06-26 Leo Liu <sdl.web@gmail.com>
10175
10176 * register.el (registerv): New struct.
10177 (registerv-make): New function.
10178 (jump-to-register, describe-register-1, insert-register):
10179 Support the jump-func, print-func and insert-func slot of a registerv
10180 struct. (Bug#8415)
10181
10182 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
10183
10184 * vc/vc.el (vc-revert-show-diff): New defcustom.
10185 (vc-diff-internal): New arg specifying diff buffer.
10186 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
10187 reuse an existing *vc-diff* buffer (Bug#8927).
10188
10189 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
10190
10191 2011-06-26 Glenn Morris <rgm@gnu.org>
10192
10193 * progmodes/f90.el (f90-critical-indent): New option.
10194 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
10195 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
10196 (f90-mode): Doc fix.
10197 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
10198 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
10199 (f90-beginning-of-block, f90-next-block, f90-indent-region)
10200 (f90-match-end): Handle block, critical.
10201
10202 2011-06-25 Glenn Morris <rgm@gnu.org>
10203
10204 * calendar/diary-lib.el (diary-included-files): Doc fix.
10205 (diary-include-files): New function, extracted from
10206 diary-include-other-diary-files and diary-mark-included-diary-files.
10207 (diary-include-other-diary-files, diary-mark-included-diary-files):
10208 Just call diary-include-files.
10209 (diary-mark-entries): Reset diary-included-files on first call.
10210
10211 * calendar/diary-lib.el (diary-mark-entries)
10212 (diary-mark-included-diary-files):
10213 Visit included diary-files in temp buffers.
10214
10215 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
10216 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
10217 (f90-start-block-re, f90-imenu-generic-expression)
10218 (f90-looking-at-program-block-start, f90-no-block-limit):
10219 Add support for submodules.
10220
10221 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10222 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
10223
10224 2011-06-25 Eli Zaretskii <eliz@gnu.org>
10225
10226 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
10227 buffer-file-type before setting its value, to avoid disastrous
10228 global effects on decoding files for DOS/Windows systems. (Bug#8780)
10229
10230 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
10233
10234 * ses.el (ses-unload-function):
10235 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
10236
10237 * proced.el (proced-unload-function):
10238 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
10239
10240 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
10241
10242 * server.el (server-create-window-system-frame): Add parameters arg.
10243 (server-process-filter): Doc fix. Handle frame-parameters.
10244
10245 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
10246
10247 Fix bug#8730, bug#8781.
10248
10249 * loadhist.el (unload--set-major-mode): New function.
10250 (unload-feature): Use it.
10251
10252 * progmodes/python.el (python-after-info-look): Add autoload cookie.
10253 (python-unload-function): New function.
10254
10255 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10256
10257 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
10258
10259 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
10260
10261 * net/browse-url.el (browse-url-firefox-program): Add icecat to
10262 the candidates list.
10263
10264 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
10267
10268 2011-06-23 Richard Stallman <rms@gnu.org>
10269
10270 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
10271 (rmail-variables): Set next-error-move-function.
10272 (rmail-what-message): Take argument POS.
10273 (rmail-next-error-move): New function.
10274
10275 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
10278 messages for adjacent non-terminals.
10279
10280 2011-06-23 Richard Stallman <rms@gnu.org>
10281
10282 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10283 (rmail-show-message-1): Preserve buffer modified flag.
10284 (rmail-start-mail): Don't specify use of rmail-mail-return;
10285 that's done by mail-bury now.
10286 (rmail-mail-return): Handle arg NEWBUF.
10287
10288 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
10289
10290 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10291 SIZE is a number.
10292
10293 2011-06-23 Martin Rudalics <rudalics@gmx.at>
10294
10295 * window.el (get-lru-window, get-mru-window)
10296 (get-largest-window): Never return a minibuffer window.
10297 (display-buffer-pop-up-window): Fix a bug that could lead to
10298 reusing the minibuffer window.
10299 (display-buffer): Pass original specifier argument to
10300 display-buffer-function instead of the normalized one.
10301 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10302
10303 2011-06-22 Leo Liu <sdl.web@gmail.com>
10304
10305 * minibuffer.el (completing-read-function)
10306 (completing-read-default): Move from minibuf.c
10307
10308 2011-06-22 Richard Stallman <rms@gnu.org>
10309
10310 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10311 to Rmail even if not started by a special Rmail command.
10312
10313 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10314 Copy the buffer currently showing just one message.
10315
10316 2011-06-22 Roland Winkler <winkler@gnu.org>
10317
10318 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10319 (bibtex-clean-entry): First delete the old key so that a
10320 customized algorithm for generating the new key does not get
10321 confused by the old key.
10322 (bibtex-url): Obey regexp of first step.
10323 (bibtex-search-entries): Do not use add-to-list with local
10324 list-var.
10325
10326 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10327
10328 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10329 stored a user name, then query for the password first, instead of
10330 waiting for SMTP to give an error message and the trying again.
10331
10332 2011-06-22 Lawrence Mitchell <wence@gmx.li>
10333
10334 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10335 BUFFER in call-process.
10336
10337 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
10339 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10340 QUIT twice.
10341 (smtpmail-try-auth-methods): Require user name and password from
10342 auth-source.
10343
10344 2011-06-22 Martin Rudalics <rudalics@gmx.at>
10345
10346 * window.el (display-buffer-default-specifiers)
10347 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10348 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10349 (split-window): Normalize SIDE argument (Bug#8916).
10350
10351 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10352 (special-display-frame-alist, special-display-popup-frame):
10353 Remove duplicate declarations. These are now in window.el.
10354
10355 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10356
10357 * mail/smtpmail.el (smtpmail-via-smtp):
10358 Set :use-starttls-if-possible so that we always use STARTTLS if the
10359 server supports it. SMTP servers that support STARTTLS commonly
10360 require it.
10361
10362 * net/network-stream.el (network-stream-open-starttls): Support
10363 upgrading to STARTTLS always, even if we don't have built-in support.
10364 (open-network-stream): Add the :always-query-capabilities keyword.
10365
10366 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10367 upgrades with `open-network-stream', and rely solely on
10368 auth-source for all credentials. Big changes throughout the file,
10369 but in particular:
10370 (smtpmail-auth-credentials): Remove.
10371 (smtpmail-starttls-credentials): Remove.
10372 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10373 MAIL FROM, too.
10374
10375 * net/network-stream.el (network-stream-open-starttls):
10376 Provide support for client certificates both for external and built-in
10377 STARTTLS.
10378 (auth-source): Require.
10379 (open-network-stream): Document the :client-certificate keyword.
10380 (network-stream-certificate): Change cert-cert to cert and
10381 cert-key to key.
10382
10383 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
10384
10385 * net/tramp-cache.el (top): Don't load the persistency file when
10386 "emacs -Q" has been called.
10387
10388 2011-06-21 Tim Harper <timcharper@gmail.com>
10389
10390 * term/ns-win.el (ns-initialize-window-system):
10391 Set application-specific `ApplePressAndHoldEnabled' system
10392 resource to NO as it is not yet supported by the NS port.
10393
10394 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
10395
10396 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10397 (list-dynamic-libraries): ...not here.
10398
10399 2011-06-21 Leo Liu <sdl.web@gmail.com>
10400
10401 * subr.el (sha1): Implement sha1 using secure-hash.
10402
10403 2011-06-21 Martin Rudalics <rudalics@gmx.at>
10404
10405 * window.el (display-buffer-alist): In default value do not
10406 enforce searching a window on any but the selected frame.
10407 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10408 (display-buffer-select-window): Remove function.
10409 (display-buffer-in-window): When a window on another frame gets
10410 reused, do not select it any more but just raise its frame if
10411 necessary (Bug#8851) and (Bug#8856).
10412 (display-buffer-normalize-options): Handle pop-up-frames related
10413 options more faithfully.
10414 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10415 window if it is on another frame.
10416 (display-buffer-alist, display-buffer-default-specifiers):
10417 Don't make new frame unsplittable by default.
10418 (display-buffer-normalize-argument): Fix doc-string typo and use
10419 'same-frame-other-window instead of 'other-window when associating
10420 with display-buffer-macro-specifiers.
10421
10422 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10423
10424 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10425 New functions.
10426 (5x5-mode-map, 5x5-mode-menu): Bind them.
10427 (5x5-draw-grid): Tweak the solver's rendering.
10428
10429 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10430
10431 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10432 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10433
10434 2011-06-21 Drew Adams <drew.adams@oracle.com>
10435
10436 * menu-bar.el: Use function variable instead of switch-to-buffer.
10437 (menu-bar-select-buffer-function): New variable.
10438 (menu-bar-update-buffers): Use it (bug#8876).
10439
10440 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10443 variable's status.
10444
10445 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10446
10447 * x-dnd.el (x-dnd-version-from-flags)
10448 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10449 and long as number (Bug#8899).
10450 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10451
10452 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10453
10454 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10455 (completion-try-completion, completion-all-completions): Compute the
10456 metadata argument if it's missing; make it optional (bug#8795).
10457
10458 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10459 (widget-complete): Use new :completion-function property.
10460 (widget-completions-at-point): New function.
10461 (default): Use :completion-function instead of :complete.
10462 (widget-default-completions): Rename from widget-default-complete;
10463 Rewrite.
10464 (widget-string-complete, widget-file-complete, widget-color-complete):
10465 Remove functions.
10466 (file, symbol, function, variable, coding-system, color):
10467 * international/mule-cmds.el (default-input-method, charset)
10468 (language-info-custom-alist):
10469 * cus-edit.el (face): Use new property :completions.
10470
10471 * progmodes/pascal.el (pascal-completions-at-point): New function.
10472 (pascal-mode): Use it.
10473 (pascal-mode-map): Use completion-at-point.
10474 (pascal-toggle-completions): Make obsolete.
10475 (pascal-complete-word, pascal-show-completions):
10476 * progmodes/octave-mod.el (octave-complete-symbol):
10477 Redefine as obsolete alias.
10478 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10479 Signal absence of completion info for old Octave,
10480 (inferior-octave-complete): Redefine as obsolete alias.
10481 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10482 (meta-completions-at-point): Rename from meta-complete-symbol and
10483 adapt it for use on completion-at-point-functions.
10484 (meta-common-mode): Use it.
10485 (meta-looking-at-backward, meta-match-buffer): Remove.
10486 (meta-complete-symbol): Redefine as obsolete alias.
10487 (meta-common-mode-map): Use completion-at-point.
10488 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10489 (makefile-mode-map): Use completion-at-point.
10490 (makefile-completions-at-point): Rename from makefile-complete and
10491 adapt it for use on completion-at-point-functions.
10492 (makefile-mode): Use it.
10493 (makefile-complete): Redefine as obsolete alias.
10494
10495 2011-06-20 Deniz Dogan <deniz@dogan.se>
10496
10497 * net/rcirc.el: Delete trailing whitespaces once and for all.
10498
10499 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10500
10501 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10502
10503 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
10504
10505 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10506
10507 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10508
10509 2011-06-19 Martin Rudalics <rudalics@gmx.at>
10510
10511 * window.el (display-buffer-other-window-means-other-frame):
10512 Call display-buffer-normalize-alist.
10513 (display-buffer-normalize-specifiers-1): Rename to
10514 display-buffer-normalize-argument. New argument other-frame.
10515 Rewrite.
10516 (display-buffer-normalize-specifiers-2): Rename to
10517 display-buffer-normalize-options.
10518 (display-buffer-normalize-alist-1): New function.
10519 (display-buffer-normalize-specifiers-3): Rename to
10520 display-buffer-normalize-alist.
10521 Call display-buffer-normalize-alist-1.
10522 (display-buffer-normalize-options-inhibit): New variable.
10523 (display-buffer-normalize-specifiers): Rewrite calling
10524 display-buffer-normalize-alist,
10525 display-buffer-normalize-argument, and
10526 display-buffer-normalize-options. Don't call the latter if
10527 display-buffer-normalize-options-inhibit is non-nil.
10528 (frame-auto-delete): New option.
10529 (window-deletable-p): Use frame-auto-delete.
10530 (window-list-no-nils, window-state-ignored-parameters)
10531 (window-state-get-1, window-state-get, window-state-put-list)
10532 (window-state-put-1, window-state-put-2, window-state-put):
10533 New functions.
10534 (display-buffer-normalize-options): Move special-display-p group
10535 after pop-up-frame group (Bug#8851) and (Bug#8856).
10536
10537 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
10538
10539 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10540 groups (Bug#8776).
10541 (rx-submatch-n): New function.
10542 (rx): Document it.
10543
10544 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10545 (Bug#8768).
10546
10547 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10548
10549 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10550
10551 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10552 anytime existing face settings are present (Bug#8889).
10553
10554 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10555 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10556 Remove unused argument.
10557
10558 2011-06-18 Martin Rudalics <rudalics@gmx.at>
10559
10560 * window.el (display-buffer-default-specifiers):
10561 Remove pop-up-frame. Add pop-up-window-min-height,
10562 pop-up-window-min-width, and another reuse-window specifier
10563 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10564 (display-buffer-normalize-specifiers-2):
10565 Handle split-height-threshold and split-width-threshold also when
10566 pop-up-windows is unset. Add a reuse-window specifier for the
10567 case popping up a new window fails.
10568 (special-display-popup-frame): Remove double quoting.
10569 (display-buffer-normalize-specifiers-1): Fix thinko.
10570
10571 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10574 according to comint-completion-addsuffix.
10575
10576 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10577 (pcomplete-suffix-list): Mark as obsolete.
10578 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10579 pcomplete-seen in the closure.
10580 (pcomplete-comint-setup): Setup completion-at-point as well.
10581 (pcomplete--entries): New function.
10582 (pcomplete--env-regexp): New var.
10583 (pcomplete-entries): Rewrite to work with partial-completion and
10584 without relying on pcomplete-suffix-list.
10585 (pcomplete-pare-list): Remove, unused.
10586
10587 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10588
10589 * window.el (display-buffer-alist): Set pop-up-window-min-height
10590 and pop-up-window-min-width in default value. Reported by
10591 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10592 other-window-means-other-frame.
10593 (display-buffer-macro-specifiers): Comment out entry for
10594 other-window specifier.
10595 (display-buffer-other-window-means-other-frame): New function.
10596 (display-buffer-normalize-specifiers-1): New arguments
10597 buffer-name and label. Treat other-window case specially.
10598 (display-buffer-normalize-specifiers-2): Treat other-window case
10599 specially.
10600 (display-buffer-normalize-specifiers-3): New function.
10601 (display-buffer-normalize-specifiers):
10602 Call display-buffer-normalize-specifiers-3.
10603
10604 2011-06-17 Martin Rudalics <rudalics@gmx.at>
10605
10606 * window.el (same-window-p): Fix two typos introduced when
10607 adding with-no-warnings.
10608 (display-buffer-normalize-specifiers-1): Don't check
10609 pop-up-frames for 'unset initialization.
10610 (display-buffer-normalize-specifiers-2): Major rewrite using
10611 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10612 (pop-up-frames, display-buffer-reuse-frames)
10613 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10614 Suggested by David Engster <deng@randomsample.de>.
10615 (even-window-heights): Initialize to 'unset.
10616 (display-buffer-alist-set): Handle new 'unset initializations.
10617 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10618 other window case.
10619
10620 2011-06-16 Martin Rudalics <rudalics@gmx.at>
10621
10622 * window.el (display-buffer-normalize-specifiers-1):
10623 Respect current value of pop-up-frames for most reasonable values of
10624 second argument of display-buffer (Bug#8865).
10625 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10626 (switch-to-buffer-other-window-same-frame)
10627 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10628 Adams (Bug#8875).
10629 (display-buffer): Don't check noninteractive when calling
10630 display-buffer-pop-up-frame.
10631 (display-buffer-pop-up-frame): Never pop up a frame in
10632 noninteractive mode (Bug#8857).
10633 (enlarge-window, shrink-window): Don't report an error when the
10634 window can't be resized as requested (Bug#8862).
10635
10636 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10639
10640 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10641
10642 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10643
10644 2011-06-15 Alan Mackenzie <acm@muc.de>
10645
10646 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10647 for declarators, disable knr checking to speed up for normal files.
10648 2: Refactor, replacing a sequence of nested if forms by a cond form.
10649
10650 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
10652 * net/network-stream.el (open-network-stream): Add the keyword
10653 :always-query-capabilities for the case where you want to force a
10654 `plain' network connection, but the protocol still requires the
10655 capabilitiy command (i.e., SMTP and EHLO).
10656
10657 * subr.el (process-live-p): Rename from `process-alive-p' for
10658 consistency with other `-live-p' functions.
10659
10660 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10661
10662 * window.el (same-window-buffer-names, same-window-regexps)
10663 (special-display-frame-alist, special-display-popup-frame)
10664 (special-display-function, special-display-buffer-names)
10665 (special-display-regexps, pop-up-frame-alist)
10666 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10667 (pop-up-windows, split-window-preferred-function)
10668 (split-height-threshold, split-width-threshold, even-window-heights)
10669 (display-buffer-mark-dedicated): Don't encourage the use of
10670 display-buffer-alist from Elisp code.
10671
10672 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10673
10674 * progmodes/python.el (python-mode): Derive from prog-mode.
10675 * progmodes/ps-mode.el (ps-mode):
10676 * progmodes/mixal-mode.el (mixal-mode):
10677 * progmodes/cfengine.el (cfengine-mode):
10678 * progmodes/ld-script.el (ld-script-mode): Likewise.
10679
10680 2011-06-15 Martin Rudalics <rudalics@gmx.at>
10681
10682 * window.el (display-buffer-alist): Trim default value to avoid
10683 popping up a new frame (Bug#8857) or reusing an arbitrary window
10684 on another frame.
10685 (display-buffer): Do not fall back on popping up a new frame in
10686 batch mode (Bug#8857).
10687
10688 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
10689
10690 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10691 (custom-theme-summary): New function.
10692 (customize-themes): Use it.
10693
10694 2011-06-13 Glenn Morris <rgm@gnu.org>
10695
10696 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10697
10698 2011-06-13 Martin Rudalics <rudalics@gmx.at>
10699
10700 * help.el (help-window): Remove variable.
10701 (help-window-point-marker, temp-buffer-max-height)
10702 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10703 (help-print-return-message): Don't set help-window.
10704 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10705 (help-window-setup-finish): Remove.
10706 (help-window-display-message, help-window-setup)
10707 (with-help-window): Major rewrite based on new
10708 display-buffer-window variable.
10709
10710 * help-mode.el (help-mode-finish): Remove help-window related
10711 code.
10712
10713 * view.el (view-exits-all-viewing-windows): Remove reference to
10714 view-return-to-alist in doc-string.
10715 (view-return-to-alist): Make obsolete.
10716 (view-buffer): Call pop-to-buffer-same-window and remove
10717 undo-window code.
10718 (view-buffer-other-window): Call pop-to-buffer-other-window and
10719 simplify code. Ignore second argument.
10720 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10721 simplify code. Ignore second argument.
10722 (view-return-to-alist-update): Make obsolete.
10723 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10724 Rewrite using quit-restore window parameters.
10725 (view-mode-exit): Rename second argument to EXIT-ONLY.
10726 Rewrite using quit-restore-window.
10727 (View-exit, View-exit-and-edit, View-leave, View-quit)
10728 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10729 appropriate arguments.
10730 (view-end-message): Use quit-restore window parameter.
10731
10732 * window.el (display-buffer-function): Rewrite doc-string.
10733 (display-buffer-window, display-buffer-alist): New variables.
10734 (display-buffer-split-specifiers)
10735 (display-buffer-side-specifiers)
10736 (display-buffer-macro-specifiers): New constants.
10737 (display-buffer-even-window-sizes, display-buffer-set-height)
10738 (display-buffer-set-width, display-buffer-select-window)
10739 (display-buffer-in-window, display-buffer-reuse-window)
10740 (display-buffer-split-window-1, display-buffer-split-window)
10741 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10742 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10743 (display-buffer-in-side-window, normalize-buffer-to-display)
10744 (display-buffer-normalize-specifiers-1)
10745 (display-buffer-normalize-specifiers-2)
10746 (display-buffer-normalize-specifiers, display-buffer-frame):
10747 New functions.
10748 (display-buffer): Major rewrite.
10749 (display-buffer-other-window, display-buffer-other-frame)
10750 (pop-to-buffer, switch-to-buffer-other-window)
10751 (switch-to-buffer-other-frame): Rewrite.
10752 (display-buffer-same-window, display-buffer-same-frame)
10753 (display-buffer-same-frame-other-window)
10754 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10755 (pop-to-buffer-other-window)
10756 (pop-to-buffer-same-frame-other-window)
10757 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10758 (switch-to-buffer-other-window-same-frame): New functions.
10759 (same-window-p, special-display-p): Rewrite disabling warnings.
10760 Make obsolete.
10761 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10762 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10763 Make obsolete
10764 (same-window-buffer-names, same-window-regexps)
10765 (special-display-frame-alist, special-display-popup-frame)
10766 (special-display-function, special-display-buffer-names)
10767 (special-display-regexps, pop-up-frame-alist)
10768 (pop-up-frame-function, split-window-preferred-function)
10769 (split-height-threshold, split-width-threshold)
10770 (even-window-heights): Make obsolete.
10771
10772 2011-06-12 Glenn Morris <rgm@gnu.org>
10773
10774 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10775 Misc simplifications.
10776
10777 2011-06-12 Martin Rudalics <rudalics@gmx.at>
10778
10779 * window.el (window-safely-shrinkable-p): Restore function which
10780 was inadvertently removed in change from 2011-06-11. Declare as
10781 obsolete.
10782
10783 * calendar/calendar.el (calendar-generate-window):
10784 Use window-iso-combined-p instead of combination of one-window-p and
10785 window-safely-shrinkable-p.
10786
10787 2011-06-12 Glenn Morris <rgm@gnu.org>
10788
10789 * progmodes/fortran.el (fortran-mode-syntax-table):
10790 * progmodes/f90.el (f90-mode-syntax-table):
10791 Set % to punctuation. (Bug#8820)
10792 (f90-find-tag-default): Remove, no longer needed.
10793
10794 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10795
10796 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10797
10798 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
10799
10800 * image.el (image-animated-p): Return animation delay in seconds.
10801 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10802 (image-animate-timeout): Remove DELAY argument. Don't assume
10803 every subimage has the same delay; get it from image-animated-p.
10804 (image-animate): Caller changed.
10805
10806 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
10807
10808 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10809 to ignored backtrace functions.
10810
10811 2011-06-11 Glenn Morris <rgm@gnu.org>
10812
10813 * calendar/appt.el (appt-disp-window-function): Doc fix.
10814 (appt-check): Handle overlapping appointments. (Bug#8337)
10815
10816 2011-06-11 Martin Rudalics <rudalics@gmx.at>
10817
10818 * window.el (window-tree-1, window-tree): New functions, moving
10819 the latter to window.el.
10820 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10821 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10822 (bw-refresh-edges): Remove.
10823 (balance-windows-1, balance-windows-2): New functions.
10824 (balance-windows): Rewrite in terms of window tree functions,
10825 balance-windows-1 and balance-windows-2.
10826 (bw-adjust-window): Remove.
10827 (balance-windows-area-adjust): New function with functionality of
10828 bw-adjust-window but using resize-window.
10829 (set-window-text-height): Rewrite doc-string.
10830 Use normalize-live-window and resize-window.
10831 (enlarge-window-horizontally, shrink-window-horizontally):
10832 Rename argument to DELTA.
10833 (window-buffer-height): New function.
10834 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10835 Rewrite using new window resize routines.
10836 (kill-buffer-and-window, mouse-autoselect-window-select):
10837 Use ignore-errors instead of condition-case.
10838 (quit-window): Call delete-frame instead of delete-windows-on
10839 for the only buffer on frame.
10840
10841 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10842
10843 * loadup.el (top-level): Load window before files for the sake
10844 of replace-buffer-in-windows.
10845
10846 * files.el (read-buffer-to-switch)
10847 (switch-to-buffer-other-window)
10848 (switch-to-buffer-other-frame, display-buffer-other-frame):
10849 Move to window.el.
10850
10851 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10852 (previous-buffer): Move to window.el.
10853
10854 * bindings.el (unbury-buffer): Move to window.el.
10855
10856 * window.el (delete-other-windows-vertically): Move after
10857 definition of delete-other-windows.
10858 (other-window, delete-windows-on, replace-buffer-in-windows):
10859 Move here from window.c.
10860 (record-window-buffer, unrecord-window-buffer)
10861 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10862 (switch-to-next-buffer): New functions.
10863 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10864 from simple.el. Call switch-to-next-buffer.
10865 (previous-buffer): Move here from simple.el.
10866 Call switch-to-prev-buffer.
10867 (bury-buffer): Move here from buffer.c. Switch to previous
10868 buffer when window cannot be deleted.
10869 (unbury-buffer): Move here from bindings.el.
10870 (ctl-x-map): Move binding for other-window from window.c to
10871 here.
10872 (read-buffer-to-switch, switch-to-buffer-other-window)
10873 (switch-to-buffer-other-frame): Move here from files.el.
10874 (normalize-buffer-to-switch-to): New functions.
10875 (switch-to-buffer): Move here from buffer.c.
10876 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10877
10878 2011-06-10 Martin Rudalics <rudalics@gmx.at>
10879
10880 * window.el (window-min-height, window-min-width): Move here
10881 from window.c. Add defcustoms and rewrite doc-strings.
10882 (resize-mini-window, resize-window): New functions.
10883 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10884 Move here from window.c.
10885 (maximize-window, minimize-window): New functions.
10886 (delete-window, delete-other-windows, split-window): Move here
10887 from window.c.
10888 (window-split-min-size): New function.
10889 (split-window-keep-point): Mention split-window-above-each-other
10890 instead of split-window-vertically.
10891 (split-window-above-each-other, split-window-vertically):
10892 Rename split-window-vertically to split-window-above-each-other
10893 and provide defalias for old definition.
10894 (split-window-side-by-side, split-window-horizontally):
10895 Rename split-window-horizontally to split-window-side-by-side
10896 and provide defalias for the old definition.
10897 (ctl-x-map): Move bindings for delete-window,
10898 delete-other-windows and enlarge-window here from window.c.
10899 Replace bindings for split-window-vertically and
10900 split-window-horizontally by bindings for
10901 split-window-above-each-other and split-window-side-by-side.
10902
10903 * cus-start.el (all): Remove entries for window-min-height and
10904 window-min-width. Add entries for window-splits and
10905 window-nest.
10906
10907 2011-06-09 Glenn Morris <rgm@gnu.org>
10908
10909 * calendar/appt.el (appt-mode-line): New function.
10910 (appt-check, appt-disp-window): Use it.
10911
10912 * files.el (hack-one-local-variable-eval-safep):
10913 Allow minor-modes with explicit +/-1 arguments.
10914
10915 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10916
10917 * term/xterm.el (xterm): Add defgroup.
10918 (xterm-extra-capabilities): Add defcustom to supply known xterm
10919 capabilities, skip querying them, or query them (default).
10920 (terminal-init-xterm): Use it.
10921 (terminal-init-xterm-modify-other-keys): New function to set up
10922 modifyOtherKeys support to simplify `terminal-init-xterm'.
10923
10924 2011-06-09 Martin Rudalics <rudalics@gmx.at>
10925
10926 * window.el (resize-window-reset, resize-window-reset-1)
10927 (resize-subwindows-skip-p, resize-subwindows-normal)
10928 (resize-subwindows, resize-other-windows, resize-this-window)
10929 (resize-root-window, resize-root-window-vertically)
10930 (window-deletable-p, window-or-subwindow-p)
10931 (frame-root-window-p): New functions.
10932
10933 2011-06-09 Glenn Morris <rgm@gnu.org>
10934
10935 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10936 (ange-ftp-get-files): Use it.
10937
10938 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10939
10940 * mail/sendmail.el (mail-recover-1, mail-recover):
10941 * files.el (recover-file, recover-session):
10942 Handle dired-listing-switches not being just a single short option.
10943
10944 2011-06-09 Glenn Morris <rgm@gnu.org>
10945
10946 * calendar/appt.el (appt-display-message, appt-disp-window):
10947 Handle lists of appointments.
10948
10949 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10950
10951 * window.el (one-window-p): Move down in code.
10952 Rewrite doc-string.
10953 (window-current-scroll-bars): Rewrite doc-string.
10954 Normalize live window argument.
10955 (walk-windows, get-window-with-predicate, count-windows):
10956 Rewrite doc-string. Use window-list-1.
10957 (window-in-direction-2, window-in-direction, get-mru-window):
10958 New functions.
10959
10960 2011-06-08 Reuben Thomas <rrt@sc3d.org>
10961
10962 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10963 Doc fix (Bug#8713).
10964
10965 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
10966
10967 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10968
10969 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * loadhist.el (unload-feature-special-hooks):
10972 Add `comint-output-filter-functions'.
10973
10974 2011-06-08 Ivan Kanis <gnu@kanis.fr>
10975
10976 * calendar/appt.el (appt-check): Move some initializations into the let.
10977
10978 2011-06-08 Martin Rudalics <rudalics@gmx.at>
10979
10980 * window.el (window-height): Defalias to window-total-height.
10981 (window-width): Defalias to window-body-width.
10982
10983 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
10984
10985 * image-mode.el (image-toggle-animation): New command.
10986 (image-mode-map): Bind it to RET.
10987 (image-mode): Update message.
10988 (image-toggle-display-image): Avoid a spurious cache flush.
10989 (image-transform-rotation): Doc fix.
10990 (image-transform-properties): Return quickly in the normal case.
10991 (image-animate-loop): Rename from image-animate-max-time.
10992
10993 * image.el (image-animate-max-time): Move to image-mode.el.
10994 (create-animated-image): Remove unnecessary function.
10995 (image-animate): Rename from image-animate-start. New arg.
10996 (image-animate-stop): Remove; just use image-animate-timer.
10997 (image-animate-timer): Use car-safe.
10998 (image-animate-timeout): Rename argument.
10999
11000 2011-06-07 Martin Rudalics <rudalics@gmx.at>
11001
11002 * window.el (get-lru-window, get-largest-window): Move here from
11003 window.c. Rename first argument to ALL-FRAMES.
11004 Rephrase doc-strings.
11005 (get-buffer-window-list): Rewrite using window-list-1.
11006 Rephrase doc-string.
11007 (window-safe-min-height, window-safe-min-width): New constants.
11008 (window-size-ignore, window-min-size, window-min-size-1)
11009 (window-sizable, window-sizable-p, window-size-fixed-1)
11010 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11011 (window-max-delta-1, window-max-delta, window-resizable)
11012 (window-resizable-p, window-total-height, window-total-width)
11013 (window-body-width): New functions.
11014 (window-full-height-p, window-full-width-p): Rewrite using
11015 window-total-size.
11016 (window-body-height): Rewrite using window-body-size.
11017
11018 2011-06-06 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (window-right, window-left, window-child)
11021 (window-child-count, window-last-child, window-any-p)
11022 (normalize-live-buffer, normalize-live-frame)
11023 (normalize-any-window, normalize-live-window)
11024 (window-iso-combination-p, window-iso-combined-p)
11025 (window-iso-combinations)
11026 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11027 (windows-with-parameter, window-with-parameter)
11028 (window-atom-root, make-window-atom, window-atom-check-1)
11029 (window-atom-check, window-side-check, window-check):
11030 New functions.
11031 (ignore-window-parameters, window-sides, window-sides-vertical)
11032 (window-sides-slots): New variables.
11033 (window-size-fixed): Move down in code. Minor doc-string fix.
11034
11035 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11036
11037 * comint.el (comint-dynamic-complete-as-filename)
11038 (comint-dynamic-complete-filename): Correctly call
11039 completion-in-region.
11040
11041 2011-06-05 Deniz Dogan <deniz@dogan.se>
11042
11043 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11044 in last change.
11045
11046 2011-06-05 Deniz Dogan <deniz@dogan.se>
11047
11048 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11049 (rcirc): Use it to prompt for encryption.
11050
11051 2011-06-05 Roland Winkler <winkler@gnu.org>
11052
11053 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11054 (bibtex-search-entries): New command bound to C-c C-a.
11055 (bibtex-display-entries): New function.
11056
11057 2011-06-05 Roland Winkler <winkler@gnu.org>
11058
11059 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11060 (bibtex-insert-kill): After yanking insert newline if necessary.
11061 (bibtex-initialize): Call bibtex-string-files-init only once.
11062 (bibtex-mode): Do not call easy-menu-add.
11063 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11064 (bibtex-yank): Set arg properly if nil.
11065
11066 2011-06-05 Roland Winkler <winkler@gnu.org>
11067
11068 * textmodes/bibtex.el (bibtex-search-entry-globally):
11069 New variable.
11070 (bibtex-search-entry): Use it.
11071
11072 2011-06-05 Roland Winkler <winkler@gnu.org>
11073
11074 * textmodes/bibtex.el (bibtex-entry-format): New option
11075 sort-fields.
11076 (bibtex-format-entry, bibtex-reformat): Honor this option.
11077 (bibtex-parse-entry): Return fields in proper order.
11078
11079 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * doc-view.el (doc-view-remove-if): Move computation of result out
11082 of `dolist' to silence misleading lexical-binding warning.
11083
11084 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
11085
11086 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11087 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11088
11089 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11090
11091 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11092 "SunOS 5.10".
11093
11094 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
11095
11096 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11097 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11098 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11099 (tramp-parse-putty):
11100 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11101 (tramp-completion-function-alist-ssh)
11102 (tramp-completion-function-alist-telnet)
11103 (tramp-completion-function-alist-su)
11104 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11105 cookie.
11106
11107 * net/tramp-ftp.el:
11108 * net/tramp-sh.el:
11109 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11110 load "tramp.el" `tramp-set-completion-function'.
11111
11112 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * shell.el: Require and use pcomplete.
11115 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11116 (shell-completion-vars): Set pcomplete-default-completion-function.
11117
11118 2011-06-04 Deniz Dogan <deniz@dogan.se>
11119
11120 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11121 `memq' (Bug#8799).
11122
11123 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11126
11127 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
11128
11129 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11130 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11131 * vc/log-view.el (log-view-beginning-of-defun):
11132 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11133 (smerge-refine-forward, smerge-refine-chopup-region):
11134 Silence warning for unused `dotimes' counter variables.
11135
11136 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * net/tramp.el (tramp-with-progress-reporter): Rename from
11139 with-progress-reporter. Use `declare'.
11140 * net/tramp-smb.el:
11141 * net/tramp-sh.el:
11142 * net/tramp-gvfs.el: Update all uses.
11143
11144 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11145
11146 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11147 buffer isn't killed before making it current.
11148
11149 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 Silence various byte-compiler warnings.
11152 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11153 `access-type' and new obsolescence format.
11154 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11155 new format.
11156 (byte-compile-check-variable): New `access-type' argument.
11157 Only warn if the access-type is obsolete.
11158 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11159 (byte-compile-variable-set): Adjust callers.
11160 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11161 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11162 setting it as obsolete.
11163 * simple.el (minibuffer-completing-symbol):
11164 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11165 access as obsolete.
11166 * minibuffer.el (minibuffer-completing-file-name): Don't make it
11167 obsolete yet.
11168 * international/quail.el (quail-mouse-choose-completion): Remove unused
11169 code referring to obsolete var.
11170 (quail-choose-completion-string): Remove.
11171 * server.el (server-clients-with, server-kill-buffer-query-function)
11172 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
11173 * proced.el (proced-send-signal):
11174 * emacs-lisp/lisp.el (lisp-complete-symbol):
11175 Replace completion-annotate-function with completion-extra-properties.
11176
11177 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * simple.el (goto-line): Use read-number.
11180 (overriding-map-is-bound): Remove.
11181 (saved-overriding-map): Change default.
11182 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
11183 Take the map as argument.
11184 (universal-argument, negative-argument, digit-argument): Use it.
11185 (restore-overriding-map): Adjust.
11186 (do-auto-fill): Use fill-forward-paragraph.
11187 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
11188
11189 * minibuffer.el (minibuffer-inactive-mode-map): New var.
11190 (minibuffer-inactive-mode): New major mode.
11191 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
11192 the *Messages* buffer" hack.
11193 (mouse-popup-menubar): Don't burp if the event is a normal key.
11194
11195 Miscellaneous tweaks.
11196 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
11197 lexical scoping as in subr.el's dolist and dotimes.
11198 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
11199 Silence compiler warning.
11200 * thingatpt.el (forward-whitespace): Trivial coding style fix.
11201 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
11202 * international/ccl.el (ccl-compile): Trivial simplification.
11203 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
11204 * emacs-lisp/testcover.el (testcover-end): Remove spurious
11205 `printflag' argument.
11206 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11207 Purecopy the whole obsolescence data.
11208
11209 2011-06-01 Leo Liu <sdl.web@gmail.com>
11210
11211 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
11212 improve doc-string as suggested by Marco Pessotto
11213 <melmothx@gmail.com>.
11214 (rcirc-print): Fix last change.
11215
11216 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * minibuffer.el (complete-with-action): Return nil for the metadata and
11219 boundaries of non-functional tables.
11220 (completion-table-dynamic): Return nil for the metadata.
11221 (completion-table-with-terminator): Add default case, using
11222 complete-with-action.
11223 (completion--metadata): New function.
11224 (completion-all-sorted-completions, minibuffer-completion-help): Use it
11225 to try and avoid pathological performance problems.
11226 (completion--embedded-envvar-table): Return `category' metadata.
11227
11228 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * subr.el (process-alive-p): New tiny convenience function.
11231
11232 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
11235 content but also its previous major mode.
11236
11237 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
11238
11239 * emacs-lisp/debug.el (debug): Restore the previous content of the
11240 *Backtrace* buffer when we exit with C-M-c.
11241
11242 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * minibuffer.el: Add metadata method to completion tables.
11245 (completion-category-overrides): New defcustom.
11246 (completion-metadata, completion--field-metadata)
11247 (completion-metadata-get, completion--styles)
11248 (completion--cycle-threshold): New functions.
11249 (completion-try-completion, completion-all-completions):
11250 Add `metadata' argument to choose completion-styles.
11251 (completion--do-completion): Use metadata to choose cycling.
11252 (completion-all-sorted-completions): Use metadata for sorting.
11253 Remove :completion-cycle-penalty which is not needed any more.
11254 (completion--try-word-completion): Add `metadata' argument.
11255 (minibuffer-completion-help): Check metadata for annotation function
11256 and sorting.
11257 (completion-file-name-table): Return `category' metadata.
11258 (minibuffer-completing-file-name): Make obsolete.
11259 * simple.el (minibuffer-completing-symbol): Make obsolete.
11260 * icomplete.el (icomplete-completions): Pass new `metadata' param to
11261 completion-try-completion.
11262
11263 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
11266
11267 2011-05-30 Leo Liu <sdl.web@gmail.com>
11268
11269 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
11270 (rcirc-print): Decode all incoming messages (bug#8744).
11271 (rcirc-decode-coding-system): Allow value nil for automatic coding
11272 system detection.
11273
11274 2011-06-01 Glenn Morris <rgm@gnu.org>
11275
11276 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
11277
11278 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11279
11280 * image.el (image-animate-max-time): Allow nil and t values.
11281 Default to nil.
11282 (create-animated-image): Doc fix.
11283 (image-animate-start): Remove second arg; just use
11284 image-animate-max-time.
11285 (image-animate-timeout): Doc fix. Args changed.
11286
11287 * image-mode.el (image-toggle-display-image): Ensure that the
11288 image spec passed to the animate timer is the same object as in
11289 the buffer's display property (Bug#6981).
11290 (image-transform-properties): Doc fix.
11291
11292 * image.el (image-animate-max-time): Default to nil.
11293
11294 2011-05-29 Martin Rudalics <rudalics@gmx.at>
11295
11296 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11297 entire buffer list (Bug#8184).
11298
11299 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * image.el (imagemagick-types-inhibit)
11302 (imagemagick-register-types): Doc fix.
11303
11304 2011-05-29 Deniz Dogan <deniz@dogan.se>
11305
11306 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11307 default.
11308
11309 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
11310
11311 * select.el: Don't perform clipboard-manager saving in hooks;
11312 leave the hooks empty.
11313
11314 2011-05-28 Leo Liu <sdl.web@gmail.com>
11315
11316 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11317 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11318 (occur-edit-mode): New major mode (Bug#8463).
11319 (occur-after-change-function): New function.
11320 (occur-engine): Give Occur tags a read-only property.
11321
11322 2011-05-28 Kevin Ryde <user42@zip.com.au>
11323
11324 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11325
11326 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11327
11328 * bindings.el (help-echo): Make the initial non-indicator dash
11329 empty on graphical terminals (Bug#7295).
11330
11331 * files.el (auto-mode-alist): Move config rule after the
11332 in-stripping one (Bug#8547).
11333
11334 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11335
11336 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11337 setting (Bug#8740).
11338
11339 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11340
11341 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11342 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11343 (Bug#8539).
11344
11345 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11346
11347 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11348
11349 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11350
11351 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11352 (hs-hide-block-at-point, hs-find-block-beginning)
11353 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11354 (Bug#8279).
11355
11356 2011-05-28 Glenn Morris <rgm@gnu.org>
11357
11358 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11359
11360 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
11361
11362 * help-fns.el (describe-function-1): If the function is a derived
11363 major mode, print the parent mode.
11364
11365 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11366 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11367
11368 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * minibuffer.el (completion--capf-wrapper): Check applicability before
11371 returning non-nil for non-exclusive completion data.
11372 * progmodes/etags.el (tags-completion-at-point-function):
11373 * info-look.el (info-lookup-completions-at-point): Mark as
11374 non-exclusive.
11375 (info-complete): Adjust accordingly.
11376
11377 * info-look.el: Convert to lexical-binding and completion-at-point.
11378 (info-lookup-completions-at-point): New function.
11379 (info-complete): Use it and completion-in-region.
11380
11381 2011-05-28 Drew Adams <drew.adams@oracle.com>
11382
11383 * isearch.el: Let M-e start with point at the first mismatched char.
11384 (isearch-fail-pos): New function.
11385 (isearch-edit-string): Use it.
11386
11387 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11388
11389 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11390
11391 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11392
11393 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11394 traversal functions for avl-trees.
11395 (avl-tree--stack): New struct.
11396 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11397 (avl-tree-enter): Add optional `updatefun' arg.
11398 (avl-tree--do-enter): Add optional `updatefun' arg.
11399 Change return value.
11400 (avl-tree-delete): Add optional `test' and `nilflag' args.
11401 (avl-tree--do-delete): Add `test' and `nilflag' args.
11402 Change return value.
11403 (avl-tree-member): Add optional `nilflag'
11404 (avl-tree-member-p): New function.
11405 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11406 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11407 (avl-tree-stack-empty-p): New functions.
11408
11409 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11410 avl-tree--del-balance1 and make it work both ways.
11411 (avl-tree--del-balance2): Remove.
11412 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11413 make it work both ways.
11414 (avl-tree--enter-balance2): Remove.
11415 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11416 New macros.
11417 (avl-tree--mapc, avl-tree-map): Add direction argument.
11418
11419 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11420
11421 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11422
11423 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
11424
11425 * select.el: Support clipboard managers with built-in function
11426 x-clipboard-manager-save, via delete-frame-functions and
11427 kill-emacs-hook.
11428 (xselect-convert-to-targets): Add MULTIPLE target to list.
11429 (xselect-convert-to-save-targets): New function.
11430
11431 2011-05-27 Kenichi Handa <handa@m17n.org>
11432
11433 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11434 let-binding rfc2047-encode-encoded-words to nil.
11435
11436 2011-05-27 Glenn Morris <rgm@gnu.org>
11437
11438 * mail/emacsbug.el: Don't require url-util.
11439
11440 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11441
11442 * files.el (set-auto-mode):
11443 Also respect mode: entries at the end of the file. (Bug#8586)
11444
11445 2011-05-26 Glenn Morris <rgm@gnu.org>
11446
11447 * files.el (hack-local-variables-prop-line, hack-local-variables):
11448 Downcase mode names, as seems to be traditional.
11449 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11450
11451 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11452 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11453
11454 2011-05-25 Julien Danjou <julien@danjou.info>
11455
11456 * textmodes/rst.el (rst-define-level-faces): Do not define face
11457 symbol if it is already defined.
11458
11459 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11460
11461 * play/5x5.el (5x5-new-game, 5x5-randomize):
11462 Reset 5x5-solver-output to nil when a new grid is cast.
11463 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11464 these debugging traces, as defmacro breaks the compiled code.
11465
11466 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11467
11468 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11469
11470 2011-05-24 Leo Liu <sdl.web@gmail.com>
11471
11472 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11473 (vc-bzr-sha1): Adapt.
11474
11475 * sha1.el: Remove. Function `sha1' is now builtin.
11476
11477 * bindings.el: Provide sha1 feature.
11478
11479 2011-05-24 Kenichi Handa <handa@m17n.org>
11480
11481 * mail/sendmail.el: Require `rfc2047'.
11482 (mail-insert-from-field): Do not perform RFC2047 encoding.
11483 (mail-encode-header): New function.
11484 (sendmail-send-it): Set buffer-file-coding-system of the work
11485 buffer to the return value of select-message-coding-system.
11486 Call mail-encode-header.
11487
11488 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11489
11490 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11491
11492 * mail/supercite.el (sc-default-cite-frame):
11493 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11494
11495 2011-05-24 Glenn Morris <rgm@gnu.org>
11496
11497 * progmodes/python.el (brm-menu): Declare.
11498
11499 * emulation/viper.el (viper-set-hooks): Declare.
11500
11501 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11502 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11503 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11504 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11505 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11506 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11507
11508 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 Add an :exit-function for completion-at-point.
11511
11512 * minibuffer.el (completion--done): New fun.
11513 (completion--do-completion): Use it. New arg `expect-exact'.
11514 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11515 since completion--do-completion does it for us now.
11516 (minibuffer-force-complete): Use completion--done and
11517 completion--replace. Handle sole-completion case with more care.
11518 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11519 (completion-extra-properties): New var.
11520 (completion-annotate-function): Make obsolete.
11521 (minibuffer-completion-help): Adjust accordingly.
11522 Use completion-list-insert-choice-function.
11523 (completion-at-point, completion-help-at-point):
11524 Bind completion-extra-properties.
11525 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11526 * simple.el (completion-list-insert-choice-function): New var.
11527 (completion-setup-function): Preserve it.
11528 (choose-completion): Pay attention to it, shuffle the code a bit.
11529 (choose-completion-string): New arg `insert-function'.
11530
11531 * textmodes/bibtex.el: Convert to lexical binding.
11532 (bibtex-mode-map): Use completion-at-point.
11533 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11534 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11535 (bibtex-complete): Define as obsolete alias.
11536 (bibtex-complete-internal): Remove.
11537 (bibtex-format-entry): Remove unused sub-group in regexp.
11538 * shell.el (shell--command-completion-data)
11539 (shell-environment-variable-completion):
11540 * pcomplete.el (pcomplete-completions-at-point):
11541 * comint.el (comint--complete-file-name-data): Use :exit-function
11542 instead of completion-table-with-terminator so it also works for
11543 choose-completion.
11544
11545 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11548
11549 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11550 (bug#8710).
11551
11552 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11553
11554 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11555
11556 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11557 customization variable and implement: If non-nil, auto-fill will
11558 be inhibited while on topic's header line.
11559
11560 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11561
11562 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11563 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11564 always have a solution in grid size = 5 cases.
11565 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11566 (5x5-solver-output, 5x5-log-buffer): New vars.
11567 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11568 Make these variables buffer local to achieve 5x5 multi-session-ness.
11569 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11570 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11571 (5x5-solve-suggest): New funs.
11572 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11573 randomize a grid so that we ensure that there is always a solution.
11574 (5x5-make-random-grid): Allow other movement than flipping.
11575
11576 2011-05-23 Kevin Ryde <user42@zip.com.au>
11577
11578 * emacs-lisp/advice.el (ad-read-advised-function):
11579 Use `function-called-at-point' as the default, if it has
11580 advice and passes PREDICATE.
11581
11582 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11583
11584 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11585 byte-compile-lambda if it's actually a lambda.
11586
11587 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11588 Fix function quoting. Use backquote better.
11589
11590 2011-05-22 Yuanle Song <sylecn@gmail.com>
11591
11592 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11593 matching (Bug#8516).
11594
11595 2011-01-22 Jari Aalto <jari.aalto@cante.net>
11596
11597 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11598 different face (Bug#8178).
11599
11600 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
11601
11602 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11603 defface (Bug#8144).
11604
11605 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11608 funcall as well (bug#8712). Warn when performing those conversions.
11609 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11610
11611 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11612
11613 2011-05-22 Glenn Morris <rgm@gnu.org>
11614
11615 * files.el (hack-local-variables-prop-line): Small simplifications.
11616 (hack-local-variables, hack-local-variables-prop-line):
11617 If MODE-ONLY, return the mode, rather than just `t'.
11618
11619 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11622
11623 2011-05-21 Glenn Morris <rgm@gnu.org>
11624
11625 * files.el (hack-local-variables-prop-line, hack-local-variables):
11626 If only interested in the mode, don't bother doing the other stuff.
11627
11628 * image-mode.el (image-after-revert-hook):
11629 Redraw all frames on which the image is visible. (Bug#8567)
11630
11631 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11632
11633 * wid-edit.el (widget-checklist-match-inline):
11634 Fix 2011-04-19 change. (Bug#8649)
11635
11636 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11639 Also allow singlespace after single-letter capitals followed by a dot.
11640
11641 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11642 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11643
11644 2011-05-20 Nix <nix@esperi.org.uk>
11645
11646 * files.el (basic-save-buffer-2):
11647 Fix handling of break-hardlink-on-save with non-existent files.
11648
11649 2011-05-19 Deniz Dogan <deniz@dogan.se>
11650
11651 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11652 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11653
11654 2011-05-19 Glenn Morris <rgm@gnu.org>
11655
11656 * progmodes/f90.el (f90-type-def-re):
11657 Handle "type, bind(c)". (Bug#8691)
11658
11659 * emacs-lisp/autoload.el (batch-update-autoloads):
11660 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11661
11662 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
11663
11664 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11665 property for the correct connection in case of multihops.
11666
11667 2011-05-18 Glenn Morris <rgm@gnu.org>
11668
11669 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11670 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11671
11672 Rationalize calendar handling of day and month abbrev-arrays.
11673 * calendar/calendar.el (calendar-customized-p): New function.
11674 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11675 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11676 Add :set function.
11677 (calendar-abbrev-length, calendar-day-abbrev-array)
11678 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11679 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11680 Elements may no longer be nil.
11681 (calendar-day-name, calendar-month-name):
11682 Update for changed nature of abbrev arrays.
11683 * calendar/diary-lib.el (diary-name-pattern):
11684 Update for changed nature of abbrev arrays.
11685 (diary-mark-entries-1): Update calendar-make-alist calls.
11686 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11687 * calendar/cal-html.el (cal-html-day-abbrev-array):
11688 Simply inherit from calendar-day-abbrev-array.
11689
11690 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11691
11692 * progmodes/grep.el (grep-mode): Disable default
11693 compilation-directory-matcher setting (bug#8684).
11694
11695 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11698 instead of "head" and "tail". There were problems with SunOS 5.9,
11699 and it performs better.
11700
11701 2011-05-17 Glenn Morris <rgm@gnu.org>
11702
11703 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11704
11705 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11706 Replace obsolete function.
11707
11708 * shell.el (pcomplete-parse-arguments-function): Declare.
11709
11710 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11711 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11712 (appt-check): Doc fixes.
11713 (appt-disp-window-function, appt-delete-window-function):
11714 Remove needless special case in custom :type.
11715 (appt-display-count): Default to 0, not nil.
11716 (appt-check): Reset appt-display-count to 0, not nil.
11717
11718 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * progmodes/python.el (python-font-lock-keywords):
11721 Add the Python 3.X keyword "nonlocal" (bug#8639).
11722
11723 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11726
11727 2011-05-16 Kevin Ryde <user42@zip.com.au>
11728
11729 * info-look.el (makefile-automake-mode): New setups, looking in
11730 automake manual, then makefile-mode.
11731 (makefile-mode): Remove automake manual, have it just in
11732 makefile-automake-mode since there's various things different or
11733 not relevant to plain make.
11734 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11735 believe a hypothetical automake-mode would go to makefile-mode,
11736 not the other way around.
11737
11738 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
11739
11740 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11741 hunk-end tags (Bug#8672).
11742
11743 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11744 vc-annotate-show-diff-revision-at-line (Bug#8671).
11745
11746 2011-05-14 Glenn Morris <rgm@gnu.org>
11747
11748 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11749 in the middle of an existing one with multiple authors. (Bug#8645)
11750 (change-log-font-lock-keywords): Also handle multiple author lines
11751 with leading tabs. (Bug#8644)
11752
11753 * calendar/appt.el (appt-check): Rename some local variables.
11754 Some simplification/reordering.
11755
11756 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11757 (feedmail-sendmail-f-doesnt-sell-me-out)
11758 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11759 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11760 (feedmail-queue-runner-message-sender): Set :version.
11761 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11762 (bbdb-dwim-net-address, vm-mail): Declare.
11763 (feedmail-binmail-gnulinuxish-template):
11764 Rename from feedmail-binmail-linuxish-template.
11765 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11766 Use insert-buffer-substring.
11767
11768 2011-05-14 Bill Carpenter <bill@carpenter.org>
11769
11770 * mail/feedmail.el (feedmail-patch-level): Increase.
11771 (feedmail-debug): New custom group.
11772 (feedmail-confirm-outgoing-timeout)
11773 (feedmail-sendmail-f-doesnt-sell-me-out)
11774 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11775 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11776 (feedmail-sender-line, feedmail-from-line)
11777 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11778 (feedmail-spray-this-address)
11779 (feedmail-spray-address-fiddle-plex-list)
11780 (feedmail-queue-use-send-time-for-date)
11781 (feedmail-queue-use-send-time-for-message-id)
11782 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11783 (feedmail-buffer-eating-function):
11784 Doc fixes.
11785 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11786 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11787 (feedmail-message-action-scroll-down): New functions.
11788 (feedmail-queue-directory, feedmail-queue-draft-directory):
11789 Use expand-file-name.
11790 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11791 Remove C-v help entry.
11792 (feedmail-queue-buffer-file-name): New variable.
11793 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11794 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11795 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11796 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11797 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11798 (feedmail-message-action-toggle-spray)
11799 (feedmail-run-the-queue-no-prompts)
11800 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11801 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11802 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11803 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11804 (feedmail-envelope-deducer, feedmail-fiddle-from)
11805 (feedmail-fiddle-sender, feedmail-default-date-generator)
11806 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11807 (feedmail-fiddle-spray-address)
11808 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11809 (feedmail-fiddle-list-of-fiddle-plexes)
11810 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11811 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11812 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11813 Change default. Doc fix.
11814 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11815 (feedmail-binmail-linuxish-template): New constant.
11816 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11817 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11818 (feedmail-send-it): Add debug call.
11819 Use feedmail-queue-buffer-file-name, and
11820 feedmail-send-it-immediately-wrapper.
11821 (feedmail-message-action-send): Add debug call.
11822 Use feedmail-send-it-immediately-wrapper.
11823 (feedmail-queue-express-to-queue): Add debug call.
11824 Run feedmail-queue-express-hook.
11825 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11826 (feedmail-message-action-help-blat):
11827 Rename from feedmail-queue-send-edit-prompt-help-first.
11828 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11829 Check line-endings. Handle errors better.
11830 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11831 Doc fix. Add debug call.
11832 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11833 Use feedmail-queue-send-edit-prompt-inner.
11834 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11835 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11836 from feedmail-queue-send-edit-prompt.
11837 (feedmail-queue-send-edit-prompt-help)
11838 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11839 (feedmail-tidy-up-slug): Add debug call.
11840 Respect feedmail-queue-slug-suspect-regexp.
11841 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11842 (feedmail-dump-message-to-queue): Add debug call.
11843 Expand queue-directory.
11844 (feedmail-dump-message-to-queue): Change message slightly.
11845 Use feedmail-say-chatter.
11846 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11847 (feedmail-send-it-immediately-wrapper): New function.
11848 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11849 Insert empty string rather than newline. Handle full-frame case.
11850 Use catch/throw. Use feedmail-say-chatter.
11851 (feedmail-fiddle-from): Try mail-host-address.
11852 (feedmail-default-message-id-generator): Doc fix.
11853 Bind system-time-locale. Handle missing end.
11854 (feedmail-fiddle-x-mailer): Add debug call.
11855 Handle feedmail-x-mailer-line being nil.
11856 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11857 Add debug call. Use buffer-substring-no-properties.
11858 (feedmail-say-debug, feedmail-say-chatter): New functions.
11859 (feedmail-find-eoh): Give an explicit error.
11860
11861 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
11862
11863 * net/newst-treeview.el (newsticker-treeview-face): Change default
11864 family from helvetica to sans.
11865 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11866 etc/images/newsticker.
11867
11868 * net/newst-reader.el (newsticker-feed-face): Change default
11869 family from helvetica to sans.
11870
11871 * net/newst-plainview.el (newsticker-new-item-face)
11872 (newsticker-old-item-face, newsticker-immortal-item-face)
11873 (newsticker-obsolete-item-face, newsticker-date-face)
11874 (newsticker-statistics-face): Change default family from
11875 helvetica to sans.
11876 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11877 etc/images/newsticker.
11878
11879 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11880 (newsticker--process-auto-mark-filter-match): Tell user about
11881 auto-marking.
11882
11883 2011-05-13 Didier Verna <didier@xemacs.org>
11884
11885 Common Lisp indentation improvements on defmethod and lambda-lists.
11886 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11887 TODO entries.
11888 (lisp-lambda-list-keyword-parameter-indentation)
11889 (lisp-lambda-list-keyword-parameter-alignment)
11890 (lisp-lambda-list-keyword-alignment): New customizable user options.
11891 (lisp-indent-defun-method): Improve docstring.
11892 (extended-loop-p): Fix comment.
11893 (lisp-indent-lambda-list-keywords-regexp): New variable.
11894 (lisp-indent-lambda-list): New function.
11895 (lisp-indent-259): Use it.
11896 (lisp-indent-defmethod): Support for more than one
11897 method qualifier and properly indent methods lambda-lists.
11898 (defgeneric): Provide a missing common-lisp-indent-function property.
11899
11900 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11903 bounds for the empty string (bug#8667).
11904
11905 2011-05-13 Glenn Morris <rgm@gnu.org>
11906
11907 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11908
11909 * mail/sendmail.el (sendmail-program): Try executable-find first.
11910 (sendmail-send-it): `sendmail-program' cannot be unbound.
11911
11912 * calendar/appt.el (appt-make-list): Simplify.
11913 (appt-time-msg-list): Doc fix.
11914 (appt-check): Change mode-line message at the time of the appointment.
11915
11916 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11917
11918 * progmodes/ld-script.el (ld-script-keywords)
11919 (ld-script-builtins): Update keywords list.
11920
11921 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11924
11925 * shell.el (shell-completion-vars): New function.
11926 (shell-mode):
11927 * simple.el (read-shell-command): Use it.
11928 (blink-matching-open): No need for " [...]" in minibuffer-message.
11929
11930 2011-05-12 Glenn Morris <rgm@gnu.org>
11931
11932 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11933 (appt-check): Simplify.
11934
11935 2011-05-12 Eli Zaretskii <eliz@gnu.org>
11936
11937 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11938 literal "/dev/null".
11939
11940 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11943 Fix typo.
11944
11945 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11946
11947 * progmodes/which-func.el (which-function):
11948 Use add-log-current-defun instead of add-log-current-defun-function,
11949 which might not be defined (Bug#8260).
11950
11951 2011-05-12 Glenn Morris <rgm@gnu.org>
11952
11953 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11954 Let byte-compile-initial-macro-environment always take precedence.
11955
11956 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * net/rcirc.el: Add support for SSL/TLS connections.
11959 (rcirc-server-alist): New field `encryption'.
11960 (rcirc): Check `encryption' settings.
11961 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11962 Merge make-local-variable into `set'.
11963 (rcirc--connection-open-p): New function.
11964 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11965 the process is not a network process (e.g. running gnutls-cli).
11966 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11967 Make rcirc-(en|de)code-coding-system local here.
11968 (rcirc-mode): Merge make-local-variable into `set'.
11969 (rcirc-parent-buffer): Make permanent buffer-local.
11970 (rcirc-multiline-minor-mode): Don't do it here.
11971 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11972 there's no server buffer.
11973
11974 2011-05-11 Glenn Morris <rgm@gnu.org>
11975
11976 * newcomment.el (comment-kill): Prefix "unused" local.
11977
11978 * term/w32console.el (get-screen-color): Declare.
11979
11980 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11981 Handle symbol elements of byte-compile-initial-macro-environment.
11982
11983 2011-05-10 Leo Liu <sdl.web@gmail.com>
11984
11985 * bookmark.el (bookmark-bmenu-mode-map):
11986 Bind bookmark-bmenu-search to `/'.
11987
11988 * mail/footnote.el: Convert to utf-8 encoding.
11989 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11990 (Footnote-unicode): New function.
11991 (footnote-style-alist): Add unicode style to the list.
11992 (footnote-style): Doc fix.
11993
11994 2011-05-10 Jim Meyering <meyering@redhat.com>
11995
11996 Fix doubled-word typos.
11997 * international/quail.el (quail-insert-kbd-layout): and and -> and
11998 * kermit.el: and and -> and
11999 * net/ldap.el (ldap-search-internal): to to -> to
12000 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12001 * progmodes/js.el (js-mode): and and -> and
12002 * textmodes/artist.el (artist-move-to-xy): at at -> at
12003 (artist-draw-region-trim-line-endings): if if -> if
12004 And Safetyc -> Safety.
12005 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12006
12007 2011-05-10 Glenn Morris <rgm@gnu.org>
12008 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * files.el (hack-one-local-variable-eval-safep):
12011 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12012
12013 2011-05-10 Glenn Morris <rgm@gnu.org>
12014
12015 * calendar/diary-lib.el (diary-list-entries-hook)
12016 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12017 (diary-nongregorian-marking-hook, diary-list-entries)
12018 (diary-include-other-diary-files, diary-mark-entries)
12019 (diary-mark-included-diary-files): Doc fixes.
12020
12021 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * misc.el: Require tabulated-list.el during compilation.
12024
12025 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * progmodes/compile.el (compilation-start):
12028 Run compilation-filter-hook for the async case too.
12029 (compilation-filter-hook): Doc fix.
12030
12031 2011-05-09 Deniz Dogan <deniz@dogan.se>
12032
12033 * wdired.el: Remove outdated installation comment. Fix usage
12034 comment.
12035
12036 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * misc.el: Implement new command `list-dynamic-libraries'.
12039 (list-dynamic-libraries--loaded-only-p): New variable.
12040 (list-dynamic-libraries--refresh): New function.
12041 (list-dynamic-libraries): New command.
12042
12043 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
12044
12045 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12046 Fix the ant regexp to handle end-line and end-column info from jikes.
12047 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12048 higher priority to avoid clobbering by gnu.
12049
12050 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12051
12052 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12053 if the face has existing theme settings (Bug#8454).
12054
12055 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12056
12057 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12058 Only match variables declared via `my' or `our' (Bug#8261).
12059
12060 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12061 special file names `.' and `..' (Bug#8259).
12062
12063 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
12064
12065 * progmodes/grep.el (grep-mode-font-lock-keywords):
12066 Remove buffer-changing entries.
12067 (grep-filter): New function.
12068 (grep-mode): Add it to compilation-filter-hook.
12069
12070 * progmodes/compile.el (compilation-filter-hook)
12071 (compilation-filter-start): New defvars.
12072 (compilation-filter): Call compilation-filter-hook prior to
12073 updating the process mark.
12074
12075 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12078
12079 2011-05-07 Eli Zaretskii <eliz@gnu.org>
12080
12081 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12082 mailclient-send-it even if window-system is nil. (Bug#8595)
12083
12084 * term/w32console.el (terminal-init-w32console):
12085 Call get-screen-color and use its output to set the frame
12086 background-mode. (Bug#8597)
12087
12088 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12091 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12092 New functions.
12093 (defgeneric, eieio--defmethod): Use them.
12094 (eieio-defgeneric): Remove.
12095 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12096
12097 2011-05-07 Glenn Morris <rgm@gnu.org>
12098
12099 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12100 Use let rather than let*.
12101 (timeclock-find-discrep): Remove unused local.
12102
12103 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12104
12105 * calendar/appt.el (appt-time-msg-list): Doc fix.
12106
12107 2011-05-06 Noah Friedman <friedman@splode.com>
12108
12109 * apropos.el (apropos-print-doc): Only use
12110 emacs-lisp-docstring-fill-column when it is bound to an integer,
12111 per that variable's documentation.
12112
12113 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
12116 and warnings are not silently discarded (e.g. use -d instead of -P).
12117
12118 2011-05-06 Glenn Morris <rgm@gnu.org>
12119
12120 * calendar/appt.el (appt-message-warning-time): Doc fix.
12121 (appt-warning-time-regexp): New option.
12122 (appt-make-list): Respect appt-message-warning-time.
12123
12124 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12125 New options.
12126 (diary-add-to-list): Strip comments from the displayed string.
12127 (diary-mode): Set comment-start and comment-end.
12128
12129 * vc/diff-mode.el (smerge-refine-subst): Declare.
12130 (diff-refine-hunk): Don't require smerge-mode when compiling.
12131
12132 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
12133
12134 * simple.el (list-processes): Return nil as the docstring says.
12135
12136 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12137
12138 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12139 to "".
12140 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12141 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12142 determining of binary transfer. (Bug#7383)
12143
12144 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
12145
12146 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12147 Fix port computation bug. (Bug#8618)
12148
12149 2011-05-05 Glenn Morris <rgm@gnu.org>
12150
12151 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12152
12153 * simple.el (shell-dynamic-complete-functions)
12154 (comint-dynamic-complete-functions): Declare.
12155
12156 * net/network-stream.el (gnutls-negotiate):
12157 * simple.el (tabulated-list-print): Fix declarations.
12158
12159 * progmodes/gud.el (syntax-symbol, syntax-point):
12160 Remove unnecessary and incorrect declarations.
12161
12162 * emacs-lisp/check-declare.el (check-declare-scan):
12163 Handle byte-compile-initial-macro-environment in bytecomp.el
12164
12165 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 Fix earlier half-done eieio-defmethod change (bug#8338).
12168 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
12169 Streamline and change calling convention.
12170 (defmethod): Adjust accordingly and simplify.
12171 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
12172 new eieio--defmethod.
12173 (slot-boundp): Minor CSE simplification.
12174
12175 2011-05-05 Milan Zamazal <pdm@zamazal.org>
12176
12177 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
12178 (glasses-make-readable): Use glasses-separate-capital-groups.
12179
12180 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
12181
12182 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
12183 (warning-series): Doc fix.
12184 (display-warning): Don't try to create the buffer if we just found it.
12185
12186 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
12187
12188 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
12189 (autoload-find-generated-file): New function.
12190 (generate-file-autoloads): Bind generated-autoload-file to
12191 buffer-file-name.
12192 (update-file-autoloads, update-directory-autoloads):
12193 Use autoload-find-generated-file. If called interactively, prompt for
12194 output file (Bug#7989).
12195 (batch-update-autoloads): Doc fix.
12196
12197 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
12200
12201 2011-05-04 Glenn Morris <rgm@gnu.org>
12202
12203 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
12204 function, so it follows changes in calendar-date-style.
12205 (diary-fancy-date-matcher): New function.
12206 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
12207 (diary-fancy-font-lock-fontify-region-function):
12208 Use diary-fancy-date-pattern as a function.
12209
12210 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
12211 non-numbers for `year' etc pseudo-variables. (Bug#8583)
12212
12213 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
12214
12215 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
12216 instead of positional arguments. Allow :keylist and :crlfiles
12217 arguments.
12218 (open-gnutls-stream): Call it.
12219
12220 * net/network-stream.el (network-stream-open-starttls): Adjust to
12221 call `gnutls-negotiate' with :process and :hostname arguments.
12222
12223 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * minibuffer.el (completion--message): New function.
12226 (completion--do-completion, minibuffer-complete)
12227 (minibuffer-force-complete, minibuffer-complete-word): Use it.
12228 (completion--do-completion): Don't ignore completion-auto-help when in
12229 icomplete-mode.
12230
12231 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
12232 internal encoding (e.g. tibetan zero is not whitespace).
12233 (global-whitespace-mode): Prefer save-current-buffer.
12234 (whitespace-trailing-regexp): Remove useless save-match-data.
12235 (whitespace-empty-at-bob-regexp): Minor simplification.
12236
12237 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
12238
12239 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
12240
12241 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12242
12243 * textmodes/ispell.el (ispell-add-per-file-word-list):
12244 Use `concat' to create string for insertion.
12245
12246 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
12249 Avoid open-line which runs post-self-insert-hook.
12250 (bibtex-fill-entry): Remove unused `end' var.
12251
12252 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
12253
12254 * textmodes/ispell.el (ispell-add-per-file-word-list):
12255 Protect against `nil' value of `comment-start' (Bug#8579).
12256
12257 2011-05-03 Leo Liu <sdl.web@gmail.com>
12258
12259 * isearch.el (isearch-yank-pop): New command.
12260 (isearch-mode-map): Bind it to `M-y'.
12261 (isearch-forward): Mention it.
12262
12263 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12264
12265 * simple.el (minibuffer-complete-shell-command): Remove.
12266 (minibuffer-local-shell-command-map): Use completion-at-point.
12267 (read-shell-command): Setup completion vars here instead.
12268 (read-expression-map): Bind TAB to symbol completion.
12269
12270 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
12271 error directly rather via storing it into `results'.
12272
12273 2011-05-02 Leo Liu <sdl.web@gmail.com>
12274
12275 * vc/diff.el: Fix description.
12276
12277 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12278
12279 * server.el (server-eval-at): New function.
12280
12281 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12282
12283 * net/network-stream.el (open-network-stream): Take a :nowait
12284 parameter and pass it on to `make-network-process'.
12285 (network-stream-open-plain): Ditto.
12286
12287 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 * faces.el (face-spec-set-match-display): Don't match toolkit
12290 options on terminal frames.
12291
12292 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * progmodes/pascal.el: Use lexical binding.
12295 (pascal-mode-map): Remove author preferences.
12296
12297 * pcomplete.el (pcomplete-std-complete): Don't abuse
12298 completion-at-point.
12299
12300 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12301
12302 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12303 removing code that has been dead since 1991 or so.
12304
12305 * startup.el (command-line): When warning about "_emacs", use a
12306 delayed warning to allow the user to filter it out.
12307
12308 2011-04-28 Deniz Dogan <deniz@dogan.se>
12309
12310 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12311 user has not joined.
12312
12313 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12316 aren't any completions at point.
12317
12318 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
12319
12320 * subr.el (display-delayed-warnings): New function.
12321 (delayed-warnings-hook): New variable.
12322
12323 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * minibuffer.el (completion-at-point, completion-help-at-point):
12326 Don't presume that a given completion-at-point-function will always
12327 use the same calling convention.
12328
12329 * pcomplete.el (pcomplete-completions-at-point):
12330 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12331 pcomplete-seen is non-nil.
12332 (pcomplete-comint-setup): Also recognize the new comint/shell
12333 completion functions.
12334 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12335 pcomplete-seen is non-nil.
12336
12337 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
12338
12339 * calendar/icalendar.el (diary-lib): Add require statement.
12340 (icalendar--create-uid): Read out a uid from a text-property on
12341 the first character in the entry. This allows for code to add its
12342 own uid to the entry.
12343 (icalendar--convert-float-to-ical): Add export of
12344 `diary-float'-entries save for those with the optional DAY
12345 argument.
12346
12347 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12348
12349 * subr.el (shell-quote-argument): Use alternate escaping strategy
12350 when we spot a variable reference in a string.
12351
12352 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12353
12354 * cus-start.el (all): Define customization for debug-on-event.
12355
12356 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12357
12358 * subr.el (shell-quote-argument): Escape correctly under Windows.
12359
12360 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12363
12364 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
12365
12366 * net/tramp.el (tramp-process-actions): Add POS argument.
12367 Delete region between POS and (pos).
12368
12369 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12370 Use `nil' position in `tramp-process-actions' call.
12371 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12372
12373 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12374 position in `tramp-process-actions' call.
12375
12376 * net/trampver.el: Update release number.
12377
12378 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * custom.el (defcustom): Obey lexical-binding.
12381
12382 Fix octave-inf completion problems reported by Alexander Klimov.
12383 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12384 Inherit from octave-mode-syntax-table.
12385 (inferior-octave-mode): Set info-lookup-mode.
12386 (inferior-octave-completion-at-point): New function.
12387 (inferior-octave-complete): Use it and completion-in-region.
12388 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12389 comint-filename-completion.
12390 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12391 symbol elements which shouldn't be word elements.
12392 (octave-font-lock-keywords, octave-beginning-of-defun)
12393 (octave-function-header-regexp): Adjust regexps accordingly.
12394 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12395
12396 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
12397
12398 * net/gnutls.el (gnutls-errorp): Declare before first use.
12399
12400 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12401
12402 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12403 verify-error, and verify-hostname-error parameters. Check whether
12404 default trustfile exists before going to use it. Add missing
12405 argument to gnutls-message-maybe call. Return value.
12406 Reported by Claudio Bley <claudio.bley@gmail.com>.
12407 (open-gnutls-stream): Add usage example.
12408
12409 * net/network-stream.el (network-stream-open-starttls): Give host
12410 parameter to `gnutls-negotiate'.
12411 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12412 * subr.el (shell-quote-argument): Escape correctly under Windows.
12413
12414 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12415
12416 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12417 Use correct match group (bug#8438).
12418
12419 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12420
12421 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12422 (package-menu--generate): New arg specifying packages to show.
12423 (package-menu-refresh, package-menu-execute, list-packages):
12424 Callers changed.
12425 (package-show-package-list): New function, replacing deleted
12426 package--list-packages (renamed because it is non-internal).
12427
12428 * finder.el (finder-list-matches): Use package-show-package-list
12429 instead of deleted package--list-packages.
12430
12431 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12432 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12433 (vc-annotate-mode-map): Bind it to RET.
12434
12435 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12436
12437 * progmodes/etags.el (next-file): Don't use set-buffer to change
12438 buffers (Bug#8478).
12439
12440 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12443
12444 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12445 (apropos-accumulator): Doc fix.
12446 (apropos-function, apropos-macro, apropos-command)
12447 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12448 (apropos-plist): Add face property.
12449 (apropos-symbols-internal): Fix indentation.
12450 (apropos-print): Simplify help, and recognize apropos-multi-type.
12451 (apropos-print-doc): Use button-type-get to extract the button's
12452 face property. Fill docstring (Bug#8352).
12453
12454 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
12455
12456 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12457
12458 * play/mpuz.el (mpuz-silent): Doc fix.
12459 (mpuz-mode-map): Use mapc.
12460 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12461 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12462 Fix typos in docstrings.
12463
12464 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12465 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12466
12467 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12468
12469 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
12470
12471 * minibuffer.el (completion--do-completion): Avoid the "Next char
12472 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12473
12474 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12475 mouse-2 into unread-command-events, it is interpreted correctly.
12476
12477 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12478 (image-toggle-display): Doc fix.
12479
12480 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
12481
12482 * textmodes/page.el (what-page): Use line-number-at-pos to
12483 calculate line number (Bug#6825).
12484
12485 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12488 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12489 Pass argument NO-DEFAULT to `find-tag-interactive'.
12490
12491 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
12492
12493 Lexical-binding cleanup.
12494
12495 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12496 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12497 * progmodes/ada-prj.el (ada-prj-initialize-values)
12498 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12499 (ada-prj-show-value):
12500 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12501 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12502 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12503 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12504 * progmodes/bug-reference.el (bug-reference-push-button):
12505 * progmodes/fortran.el (fortran-line-length):
12506 * progmodes/glasses.el (glasses-change):
12507 * progmodes/octave-mod.el (octave-fill-paragraph):
12508 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12509 (python-pdbtrack-grub-for-buffer, python-sentinel):
12510 * progmodes/sql.el (sql-save-connection):
12511 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12512 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12513 Mark unused parameters.
12514
12515 * progmodes/compile.el (compilation--flush-directory-cache)
12516 (compilation--flush-parse, compile-internal): Mark unused parameters.
12517 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12518 (compilation-next-error-function): Remove unused variable `timestamp'.
12519
12520 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12521 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12522
12523 * progmodes/dcl-mode.el (dcl-end-of-command):
12524 Remove unused variable `start'.
12525 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12526 (dcl-option-value-basic, dcl-option-value-offset)
12527 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12528 Mark unused parameters.
12529 (dcl-save-local-variable): Remove unused variable `val'.
12530 (mode): Declare.
12531
12532 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12533 Mark unused parameters.
12534 (delphi-ignore-changes): Move before first use.
12535 (delphi-charset-token-at): Remove unused variable `start'.
12536 (delphi-else-start): Remove unused variable `if-count'.
12537 (delphi-comment-block-start, delphi-comment-block-end):
12538 Remove unused variable `kind'.
12539 (delphi-indent-line): Remove unused variable `new-point'.
12540
12541 * progmodes/ebrowse.el (ebrowse-files-list)
12542 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12543 Mark unused parameters. Don't quote `lambda'.
12544 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12545 Don't quote `lambda'.
12546 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12547 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12548 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12549 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12550 Use `ignore-errors'.
12551 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12552 (ebrowse-view/find-file-and-search-pattern)
12553 (ebrowse-view/find-member-declaration/definition):
12554 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12555 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12556 Rename parameter PREFIX-ARG to PREFIX.
12557 (ebrowse-tags-read-name): Remove unused variables `start' and
12558 `member-info'.
12559 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12560 to `tags-file'.
12561
12562 * progmodes/etags.el (local-find-tag-hook): Declare.
12563 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12564 Mark unused parameters.
12565
12566 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12567 (executable-interpret): Mark unused parameter.
12568
12569 * progmodes/flymake.el (flymake-process-sentinel)
12570 (flymake-after-change-function)
12571 (flymake-create-temp-with-folder-structure)
12572 (flymake-get-include-dirs-dot): Mark unused parameters.
12573 (flymake-safe-delete-directory): Remove unused variable `err'.
12574
12575 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12576 (speedbar-timer-fn, speedbar-line-text)
12577 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12578 (speedbar-center-buffer-smartly): Declare functions.
12579 (gdb-find-watch-expression): Remove unused variable `array'.
12580 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12581 (gdb-starting): Mark unused parameters.
12582 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12583 (gdb-table-string): Remove unused variable `res'.
12584 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12585 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12586 (gdb-display-buffer): Remove unused variable `cur-size'.
12587
12588 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12589 allow lexical-binding compilation.
12590 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12591 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12592 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12593 Mark unused parameters.
12594 (gud-gdb-marker-filter): Remove unused variable `match'.
12595 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12596 lambda expressions and funcall them, instead of using `fset'.
12597
12598 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12599 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12600
12601 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12602 variable `header-beg'; use `let'.
12603
12604 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12605 `restart', `last-sexp' and `at-do'.
12606
12607 * progmodes/js.el (js--debug): Mark unused parameter.
12608 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12609 (js--splice-into-items): Remove unused variable `item'.
12610 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12611
12612 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12613 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12614 (makefile-complete): Remove unused variable `try'.
12615 (makefile-fill-paragraph, makefile-match-function-end):
12616 Mark unused parameters.
12617
12618 * progmodes/octave-inf.el (inferior-octave-complete):
12619 Remove unused variable `proc'.
12620 (inferior-octave-output-digest): Mark unused parameter.
12621
12622 * progmodes/perl-mode.el (perl-calculate-indent):
12623 Remove unused variable `err'.
12624
12625 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12626 (prolog-indent-line): Mark unused parameters.
12627 (prolog-indent-line): Remove unused variable `beg'.
12628
12629 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12630 (reporter-dont-compact-list): Declare.
12631
12632 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12633 Remove unused variable `char'.
12634 (sh-debug): Mark unused parameter.
12635 (sh-get-indent-info): Remove unused variable `start'.
12636 (sh-calculate-indent): Remove unused variable `var'.
12637
12638 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12639 (simula-electric-keyword): Remove unused variable `null'.
12640 (simula-search-backward, simula-search-forward): Remove unused
12641 variables `begin' and `end'.
12642
12643 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12644 Remove unused variable `pos'.
12645 (vera-electric-tab, vera-comment-uncomment-region):
12646 Mark unused parameters.
12647 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12648
12649 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
12650
12651 * emacs-lisp/package.el (package--builtins, package-alist)
12652 (package-load-descriptor, package-built-in-p, package-activate)
12653 (define-package, package-installed-p)
12654 (package-compute-transaction, package-buffer-info)
12655 (package--push): Doc fix. Distinguish more clearly between
12656 version strings and version lists.
12657
12658 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
12659
12660 Lexical-binding cleanup.
12661
12662 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12663 (5x5-make-mutate-best):
12664 * play/fortune.el (fortune-in-buffer):
12665 * play/gomoku.el (gomoku-init-display):
12666 * play/solitaire.el (solitaire, solitaire-do-check):
12667 * play/tetris.el (tetris-default-update-speed-function):
12668 Mark unused parameters.
12669
12670 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12671 (bubbles--shift): Remove unused variable `char-org'.
12672 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12673 (bubbles--show-images): Remove unused variable `char'.
12674
12675 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12676 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12677 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12678 (decipher-analyze-buffer): Use ?\s.
12679 (decipher-make-checkpoint): Remove unused variable `mapping'.
12680
12681 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12682
12683 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12684 Remove unused variable `result'; use `let'.
12685
12686 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12687 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12688 (gametree-children-shown-p, gametree-compute-reduced-score):
12689 Use `ignore-errors'.
12690
12691 * play/handwrite.el (ps-lpr-switches): Declare.
12692 (handwrite): Remove unused variables `pmin' and `lastp'.
12693
12694 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12695
12696 * play/landmark.el (landmark-init-display)
12697 (landmark-update-naught-weights): Mark unused parameters.
12698 (landmark-y): Remove unused variable `noise'. Simplify.
12699 (landmark-human-plays): Remove unused variable `score'.
12700
12701 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12702 (mpuz-try-proposal): Remove unused variable `game'.
12703
12704 * play/zone.el (life-patterns): Declare.
12705
12706 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * vc/vc.el (ediff-vc-internal): Declare function.
12709
12710 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * shell.el: Use lexical-binding and std completion UI.
12713 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12714 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12715 comint-preoutput-filter-functions rather than on
12716 comint-output-filter-functions.
12717 (shell-command-completion, shell--command-completion-data)
12718 (shell-filename-completion, shell-environment-variable-completion)
12719 (shell-c-a-p-replace-by-expanded-directory): New functions.
12720 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12721 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12722 (shell-dynamic-complete-environment-variable): Use them.
12723 (shell-dynamic-complete-as-environment-variable)
12724 (shell-dynamic-complete-as-command): Remove.
12725 (shell-match-partial-variable): Match past point.
12726 * comint.el: Clean up use of completion-at-point-functions.
12727 (comint-completion-at-point): New function.
12728 (comint-mode): Use it completion-at-point-functions.
12729 (comint-dynamic-complete): Make it obsolete.
12730 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12731 (comint-c-a-p-replace-by-expanded-history): New function.
12732 (comint-dynamic-complete-functions)
12733 (comint-replace-by-expanded-history): Use it.
12734 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12735 termination strings. Try harder to avoid second try-completion.
12736 (completion-in-region-mode-map): Disable bindings that don't work yet.
12737
12738 * comint.el: Use lexical-binding. Require CL.
12739 (comint-dynamic-complete-functions): Use comint-filename-completion.
12740 (comint-completion-addsuffix): Tweak custom type.
12741 (comint-filename-completion, comint--common-suffix)
12742 (comint--common-quoted-suffix, comint--table-subvert)
12743 (comint--complete-file-name-data): New functions.
12744 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12745 (comint-dynamic-list-filename-completions): Use them.
12746 (comint-dynamic-simple-complete): Make obsolete.
12747
12748 * minibuffer.el (completion-in-region-mode):
12749 Keep completion-in-region-mode--predicate global.
12750 (completion-in-region--postch):
12751 Assume completion-in-region-mode--predicate is not null.
12752
12753 * progmodes/flymake.el (flymake-start-syntax-check-process):
12754 Obey `dir'. Simplify.
12755
12756 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12757 we're in VC after all.
12758
12759 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12760
12761 * vc/vc.el (vc-diff-build-argument-list-internal)
12762 (vc-version-ediff, vc-ediff): New commands.
12763 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12764
12765 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12768 add sanity check.
12769
12770 * obsolete/erc-hecomplete.el: Make obsolete.
12771 * obsolete/: Standardize obsolescence info in the header.
12772
12773 2011-04-20 Glenn Morris <rgm@gnu.org>
12774
12775 * calendar/solar.el (solar-horizontal-coordinates):
12776 Use the longitude argument rather than `calendar-longitude'.
12777 (solar-date-next-longitude): Remove unused locals.
12778
12779 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12780
12781 * whitespace.el: New version 13.2.1.
12782
12783 2011-04-20 felix <EmacsWiki> (tiny change)
12784
12785 * whitespace.el (global-whitespace-mode): Keep highlight when
12786 switching between major modes on a file.
12787
12788 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12791 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12792 multi-line comments as well.
12793
12794 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
12795
12796 Lexical-binding cleanup.
12797
12798 * arc-mode.el (archive-mode-revert):
12799 * cmuscheme.el (scheme-interactively-start-process):
12800 * custom.el (custom-initialize-delay):
12801 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12802 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12803 * emacs-lock.el (emacs-lock-clear-sentinel):
12804 * ezimage.el (defezimage):
12805 * follow.el (follow-avoid-tail-recenter):
12806 * fringe.el (set-fringe-mode-1):
12807 * generic-x.el (bat-generic-mode-compile):
12808 * help-mode.el (help-info-variable, help-do-xref)
12809 (help-mode-revert-buffer):
12810 * help.el (view-emacs-todo):
12811 * iswitchb.el (iswitchb-completion-help):
12812 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12813 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12814 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12815 * locate.el (locate-update):
12816 * longlines.el (longlines-encode-region)
12817 (longlines-after-change-function):
12818 * outline.el (outline-isearch-open-invisible):
12819 * ps-def.el (declare-function, charset-dimension, char-width)
12820 (encode-char):
12821 * ps-mule.el (ps-mule-plot-string):
12822 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12823 (recentf-edit-list-select, recentf-edit-list-validate)
12824 (recentf-open-files-action):
12825 * rect.el (delete-whitespace-rectangle-line)
12826 (rectangle-number-line-callback):
12827 * register.el (window-configuration-to-register)
12828 (frame-configuration-to-register):
12829 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12830 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12831 (xselect-convert-to-targets, xselect-convert-to-delete)
12832 (xselect-convert-to-filename, xselect-convert-to-charpos)
12833 (xselect-convert-to-lineno, xselect-convert-to-colno)
12834 (xselect-convert-to-os, xselect-convert-to-host)
12835 (xselect-convert-to-user, xselect-convert-to-class)
12836 (xselect-convert-to-name, xselect-convert-to-integer)
12837 (xselect-convert-to-atom, xselect-convert-to-identity):
12838 * subr.el (declare, ignore, process-kill-without-query)
12839 (text-clone-maintain):
12840 * terminal.el (te-get-char, te-tic-sentinel):
12841 * tool-bar.el (tool-bar-make-keymap):
12842 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12843 * type-break.el (type-break-mode, type-break-noninteractive-query):
12844 * view.el (View-back-to-mark):
12845 * wid-browse.el (widget-browse-action, widget-browse-widget)
12846 (widget-browse-widgets, widget-browse-sexp):
12847 * widget.el (define-widget-keywords):
12848 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12849 Mark unused parameters.
12850
12851 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12852 (align-areas): Remove unused variable `look'.
12853 (align-region): Remove unused variables `real-end' and `pos-list'.
12854
12855 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12856
12857 * bindings.el (mode-line-modified, mode-line-remote):
12858 Mark unused parameters.
12859 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12860
12861 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12862 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12863
12864 * comint.el (comint-history-isearch-pop-state)
12865 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12866 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12867 (comint-substitute-in-file-name): Doc fix.
12868
12869 * completion.el (cmpl-statistics-block): Mark unused parameter.
12870 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12871 (save-completions-to-file, load-completions-from-file):
12872 Remove unused local variable `e'.
12873
12874 * composite.el (compose-chars): Remove unused variable `len'.
12875 (lgstring-insert-glyph): Remove unused variable `g'.
12876 (compose-glyph-string): Remove unused variables `ascent',
12877 `descent', `lbearing' and `rbearing'.
12878 (compose-glyph-string-relative): Remove unused variables
12879 `lbearing', `rbearing' and `wadjust'.
12880 (compose-gstring-for-graphic): Remove unused variables `header',
12881 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12882 (compose-gstring-for-terminal): Remove unused variables `header'
12883 and `nchars'. Use `let', not `let*'.
12884
12885 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12886 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12887 (Custom-buffer-done, custom-buffer-create-internal)
12888 (custom-browse-visibility-action, custom-browse-group-tag-action)
12889 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12890 (widget-magic-mouse-down-action, custom-toggle-parent)
12891 (custom-add-parent-links, custom-toggle-hide-variable)
12892 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12893 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12894 (custom-face-menu-create, custom-variable-menu-create, get)
12895 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12896 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12897 (customize-apropos): Remove unused variable `tests'.
12898 (custom-group-value-create): Remove unused variable `hidden-p'.
12899 (sort-fold-case): Declare.
12900
12901 * cus-theme.el (custom-reset-standard-faces-list)
12902 (custom-reset-standard-variables-list): Declare.
12903 (customize-create-theme, custom-theme-revert, custom-theme-write)
12904 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12905 Mark unused parameters.
12906
12907 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12908
12909 * delim-col.el (delimit-columns-max): Move defvar before first use.
12910
12911 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12912 (describe-char): Don't quote `lambda'. Mark unused parameter.
12913
12914 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12915 (auto-insert): Declare.
12916 (desktop-restore-file-buffer): Rename desktop-* parameters;
12917 mark unused ones.
12918 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12919 (desktop-buffer): Rename desktop-* parameters.
12920
12921 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12922 (dframe-reposition-frame-xemacs, dframe-help-echo)
12923 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12924 Mark unused parameters.
12925
12926 * dired-aux.el (backup-extract-version-start, overwrite-query)
12927 (overwrite-backup-query, rename-regexp-query)
12928 (rename-non-directory-query): Declare.
12929 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12930 (dired-add-entry): Remove unused variable `orig-file-name'.
12931 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12932 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12933 `dired-copy-preserve-time' directly.
12934 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12935 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12936
12937 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12938 (dired-virtual-revert, dired-make-relative-symlink):
12939 Mark unused parameters.
12940 (manual-program): Declare.
12941 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12942 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12943 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12944
12945 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12946
12947 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12948
12949 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12950 Declare.
12951
12952 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12953
12954 * electric.el (Electric-command-loop): Rename parameter
12955 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12956
12957 * expand.el (expand-in-literal): Remove unused variable `here'.
12958
12959 * facemenu.el (facemenu-add-new-color):
12960 Remove unused variable `docstring'.
12961
12962 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12963 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12964 (face-attr-construct): Mark unused parameter. Doc fix.
12965 (read-color): Remove unused variable `hex-string'.
12966
12967 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12968 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12969 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12970 (display-buffer-other-frame): Remove unused variable `old-window'.
12971 (kill-buffer-hook): Declare.
12972 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12973 Mark unused parameters.
12974 (after-find-file): Pass 1 to `auto-save-mode', not t.
12975
12976 * files-x.el (auto-insert): Declare.
12977 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12978
12979 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12980 variable `buf'. Mark unused parameter.
12981 (find-lisp-insert-directory): Mark unused parameter.
12982
12983 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12984 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12985 (format-common-tail): Remove, unused.
12986 (format-deannotate-region): Remove unused variable `loc'.
12987 (format-annotate-region): Remove unused variable `p'.
12988 (format-annotate-single-property-change): Remove unused variables
12989 `default' and `tail'.
12990
12991 * forms.el (read-file-filter): Declare.
12992 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12993
12994 * frame.el (frame-creation-function-alist): Mark unused parameter.
12995 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12996
12997 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12998 Remove unused parameters.
12999 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13000 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13001
13002 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13003 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13004 (hfy-prepare-tag-map): Mark unused parameters.
13005 (htmlfontify-buffer): Use `called-interactively-p'.
13006
13007 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13008 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13009 (ibuffer-do-occur): Mark unused parameters.
13010 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13011 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13012
13013 * ibuffer.el: Don't quote `lambda'.
13014 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13015 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13016 Mark unused parameters.
13017
13018 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13019 (ido-completing-read): Mark unused parameters.
13020 (ido-copy-current-word): Mark unused parameters;
13021 remove unused variable `name'.
13022 (ido-sort-merged-list): Remove unused parameter `dirs'.
13023
13024 * ielm.el (ielm-input-sender): Mark unused parameter.
13025 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13026 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13027 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13028 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13029 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13030
13031 * image-dired.el (image-dired-display-thumbs): Remove unused
13032 variables `curr-file' and `count'.
13033 (image-dired-remove-tag): Remove unused variable `start'.
13034 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13035 variable `curr-file'
13036 (image-dired-rotate-original): Remove unused variable `temp-file'.
13037 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13038 Remove unused variable `file'.
13039 (image-dired-gallery-generate): Remove unused variable `curr'.
13040 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13041
13042 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13043
13044 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13045
13046 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13047
13048 * isearch.el (minibuffer-history-symbol): Declare.
13049 (isearch-edit-string): Remove unused variable `err'.
13050 (isearch-message-prefix, isearch-message-suffix):
13051 Mark unused parameters.
13052
13053 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13054
13055 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13056
13057 * makesum.el (double-column): Remove unused variable `cnt'.
13058
13059 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13060 (ido-ignore-item-temp-list): Declare.
13061
13062 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13063 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13064 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13065 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13066 `mouse-col-delta'.
13067
13068 * mouse-sel.el (mouse-extend-internal):
13069 Remove unused variable `orig-window-frame'.
13070
13071 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13072 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13073 Move declarations before first use.
13074 (pcomplete-opt): Mark unused parameters; doc fix.
13075
13076 * proced.el (proced-revert): Mark unused parameter.
13077 (proced-send-signal): Remove unused variable `err'.
13078
13079 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13080 Rename parameter PREFIX-ARG to ARG.
13081 (ps-basic-plot-string, ps-basic-plot-whitespace):
13082 Mark unused parameters.
13083
13084 * replace.el (replace-count): Define.
13085 (occur-revert-function): Mark unused parameters.
13086 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13087 (isearch-case-fold-search, isearch-string): Declare.
13088 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13089 bind `case-fold-search'. Remove unused variables `beg' and `end',
13090 and simplify.
13091 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13092 COUNT and bind `replace-count'.
13093 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13094 to COUNT.
13095
13096 * savehist.el (print-readably, print-string-length): Declare.
13097
13098 * shadowfile.el (shadow-expand-cluster-in-file-name):
13099 Remove unused variable `cluster'.
13100 (shadow-copy-file): Remove unused variable `i'.
13101 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13102 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13103 (shadow-define-literal-group, shadow-define-regexp-group)
13104 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13105
13106 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13107 (shell): Use `called-interactively-p'.
13108 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13109
13110 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13111 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13112 (delete-backward-char): Remove unused variable `ocol'.
13113 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13114 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13115 (event-apply-hyper-modifier, event-apply-shift-modifier)
13116 (event-apply-control-modifier, event-apply-meta-modifier):
13117 Mark unused parameters.
13118 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13119 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13120
13121 * speedbar.el (speedbar-ignored-directory-expressions)
13122 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13123 (speedbar-find-file, speedbar-dir-follow)
13124 (speedbar-directory-buttons-follow, speedbar-tag-find)
13125 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13126 (speedbar-buffers-line-directory, speedbar-buffer-click):
13127 Mark unused parameters.
13128 (speedbar-tag-file): Remove unused variable `mode'.
13129 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13130
13131 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13132
13133 * talk.el (talk): Remove unused variable `display'.
13134
13135 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13136 (tar-write-region-annotate): Mark unused parameter.
13137
13138 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13139 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13140 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13141 warning by another.
13142
13143 * time-stamp.el (time-stamp-string-preprocess):
13144 Remove unused variable `require-padding'.
13145
13146 * tree-widget.el (widget-glyph-enable): Declare.
13147 (tree-widget-action): Mark unused parameter.
13148
13149 * w32-fns.el (x-get-selection): Mark unused parameter.
13150 (autoload-make-program, generated-autoload-file): Declare.
13151
13152 * wdired.el (wdired-revert): Mark unused parameters.
13153 (wdired-xcase-word): Remove unused variable `err'.
13154
13155 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13156 (whitespace-help-scroll): Remove unused variable `data-help'.
13157
13158 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13159 (widget-image-insert, widget-after-change, default)
13160 (widget-default-format-handler, widget-default-notify)
13161 (widget-default-prompt-value, widget-info-link-action)
13162 (widget-url-link-action, widget-function-link-action)
13163 (widget-variable-link-action, widget-file-link-action)
13164 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13165 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13166 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
13167 (widget-insert-button-action, widget-delete-button-action, visibility)
13168 (widget-documentation-link-action, widget-documentation-string-action)
13169 (widget-const-prompt-value, widget-regexp-match, symbol)
13170 (widget-coding-system-prompt-value)
13171 (widget-key-sequence-value-to-external, sexp)
13172 (widget-sexp-value-to-internal, character, vector, cons)
13173 (widget-choice-prompt-value, widget-boolean-prompt-value)
13174 (widget-color--choose-action): Mark unused parameters.
13175 (widget-item-match-inline, widget-choice-match-inline)
13176 (widget-checklist-match, widget-checklist-match-inline)
13177 (widget-group-match): Rename parameter VALUES to VALS.
13178 (widget-field-value-set): Remove unused variable `size'.
13179 (widget-color-action): Remove unused variables `value' and `start'.
13180
13181 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
13182 variable `dir'. Doc fix.
13183 (windmove-find-other-window): Don't pass it.
13184
13185 * window.el (count-windows): Mark unused parameter.
13186 (bw-adjust-window): Remove unused variable `err'.
13187
13188 * woman.el (woman-file-name): Remove unused variable `default'.
13189 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
13190 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
13191 (global-font-lock-mode): Declare.
13192 (woman-decode-region): Mark unused parameter.
13193 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
13194
13195 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
13196 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
13197 (x-dnd-handle-moz-url): Remove unused variable `title'.
13198 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
13199
13200 * xml.el (xml-parse-tag, xml-parse-attlist):
13201 Remove unused variable `pos'.
13202
13203 2011-04-19 Glenn Morris <rgm@gnu.org>
13204
13205 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
13206 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
13207 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
13208 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
13209 * calendar/cal-html.el (cal-html-insert-minical):
13210 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
13211 (calendar-mark-date-pattern):
13212 Prefix "unused" locals.
13213
13214 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
13215 optional argument `style'.
13216
13217 * calendar/appt.el (appt-make-list):
13218 * calendar/cal-china.el (calendar-chinese-date-string):
13219 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
13220 (diary-hebrew-yahrzeit):
13221 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
13222 * calendar/calendar.el (calendar-generate-window):
13223 * calendar/time-date.el (time-to-days):
13224 Remove unused local variables.
13225
13226 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
13227
13228 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
13229 glyphless-char-display table.
13230 (tabulated-list-glyphless-char-display): New var.
13231
13232 2011-04-18 Sam Steingold <sds@gnu.org>
13233
13234 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
13235 to acknowledgments.
13236
13237 2011-04-17 Glenn Morris <rgm@gnu.org>
13238
13239 * calendar/diary-lib.el (diary-sexp-entry):
13240 * calendar/holidays.el (holiday-sexp):
13241 Set debug-on-error rather than the removed stack-trace-on-error.
13242
13243 2011-04-16 Glenn Morris <rgm@gnu.org>
13244
13245 * progmodes/f90.el: Use lexical-binding.
13246 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
13247
13248 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
13251 (mail-mode): Setup mailalias completion here instead.
13252 * mail/mailalias.el: Use lexical-binding.
13253 (pattern, mailalias-done): Declare dynamic.
13254 (mail-completion-at-point-function): New function, from mail-complete.
13255 (mail-complete): Use it.
13256 (mail-completion-expand): New function.
13257 (mail-get-names): Use it.
13258 (mail-directory, mail-directory-process, mail-directory-stream):
13259 Don't use `pattern' for lexically bound arg.
13260
13261 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
13262
13263 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
13264 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
13265 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
13266
13267 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
13268 (byte-save-window-excursion, byte-temp-output-buffer-setup)
13269 (byte-interactive-p): Define them again, for use when inlining
13270 old code.
13271
13272 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
13273
13274 * loadup.el: Use `string-to-number', not `string-to-int'.
13275
13276 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
13279 gud-gdb-complete-command.
13280 (gud-gdb-completions): New function, from gud-gdb-complete-command.
13281 (gud-gdb-completion-at-point): New function.
13282 (gud-gdb-completions): Remove.
13283
13284 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
13285
13286 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13287 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13288 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13289 whether `executable-find' is bound.
13290
13291 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13292
13293 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * minibuffer.el (completion-in-region-mode-predicate)
13296 (completion-in-region-mode--predicate): New vars.
13297 (completion-in-region, completion-in-region--postch)
13298 (completion-in-region-mode): Use them.
13299 (completion--capf-wrapper): Also return the hook function.
13300 (completion-at-point, completion-help-at-point):
13301 Adjust and provide a predicate.
13302
13303 Preserve arg names for advice of subr and lexical functions (bug#8457).
13304 * help-fns.el (help-function-arglist): Consolidate the subr and
13305 new-byte-code cases. Add argument `preserve-names' to extract names
13306 from the docstring when needed.
13307 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13308 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13309 (ad-arglist): Use help-function-arglist's new arg.
13310 (ad-definition-type): Use cond.
13311
13312 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
13313
13314 * autorevert.el (auto-revert-handler):
13315 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13316 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13317 Don't quote lambda.
13318
13319 * image-mode.el (image-transform-set-scale):
13320 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13321
13322 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13323
13324 * net/network-stream.el (network-stream-open-starttls): Only do
13325 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13326 Upgrades via gnutls-cli are too slow to be done opportunistically.
13327
13328 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
13329
13330 * dframe.el (dframe-current-frame): Remove spurious quote.
13331
13332 2011-04-12 Glenn Morris <rgm@gnu.org>
13333
13334 * calendar/cal-tex.el (cal-tex-end-document):
13335 Try to automatically use latin1 input if needed.
13336
13337 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13338 Don't try to cons a mark onto an empty element.
13339
13340 2011-04-11 Leo Liu <sdl.web@gmail.com>
13341
13342 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13343 buffers.
13344 (ido-kill-buffer-at-head): Support killing virtual buffers.
13345
13346 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
13347
13348 * minibuffer.el (completion-show-inline-help): New var.
13349 (completion--do-completion, minibuffer-complete)
13350 (minibuffer-force-complete, minibuffer-complete-word):
13351 Inhibit minibuffer messages if completion-show-inline-help is nil.
13352
13353 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13354 to avoid interference from inline help (Bug#5849).
13355
13356 2011-04-10 Leo Liu <sdl.web@gmail.com>
13357
13358 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13359 Fix typo.
13360
13361 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
13362
13363 * image-mode.el (image-toggle-display-image): Signal an error if
13364 not in Image mode.
13365 (image-transform-mode, image-transform-resize)
13366 (image-transform-set-rotation): Doc fix.
13367 (image-transform-set-resize): Delete.
13368 (image-transform-set-scale, image-transform-fit-to-height)
13369 (image-transform-fit-to-width): Handle image-toggle-display-image
13370 and image-transform-resize directly.
13371
13372 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13373
13374 * doc-view.el (doc-view-fit-width-to-window)
13375 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13376 New functions for fitting the shown image to the Emacs window size.
13377 (doc-view-mode-map): Add bindings for the new functions.
13378
13379 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
13380
13381 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13382 Fix typo in docstring.
13383
13384 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13385
13386 * files.el (file-size-human-readable): Produce one digit after
13387 decimal, like "ls -lh" does.
13388
13389 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13390 the file size representation.
13391
13392 * simple.el (list-processes): If async subprocesses are not
13393 available, error out with a clear error message.
13394
13395 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
13396
13397 * help.el (help-form-show): New function, to be called from C.
13398 Put help-form output in a buffer named differently than *Help*.
13399
13400 2011-04-08 Eli Zaretskii <eliz@gnu.org>
13401
13402 * files.el (file-size-human-readable): New function.
13403
13404 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13405 computing the representation inline. Don't require `cl'.
13406
13407 2011-04-08 Glenn Morris <rgm@gnu.org>
13408
13409 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13410
13411 * net/browse-url.el (browse-url-firefox):
13412 Test system-type, not system-configuration.
13413
13414 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13415 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13416 Use log-edit-empty-buffer-p. (Bug#7598)
13417
13418 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13419 (rlogin-mode-map): Initialize in the defvar.
13420 (rlogin): Use ignore-errors.
13421
13422 * replace.el (occur-mode-map): Some fixes for menu items.
13423
13424 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13425
13426 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13427
13428 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13429
13430 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13431 issuing unused warnings.
13432
13433 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13434 macro directly.
13435
13436 * simple.el: Lisp reimplement of list-processes. Based on an
13437 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13438 (process-menu-mode): New major mode.
13439 (list-processes--refresh, list-processes):
13440 (process-menu-visit-buffer): New functions.
13441
13442 * files.el (save-buffers-kill-emacs): Don't assume any return
13443 value of list-processes, which is undocumented anyway.
13444
13445 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
13446
13447 * emacs-lisp/tabulated-list.el: New file.
13448
13449 * emacs-lisp/package.el: Use Tabulated List mode.
13450 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13451 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13452 table format using Tabulated List mode variables.
13453 (package--push): New macro, replacing package-list-maybe-add.
13454 (package-menu--generate): Use package--push. Renamed from
13455 package--generate-package-list.
13456 (package-menu-refresh, list-packages): Use it.
13457 (package-menu--print-info): Rename from package-print-package.
13458 Return insertion data instead of inserting it directly.
13459 (package-menu-describe-package, package-menu-execute):
13460 Use tabulated-list-get-id.
13461 (package-menu-mark-delete, package-menu-mark-install)
13462 (package-menu-mark-unmark, package-menu-backup-unmark)
13463 (package-menu-mark-obsolete-for-deletion):
13464 Use tabulated-list-put-tag.
13465 (package--list-packages, package-menu-revert)
13466 (package-menu-get-package, package-menu-get-version)
13467 (package-menu-sort-by-column): Functions deleted.
13468 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13469 (package-menu--status-predicate, package-menu--version-predicate)
13470 (package-menu--name-predicate)
13471 (package-menu--description-predicate): Handle arguments in the
13472 Tabulated List format.
13473 (package-list-packages-no-fetch): Call list-packages.
13474
13475 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
13476
13477 * files.el (after-find-file-from-revert-buffer): Remove variable.
13478 (after-find-file): Don't bind it.
13479 (revert-buffer-in-progress-p): New variable.
13480 (revert-buffer): Bind it.
13481 Pass nil for `after-find-file-from-revert-buffer'.
13482
13483 * saveplace.el (save-place-find-file-hook): Use new variable
13484 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13485
13486 2011-04-06 Glenn Morris <rgm@gnu.org>
13487
13488 * Makefile.in (AUTOGEN_VCS): New variable.
13489 (autoloads): Use $AUTOGEN_VCS.
13490
13491 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13492 * calendar/calendar.el (calendar-mode-map):
13493 Check for toolkit scroll bars. (Bug#8305)
13494
13495 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13496
13497 * minibuffer.el (completion-in-region--postch)
13498 (completion-in-region-mode): Remove unnecessary messages.
13499
13500 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
13501
13502 * font-lock.el (font-lock-refresh-defaults):
13503 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13504 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13505
13506 * info.el (Info-directory-list, Info-read-node-name-2)
13507 (Info-split-parameter-string): Doc fixes.
13508 (Info-virtual-nodes): Reflow docstring.
13509 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13510 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13511 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13512 Fix typos in docstrings.
13513 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13514 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13515 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13516 (Info-restore-desktop-buffer): Mark unused parameters.
13517 (Info-directory-find-file, Info-directory-find-node)
13518 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13519 (Info-virtual-index-find-node, Info-apropos-find-file)
13520 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13521 Mark unused parameters; fix typos in docstrings.
13522 (Info-virtual-index): Remove unused local variable `nodename'.
13523
13524 2011-04-05 Deniz Dogan <deniz@dogan.se>
13525
13526 * net/rcirc.el: Update my e-mail address.
13527 (rcirc-mode-map): Remove M-o binding.
13528
13529 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
13530
13531 * startup.el (command-line): Save the cursor's theme-face
13532 directly, instead of using face-override-spec.
13533
13534 * custom.el (load-theme): Minor optimization in assigning faces.
13535
13536 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13537
13538 * help-fns.el (describe-variable): Complete all variables having
13539 documentation, including keywords.
13540 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13541
13542 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
13543
13544 Convert to lexical-binding.
13545
13546 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13547 (bs--get-marked-string, bs--get-modified-string)
13548 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13549 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13550 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13551
13552 * ehelp.el (electric-help-execute-extended)
13553 (electric-help-ctrl-x-prefix):
13554 * hexl.el (hexl-revert-buffer-function):
13555 * linum.el (linum-after-change, linum-after-scroll):
13556 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13557
13558 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13559
13560 2011-04-04 Daiki Ueno <ueno@unixuser.org>
13561
13562 * epa-dired.el:
13563 * epa-mail.el:
13564 * epa-hook.el:
13565 * epa-file.el:
13566 * epa.el:
13567 * epg.el: Use lexical binding.
13568
13569 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
13570
13571 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13572
13573 * textmodes/flyspell.el (flyspell-word): Recognize default
13574 dictionary case for flyspell-mark-duplications-exceptions.
13575 Use regexp matching for languages.
13576 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13577 default dictionary (Bug#7926).
13578
13579 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
13580
13581 * emacs-lisp/package.el (package--with-work-buffer):
13582 Recognize https URLs.
13583
13584 * net/network-stream.el: Move from gnus/proto-stream.el.
13585 Change prefix to network-stream throughout.
13586 (open-protocol-stream): Merge into open-network-stream, leaving
13587 open-protocol-stream as an alias. Handle nil BUFFER args.
13588
13589 * subr.el (open-network-stream): Move to net/network-stream.el.
13590
13591 2011-04-02 Glenn Morris <rgm@gnu.org>
13592
13593 * find-dired.el (find-exec-terminator): New option.
13594 (find-ls-option): Test for -ls support.
13595 (find-ls-subdir-switches): Test for -b in find-ls-option.
13596 (find-dired, find-grep-dired): Doc fixes.
13597 (find-dired): Use find-exec-terminator.
13598
13599 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13600 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13601 (find-name-arg): Remove purecopy.
13602
13603 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13604 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13605 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13606 accordingly. Don't add the null-device if not needed.
13607
13608 * files.el (save-some-buffers): Doc fix.
13609
13610 2011-04-02 Eli Zaretskii <eliz@gnu.org>
13611
13612 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13613
13614 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
13615
13616 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13617 Use `dolist' rather than `mapcar'.
13618
13619 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 Add lexical binding.
13622
13623 * subr.el (apply-partially): Use new closures rather than CL.
13624 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13625 (dolist, dotimes): Use slightly different expansion for lexical code.
13626 (functionp): Move to C.
13627 (letrec): New macro.
13628 (with-wrapper-hook): Use it and apply-partially instead of CL.
13629 (eval-after-load): Preserve lexical-binding.
13630 (save-window-excursion, with-output-to-temp-buffer): Turn them
13631 into macros.
13632
13633 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13634
13635 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13636 than the arglist.
13637 (help-add-fundoc-usage): Don't add `Not documented'.
13638 (help-function-arglist): Handle closures, subroutines, and new
13639 byte-code-functions.
13640 (help-make-usage): Remove leading underscores.
13641 (describe-function-1): Handle closures.
13642 (describe-variable): Use special-variable-p for completion.
13643
13644 * files.el (lexical-binding): Declare safe.
13645
13646 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13647 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13648 (pcase): Add `let' pattern.
13649 Change memoization so it actually works.
13650 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13651 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13652 <let>: New case.
13653
13654 * emacs-lisp/macroexp.el: Use lexical binding.
13655 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13656 Don't convert ' to #' without checking that it's indeed quoting
13657 a lambda.
13658
13659 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13660 Use eval-sexp-add-defvars.
13661 (eval-sexp-add-defvars): New fun.
13662
13663 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13664
13665 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13666 Don't autoload.
13667 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13668 than the internal `byte-compile-lambda'.
13669 (defmethod): Don't hide code under quotes.
13670 (eieio-defmethod): New `code' argument.
13671
13672 * emacs-lisp/eieio-comp.el: Remove.
13673
13674 * emacs-lisp/edebug.el (edebug-eval-defun)
13675 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13676 (edebug-toggle): Avoid `eval'.
13677
13678 * emacs-lisp/disass.el (disassemble-internal): Handle new
13679 `closure' objects.
13680 (disassemble-1): Handle new byte codes.
13681
13682 * emacs-lisp/cl.el (pushnew): Silence warning.
13683
13684 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13685 (cl-byte-compile-throw): Remove.
13686 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13687
13688 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13689 closures.
13690
13691 * emacs-lisp/cconv.el: New file.
13692
13693 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13694 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13695 (byte-compile-initial-macro-environment):
13696 Handle declare-function here.
13697 (byte-compile--lexical-environment): New var.
13698 (byte-stack-ref, byte-stack-set, byte-discardN)
13699 (byte-discardN-preserve-tos): New lap codes.
13700 (byte-interactive-p): Don't use any more.
13701 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13702 New macros.
13703 (byte-compile-lapcode): Use them and handle new lap codes.
13704 (byte-compile-obsolete): Remove.
13705 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13706 (byte-compile-arglist-warn): Check late def of inlinable funs.
13707 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13708 since they should have been expanded by now.
13709 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13710 (byte-compile-from-buffer): Remove unused second arg.
13711 (byte-compile-preprocess): New function.
13712 (byte-compile-toplevel-file-form): New function to distinguish
13713 file-form calls from outside from file-form calls from hunk-handlers.
13714 (byte-compile-file-form): Simplify.
13715 (byte-compile-file-form-defsubst): Remove.
13716 (byte-compile-file-form-defmumble): Simplify now that
13717 byte-compile-lambda always returns a byte-code-function.
13718 (byte-compile): Preprocess.
13719 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13720 Remove, not used any more.
13721 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13722 (byte-compile-make-args-desc): New funs.
13723 (byte-compile-lambda): Handle lexical functions. Always return
13724 a byte-code-function.
13725 (byte-compile-reserved-constants): New var, to make up room for
13726 closed-over variables.
13727 (byte-compile-constants-vector): Obey it.
13728 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13729 (byte-compile-macroexpand-declare-function): New function.
13730 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13731 byte-code-functions.
13732 (byte-compile-form): Check obsolescence here.
13733 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13734 (byte-compile-variable-ref): Remove.
13735 (byte-compile-dynamic-variable-op): New fun.
13736 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13737 (byte-compile-variable-set): New funs.
13738 (byte-compile-discard): Add 2 args.
13739 (byte-compile-stack-ref, byte-compile-stack-set)
13740 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13741 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13742 macroexpand-all instead.
13743 (byte-compile-quote-form): Remove.
13744 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13745 (byte-compile-bind, byte-compile-unbind): New funs.
13746 (byte-compile-let): Handle let* and lexical binding.
13747 (byte-compile-let*): Remove.
13748 (byte-compile-catch, byte-compile-unwind-protect)
13749 (byte-compile-track-mouse, byte-compile-condition-case):
13750 Handle a new :fun-body form, used for lexical scoping.
13751 (byte-compile-save-window-excursion)
13752 (byte-compile-with-output-to-temp-buffer): Remove.
13753 (byte-compile-defun): Simplify.
13754 (byte-compile-stack-adjustment): New fun.
13755 (byte-compile-out): Use it.
13756 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13757
13758 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13759 handler any more.
13760
13761 * emacs-lisp/byte-opt.el: Use lexical binding.
13762 (byte-inline-lapcode): Remove (to bytecomp).
13763 (byte-compile-inline-expand): Pay attention to inlining to/from
13764 lexically bound code.
13765 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13766 any more.
13767 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13768 any more and don't call compiler-macros.
13769 (byte-compile-splice-in-already-compiled-code): Remove.
13770 (byte-code): Don't inline any more.
13771 (disassemble-offset): Receive `bytes' as argument rather than via
13772 dynamic scoping.
13773 (byte-compile-tag-number): Declare before first use.
13774 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13775 `return' even if make-spliceable.
13776 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13777 obsolete interactive-p.
13778 (byte-optimize-lapcode): Optimize new lap-codes.
13779 Don't trip up on new form of `byte-constant' lap code.
13780
13781 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13782
13783 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13784
13785 * custom.el (custom-initialize-default, custom-declare-variable):
13786 Use `defvar'.
13787
13788 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13789 New variables.
13790 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13791 (COMPILE_FIRST): Add macroexp and cconv.
13792 * makefile.w32-in: Mirror changes in Makefile.in.
13793
13794 * vc/cvs-status.el:
13795 * vc/diff-mode.el:
13796 * vc/log-edit.el:
13797 * vc/log-view.el:
13798 * vc/smerge-mode.el:
13799 * textmodes/bibtex-style.el:
13800 * textmodes/css.el:
13801 * startup.el:
13802 * uniquify.el:
13803 * minibuffer.el:
13804 * newcomment.el:
13805 * reveal.el:
13806 * server.el:
13807 * mpc.el:
13808 * emacs-lisp/smie.el:
13809 * doc-view.el:
13810 * dired.el:
13811 * abbrev.el: Use lexical binding.
13812
13813 2011-04-01 Eli Zaretskii <eliz@gnu.org>
13814
13815 * info.el (info-display-manual): New function.
13816
13817 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13820
13821 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13822
13823 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13824 an entry for that server in rcirc-authinfo. (Bug#8385)
13825
13826 2011-03-31 Glenn Morris <rgm@gnu.org>
13827
13828 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13829
13830 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13831
13832 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13833
13834 * progmodes/python.el (python-default-interpreter)
13835 (python-python-command-args, python-jython-command-args)
13836 (python-which-shell, python-which-args, python-which-bufname)
13837 (python-file-queue, python-comint-output-filter-function)
13838 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13839 variables and functions.
13840
13841 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13844 (completion-in-region-mode): New minor mode.
13845 (completion-in-region): Use it.
13846 (completion-in-region--data, completion-in-region-mode-map): New vars.
13847 (completion-in-region--postch): New function.
13848 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13849 New vars.
13850 (completion--capf-wrapper): New function.
13851 (completion-at-point): Use it to track well-behavedness of
13852 hook functions.
13853 (completion-help-at-point): New command.
13854
13855 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13856
13857 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13858 syntax class to search for whitespace on a single line
13859 (Message-ID: <4D938140.4030905@redhat.com>).
13860
13861 2011-03-30 Leo Liu <sdl.web@gmail.com>
13862
13863 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13864 New commands.
13865 (edit-abbrevs-map): Bind them here.
13866 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13867
13868 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13869
13870 * allout.el (allout-hide-by-annotation, allout-flag-region):
13871 Reduce possibility of overlay leakage by making them volatile.
13872
13873 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13874 hash is not shared between buffers. Mode initialization is
13875 responsible for giving it a useful starting value.
13876 (allout-item-span): Reduce possibility of overlay leakage by
13877 making them volatile.
13878 (allout-widgets-count-buttons-in-region): Add diagnostic function
13879 for tracking down button overlay leaks.
13880
13881 2011-03-29 Leo Liu <sdl.web@gmail.com>
13882
13883 * ido.el (ido-read-internal): Use the default history var
13884 minibuffer-history if no HISTORY is specified.
13885
13886 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13887
13888 * net/imap.el (imap-shell-open, imap-process-connection-type):
13889 Use imap-process-connection-type for 'shell' streams as well as
13890 Kerberos, SSL, other subprocesses.
13891
13892 2011-03-28 Leo Liu <sdl.web@gmail.com>
13893
13894 * abbrev.el (abbrev-table-empty-p): New function.
13895 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13896 nonempty ones. (Bug#5937)
13897
13898 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13899
13900 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13901
13902 2011-03-27 Leo Liu <sdl.web@gmail.com>
13903
13904 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13905 for foreground and background colors.
13906 (ansi-color-make-color-map): Adapt.
13907
13908 2011-03-25 Leo Liu <sdl.web@gmail.com>
13909
13910 * midnight.el (midnight-time-float): Remove. Note it calculates
13911 the microsecond component incorrectly and seconds-to-time does the
13912 same job.
13913 Remove redundant (require 'timer).
13914
13915 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13916 (ido-completions): Remove unused arguments. (Bug#8329)
13917
13918 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13919
13920 * minibuffer.el (completion--flush-all-sorted-completions):
13921 Remove itself from hook.
13922 (completion-at-point): Let the functions perform the completion
13923 immediately and return nil or t.
13924 * comint.el (comint-dynamic-complete-functions): Now identical to
13925 completion-at-point-functions.
13926 (comint-dynamic-list-input-ring): Remove unused var `index'.
13927 (comint--match-partial-filename, comint--unquote&expand-filename):
13928 New funs, split from comint-match-partial-filename.
13929 (comint-dynamic-complete): Use completion-at-point.
13930 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13931
13932 2011-03-24 Drew Adams <drew.adams@oracle.com>
13933
13934 * thingatpt.el: Support `defun'.
13935
13936 2011-03-23 Leo Liu <sdl.web@gmail.com>
13937
13938 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13939
13940 * help-mode.el (help-mode-finish): Tweak regexp.
13941
13942 2011-03-23 Glenn Morris <rgm@gnu.org>
13943
13944 * eshell/esh-opt.el (eshell-eval-using-options):
13945 Do not bind unused local variable `eshell-option-stub'.
13946
13947 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13948
13949 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13950
13951 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13952 keymap variable in `with-no-warnings' to avoid a warning when the
13953 keymap has been already `defconst'ed.
13954
13955 2011-03-22 Leo Liu <sdl.web@gmail.com>
13956
13957 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13958 encode all chars in abbrevs; otherwise use emacs-mule or
13959 utf-8-emacs. (Bug#8308)
13960
13961 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
13962
13963 * simple.el (backward-delete-char-untabify):
13964 Avoid warning about using `delete-backward-char'.
13965
13966 * image.el (image-type-file-name-regexps): Make it variable.
13967 `imagemagick-register-types' modifies it, and the user may want
13968 to add new extensions for known image types.
13969 (imagemagick-register-types): Throw error if not using ImageMagick.
13970
13971 2011-03-22 Leo Liu <sdl.web@gmail.com>
13972
13973 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13974 located before rcirc-prompt-end-marker.
13975 (rcirc-complete): Error if point is not after rcirc prompt.
13976 Handle the case when table is nil.
13977 (rcirc-user-authenticated): Define to fix compiler warning.
13978
13979 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
13980
13981 * custom.el (custom--inhibit-theme-enable): Make it affect only
13982 custom-theme-set-variables and custom-theme-set-faces.
13983 (provide-theme): Ignore custom--inhibit-theme-enable.
13984 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13985 (custom-enabling-themes): Delete variable.
13986 (enable-theme): Accept only loaded themes as arguments.
13987 Ignore the special custom-enabled-themes variable.
13988 (custom-enabled-themes): Forbid themes from setting this.
13989 Eliminate use of custom-enabling-themes.
13990 (custom-push-theme): Quote "changed" custom var entry.
13991
13992 2011-03-21 Leo Liu <sdl.web@gmail.com>
13993
13994 * ido.el (ido-read-internal): Add ido-selected to history instead
13995 of user input.
13996
13997 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13998
13999 * subr.el (deferred-action-list, deferred-action-function):
14000 Mark obsolete.
14001
14002 2011-03-21 Leo Liu <sdl.web@gmail.com>
14003
14004 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14005 change on 2011-02-13 (bug#8309).
14006
14007 * minibuffer.el (read-file-name-function): Change default value.
14008 (read-file-name--defaults): Rename from read-file-name-defaults.
14009 (read-file-name-default): Rename from read-file-name.
14010 (read-file-name): Call read-file-name-function.
14011
14012 2011-03-21 Glenn Morris <rgm@gnu.org>
14013
14014 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14015 Doc fixes.
14016
14017 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
14018
14019 * cus-theme.el: Add missing provide statement.
14020 (customize-create-theme): Extract theme value correctly.
14021 (custom-theme-visit-theme): Autoload.
14022 (customize-create-theme): Prompt before inserting default faces.
14023
14024 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14025
14026 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14027 units and musical notes.
14028
14029 2011-03-20 Leo Liu <sdl.web@gmail.com>
14030
14031 * ido.el (ido-read-internal): Use completing-read-default.
14032 (ido-completing-read): Fix compatibility with completing-read.
14033
14034 2011-03-20 Christian Ohler <ohler@gnu.org>
14035
14036 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14037 (ert-delete-all-tests): Use `called-interactively-p' rather than
14038 `interactive-p'.
14039 (ert--make-xrefs-region): Respect END.
14040
14041 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14042
14043 * dired-aux.el (dired-create-directory): Signal an error if the
14044 directory already exists (Bug#8246).
14045
14046 * facemenu.el (list-colors-display): Call list-faces-display
14047 inside with-help-window.
14048 (list-colors-print): Use display property to align the final
14049 column, instead of checking window-width.
14050
14051 2011-03-19 Eli Zaretskii <eliz@gnu.org>
14052
14053 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
14054 windows-nt systems.
14055 (emerge-protect-metachars): Quote correctly for ms-dos and
14056 windows-nt systems.
14057
14058 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
14059
14060 * info.el (info-initialize): Replace all uses of `:' with
14061 path-separator for compatibility with non-Unix systems.
14062 Cache quoting of path-separator. (Bug#8258)
14063
14064 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
14065
14066 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14067 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14068 (mouse-avoidance-mode): Fix typos in docstrings.
14069
14070 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
14071
14072 * startup.el (package-subdirectory-regexp): Move from package.el.
14073 Omit \\` and \\', and let callers add them.
14074
14075 * emacs-lisp/package.el (package-strip-version)
14076 (package-load-all-descriptors): Add \\` and \\' to
14077 package-subdirectory-regexp before using it.
14078 (package-untar-buffer): New arg DIR; ensure that file untars only
14079 into this expected directory. Remove superfluous delete-region.
14080 (package-unpack): Caller changed.
14081 (package-tar-file-info): Use package-subdirectory-regexp.
14082
14083 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14086 diff-mode-shared-map (bug#8284).
14087 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
14088
14089 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14090
14091 * calendar/time-date.el (format-seconds): Use assoc instead of
14092 assoc-string, since assoc-string doesn't exist in XEmacs.
14093
14094 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
14095
14096 * custom.el (custom-known-themes): Reflow docstring.
14097 (custom-theme-load-path): Fix typo in docstring.
14098 (load-theme): Fix typo in error message.
14099 (custom-available-themes, custom-variable-theme-value):
14100 Use `let', not `let*'.
14101
14102 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14103
14104 * calc/README: Mention inclusion of musical notes.
14105
14106 * calc/calc-units.el (calc-lu-quant): Rename from
14107 `calc-logunits-quantity'.
14108 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14109 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14110 (calc-db): Rename from `calc-dblevel'.
14111 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14112 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14113 (calc-np): Rename from `calc-nplevel'.
14114 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14115 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14116 (calc-lu-plus): Rename from `calc-logunits-add'.
14117 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14118 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14119 (calc-lu-minus): Rename from `calc-logunits-sub'.
14120 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14121 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14122 (calc-lu-times): Rename from `calc-logunits-mul'.
14123 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14124 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14125 (calc-lu-divide): Rename from `calc-logunits-div'.
14126 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14127 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14128
14129 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14130 functions being autoloaded.
14131
14132 * calc/calc.el (calc-lu-power-reference): Rename from
14133 `calc-logunits-power-reference'.
14134 (calc-lu-field-reference): Rename from
14135 `calc-logunits-field-reference'.
14136
14137 * calc/calc-help.el (calc-l-prefix-help):
14138 Mention musical note functions.
14139
14140 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * minibuffer.el (completion-all-sorted-completions):
14143 Use :completion-cycle-penalty text property if present.
14144
14145 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14146
14147 * allout.el (allout-yank-processing): Adjust for new rebulleting
14148 regime so bullet being yanked is used without prompting the user
14149 for a choice.
14150
14151 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14152
14153 * startup.el (command-line): Warn the user that _emacs is deprecated.
14154
14155 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
14156
14157 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14158 (delphi-verbose, delphi-comment-face, delphi-string-face)
14159 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14160 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14161 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14162 (delphi-new-comment-line, delphi-font-lock-defaults)
14163 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14164 Fix typos in docstrings.
14165
14166 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
14167
14168 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
14169 Invert the roles of character and string values for INSTEAD, so a
14170 string is used for the more common case of a defaulting prompt.
14171
14172 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * progmodes/ruby-mode.el (ruby-backward-sexp):
14175 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
14176 * play/gamegrid.el (gamegrid-make-face):
14177 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
14178 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
14179 * notifications.el (notifications-notify):
14180 * net/xesam.el (xesam-search-engines):
14181 * net/quickurl.el (quickurl-list-insert):
14182 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
14183
14184 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
14185
14186 * startup.el (command-line): Update package subdirectory regexp.
14187
14188 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * allout.el (allout-abbreviate-flattened-numbering)
14191 (allout-mode-deactivate-hook): Fix up obsolescence "date".
14192
14193 * subr.el (read-char-choice): Only show the cursor after the prompt,
14194 not after the answer.
14195
14196 2011-03-15 Kevin Ryde <user42@zip.com.au>
14197
14198 * help-fns.el (variable-at-point): Skip leading quotes, if any
14199 (bug#8253).
14200
14201 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14202
14203 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
14204 warning message.
14205
14206 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
14207
14208 * shell.el (shell): When called interactively, offer to change the
14209 shell file name on remote hosts.
14210
14211 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
14212
14213 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
14214 integration for LDAP parameters. The host, base, user or binddn,
14215 and secret tokens can be specified in a netrc file, for instance.
14216 This is optional because an `auth-source' parameter must be
14217 specified in the search attributes.
14218
14219 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
14220
14221 * help.el (describe-mode): Link to the mode's definition (bug#8185).
14222
14223 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14224
14225 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
14226 into declaration. Remove redundant and harmful binding.
14227
14228 2011-03-12 Eli Zaretskii <eliz@gnu.org>
14229
14230 * files.el (file-ownership-preserved-p): Pass `integer' as an
14231 explicit 2nd argument to `file-attributes'. If the file's owner
14232 is the Administrators group on Windows, and the current user is
14233 Administrator, consider that a match.
14234
14235 * server.el (server-ensure-safe-dir): Consider server directory
14236 safe on MS-Windows if its owner is the Administrators group while
14237 the current Emacs user is Administrator. Use `=' to compare
14238 numerical UIDs, since they could be integers or floats.
14239
14240 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
14241
14242 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
14243
14244 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
14245
14246 Sync with Tramp 2.2.1.
14247
14248 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
14249
14250 * net/trampver.el: Update release number.
14251
14252 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14253
14254 * progmodes/compile.el (compilation--previous-directory): Fix up
14255 various nil/dead-marker mismatches (bug#8014).
14256 (compilation-directory-properties, compilation-error-properties):
14257 Don't call it at a position past the one we're about to change.
14258
14259 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
14260 Disable obsolescence warnings in the file that declares it.
14261
14262 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
14263
14264 * allout-widgets.el (allout-widgets-tally):
14265 Initialize allout-widgets-tally as a hash table rather than nil to
14266 prevent mode-line redisplay warnings. Also, clarify the module
14267 description and fix a comment typo.
14268
14269 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
14270
14271 * help-fns.el (describe-variable): Don't complete keywords.
14272 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
14273
14274 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
14275
14276 * emacs-lisp/package.el (package-version-join): Impose a standard
14277 string representation for pre/alpha/beta version lists.
14278 (package-unpack-single): Standardize the directory name by passing
14279 it through package-version-join.
14280 (package-strip-rcs-id): Accept any version string that does not
14281 signal an error in version-to-list.
14282
14283 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
14284
14285 * simple.el (delete-trailing-whitespace): Return nil for the
14286 benefit of `write-file-functions'.
14287
14288 2011-03-10 Glenn Morris <rgm@gnu.org>
14289
14290 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14291
14292 * vc/vc-git.el (vc-git-program): New option.
14293 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14294 (vc-git--call): Use it.
14295
14296 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14297
14298 * cus-edit.el (Custom-newline): If no button at point, look
14299 for a subgroup button at start-of-line. (Bug#2298)
14300
14301 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14302
14303 2011-03-10 Julien Danjou <julien@danjou.info>
14304
14305 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14306 `cursor-type' is nil.
14307
14308 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14309
14310 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14311
14312 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14313
14314 * allout.el: Change so yank of distinctive-bullet items
14315 preserves the existing header prefix, rebulleting it if necessary,
14316 rather than replacing it. This is necessary for proper operation
14317 of cooperative addons like allout-widgets.
14318 (allout-make-topic-prefix, allout-rebullet-heading):
14319 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14320 value as alternate bullet to be used, instead of prompting the user
14321 for a bullet character.
14322
14323 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
14324
14325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14326 Do not use `tramp-file-name-port', because this returns also
14327 `tramp-default-port'.
14328
14329 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14330
14331 * net/rcirc.el (rcirc-handler-001): Remove useless
14332 with-rcirc-process-buffer.
14333 (rcirc-check-auth-status): Swap arguments to string-match.
14334
14335 2011-03-09 Glenn Morris <rgm@gnu.org>
14336
14337 * shell.el (shell-mode):
14338 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14339
14340 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14341 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14342
14343 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * emacs-lisp/package.el (package-refresh-contents)
14346 (package-menu-execute): Use condition-case-no-debug.
14347
14348 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
14349
14350 * simple.el (shell-command-to-string): Use `process-file'.
14351
14352 * emacs-lisp/package.el (package-tar-file-info): Handle also
14353 remote files.
14354
14355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14356 Use `equal' for upload base check.
14357
14358 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14359
14360 * textmodes/texinfo.el (texinfo-environments):
14361 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14362
14363 2011-03-08 Glenn Morris <rgm@gnu.org>
14364
14365 * cus-start.el (cursor-in-non-selected-windows):
14366 Fix :set quoting oddness. (Bug#8192)
14367
14368 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14369 in some setf expressions. (Bug#2159)
14370
14371 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
14372
14373 * custom.el (custom-available-themes): Return themes in
14374 alphabetical order.
14375
14376 See ChangeLog.15 for earlier changes.
14377
14378 ;; Local Variables:
14379 ;; coding: utf-8
14380 ;; End:
14381
14382 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14383
14384 This file is part of GNU Emacs.
14385
14386 GNU Emacs is free software: you can redistribute it and/or modify
14387 it under the terms of the GNU General Public License as published by
14388 the Free Software Foundation, either version 3 of the License, or
14389 (at your option) any later version.
14390
14391 GNU Emacs is distributed in the hope that it will be useful,
14392 but WITHOUT ANY WARRANTY; without even the implied warranty of
14393 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14394 GNU General Public License for more details.
14395
14396 You should have received a copy of the GNU General Public License
14397 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.