]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/env.el (env--substitute-vars-regexp): New const.
[gnu-emacs] / lisp / ChangeLog
1 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * env.el (env--substitute-vars-regexp): New const.
4 (substitute-env-vars): Use it. Add `only-defined' arg.
5 * net/tramp.el (tramp-replace-environment-variables): Use it.
6
7 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8 Byte-compile *before* eval in eval-and-compile.
9 (byte-compile-log-warning): Remove redundant inhibit-read-only.
10 (byte-compile-file-form-autoload): Don't hide actual definition.
11 (byte-compile-maybe-guarded): Accept `functionp' as well.
12
13 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
14
15 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
16
17 * notifications.el (notifications-get-server-information-method):
18 New defconst.
19 (notifications-get-capabilities): Fix docstring.
20 (notifications-get-server-information): New defun.
21
22 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23
24 * textmodes/ispell.el (ispell-region): Standard re-indent for better
25 readability.
26
27 * textmodes/ispell.el: Experimental support for support debugging.
28 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
29 buffer for ispell.
30 (ispell-print-if-debug): New function to print stuff to
31 `ispell-debug-buffer' if debugging is enabled.
32 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
33 show some debugging info.
34 (ispell-buffer-with-debug): New function that creates a debugging
35 buffer and calls `ispell-buffer' with debugging enabled.
36
37 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
38 comment in autoconf mode. (Bug#12768)
39
40 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
41
42 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
43 frame-first-window, frame-root-window, frame-selected-window,
44 minibuffer-selected-window, minibuffer-window,
45 window-absolute-pixel-edges, window-at, window-body-height,
46 window-body-width, window-display-table, window-combination-limit,
47 window-frame, window-fringes, window-inside-absolute-pixel-edges,
48 window-inside-edges, window-inside-pixel-edges, window-left-child,
49 window-left-column, window-margins, window-next-buffers,
50 window-next-sibling, window-new-normal, window-new-total,
51 window-normal-size, window-parameter, window-parameters, window-parent,
52 window-pixel-edges, window-point, window-prev-buffers,
53 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
54 window-start, window-text-height, window-top-child, window-top-line,
55 window-total-height, window-total-width and window-use-time to the list
56 of functions without side-effects.
57 (toplevel): Add window-valid-p to the list of error-free functions
58 without side-effects.
59
60 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
61
62 * textmodes/ispell.el (ispell-program-name): Update
63 spellchecker parameters when customized.
64
65 2012-11-04 Glenn Morris <rgm@gnu.org>
66
67 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
68
69 2012-11-04 Chong Yidong <cyd@gnu.org>
70
71 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
72 same-window-* variables.
73
74 2012-11-04 Juri Linkov <juri@jurta.org>
75
76 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
77 (isearch-describe-key, isearch-describe-mode): Use a display
78 action instead of binding same-window-* variables (Bug#10040).
79
80 2012-11-03 Glenn Morris <rgm@gnu.org>
81
82 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
83 Rename handler properties back from cl-- to cl-. (Bug#12788)
84
85 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
86
87 2012-11-03 Eli Zaretskii <eliz@gnu.org>
88
89 * term/pc-win.el: Don't load term/internal from here.
90
91 * loadup.el: Load term/internal from here.
92
93 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
94
95 * progmodes/python.el (inferior-python-mode): Fix hang in
96 jit-lock (Bug#12645).
97
98 2012-11-03 Martin Rudalics <rudalics@gmx.at>
99
100 * window.el (switch-to-visible-buffer)
101 (switch-to-buffer-preserve-window-point): Fix doc-strings.
102
103 2012-11-03 Glenn Morris <rgm@gnu.org>
104
105 * emacs-lisp/cl-lib.el (cl--random-time):
106 Rename from cl-random-time. (Bug#12773)
107 (cl--gensym-counter, cl--random-state): Update callers.
108 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
109
110 2012-11-03 Chong Yidong <cyd@gnu.org>
111
112 * cus-start.el: Make cursor-type customizable (Bug#11633).
113
114 2012-11-02 Glenn Morris <rgm@gnu.org>
115
116 * filecache.el: No need to load find-lisp when compiling.
117 (find-lisp-find-files): Autoload it.
118 (file-cache-add-directory-recursively): Don't require find-lisp.
119
120 * image.el (image-type-from-file-name): Trivial simplification.
121
122 * emacs-lisp/bytecomp.el (byte-compile-eval):
123 Decouple "noruntime" and "cl-functions" warnings.
124
125 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
126
127 * play/gomoku.el (gomoku-display-statistics): Update mode line
128 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
129
130 2012-10-31 Martin Rudalics <rudalics@gmx.at>
131
132 * window.el (quit-restore-window): If the window has been
133 created on an existing frame and ended up as the sole window on
134 that frame, do not delete it (Bug#12764).
135
136 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * progmodes/sh-script.el (sh--inside-noncommand-expression):
139 Rename from sh--inside-arithmetic-expression, handle more cases
140 (bug#11263).
141
142 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
143 (sh-font-lock-open-heredoc): Use it (bug#12770).
144
145 2012-10-30 Glenn Morris <rgm@gnu.org>
146
147 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
148
149 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
150
151 2012-10-29 Chong Yidong <cyd@gnu.org>
152
153 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
154 function key is stored in a keyboard macro (Bug#4894).
155
156 * thingatpt.el (number-at-point): Apply a thing-at-point property.
157
158 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
161 header comments".
162 (diff-unified->context, diff-context->unified)
163 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
164
165 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
166
167 * files.el (find-alternate-file): Only ask one question (bug#12487).
168
169 2012-10-29 Chong Yidong <cyd@gnu.org>
170
171 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
172 Suggested by Dan Nicolaescu (Bug#6326).
173
174 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
175
176 * startup.el (fancy-about-screen): Don't message (Bug#12680).
177
178 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
179
180 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
181
182 * face-remap.el (face-remap-add-relative): Handle the case where a
183 face-remapping-alist entry is a cons cell (Bug#12762).
184
185 2012-10-29 Kevin Ryde <user42@zip.com.au>
186
187 * woman.el (woman-parse-numeric-value): Handle picas correctly
188 (Bug#12639).
189
190 2012-10-29 Glenn Morris <rgm@gnu.org>
191
192 * emacs-lisp/cl.el (defsetf): Doc fix.
193
194 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
197 syntax to the matching opener, if any (bug#12547).
198 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
199 matching open as a "case-(".
200 (sh-smie-rc-grammar): Add a corresponding rule for it.
201
202 2012-10-28 Daniel Hackney <dan@haxney.org>
203
204 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
205 "PKGNAME-autoloads.el" in case we created it.
206
207 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
210 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
211 (completion--twq-all): Disable too-strict assertions.
212
213 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
214
215 2012-10-27 Eli Zaretskii <eliz@gnu.org>
216
217 * profiler.el (profiler-report-make-entry-part): Fix help-echo
218 text to match the real keybindings.
219
220 2012-10-27 Juri Linkov <juri@jurta.org>
221
222 * wdired.el (wdired-keep-marker-rename): New defcustom.
223 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
224 (Bug#11795)
225
226 * dired.el (dired-keep-marker-rename): Add reference to
227 `wdired-keep-marker-rename' in the docstring.
228 Add default character value ?R to display initially in
229 Customization UI instead of ?@.
230
231 2012-10-27 Martin Rudalics <rudalics@gmx.at>
232
233 * window.el (display-buffer): In doc-string describe
234 window-height and window-width alist entries.
235
236 * time.el (display-time-world): Restore fit-window-to-buffer
237 behavior.
238
239 2012-10-27 Chong Yidong <cyd@gnu.org>
240
241 * subr.el (insert-buffer-substring-as-yank): Doc fix.
242
243 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
244
245 * minibuffer.el (completion-category-overrides): New completion
246 category `bookmark' (bug#11131).
247
248 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * emacs-lisp/advice.el (ad-assemble-advised-definition):
251 Silence bogus compiler warnings for ad-do-it.
252
253 * bookmark.el (bookmark-completing-read): Set the completion category
254 to `bookmark' (bug#11131).
255
256 2012-10-26 Bastien <bzg@altern.org>
257 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * face-remap.el: Use lexical-binding.
260 (text-scale-adjust): Improve docstring. Use itself for the temporary
261 overlay-map bindings, so as to repeat the "Use..." message each time.
262
263 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * emacs-lisp/macroexp.el (macroexp--expand-all):
266 Obey byte-compile-warning-enabled-p (bug#12486).
267
268 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
269 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
270
271 2012-10-26 Martin Rudalics <rudalics@gmx.at>
272
273 * mouse.el (mouse-drag-line): Move last form into preceding when
274 clause (Bug#12731).
275
276 * help.el (resize-temp-buffer-window): Fix doc-string.
277
278 2012-10-25 David Engster <deng@randomsample.de>
279
280 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
281 Remove. This feature is already integrated in imenu.
282
283 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
284 always loaded. Require `speedbar' unconditionally.
285
286 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
289
290 * minibuffer.el (minibuffer-force-complete): Fix thinko.
291
292 * net/ldap.el (ldap-search-internal): The official ldif format starts
293 with a "version: 1" header (bug#12724).
294
295 * emacs-lisp/package.el (package-installed-p): Warn if not ready
296 (bug#12721).
297
298 2012-10-25 Glenn Morris <rgm@gnu.org>
299
300 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
301
302 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * minibuffer.el (minibuffer-force-complete): Use one more marker
305 for the temporary-overlay-map command (bug#12619).
306
307 2012-10-24 Chong Yidong <cyd@gnu.org>
308
309 * time.el (display-time-world-mode): Derive from special-mode.
310 (display-time-world): Use display-buffer (Bug#12708).
311 (display-time-world-mode-map): Variable deleted.
312 (display-time-world-display): Wrap the final delete-char inside
313 inhibit-read-only.
314
315 2012-10-24 Chong Yidong <cyd@gnu.org>
316
317 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
318 Doc fix.
319
320 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
321
322 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * minibuffer.el (completion--all-sorted-completions-location): New var.
325 (completion--cache-all-sorted-completions)
326 (completion--flush-all-sorted-completions): Use it.
327 (completion-in-region, completion-in-region--postch)
328 (completion-at-point, completion-help-at-point): Use markers in
329 completion-in-region--data (bug#12619).
330
331 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * progmodes/compile.el (compilation-start): Try to handle common
334 quoting of `cd' argument (bug#12640).
335
336 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
337 (bug#12671).
338
339 2012-10-23 Glenn Morris <rgm@gnu.org>
340
341 * progmodes/gud.el (gud-menu-map):
342 Check gdb-active-process is bound. (Bug#12358)
343
344 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * repeat.el (repeat): Set real-this-command (bug#12232).
347
348 * htmlfontify.el (hfy-post-html-hook):
349 * filesets.el (filesets-cache-fill-content-hook):
350 * arc-mode.el (archive-extract-hook):
351 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
352 * net/rcirc.el (rcirc-sentinel-functions)
353 (rcirc-receive-message-functions, rcirc-activity-functions)
354 (rcirc-print-functions):
355 * net/dbus.el (dbus-event-error-functions):
356 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
357 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
358 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
359 * term/sun.el (sun-raw-prefix-hooks):
360 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
361
362 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
365 Set `tramp-chunksize' to 1. This improves the performance.
366 (tramp-smb-wait-for-output): Add timeout to
367 `tramp-accept-process-output' calls.
368
369 2012-10-23 Chong Yidong <cyd@gnu.org>
370
371 * faces.el (font-list-limit): Define as an obsolete variable.
372
373 * startup.el (command-line):
374 * cus-start.el: Don't refer to font-list-limit.
375
376 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
377
378 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * subr.el (internal-temp-output-buffer-show): Rename from
381 temp-output-buffer-show, since previously compiled files expect this name.
382
383 2012-10-23 Glenn Morris <rgm@gnu.org>
384
385 * image.el (image-type-from-file-name): If multiple types match,
386 return the first one that is supported. (Bug#9045)
387
388 2012-10-22 Glenn Morris <rgm@gnu.org>
389
390 * image.el (imagemagick-enabled-types): Doc fix.
391
392 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
393
394 * progmodes/which-func.el (which-func-current): The hash-table may have
395 an explicit nil (bug#12338).
396
397 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * electric.el (electric-pair-delete-selection-self-insert-function):
400 Rename to electric-pair-will-use-region, return a boolean.
401 (electric-pair-mode): Adjust accordingly. Don't require delsel.
402
403 * delsel.el (delete-selection-helper): Use a function instead of a hook.
404 (delete-selection-pre-hook): Use use-region-p.
405 (delete-selection-self-insert-function): Remove.
406 (self-insert-command): Obey self-insert-uses-region-functions.
407 (self-insert-iso): Revert to previous setting, since we don't actually
408 know what that command does.
409 (delete-selection-self-insert-hooks): Remove.
410
411 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
412
413 * delsel.el (delete-selection-helper): New function, extracted from
414 delete-selection-pre-hook.
415 (delete-selection-pre-hook): Use it.
416 (delete-selection-self-insert-function): New function.
417 (delete-selection-self-insert-hooks): New hook.
418 (self-insert-command, self-insert-iso): Use it.
419 * electric.el (electric-pair-syntax): New function, extracted from
420 electric-pair-post-self-insert-function.
421 (electric-pair-post-self-insert-function): Use it.
422 (electric-pair-delete-selection-self-insert-function): New function.
423 (electric-pair-mode): Require delsel and setup
424 delete-selection-self-insert-hooks (bug#11520).
425
426 2012-10-20 Chong Yidong <cyd@gnu.org>
427
428 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
429 no changes to show (Bug#12586).
430
431 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
432 list explicitly (Bug#12571).
433
434 2012-10-20 Arne Jørgensen <arne@arnested.dk>
435
436 * progmodes/flymake.el (flymake-create-temp-inplace):
437 Use file-truename.
438
439 2012-10-20 Eli Zaretskii <eliz@gnu.org>
440
441 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
442
443 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
444
445 * calc/calc-units.el (math-extract-units): Properly extract powers
446 of units.
447
448 2012-10-20 Daniel Colascione <dancol@dancol.org>
449
450 * frame.el (make-frame): Set x-display-name as we used to in order
451 to unbreak creating an X11 frame from an Emacs daemon started
452 without a display.
453
454 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * minibuffer.el (minibuffer-force-complete): Make the next completion use
457 the same completion-field (bug@12221).
458
459 2012-10-19 Martin Rudalics <rudalics@gmx.at>
460
461 * emacs-lisp/debug.el (debug): Record height of debugger window
462 also when debugger will be back (Bug#8789).
463
464 2012-10-18 Chong Yidong <cyd@gnu.org>
465
466 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
467 Convert to defcustom.
468 (gdb-get-source-file): Don't bind pop-up-windows.
469
470 * progmodes/gud.el (gud-display-line): Don't specially re-use
471 other frames for the gdb-mi case (Bug#12648).
472
473 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * emacs-lisp/advice.el: Clean up commentary a bit.
476 (ad-do-advised-functions, ad-with-originals): Use `declare'.
477 (byte-code-function-p): Never redefine.
478
479 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
480
481 2012-10-18 Glenn Morris <rgm@gnu.org>
482
483 * dired.el (dired-sort-toggle): Some ls implementations only allow
484 a single option string. (Bug#12666)
485
486 * minibuffer.el (completion-cycle-threshold): Doc fix.
487
488 2012-10-17 Kenichi Handa <handa@gnu.org>
489
490 * international/mule.el (set-keyboard-coding-system):
491 Recover input meta mode when the new coding system doesn not use 8-bit.
492 Supply TERMINAL arg to set-input-meta-mode.
493
494 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
495
496 * wdired.el (wdired-old-marks): New variable.
497 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
498 (wdired-do-renames): Move point with renamed file and don't lose
499 mark status (Bug#11795).
500
501 2012-10-16 Juri Linkov <juri@jurta.org>
502
503 * replace.el (query-replace-help): Mention multi-buffer replacement
504 keys in the Help message. (Bug#12655)
505
506 2012-10-15 Chong Yidong <cyd@gnu.org>
507
508 * emacs-lisp/byte-run.el (defsubst): Doc fix.
509
510 2012-10-14 Eli Zaretskii <eliz@gnu.org>
511
512 * window.el (display-buffer): Doc fix.
513
514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
515 Adjust the msft regexp to the output of Studio 2010, and move msft
516 before edg-1. See the discussion on emacs-devel,
517 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
518 for the details.
519
520 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
523 (oset): Move uses of object-class-fast macro after its definition.
524
525 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
526
527 2012-10-13 Chong Yidong <cyd@gnu.org>
528
529 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
530 enabled, re-enable it (Bug#11963).
531
532 2012-10-13 Martin Rudalics <rudalics@gmx.at>
533
534 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
535 non-nil, restore window configuration (Bug#12623).
536
537 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * help-fns.el (describe-variable, describe-function-1):
540 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
541
542 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
543
544 2012-10-12 Glenn Morris <rgm@gnu.org>
545
546 * mail/rmailsum.el (rmail-header-summary):
547 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
548
549 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
550
551 * progmodes/python.el (python-mode-map):
552 Replace subtitute-key-definition with proper command remapping.
553 (python-nav--up-list): Fix behavior for blocks on the same level.
554
555 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
558
559 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
560 changes to the format of load-history.
561
562 * international/mule-cmds.el (read-char-by-name): Move let-binding of
563 completion-ignore-case in case that var is buffer-local (bug#12615).
564
565 2012-10-11 Kenichi Handa <handa@gnu.org>
566
567 * international/eucjp-ms.el: Re-generated.
568
569 2012-10-10 Kenichi Handa <handa@gnu.org>
570
571 * select.el (xselect--encode-string): If a coding is specified for
572 selection, and that is compatible with COMPOUND_TEXT, use it.
573
574 2012-10-10 Martin Rudalics <rudalics@gmx.at>
575
576 * window.el (switch-to-buffer-preserve-window-point): New option.
577 (switch-to-buffer):
578 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
579
580 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
583 Don't document nil as a useful value (bug#12583).
584
585 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
586
587 * net/tramp.el (tramp-debug-message):
588 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
589 (with-tramp-progress-reporter): Rename from
590 `tramp-with-progress-reporter'.
591 (with-tramp-file-property, with-tramp-connection-property):
592 Move from tramp-cache.el, rename from `with-file-property' and
593 `with-connection-property', respectively.
594
595 * net/tramp-cache.el: Remove `with-file-property' and
596 `with-connection-property'.
597
598 * net/tramp.el:
599 * net/tramp-gvfs.el:
600 * net/tramp-sh.el:
601 * net/tramp-smb.el: Adapt callees.
602
603 * net/trampver.el: Update release number.
604
605 2012-10-09 Glenn Morris <rgm@gnu.org>
606
607 * w32-fns.el (set-message-beep):
608 * term/w32-win.el (set-message-beep): Update declarations.
609
610 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
611
612 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
613 (mode-line-widen, mode-line-input-method-map)
614 (mode-line-coding-system-map, mode-line-remote)
615 (mode-line-unbury-buffer, mode-line-bury-buffer)
616 (mode-line-next-buffer, mode-line-previous-buffer):
617 Replace save-selected-window+select-window => with-selected-window.
618
619 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
620 * progmodes/cc-vars.el (bq-process): Remove, unused.
621
622 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
623
624 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
625
626 Implemented `backward-up-list'-like navigation.
627 * progmodes/python.el (python-nav-up-list)
628 (python-nav-backward-up-list): New functions.
629 (python-mode-map): Define substitute key for backward-up-list to
630 python-nav-backward-up-list.
631
632 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
633
634 * progmodes/python.el (python-fill-paragraph): Rename from
635 python-fill-paragraph-function. Fixed fill-paragraph for
636 decorators (Bug#12605).
637
638 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
639
640 * progmodes/python.el (python-shell-output-filter): Handle extra
641 carriage return in OSX (Bug#12409).
642
643 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
644
645 Fix shell handling of unbalanced quotes and parens in output.
646 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
647 (python-syntax-propertize-function): Use it.
648 (python-shell-output-syntax-table): New var.
649 (inferior-python-mode): Prevent unbalanced parens/quotes from
650 previous output mess with current input context.
651
652 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
653
654 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
655 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
656
657 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
658
659 * ffap.el (ffap-replace-file-component): Support Tramp file name
660 syntax, not only ange-ftp's one.
661
662 2012-10-08 Glenn Morris <rgm@gnu.org>
663
664 * cus-start.el (message-log-max): Set :version.
665
666 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
667
668 2012-10-08 Martin Rudalics <rudalics@gmx.at>
669
670 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
671 the minibuffer window (Bug#10851).
672
673 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
674
675 Enhancements on forward-sexp movement.
676 * progmodes/python.el (python-nav-beginning-of-statement)
677 (python-nav-end-of-statement): Return point-marker.
678 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
679 (python-info-current-symbol)
680 (python-info-statement-starts-block-p): Rename from
681 python-info-beginning-of-block-p.
682 (python-info-statement-ends-block-p): Rename from
683 python-info-end-of-block-p.
684 (python-info-beginning-of-statement-p)
685 (python-info-end-of-statement-p)
686 (python-info-beginning-of-block-p, python-info-end-of-block-p):
687 New functions.
688
689 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
692 frame-selected-windows.
693
694 2012-10-08 Daniel Colascione <dancol@dancol.org>
695
696 * battery.el (battery-status-function): Check for
697 w32-battery-status itself, not system-time windows-nt.
698
699 * frame.el: Require cl-lib.
700 (display-format-alist): New variable mapping frame types to
701 functions that initialize them.
702 (window-system-for-display): New function: interprets
703 display-format-alist.
704 (make-frame-on-display): Remove existing display-selection logic
705 and just forward to make-frame, which will now DTRT.
706 (make-frame): Restructure to use window-system-for-display to
707 figure out how to create a frame on a given display.
708 (display-mouse-p): Look for frame-type w32, not a particular
709 system-type.
710
711 * loadup.el: Load w32 lisp code when we have the w32 feature.
712
713 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
714 system-type windows-nt.
715
716 * server.el (server-create-window-system-frame): Look for window
717 type.
718 (server-proces-filter): Only force a window system when windows-nt
719 _and_ w32. Explain why.
720
721 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
722 of window systems we configure for the mode.
723
724 * startup.el (command-line): Mark window system is initialized
725 after we've done it.
726
727 * common-win.el (x-select-text): Look for w32, not windows-nt.
728
729 * ns-win.el: Require cl-lib. Add ourselves to
730 display-format-alist.
731 (ns-initialize-window-system): Assert we're not initialized twice.
732
733 * w32-win.el: Enable lexical binding; require cl-lib; add
734 ourselves to display-format-alist.
735 (w32-handle-dropped-file): Convert incoming dropped files from
736 Windows paths to Cygwin ones before passing them on to the rest of
737 Emacs.
738 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
739 (w32-initialize-window-system): Assert we're not initialized twice.
740
741 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
742 (x-initialize-window-system): Assert we're not initialized twice.
743
744 * w32-common-fns.el: New File.
745 (w32-version, w32-using-nt, w32-get-clipboard-data)
746 (w32-set-clipboard-data, x-set-selection, x-get-selection)
747 (w32-charset-info-alist, x-last-selected, text)
748 (x-get-selection-value, x-selection-value): Move here.
749
750 * w32-fns.el: Require w32-common-fns.
751 (w32-version, w32-using-nt, w32-get-clipboard-data)
752 (w32-set-clipboard-data, x-set-selection, x-get-selection)
753 (w32-charset-info-alist, x-last-selected, text)
754 (x-get-selection-value, x-selection-value): Move to
755 w32-common-fns.
756
757 * w32-vars.el:
758 (w32-allow-system-shell, w32-system-shells): Define only in
759 non-cygwin case.
760
761 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
764 (read-passwd): Remove a few more potential sources of leaks.
765
766 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
767
768 * progmodes/python.el (inferior-python-mode)
769 (python-shell-make-comint): Fix initialization of local
770 variables copied from parent buffer.
771
772 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
773
774 * term/ns-win.el (ns-read-file-name): Update declaration to match
775 nsfns.m.
776 (ns-respond-to-change-font): Change fontsize separatly so we are sure
777 it is set when font is acted upon.
778
779 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
780
781 Enhancements to indentation.
782 * progmodes/python.el (python-indent-context): Give priority to
783 inside-string context. Make comments indentation markers.
784 (python-indent-region): Do not mess with strings, unless it's the
785 enclosing set of quotes.
786
787 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * window.el (internal--before-save-selected-window)
790 (internal--after-save-selected-window): New functions extracted from
791 save-selected-window. Make sure we return the `alist' we construct.
792 (save-selected-window): Use them.
793
794 * textmodes/tex-mode.el (tex-recenter-output-buffer):
795 Use with-selected-window.
796
797 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
798 forms that define macros (bug#12593).
799
800 2012-10-07 Kenichi Handa <handa@gnu.org>
801
802 * international/mule-conf.el (compound-text-with-extensions):
803 Add :mime-charset property as x-ctext.
804
805 2012-10-07 Stefan Merten <smerten@oekonux.de>
806
807 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
808 (rst-indent-literal-normal, rst-indent-literal-minimized)
809 (rst-indent-comment): Correct :version tag.
810 (rst-official-cvs-rev): Correct version string.
811
812 2012-10-07 Glenn Morris <rgm@gnu.org>
813
814 * mail/rmailmm.el (rmail-mime-process-multipart):
815 Do not confuse a multipart message with an epilogue
816 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
817
818 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
819
820 Fix shell output retrieval and comint-prompt-regexp init.
821 * progmodes/python.el (inferior-python-mode):
822 (python-shell-make-comint): Fix initialization of
823 comint-prompt-regexp from copied file local variables.
824 (python-shell-fetched-lines): Remove var.
825 (python-shell-output-filter-in-progress): Rename from
826 python-shell-fetch-lines-in-progress.
827 (python-shell-output-filter-buffer): Rename from
828 python-shell-fetch-lines-string.
829 (python-shell-fetch-lines-filter): Delete function.
830 (python-shell-output-filter): New function.
831 (python-shell-send-string-no-output): Use them.
832
833 2012-10-07 Glenn Morris <rgm@gnu.org>
834
835 * hi-lock.el (hi-lock-process-phrase):
836 Try to make it less fragile. (Bug#7161)
837
838 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
839
840 2012-10-06 Glenn Morris <rgm@gnu.org>
841
842 * ehelp.el (electric-help-mode): Use help-mode rather than
843 non-existent mode `help'.
844 (electric-help-map): Use button-buffer-map. (Bug#10917)
845
846 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
847 (reftex-create-bibtex-footer): Fix custom types.
848
849 * progmodes/sh-script.el (sh-indent-after-continuation):
850 Add explicit :group.
851
852 * textmodes/rst.el (rst-preferred-decorations)
853 (rst-shift-basic-offset): Clarify obsolescence versions.
854
855 * profiler.el (profiler): Add missing group :version tag.
856 * avoid.el (mouse-avoidance-banish-position):
857 * proced.el (proced-renice-command):
858 * calc/calc.el (calc-ensure-consistent-units):
859 * calendar/icalendar.el (icalendar-import-format-uid):
860 * net/tramp.el (tramp-save-ad-hoc-proxies):
861 * progmodes/bug-reference.el (bug-reference-bug-regexp):
862 * progmodes/flymake.el (flymake-error-bitmap)
863 (flymake-warning-bitmap, flymake-fringe-indicator-position):
864 * progmodes/sh-script.el (sh-indent-after-continuation):
865 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
866 (verilog-before-save-font-hook, verilog-after-save-font-hook):
867 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
868 (vhdl-array-index-record-field-in-sensitivity-list)
869 (vhdl-indent-comment-like-next-code-line):
870 * textmodes/reftex-vars.el (reftex-ref-style-alist)
871 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
872 (reftex-cite-key-separator, reftex-create-bibtex-header)
873 (reftex-create-bibtex-footer):
874 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
875 (rst-indent-literal-normal, rst-indent-literal-minimized)
876 (rst-indent-comment): Add missing custom :version tags.
877
878 * calendar/timeclock.el (timeclock-modeline-display):
879 Add missing obsolete alias for renamed user option.
880
881 * strokes.el (strokes-modeline-string):
882 * emulation/crisp.el (crisp-mode-modeline-string):
883 * eshell/esh-mode.el (eshell-status-in-modeline):
884 Aliases to defcustoms must come before the defcustom.
885
886 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
887 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
888 (cal-tex-cursor-week-monday): Doc fixes.
889 (cal-tex-cursor-week2-summary): Doc fix.
890 Rename from cal-tex-cursor-week-at-a-glance.
891
892 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
893 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
894
895 * calendar/calendar.el (calendar-mode-map):
896 Add cal-tex-cursor-week2-summary.
897
898 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
901
902 * subr.el (read-passwd-map): New var.
903 (read-passwd): Use `read-string' again.
904 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
905
906 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
907
908 * register.el (append-to-register, prepend-to-register):
909 Deactivate mark, as does `copy-to-register' (bug#12389).
910
911 2012-10-06 Chong Yidong <cyd@gnu.org>
912
913 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
914
915 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
916
917 * international/characters.el: Fix simple mistake ((car chars) ->
918 elt), delete duplicated code.
919
920 2012-10-06 Glenn Morris <rgm@gnu.org>
921
922 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
923
924 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
925
926 * color.el (color-hsl-to-rgb): Fix incorrect results for
927 small and large hue values. (Bug#12559)
928
929 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
930
931 Enhancements to docstring formatting when filling paragraphs.
932 * progmodes/python.el (python-fill-docstring-style): Rename from
933 python-fill-string-style. Added new style.
934 (python-fill-string): Use new style. Better checks for
935 docstrings.
936
937 2012-10-05 Glenn Morris <rgm@gnu.org>
938
939 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
940
941 * color.el (color-name-to-rgb, color-rgb-to-hex)
942 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
943 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
944 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
945 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
946
947 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
948
949 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
950
951 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
952 to get the correct size across symlinks.
953
954 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
955
956 2012-10-04 Juri Linkov <juri@jurta.org>
957
958 * replace.el (query-replace-interactive): Declare obsolete.
959 (query-replace-read-from): Add the last incremental search string
960 to the list of default values accessible via M-n.
961 (map-query-replace-regexp): Use `read-regexp'.
962 (query-replace, query-replace-regexp, query-replace-regexp-eval)
963 (map-query-replace-regexp, replace-string, replace-regexp):
964 Fix docstrings to replace mentions of `query-replace-interactive'
965 with alternatives. (Bug#12526)
966
967 2012-10-04 Juri Linkov <juri@jurta.org>
968
969 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
970 (dired-pop-to-buffer): Declare obsolete.
971 (dired-mark-pop-up): Doc fix.
972
973 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
974
975 Allow user to set docstring style for fill-paragraph.
976 * progmodes/python.el
977 (python-fill-comment-function, python-fill-string-function)
978 (python-fill-decorator-function, python-fill-paren-function):
979 Remove :safe for defcustoms.
980 (python-fill-string-style): New defcustom
981 (python-fill-paragraph-function): Enhance context detection.
982 (python-fill-string): Honor python-fill-string-style settings.
983
984 2012-10-04 Martin Rudalics <rudalics@gmx.at>
985
986 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
987 after setting its buffer (Bug#10805).
988
989 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
990
991 Fix cornercase for string syntax.
992 * progmodes/python.el (python-syntax-propertize-function):
993 Simplify and enhance the regexp for unescaped quotes. Now it also
994 matches quotes in weird situations like the single quote in
995 "something\"'".
996 (python-syntax-stringify): Simplify num-quotes detecting code.
997
998 2012-10-03 Glenn Morris <rgm@gnu.org>
999
1000 * help-macro.el (three-step-help):
1001 Revert 2012-09-29 change. (Bug#12567)
1002
1003 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1004
1005 * menu-bar.el (kill-this-buffer): Don't do anything when
1006 `menu-frame' is not alive or visible (Bug#8184).
1007
1008 * emacs-lisp/debug.el (debug): When quitting the debugger window
1009 restore current buffer (Bug#12502).
1010
1011 2012-10-02 Chong Yidong <cyd@gnu.org>
1012
1013 * progmodes/hideif.el (hif-lookup, hif-defined):
1014 Handle semantic-c-takeover-hideif.
1015
1016 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1017
1018 Change sampling interval units from ms to ns.
1019 * profiler.el (profiler-sampling-interval): Change units
1020 from ms to ns, multiplying the default by 1000000 so that
1021 it remains 1 ms.
1022 (profiler-report-cpu-line-format): Give enough room for
1023 the maximum counters on 64-bit hosts.
1024 (profiler-report-render-calltree-1): Call them "CPU samples",
1025 not "Time (ms)", since they are not milliseconds now (and
1026 never really were).
1027
1028 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1029
1030 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1031 Fix querying BBDB for entries without a last name (Bug#11580).
1032
1033 2012-10-02 Chong Yidong <cyd@gnu.org>
1034
1035 * emacs-lisp/eieio.el: Restore Version header.
1036
1037 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * vc/diff-mode.el (diff--auto-refine-data): New var.
1040 (diff-hunk): Use it to delay refinement.
1041 (diff-mode): Remove overlays when we turn off font-lock.
1042
1043 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1044 (table-initialize-table-fixed-width-mode)
1045 (table-set-table-fixed-width-mode): Remove functions.
1046 (table-command-list): Move initialization into declaration.
1047 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1048 (table-with-cache-buffer): Use `declare'.
1049 (table-span-cell): Simplify via CSE.
1050 (table-fixed-width-mode): Use define-minor-mode.
1051 (table-call-interactively, table-funcall, table-apply): Remove.
1052 (table-function): New function, to replace them.
1053
1054 * bookmark.el (bookmark-search-pattern): Remove var.
1055 (bookmark-read-search-input): Remove function.
1056 (bookmark-bmenu-search): Reimplement using a minibuffer.
1057
1058 * faces.el (modeline): Remove obsolete face name.
1059
1060 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1061 and give a non-nil default value.
1062 (add-change-log-entry): Simplify accordingly.
1063
1064 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1065
1066 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1067 (vc-git-log-edit-toggle-amend): New function.
1068 (vc-git-log-edit-toggle-signoff): New function.
1069 (vc-git-log-edit-mode): New major mode.
1070 (vc-git-log-edit-mode-map): Keymap for it.
1071 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1072
1073 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1074 header names.
1075 (log-edit-toggle-header): New function.
1076 (log-edit-extract-headers): Accept function values in HEADERS alist.
1077
1078 2012-10-01 David Engster <deng@randomsample.de>
1079
1080 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1081 from symbol property and change message to be more consistent with
1082 Emacs proper.
1083 (eieio-describe-generic): Add filename for each implementation.
1084 Fix indices for generic and normal methods.
1085 (eieio-method-def, eieio-class-def): New buttons.
1086 (eieio-help-find-method-definition)
1087 (eieio-help-find-class-definition): New functions.
1088 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1089 class, constructor and method definitions.
1090
1091 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1092 information in symbol property.
1093 (scoped-class): Remove.
1094 (eieio-slot-name-index, call-next-method): Check if it is bound.
1095
1096 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1097
1098 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1099 (eieio-custom-mode): New major mode.
1100 (eieio-customize-object): Use it.
1101
1102 2012-10-01 Eric Ludlam <zappo@gnu.org>
1103
1104 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1105 specifying the expected class, and whether subclassing is allowed.
1106 (eieio-persistent-convert-list-to-object):
1107 (eieio-persistent-validate/fix-slot-value)
1108 (eieio-persistent-slot-type-is-class-p): New functions.
1109 (eieio-named::slot-missing): Doc fix.
1110
1111 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1112 Stop using unused publd variable.
1113
1114 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1115 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1116 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1117 (eieio-speedbar-handle-click): Do not specify a class for the
1118 method. Fixes method invocation order problems with EDE.
1119
1120 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1121
1122 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1123 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1124
1125 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1126
1127 * bookmark.el (bookmark-version-control): Give tags in the
1128 :type choices (Bug#12309), and improve doc string.
1129 (bookmark-write-file): Bind `print-circle' to `t' to allow
1130 circular custom bookmark types. (Bug#12503)
1131
1132 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1133
1134 Revert the FOLLOW-SYMLINKS change for file-attributes.
1135 * files.el (remote-file-name-inhibit-cache, after-find-file):
1136 * time.el (display-time-file-nonempty-p): Undo last change.
1137
1138 * profiler.el (profiler-sampling-interval): Change default back to 1.
1139 See Stefan Monnier in
1140 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1141
1142 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1143
1144 Shell output catching a la gud-gdb.
1145 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1146 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1147 New Vars.
1148 (python-shell-fetch-lines-filter): New function.
1149 (python-shell-send-string-no-output): Use them.
1150
1151 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1152
1153 * profiler.el (profiler-sampling-interval): Rename from
1154 profiler-sample-interval.
1155 (profiler-sampling-interval): Default to 10.
1156 (profiler-find-profile): New command (was profiler-find-log).
1157 (profiler-find-profile-other-window): New command.
1158 (profiler-find-profile-other-frame): New command.
1159 (profiler-profile): Introduce API-level data structure.
1160
1161 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1164 * files.el (remote-file-name-inhibit-cache):
1165 * time.el (display-time-file-nonempty-p): Use it.
1166 * files.el (after-find-file): Don't chase links before calling
1167 file-exists-p, as file-exists-p already does the right thing.
1168
1169 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1170
1171 Merge from standalone RefTeX repository.
1172
1173 The following ChangeLog entries are shortened versions of the
1174 original ones with file paths adapted. A not so strongly edited
1175 version of the original ChangeLog can be found in the commit log.
1176
1177 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1178 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1179 Correctly handle new value type returned by `reftex-citation'.
1180
1181 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1182 that entries with whitespace at various places are found.
1183 Doc fix. Include entries that are cross-referenced from cited entries.
1184 Include @String definitions in the resulting bib file. Add header
1185 and footer defined in `reftex-create-bibtex-header' and
1186 `reftex-create-bibtex-footer'.
1187 (reftex-do-citation): Make it possible again to insert
1188 non-existent entries. Save match data when asking for optional
1189 arguments. Return all keys, not just the first one.
1190 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1191 all citations in the same line.
1192 (reftex-parse-bibtex-entry): Accept additional optional argument
1193 `raw' and keep quotes or braces if it is non-nil. Match fields
1194 containing hyphens besides word constituents.
1195 (reftex-get-string-refs): New function.
1196 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1197 and ask if it should be reread in case it did.
1198 (reftex-pop-to-bibtex-entry)
1199 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1200 entries with spaces or tabs in front of arguments.
1201 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1202 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1203 Match entries containing numbers and symbol constituents.
1204 (reftex-do-citation, reftex-figure-out-cite-format):
1205 Use `reftex-cite-key-separator'.
1206
1207 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1208 (reftex-mouse-view-crossref): Explain why point is set.
1209
1210 * textmodes/reftex-global.el: Whitespace changes.
1211
1212 * textmodes/reftex-index.el: Move provide statement to end of
1213 file.
1214 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1215 (reftex-index-visit-phrases-buffer): Set marker when visiting
1216 buffer. This allows for returning from the phrases file to the
1217 file one was just editing instead of the file where the last
1218 phrases was added from.
1219 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1220 punctuation syntax as it usually is not used as string quote in
1221 TeX-related modes and may occur unmatched. The change also
1222 prevents fontification of quoted content.
1223 (reftex-index-phrases-mode): Use it.
1224
1225 * textmodes/reftex-parse.el (reftex-parse-from-file):
1226 Move backward one char if a `\' was matched after a section macro.
1227 (reftex-parse-from-file): Use beginning of match instead of end as
1228 bound.
1229
1230 * textmodes/reftex-ref.el: Adapt creation of
1231 `reftex-<package>-<macro>' functions to new structure of
1232 `reftex-ref-style-alist'.
1233 (reftex-reference): Use `reftex-ref-style-list' function.
1234 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1235 reference macro if `reftex-ref-macro-prompt' is non-nil.
1236 (reftex-reference): Pass refstyle to `reftex-format-special'.
1237 Determine reference macro by looking at
1238 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1239 Use only one special format function.
1240 (reftex-varioref-vref, reftex-fancyref-fref)
1241 (reftex-fancyref-Fref): Remove definitions. The functions are now
1242 generated from `reftex-ref-style-alist'.
1243 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1244 Remove.
1245 (reftex-format-special): New function.
1246
1247 * textmodes/reftex-sel.el
1248 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1249 of `reftex-ref-style-alist'. Remove code for testing macro type.
1250 (reftex-select-toggle-varioref)
1251 (reftex-select-toggle-fancyref): Remove.
1252 (reftex-select-cycle-ref-style-internal)
1253 (reftex-select-cycle-ref-style-forward)
1254 (reftex-select-cycle-ref-style-backward): New functions.
1255 (reftex-select-label-map): Use `v' and `V' for general cycling
1256 through reference styles. Add `p' for switching between number
1257 and page reference types.
1258
1259 * textmodes/reftex-toc.el (reftex-re-enlarge):
1260 Call `enlarge-window' only if there is something to do because in Emacs
1261 the horizontal version throws an error even if the parameter is 0.
1262
1263 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1264 (reftex-plug-into-AUCTeX): Doc fix.
1265 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1266 string. Adapt to new name.
1267 (reftex-ref-style-alist): Change structure so that it is not
1268 possible to use multiple different package names within a style.
1269 Remove the symbols for symbols for macro type distinction.
1270 Add characters for macro selection.
1271 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1272 (reftex-create-bibtex-footer): New variables.
1273 (reftex-format-ref-function): Mention third argument of special
1274 format function.
1275 (reftex-ref-style-alist, reftex-ref-style-default-list):
1276 New variables.
1277 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1278 to new implementation. Mark as obsolete. Add compatibility code
1279 for honoring the variable values in case they are set.
1280 (reftex-cite-format-builtin, reftex-bibliography-commands):
1281 Add support for ConTeXt.
1282 (reftex-format-ref-function, reftex-format-cite-function):
1283 Fix custom type.
1284 (reftex-cite-key-separator): New variable.
1285
1286 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1287 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1288 `reftex-syntax-table' because parens have to retain their paren
1289 syntax in order for parsing of BibTeX entries like @book(...) to
1290 work.
1291 (reftex-in-comment): Do not error out if `comment-start-skip' is
1292 not set. Deal correctly with escaped comment characters.
1293 (reftex-tie-multifile-symbols): Add doc string.
1294 Initialize `reftex-ref-style-list'.
1295 (reftex-untie-multifile-symbols): Add doc string.
1296 (reftex-add-index-macros): Doc fix.
1297 (reftex-ref-style-activate, reftex-ref-style-toggle)
1298 (reftex-ref-style-list): New functions.
1299 (reftex-mode-menu): Use them. Adapt to new structure of
1300 `reftex-ref-style-alist'.
1301 (reftex-select-with-char): Kill the RefTeX Select buffer when
1302 done.
1303 (reftex-remove-if): New function.
1304 (reftex-erase-all-selection-and-index-buffers)
1305 (reftex-mode-menu): Reference styles are now computed from
1306 `reftex-ref-style-alist'. Fix typo.
1307 (reftex-report-bug): New function.
1308 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1309 algorithms with O(n log n). Introduce optional argument SORT (not
1310 yet used).
1311
1312 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1313
1314 Enhancements for triple-quote string syntax.
1315 * progmodes/python.el (python-syntax-propertize-function):
1316 Match both quote cases in one regexp.
1317 (python-syntax-stringify): Handle matches properly.
1318
1319 2012-09-30 Juri Linkov <juri@jurta.org>
1320
1321 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1322 to nil around the call to `insert' to prevent
1323 directory time modification by lock_file. (Bug#2295)
1324 * tar-mode.el (tar-summarize-buffer): Idem.
1325
1326 2012-09-30 Juri Linkov <juri@jurta.org>
1327
1328 * facemenu.el (list-colors-sort): Add option "Luminance".
1329 (list-colors-sort-key): Implement it.
1330
1331 * vc/diff-mode.el (diff-refine-removed):
1332 * vc/ediff-init.el (ediff-fine-diff-A):
1333 * vc/smerge-mode.el (smerge-refined-removed):
1334 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1335
1336 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1337
1338 * term/ns-win.el (x-file-dialog): New function.
1339
1340 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1341
1342 * ido.el (ido-max-directory-size): Default to nil; the current
1343 default is small for POSIX systems, and impractical on Windows 7
1344 now that lstat returns directory sizes for NTFS.
1345
1346 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1347
1348 In buffer display functions handle window-height/window-width
1349 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1350 * window.el (window--display-buffer): New argument ALIST.
1351 Obey window-height and window-width alist entries.
1352 (window--try-to-split-window): New argument ALIST.
1353 Bind window-combination-limit to t when the window's size shall be
1354 changed and window-combination-limit equals `window-size'.
1355 (display-buffer-in-atom-window)
1356 (display-buffer-in-major-side-window)
1357 (display-buffer-in-side-window, display-buffer-same-window)
1358 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1359 (display-buffer-pop-up-window, display-buffer-below-selected)
1360 (display-buffer-at-bottom, display-buffer-in-previous-window)
1361 (display-buffer-use-some-window): Adjust all callers of
1362 window--display-buffer and window--try-to-split-window.
1363 (fit-frame-to-buffer): New option.
1364 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1365 is non-nil.
1366 (display-buffer-in-major-side-window): Evaluate window-height /
1367 window-width alist entries.
1368
1369 * help.el (temp-buffer-resize-frames)
1370 (temp-buffer-resize-regexps): Remove options.
1371 (temp-buffer-resize-mode): Adjust doc-string.
1372 (resize-temp-buffer-window): Don't consult
1373 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1374 temp-buffer-resize-frames.
1375
1376 * dired.el (dired-mark-pop-up):
1377 Call display-buffer-below-selected with a fit-window-to-buffer alist
1378 entry.
1379
1380 2012-09-30 Chong Yidong <cyd@gnu.org>
1381
1382 * server.el (server-host): Document the security implications.
1383 (server-auth-key): Doc fix.
1384
1385 * startup.el (initial-buffer-choice): Doc fix.
1386
1387 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1388
1389 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1390 restriction change.
1391
1392 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1393
1394 * help-fns.el (help-fns--obsolete): Fix last change.
1395
1396 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1399 (minor-mode-map-alist): Remove redundant code.
1400
1401 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1402 visited in a buffer.
1403 (cvs-insert-visited-file): New function.
1404 (find-file-hook): Use it.
1405
1406 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1407
1408 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1409 chose face.
1410 (log-edit-empty-buffer-p): Don't require a space after a header.
1411
1412 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1413
1414 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1415
1416 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1417 a proper minor-mode.
1418
1419 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1420
1421 2012-09-29 Glenn Morris <rgm@gnu.org>
1422
1423 * winner.el (winner-mode): Remove variable (let define-minor-mode
1424 handle it).
1425 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1426 Doc fixes.
1427 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1428 (winner-mode): Use define-minor-mode.
1429
1430 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1431 the full definition in loaddefs, rather than duplicating it.
1432
1433 * help-macro.el (three-step-help): No need to autoload defcustom.
1434
1435 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1436 (inferior-lisp-program, inferior-lisp-load-command)
1437 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1438 No need to autoload defcustoms.
1439
1440 * hippie-exp.el (hippie-expand-try-functions-list)
1441 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1442 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1443 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1444 (hippie-expand-only-buffers): No need to autoload defcustoms.
1445 * progmodes/vhdl-mode.el (vhdl-line-expand):
1446 Explicitly load hippie-exp, so it does not get autoloaded
1447 while hippie-expand-try-functions-list is let-bound.
1448
1449 2012-09-28 Glenn Morris <rgm@gnu.org>
1450
1451 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1452
1453 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1454 Only "cl.el" counts as cl these days.
1455
1456 2012-09-28 Juri Linkov <juri@jurta.org>
1457
1458 Display archive errors in the echo area instead of inserting
1459 to the file buffer.
1460
1461 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1462 to STDERR-TEST that can be a regexp matching a successful output.
1463 Create a temporary file and redirect stderr to it. Search for
1464 STDERR-TEST in the stderr output and display it in the echo area
1465 if no match is found.
1466 (archive-extract-by-file): New function like
1467 `archive-extract-by-stdout' but extracting archives to files
1468 and looking for successful matches in stdout. Function body is
1469 mostly copied from `archive-rar-extract'.
1470 (archive-rar-extract): Use `archive-extract-by-file'.
1471 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1472
1473 2012-09-28 Leo Liu <sdl.web@gmail.com>
1474
1475 * pcomplete.el (pcomplete-show-completions):
1476 Use minibuffer-message to make pcomplete usable in minibuffer.
1477
1478 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1479
1480 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * type-break.el: Use lexical-binding.
1483 (type-break-mode): Use define-minor-mode.
1484
1485 * emacs-lisp/pcase.el (pcase--mark-used): New.
1486 (pcase--u1): Use it (bug#12512).
1487
1488 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1489 in load-history with the right file name.
1490
1491 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1492
1493 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1494 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1495 (doc-view-get-bounding-box): Make bounding box slicing work for
1496 ODF and DVI documents.
1497
1498 2012-09-28 Glenn Morris <rgm@gnu.org>
1499
1500 * type-break.el (type-break-mode, type-break-interval)
1501 (type-break-good-rest-interval, type-break-keystroke-threshold):
1502 No need to autoload.
1503 (type-break-good-rest-interval, type-break-keystroke-threshold):
1504 Add :set-after.
1505
1506 2012-09-28 Chong Yidong <cyd@gnu.org>
1507
1508 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1509 Add :version tag.
1510
1511 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1514
1515 2012-09-27 Glenn Morris <rgm@gnu.org>
1516
1517 * faces.el (x-display-name): Declare (for without-x builds).
1518
1519 * linum.el (linum-format): Don't autoload it. Improve :type.
1520
1521 * progmodes/tcl.el: Don't require outline when compiling.
1522 (outline-regexp, outline-level): Declare.
1523 * textmodes/sgml-mode.el: Don't require outline when compiling.
1524 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1525
1526 * term.el (term-ansi-reset):
1527 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1528
1529 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1530 files for RCS and SCCS. (Bug#9781)
1531
1532 2012-09-27 Chong Yidong <cyd@gnu.org>
1533
1534 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1535 change; value should be t.
1536
1537 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * image-mode.el: Use lexical-binding.
1540 (image-mode-winprops): Use t to stand for the window of
1541 a buffer that's not displayed.
1542 * doc-view.el (doc-view-new-window-function): Handle the new
1543 t in winprops.
1544 (doc-view-enlarge): Make it a real nop if the size is not changed.
1545 (doc-view-display): Handle the case where the buffer is not (yet?)
1546 displayed in any window.
1547 (doc-view-saved-settings): New var.
1548 (doc-view-mode): Use it.
1549 (doc-view-fallback-mode): Set it.
1550
1551 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1552 Set lexical-binding.
1553 (minibuffer-eldef-shorten-default): New var.
1554 (minibuffer-default-in-prompt-regexps): Use it for new default.
1555 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1556
1557 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * international/uni-bidi.el:
1560 * international/uni-category.el:
1561 * international/uni-name.el:
1562 * international/uni-numeric.el: Regenerate.
1563
1564 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1565 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * profiler.el: New file.
1568
1569 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1572 (testcover-reinstrument): Simplify with CSE.
1573
1574 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1575
1576 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1577
1578 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1579
1580 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1581 (verilog-auto-input, verilog-auto-insert-lisp)
1582 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1583 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1584 (verilog-auto-unused, verilog-auto-wire)
1585 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1586 newline. Reported by Andrew Jones.
1587 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1588 Reported by Brad Dobbie.
1589 (verilog-batch-delete-trailing-whitespace):
1590 Create verilog-batch-delete-trailing-whitespace.
1591 Reported by Brad Dobbie.
1592 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1593 parameters from another module. Reported by Dan Katz.
1594 (verilog-auto, verilog-auto-assign-modport)
1595 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1596 AUTOINOUTMODPORT for UVM interface module shell generation.
1597 Reported by Brad Dobbie.
1598 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1599 standard behavior.
1600 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1601 Reported by Matt Martin.
1602
1603 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1604
1605 * window.el (window--resize-child-windows): When resizing child
1606 windows proportionally, process them in reverse order to
1607 preserve the "when splitting a window the new one gets the odd
1608 line" behavior.
1609 (window--resize-root-window-vertically): When resizing the
1610 minibuffer window try to affect only windows at the bottom of the
1611 frame. (Bug#12419)
1612
1613 2012-09-25 Chong Yidong <cyd@gnu.org>
1614
1615 * subr.el (declare): Doc fix.
1616
1617 * help-fns.el (help-fns--obsolete): Handle macros properly.
1618
1619 2012-09-25 Chong Yidong <cyd@gnu.org>
1620
1621 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1622 this function obsolete.
1623
1624 * calendar/cal-x.el (calendar-two-frame-setup)
1625 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1626 * calendar/calendar.el (american-calendar, european-calendar)
1627 (calendar-for-loop):
1628 * comint.el (comint-dynamic-simple-complete)
1629 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1630 * desktop.el (desktop-load-default):
1631 * dired-x.el (dired-omit-here-always)
1632 (dired-hack-local-variables, dired-default-directory):
1633 * emacs-lisp/derived.el (derived-mode-class):
1634 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1635 * emacs-lock.el (toggle-emacs-lock):
1636 * epa.el (epa-display-verify-result):
1637 * epg.el (epg-sign-keys, epg-start-sign-keys)
1638 (epg-passphrase-callback-function):
1639 * eshell/esh-util.el (eshell-for):
1640 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1641 (eshell-add-to-window-buffer-names):
1642 * files.el (locate-file-completion):
1643 * imenu.el (imenu-example--create-c-index)
1644 (imenu-example--create-lisp-index)
1645 (imenu-example--lisp-extract-index-name)
1646 (imenu-example--name-and-position):
1647 * international/mule-cmds.el (princ-list):
1648 * international/mule-diag.el (decode-codepage-char):
1649 * international/mule-util.el (detect-coding-with-priority):
1650 * iswitchb.el (iswitchb-read-buffer):
1651 * mail/mailalias.el (mail-complete):
1652 * mail/sendmail.el (mail-sent-via):
1653 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1654 (mouse-major-mode-menu):
1655 * password-cache.el (password-read-and-add):
1656 * pcomplete.el (pcomplete-parse-comint-arguments):
1657 * progmodes/sh-script.el (sh-maybe-here-document):
1658 * replace.el (query-replace-regexp-eval):
1659 * savehist.el (savehist-load):
1660 * simple.el (choose-completion-delete-max-match):
1661 * term.el (term-dynamic-simple-complete):
1662 * vc/ediff-init.el (ediff-check-version):
1663 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1664 * vc/vc.el (vc-diff-switches-list):
1665 * view.el (view-return-to-alist-update): Likewise.
1666
1667 * subr.el (eval-next-after-load, makehash, insert-string)
1668 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1669 mark obsolete.
1670 (mode-line-inverse-video): Variable deleted.
1671
1672 * international/mule-util.el (string-to-sequence): Remove.
1673
1674 * calendar/calendar.el (calendar-version):
1675 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1676 (icalendar-convert-diary-to-ical):
1677 * cus-edit.el (custom-mode):
1678 * ansi-color.el (ansi-color-unfontify-region):
1679 * international/latin1-disp.el (latin1-char-displayable-p):
1680 * progmodes/cwarn.el (turn-on-cwarn-mode):
1681 * progmodes/which-func.el (which-func-update-1):
1682 Use define-obsolete-function-alias.
1683
1684 * net/newst-backend.el (newsticker-cache-filename):
1685 * net/newst-treeview.el (newsticker-groups-filename):
1686 Fix incorrect obsolescence declaration.
1687
1688 * allout.el (allout-passphrase-hint-string): Likewise.
1689 (allout-init): Use a declare form to mark obsolete.
1690
1691 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1692 this applies to functions.
1693
1694 * iswitchb.el (iswitchb-read-buffer): Move code of
1695 iswitchb-define-mode-map here, and delete that obsolete function.
1696
1697 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1698 font-lock-reference-face.
1699
1700 2012-09-25 Glenn Morris <rgm@gnu.org>
1701
1702 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1703 Doc fixes.
1704
1705 * eshell/em-term.el (eshell-term-name):
1706 Default to term-term-name. (Bug#12485)
1707
1708 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1709
1710 * progmodes/python.el (python-shell-send-buffer): Better handling
1711 of "if __name__ == '__main__':" conditionals when sending the buffer.
1712
1713 2012-09-24 Glenn Morris <rgm@gnu.org>
1714
1715 * eshell/esh-cmd.el (eshell-find-alias-function):
1716 Tighten up file-name regexp. (Bug#12499)
1717
1718 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1719
1720 Enhancements for triple-quote string syntax.
1721 * progmodes/python.el (python-quote-syntax): Remove.
1722 (python-syntax-propertize-function): New value.
1723 (python-syntax-count-quotes, python-syntax-stringify):
1724 New functions.
1725
1726 2012-09-24 Chong Yidong <cyd@gnu.org>
1727
1728 * mail/supercite.el (sc-version): Remove obsolete function.
1729 (sc-describe): Don't mark as obsolete, since it is bound.
1730 (sc-submit-bug-report): Remove.
1731
1732 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1733 (cvs-commit-buffer-require-final-newline): Remove.
1734 (log-edit-require-final-newline)
1735 (log-edit-changelog-full-paragraphs): Default to t.
1736
1737 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1738 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1739 * vc/vc.el (vc-checkout-carefully): Likewise.
1740
1741 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1742 (emerge-version): Remove.
1743
1744 * progmodes/compile.el (compile-internal): Remove.
1745 (compilation-parse-errors-function): Fix typo.
1746
1747 * international/mule.el (set-char-table-default): Remove.
1748 (set-coding-priority, make-coding-system, generic-char-p)
1749 (charset-list, charset-bytes, charset-id): Use declare to mark
1750 functions as obsolete.
1751
1752 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1753 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1754 * vc/vc-hooks.el (vc-default-registered): Don't use
1755 vc-master-templates.
1756
1757 * font-lock.el (font-lock-reference-face):
1758 Use define-obsolete-variable-alias.
1759
1760 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1761 * calendar/calendar.el (calendar-font-lock-keywords):
1762 * calendar/diary-lib.el (diary-font-lock-keywords)
1763 (diary-fancy-font-lock-keywords):
1764 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1765 * textmodes/reftex-index.el (reftex-insert-index):
1766 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1767 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1768 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1769 * progmodes/prolog.el (prolog-font-lock-keywords):
1770 * progmodes/idlwave.el (idlwave-idl-keywords):
1771 * progmodes/ada-mode.el (ada-font-lock-keywords):
1772 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1773
1774 2012-09-24 Glenn Morris <rgm@gnu.org>
1775
1776 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1777
1778 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1779
1780 * progmodes/python.el (python-indent-line): More consistent cursor
1781 movement behavior.
1782
1783 2012-09-23 Stefan Merten <smerten@oekonux.de>
1784
1785 * textmodes/rst.el: Fix compiler warning.
1786
1787 2012-09-23 Roland Winkler <winkler@gnu.org>
1788
1789 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1790 Transcribe also LaTeX hyphenation.
1791 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1792 bibtex-reformat-previous-options.
1793
1794 2012-09-23 Roland Winkler <winkler@gnu.org>
1795
1796 * proced.el (proced-renice-command): New variable.
1797 (proced-marked-processes): New function.
1798 (proced-with-processes-buffer): New macro.
1799 (proced-send-signal): Use them.
1800 (proced-renice): New command bound to r.
1801
1802 2012-09-23 Roland Winkler <winkler@gnu.org>
1803
1804 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1805 ibuffer-saved-filter-groups has one element, shortcut the call of
1806 completing-read. (Bug#12331)
1807
1808 2012-09-23 Chong Yidong <cyd@gnu.org>
1809
1810 * bindings.el (mode-line-toggle-read-only):
1811 * bs.el (bs-toggle-readonly):
1812 * buff-menu.el (Buffer-menu-toggle-read-only):
1813 * dired.el (dired-toggle-read-only):
1814 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1815
1816 2012-09-23 Chong Yidong <cyd@gnu.org>
1817
1818 * image.el (image-type-available-p): Adapt to init-image-library
1819 argument changes.
1820
1821 2012-09-22 Juri Linkov <juri@jurta.org>
1822
1823 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1824 `dired-toggle-read-only'. (Bug#12462)
1825
1826 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1827
1828 * subr.el (temp-output-buffer-show): New function.
1829 (with-output-to-temp-buffer): Call temp-output-buffer-show
1830 instead of internal-temp-output-buffer-show.
1831
1832 2012-09-22 Chong Yidong <cyd@gnu.org>
1833
1834 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1835 (Bug#12462).
1836
1837 * repeat.el (repeat): Doc fix (Bug#12348).
1838
1839 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1840 (Bug#10909).
1841
1842 * simple.el (shell-command-on-region): Doc fix.
1843 (read-only-mode): Doc fix.
1844
1845 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1846
1847 * emacs-lisp/timer.el (run-with-idle-timer)
1848 (timer-activate-when-idle): Warn against reinvoking an idle timer
1849 from within its own timer action. (Bug#12447)
1850
1851 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1852
1853 * cus-start.el (window-combination-limit): Add new optional
1854 values.
1855 * window.el (temp-buffer-window-show)
1856 (window--try-to-split-window): Handle new values of
1857 window-combination-limit (Bug#1806).
1858 (split-window): Test window-combination-limit for t instead of
1859 non-nil.
1860 (display-buffer-at-bottom): New buffer display action function.
1861 * help.el (temp-buffer-resize-regexps): New option.
1862 (temp-buffer-resize-mode): Rewrite doc-string.
1863 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1864 Don't resize reused window. Suggested by Glenn Morris.
1865
1866 2012-09-22 Stefan Merten <smerten@oekonux.de>
1867
1868 * textmodes/rst.el: Revamp section title faces.
1869 (rst-official-version)
1870 (rst-package-emacs-version-alist): Sync with official version
1871 V1.4.0.
1872 (rst-faces-defaults, rst-set-level-default)
1873 (rst-level-face-max, rst-level-face-base-color)
1874 (rst-level-face-base-light, rst-level-face-format-light)
1875 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1876 (rst-adornment-faces-alist): Match new setup.
1877 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1878 (rst-level-5, rst-level-6): New faces.
1879
1880 2012-09-22 Chong Yidong <cyd@gnu.org>
1881
1882 * simple.el (undo): Handle indirect buffers (Bug#8207).
1883
1884 2012-09-21 Leo Liu <sdl.web@gmail.com>
1885
1886 IDO: Disable match re-ordering for buffer switching.
1887 * ido.el (ido-buffer-disable-smart-matches): New variable.
1888 (ido-set-matches-1): Use it. (Bug#2042)
1889
1890 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1891
1892 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1893 Fix 2011-05-17 change. (Bug#12418)
1894
1895 2012-09-21 Leo Liu <sdl.web@gmail.com>
1896
1897 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1898
1899 2012-09-21 Glenn Morris <rgm@gnu.org>
1900
1901 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1902 Be more robust about locating simple.el.
1903
1904 2012-09-21 Glenn Morris <rgm@gnu.org>
1905
1906 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1907
1908 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1909
1910 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1911
1912 2012-09-20 Juri Linkov <juri@jurta.org>
1913
1914 * replace.el (query-replace-read-from): Use `read-regexp' instead
1915 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1916 (occur-read-primary-args): Use `read-regexp' instead of
1917 `read-string'.
1918 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1919 `read-from-minibuffer'.
1920 * isearch.el (isearch-occur): Use `read-regexp' instead of
1921 `read-string'.
1922 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1923 `read-from-minibuffer'.
1924 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1925 of `read-string'. (Bug#7567)
1926
1927 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1928 and allow accepting a list of strings prepended to a list of
1929 standard default values. Doc fix. (Bug#12321)
1930
1931 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1932
1933 * replace.el (read-regexp): Don't add ": " when PROMPT already
1934 ends with a colon and space. (Bug#12321)
1935
1936 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1937
1938 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1939 error.
1940
1941 2012-09-20 Stefan Merten <smerten@oekonux.de>
1942
1943 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1944 Fixes feature request bug#11711.
1945 (rst-mode): Create `imenu-create-index-function'.
1946 (rst-get-stripped-line): Delete after refactoring.
1947 (rst-section-tree, rst-section-tree-rec)
1948 (rst-section-tree-point): Refactor and document properly.
1949 (rst-imenu-find-adornments-for-position)
1950 (rst-imenu-convert-cell, rst-imenu-create-index):
1951 New function.
1952
1953 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1956 (macroexp--expand-all): Use it.
1957 (macroexp--funcall-and-return): Remove by folding it into its sole
1958 caller (macroexp--warn-and-return).
1959 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1960 Use macroexp--obsolete-warning.
1961
1962 * calc/calc.el: Fix last change by removing the whole chunk, since it
1963 was only needed back when Calc was not bundled.
1964
1965 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1966
1967 * emacs-lisp/debug.el (debug): Restore assignment to
1968 debugger-old-buffer removed on 2012-09-08.
1969
1970 2012-09-20 Juri Linkov <juri@jurta.org>
1971
1972 * dired-aux.el (dired-diff): Remove (require 'diff) since
1973 `diff-latest-backup-file' is now autoloaded.
1974
1975 2012-09-20 Chong Yidong <cyd@gnu.org>
1976
1977 * vc/diff.el (diff-latest-backup-file): Autoload.
1978
1979 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * calc/calc.el: Remove redundant autoload shape check.
1982 (sel-mode): Don't defvar.
1983 (calc-get-stack-element): Add `sel-mode' arg instead.
1984 (calc-top, calc-top-list): Pass it this additional argument.
1985 * calc/calc-store.el (calc-store-map):
1986 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1987 (calc-map-equation, calc-outer-product, calc-inner-product):
1988 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1989
1990 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1991
1992 2012-09-19 Juri Linkov <juri@jurta.org>
1993
1994 * dired-aux.el (dired-diff): Add (require 'diff) because
1995 `diff-latest-backup-file' is not autoloaded.
1996 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1997 of `dired-get-filename' to t to not report error when there is
1998 no default file on the current line.
1999
2000 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2003 macroexp--eval-if-compile.
2004 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2005 (macroexp--expand-all): Use them (bug#12371).
2006
2007 * doc-view.el (doc-view-guess-paper-size)
2008 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2009
2010 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2011
2012 New feature: set optimal slice from BoundingBox information.
2013 * doc-view.el (doc-view-mode-map): Add keybinding.
2014 (doc-view-menu): Add menu entry.
2015 (doc-view-set-slice): Adapt docstring.
2016 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2017 (doc-view-scale-bounding-box)
2018 (doc-view-set-slice-from-bounding-box): New functions.
2019 (doc-view-paper-sizes): New defvar.
2020
2021 2012-09-19 Glenn Morris <rgm@gnu.org>
2022
2023 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2024 (byte-compile-log-warning): Autoload. (Bug#12371)
2025
2026 * calendar/calendar.el (calendar-american-month-header)
2027 (calendar-european-month-header, calendar-iso-month-header)
2028 (calendar-month-header): New options.
2029 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2030 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2031
2032 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2033
2034 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2035
2036 2012-09-18 Juri Linkov <juri@jurta.org>
2037
2038 * dired-aux.el (dired-diff): Restore original functionality of
2039 getting the default value, but keep new feature of using the
2040 latest existing backup file (`diff-latest-backup-file').
2041
2042 2012-09-18 Juri Linkov <juri@jurta.org>
2043
2044 * dired.el (dired-mark): If the region is active in Transient Mark
2045 mode, mark all files in the active region. Doc fix.
2046 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2047 Doc fix. (Bug#10624)
2048
2049 2012-09-18 Juri Linkov <juri@jurta.org>
2050
2051 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2052 attributes for M-n are pulled from the file at point.
2053 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2054 Suggested by Drew Adams. (Bug#10624)
2055
2056 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2057
2058 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2059 whitespace after "end".
2060 (ruby-do-end-to-brace): Collapse block to one line if it fits
2061 within fill-column.
2062
2063 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2064
2065 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2066 value.
2067 (debug): Don't remove debugger window when debugger is expected
2068 to be back.
2069
2070 2012-09-18 Chong Yidong <cyd@gnu.org>
2071
2072 * custom.el (defface): Doc fix.
2073
2074 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2075
2076 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2077
2078 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2079 to initialize query-on-exit; then test that instead (bug#12288).
2080
2081 2012-09-17 Stefan Merten <smerten@oekonux.de>
2082
2083 * textmodes/rst.el: Add support for `testcover'.
2084 (rst-defcustom-testcover, rst-testcover-add-compose)
2085 (rst-testcover-add-1value): New functions.
2086 (rst-portable-mark-active-p): Replace by `use-region-p'.
2087 (rst-update-section, rst-classify-adornment)
2088 (rst-find-title-line): Mark `1value' forms.
2089 (rst-classify-adornment): Remove superfluous form.
2090 (rst-update-section, rst-get-adornments-around)
2091 (rst-adornment-complete-p, rst-get-next-adornment)
2092 (rst-adjust, rst-promote-region)
2093 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2094 (rst-find-pfx-in-region, rst-section-tree-rec)
2095 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2096 (rst-toc-node, rst-toc, rst-forward-section)
2097 (rst-iterate-leftmost-paragraphs)
2098 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2099 (rst-bullet-list-region)
2100 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2101 (rst-compile-find-conf, rst-compile)
2102 (rst-repeat-last-character): Fix style.
2103
2104 2012-09-17 Chong Yidong <cyd@gnu.org>
2105
2106 * comint.el (comint--complete-file-name-data): Don't add a space
2107 if the status is `sole'; that adds a gratuitous space in the
2108 completion-cycling case (Bug#12092).
2109
2110 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2111
2112 2012-09-17 Richard Stallman <rms@gnu.org>
2113
2114 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2115 only in the mime-shown mode, not in raw mode.
2116 (rmail-mime): Toggle off mime by displaying the message without
2117 mime processing. (Bug#12305)
2118
2119 * mail/rmail.el (rmail-retry-failure):
2120 Turn off mime processing first. (Bug#12037)
2121
2122 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2123
2124 2012-09-17 Chong Yidong <cyd@gnu.org>
2125
2126 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2127 (shell-dynamic-complete-functions): Convert to defcustom.
2128 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2129
2130 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2131 * comint.el (comint-prompt-read-only):
2132 * custom.el (defcustom):
2133 * hi-lock.el (hi-lock-mode):
2134 * ibuffer.el (ibuffer-formats):
2135 * ielm.el (ielm-prompt-read-only):
2136 * novice.el (disable-command):
2137 * saveplace.el (toggle-save-place):
2138 * speedbar.el (speedbar-supported-extension-expressions):
2139 * startup.el (auto-save-list-file-prefix, init-file-user)
2140 (after-init-hook, inhibit-startup-echo-area-message):
2141 * strokes.el (strokes-help):
2142 * time-stamp.el (time-stamp):
2143 * calendar/calendar.el (calendar, diary-file):
2144 * calendar/diary-lib.el (diary-mail-entries, diary)
2145 (diary-list-entries-hook):
2146 * calendar/holidays.el (holidays, calendar-holidays):
2147 * calendar/lunar.el (lunar-phases):
2148 * calendar/solar.el (sunrise-sunset):
2149 * emulation/edt.el (edt-load-keys):
2150 * emulation/viper.el (viper-mode):
2151 * eshell/em-alias.el (eshell-command-aliases-list):
2152 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2153 * international/ogonek.el (ogonek-information):
2154 * net/tramp-cmds.el (tramp-bug):
2155 * net/quickurl.el (quickurl-reread-hook-postfix):
2156 * play/decipher.el (decipher-font-lock-keywords):
2157 * progmodes/cc-styles.el (c-set-style):
2158 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2159 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2160 * progmodes/octave-mod.el (octave-mode):
2161 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2162 * progmodes/verilog-mode.el (verilog-read-defines):
2163 * textmodes/two-column.el (2C-mode): Likewise.
2164
2165 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2166
2167 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2168 that holds many addresses.
2169
2170 2012-09-16 Chong Yidong <cyd@gnu.org>
2171
2172 * align.el (align-areas): Call the indication function with
2173 positions instead of markers for arguments (Bug#12343).
2174
2175 * files.el (parse-colon-path): Use split-string (Bug#12351).
2176
2177 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2178 (display-buffer-function): Mark as obsolete.
2179
2180 * progmodes/compile.el (compilation-parse-errors): Accept list
2181 values similar to font-lock-keywords (Bug#12136).
2182 Suggested by Oleksandr Manzyuk.
2183 (compilation-error-regexp-alist): Doc fix.
2184
2185 2012-09-15 Glenn Morris <rgm@gnu.org>
2186
2187 * version.el (emacs-bzr-version-bzr): New function.
2188 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2189
2190 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2191 checkouts, check the parent dirstate matches the branch.
2192 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2193 empty string.
2194
2195 * version.el (emacs-bzr-version): Doc fix.
2196 (emacs-bzr-version-dirstate): New function.
2197 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2198 is local try and check that it matches the branch. If not, just
2199 use dirstate information. (Bug#12441)
2200
2201 2012-09-14 Juri Linkov <juri@jurta.org>
2202
2203 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2204 (Bug#12399)
2205
2206 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2209
2210 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2211 Remove obsolete byte-compiler hack that tried to silence some warnings.
2212 (edebug-submit-bug-report): Remove.
2213 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2214 Remove aliases, use the un-prefixed name instead.
2215 (edebug-pop-to-buffer): Consider other frames.
2216 (edebug-original-read):: Make it more obvious that it's always defined.
2217 (edebug--make-form-data-entry, edebug--form-data-name)
2218 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2219 single-dashed name, and implement with cl-defstruct.
2220 (edebug-set-form-data-entry): Use the standard accessors.
2221 (edebug-make-top-form-data-entry): Use push.
2222 (edebug-no-match): Drop useless `funcall'.
2223 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2224 to functions.
2225 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2226 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2227 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2228 (easy-menu-define, with-custom-print): Remove redundant specs.
2229 (edebug-outside-overriding-local-map)
2230 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2231 (edebug--display): Bind unread-command-events directly to nil rather
2232 than binding it to unread-command-events and later setting it to nil.
2233 (edebug--display): Kill edebug-eval-buffer here...
2234 (edebug--recursive-edit): ...rather than here.
2235 Bind standard-output and standard-input.
2236 (edebug-eval): Check cl-macroexpand-all is fboundp.
2237 (edebug-temp-display-freq-count): Fix last change.
2238
2239 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2240 * subr.el (noreturn, 1value): Add `debug' spec.
2241 * emacs-lisp/advice.el: Require cl-lib.
2242 (ad-copy-tree): Remove, use copy-tree instead.
2243 (ad-dolist): Remove use dolist or cl-dolist instead.
2244 (ad-do-return): Remove, use cl-return instead.
2245 (defadvice): Add `debug' spec.
2246
2247 2012-09-13 Juri Linkov <juri@jurta.org>
2248
2249 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2250 (Bug#12399)
2251
2252 2012-09-13 Glenn Morris <rgm@gnu.org>
2253
2254 * calc/calc.el (math-compose-expr):
2255 * calc/calc-ext.el (math-compose-expr):
2256 * progmodes/cc-defs.el (cl-macroexpand-all):
2257 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2258 (cl-macroexpand-all): Update declarations.
2259
2260 * vc/vc.el: No need to require ediff.
2261 (ediff-load-version-control): Declare.
2262 (ediff-vc-internal): Fix declaration.
2263 (vc-version-ediff): Require ediff.
2264
2265 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2266
2267 Use a more backwards-compatible timer format (Bug#12430).
2268 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2269 being right after USECS, as that better supports old code that
2270 inadvisedly looked directly at the timer vector.
2271
2272 2012-09-13 Kenichi Handa <handa@gnu.org>
2273
2274 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2275 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2276 `coding-priority' property of these language environment.
2277
2278 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 Fix glitches caused by addition of psec to timers (Bug#12430).
2281 * image.el (image-animate-timer):
2282 * time.el (display-time-world-timer):
2283 Use timer--function and timer--args rather than raw access to
2284 timer vector.
2285
2286 2012-09-13 Glenn Morris <rgm@gnu.org>
2287
2288 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2289 If not compiling a file, try using load-file-name.
2290
2291 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2294 Fix last change.
2295 (edebug-update-eval-list): Use `push'.
2296
2297 * emacs-lisp/edebug.el: Use lexical-binding.
2298 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2299 Mark unused args with underscore.
2300 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2301 (edebug-form-data): Use defvar-local.
2302 (edebug-make-before-and-after-form, edebug-make-after-form):
2303 Use backquote.
2304 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2305 Not dynamically scoped any more.
2306 (edebug--enter-trace): Add arguments `function' and `args'.
2307 Rename from edebug-enter-trace.
2308 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2309 (edebug--update-coverage): Add `after-index' and `value' args.
2310 Rename from edebug-update-coverage.
2311 (edebug-slow-after): Call it accordingly.
2312 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2313 edebug-recursive-edit.
2314 (edebug--display): Call it accordingly. Add args `value',
2315 `offset-index', and `arg-mode'. Rename from edebug-display.
2316 (edebug-debugger, edebug): Call it accordingly.
2317 (edebug-eval-display-list): Use dolist.
2318
2319 2012-09-12 Juri Linkov <juri@jurta.org>
2320
2321 * info.el (Info-search): Don't check for isearch-mode and
2322 isearch-regexp before let-binding search-spaces-regexp to
2323 Info-search-whitespace-regexp.
2324 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2325 search-whitespace-regexp if isearch-lax-whitespace or
2326 isearch-regexp-lax-whitespace is non-nil.
2327 (Info-mode): Don't set local variable search-whitespace-regexp.
2328 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2329
2330 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2331
2332 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2333 (debugger-env-macro): Remove support for unread-command-char.
2334
2335 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2336 the temporary map re-appearing on emulation-mode-map-alists.
2337
2338 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2339 since 22.1.
2340
2341 * ehelp.el (with-electric-help): Accept functions in
2342 electric-help-form-to-execute.
2343 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2344 And replace unread-command-char -> unread-command-events.
2345
2346 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2347
2348 Sync with Tramp 2.2.6.
2349
2350 * net/tramp.el (tramp-accept-process-output): Don't use
2351 JUST-THIS-ONE in the XEmacs case.
2352
2353 * net/trampver.el: Update release number.
2354
2355 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2356
2357 * emacs-lisp/debug.el (debugger-previous-window-height):
2358 New variable.
2359 (debug): When debugger-jumping-flag is non-nil try to restore
2360 height of debugger window. (Bug#8789)
2361
2362 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2365 overriding-local-map and pre/post-command-hook here.
2366 (edebug-recursive-edit): Do it here instead (bug#12345).
2367 (edebug-outside-unread-command-char): Remove all uses of
2368 unread-command-char.
2369
2370 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2371 inhibit-debugger is bound instead.
2372
2373 2012-09-11 Bastien Guerry <bzg@gnu.org>
2374
2375 * subr.el (set-temporary-overlay-map): Add a docstring.
2376 (Bug#12346)
2377
2378 2012-09-11 Bastien Guerry <bzg@gnu.org>
2379
2380 * minibuffer.el (completion-table-subvert): Fix docstring.
2381 (Bug#12347)
2382
2383 2012-09-11 Bastien Guerry <bzg@gnu.org>
2384
2385 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2386
2387 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2388
2389 * progmodes/sql.el: Version 3.1
2390 (sql-db2-escape-newlines): New variable.
2391 (sql-escape-newlines-filter): Use it.
2392
2393 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2394
2395 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2396
2397 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2398
2399 * vc/diff-mode.el (diff-mode-menu):
2400 Bind diff-remove-trailing-whitespace.
2401
2402 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2405 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2406 (emacs-lisp-byte-code-mode): New functions.
2407 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2408 (eval-defun-2): Remove bogus interactive spec.
2409 (lisp-indent-line): Remove redundant whole-exp code, now done in
2410 indent-according-to-mode.
2411 (save-match-data): Remove redundant indent data.
2412
2413 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2414 Use `declare'.
2415
2416 2012-09-09 Juri Linkov <juri@jurta.org>
2417
2418 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2419 (replace-lax-whitespace, query-replace-regexp)
2420 (query-replace-regexp-eval, replace-regexp): Doc fix.
2421 (perform-replace, replace-highlight): Let-bind
2422 isearch-lax-whitespace to replace-lax-whitespace and
2423 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2424
2425 * isearch.el (isearch-query-replace): Let-bind
2426 replace-lax-whitespace to isearch-lax-whitespace and
2427 replace-regexp-lax-whitespace to
2428 isearch-regexp-lax-whitespace. (Bug#10885)
2429
2430 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2431
2432 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2433
2434 2012-09-09 Alan Mackenzie <acm@muc.de>
2435
2436 * progmodes/cc-engine.el (c-state-cache-init):
2437 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2438 (c-record-parse-state-state):
2439 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2440
2441 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2442
2443 * register.el (register-separator): Rename from
2444 separator-register. All uses changed. Doc fix.
2445 (register): Fix version.
2446
2447 2012-09-09 Chong Yidong <cyd@gnu.org>
2448
2449 * replace.el (query-replace-map): Bind four new symbols for
2450 requesting window scrolling.
2451
2452 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2453 query-replace-map (Bug#8948).
2454
2455 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2456
2457 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2458 since they are now in query-replace-map.
2459
2460 * window.el (scroll-other-window-down): Make the arg optional.
2461
2462 2012-09-09 Chong Yidong <cyd@gnu.org>
2463
2464 * files.el (hack-local-variables-confirm): Use quit-window to kill
2465 the *Local Variables* buffer.
2466
2467 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2468
2469 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2470 not just expect to be at its beginning. Adjust callees.
2471 Succeed when do-end block has no space before the pipe character.
2472 (ruby-brace-to-do-end): When the original block is one-liner,
2473 convert to multiline. Reindent the result.
2474
2475 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2476
2477 * register.el (register): New group.
2478 (separator-register): New user option.
2479 (increment-register): Route it to `append-to-register', if
2480 register contains text. Implication is that `C-x r +' can now be
2481 used for appending to a text register (bug#12217).
2482 (append-to-register, prepend-to-register): Add separator based on
2483 `separator-register'.
2484
2485 2012-09-08 Alan Mackenzie <acm@muc.de>
2486
2487 AWK Mode: make auto-newline work when there's "==" in the pattern.
2488 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2489 correctly.
2490 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2491 Test more rigorously for "=" token.
2492
2493 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2494
2495 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2496 Only fail when reached LIMIT.
2497
2498 2012-09-08 Chong Yidong <cyd@gnu.org>
2499
2500 * dired.el (dired-mode-map): Don't bind M-=.
2501
2502 * dired-aux.el (dired-diff): Use backup file as default.
2503
2504 2012-09-08 Drew Adams <drew.adams@oracle.com>
2505
2506 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2507
2508 2012-09-08 Chong Yidong <cyd@gnu.org>
2509
2510 * subr.el (syntax-after, syntax-class): Doc fix.
2511
2512 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2513
2514 * window.el (display-buffer-in-previous-window): New buffer
2515 display action function.
2516
2517 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2518 (debugger-previous-window): New variable.
2519 (debug): Rewrite using display-buffer-in-previous-window,
2520 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2521
2522 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2525
2526 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2527
2528 * progmodes/python.el (python-shell-send-string):
2529 When default-directory is remote, create temp file on remote
2530 filesystem.
2531 (python-shell-send-file): When file is remote, pass local view of
2532 file paths to remote Python interpreter. (Bug#12340)
2533
2534 2012-09-07 Chong Yidong <cyd@gnu.org>
2535
2536 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2537
2538 * files.el (after-find-file): Don't fail on a read-only buffer if
2539 require-final-newline is `visit' or `visit-save' (Bug#11156).
2540
2541 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2542
2543 * userlock.el (ask-user-about-supersession-threat):
2544 Use read-char-choice (Bug#12093).
2545
2546 2012-09-07 Chong Yidong <cyd@gnu.org>
2547
2548 * subr.el (buffer-narrowed-p): New function.
2549
2550 * ses.el (ses-widen):
2551 * simple.el (count-words--buffer-message):
2552 * net/browse-url.el (browse-url-of-buffer): Use it.
2553
2554 * simple.el (count-words-region): Don't signal an error if there
2555 is a non-nil prefix arg and the mark is not set.
2556
2557 * help.el (describe-key-briefly): Allow the message to be seen
2558 when invoked from the minibuffer (Bug#7014).
2559
2560 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2561
2562 * progmodes/ruby-mode.el (ruby-end-of-defun)
2563 (ruby-beginning-of-defun): Simplify, allow indentation before
2564 block beginning and end keywords.
2565 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2566 (ruby-end-of-defun): Expect that the point is at the beginning of
2567 the defun.
2568
2569 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2572 (bug#12367).
2573 (cl--make-usage-args): Strip _ from argument names.
2574
2575 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2576
2577 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2578 obsolete alias speedbar-key-map.
2579 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2580 (vhdl-index-menu-init): Don't use obsolete variable
2581 font-lock-maximum-size.
2582
2583 2012-09-06 Chong Yidong <cyd@gnu.org>
2584
2585 * frame.el (window-system-version): Mark as obsolete.
2586
2587 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2588 of obsolete variable speedbar-key-map.
2589
2590 2012-09-06 Juri Linkov <juri@jurta.org>
2591
2592 * replace.el (replace-lax-whitespace): New defcustom.
2593 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2594 (replace-string, replace-regexp): Mention it in docstrings.
2595 (perform-replace, replace-highlight): Let-bind
2596 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2597 to the values of replace-lax-whitespace and regexp-flag.
2598 Don't let-bind search-whitespace-regexp. (Bug#10885)
2599
2600 * isearch.el (isearch-query-replace): Let-bind
2601 replace-lax-whitespace instead of let-binding
2602 replace-search-function and replace-re-search-function.
2603 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2604 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2605 (isearch-toggle-symbol): Set isearch-regexp to nil
2606 in isearch-word mode (like in isearch-toggle-word).
2607
2608 2012-09-06 Juri Linkov <juri@jurta.org>
2609
2610 * replace.el (replace-search-function)
2611 (replace-re-search-function): Set default values to nil.
2612 (perform-replace): Let-bind isearch-related variables based on
2613 replace-related values, call `isearch-search-fun' and let-bind
2614 the result to `search-function'. Remove code that sets
2615 `search-function' and `search-string' separately for
2616 `delimited-flag'.
2617 (replace-highlight): Add new argument `delimited-flag' and
2618 rename other arguments to the names used in `perform-replace'.
2619 Let-bind `isearch-word' to the argument `delimited-flag'.
2620 (Bug#10885, bug#10887)
2621
2622 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2623
2624 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2625 ruby-beginning-of-indent, simplify, allow all keywords to have
2626 indentation before them.
2627 (ruby-beginning-of-indent): Adjust for above. Search until the
2628 found point is not inside a string or comment.
2629 (ruby-font-lock-keywords): Allow symbols to start with "@"
2630 character, give them higher priority than variables.
2631 (ruby-syntax-propertize-function)
2632 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2633 matchers. Expression expansions are not comments when inside a
2634 string, and there comment syntax status is irrelevant.
2635 (ruby-match-expression-expansion): New function. Check that
2636 expression expansion is inside a string, and it's not escaped.
2637 (ruby-font-lock-keywords): Use it.
2638
2639 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2640
2641 * help.el (temp-buffer-max-height): New default value.
2642 (temp-buffer-resize-frames): New option.
2643 (resize-temp-buffer-window): Optionally resize frame.
2644
2645 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2646 (fit-frame-to-buffer): New function.
2647
2648 2012-09-05 Glenn Morris <rgm@gnu.org>
2649
2650 * emulation/cua-rect.el (cua--init-rectangles):
2651 * textmodes/picture.el (picture-mode-map):
2652 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2653 like forward-char and backward-char. (Bug#12317)
2654
2655 2012-09-05 Leo Liu <sdl.web@gmail.com>
2656
2657 * progmodes/flymake.el (flymake-warning-re): New variable.
2658 (flymake-parse-line): Use it.
2659
2660 2012-09-05 Glenn Morris <rgm@gnu.org>
2661
2662 * calendar/holidays.el (holiday-christian-holidays):
2663 Rename an entry. (Bug#12289)
2664
2665 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2668 (bug#12222).
2669
2670 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * loadup.el: Load macroexp. Remove hack.
2673 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2674 (macroexp--expand-all): Use it to get better warnings.
2675 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2676 (internal-macroexpand-for-load): New functions.
2677 (macroexp--pending-eager-loads): New var.
2678 (emacs-startup-hook): New hack to replace one in loadup.el.
2679 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2680 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2681 (cl-psetf): Simplify.
2682 (cl-defstruct): Add indent rule.
2683
2684 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2685
2686 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2687 over `user-mail-address' for the SMTP MAIL FROM envelope.
2688 (smtpmail-via-smtp): Ditto.
2689
2690 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2691
2692 * progmodes/ruby-mode.el: Clean up keybindings.
2693 (ruby-mode-map): Don't bind ruby-electric-brace,
2694 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2695 backward-kill-word, reindent-then-newline-and-indent.
2696 (ruby-mark-defun): Remove.
2697 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2698 (ruby-mode): Set local beginning-of-defun-function and
2699 end-of-defun-function values.
2700
2701 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (temp-buffer-window-setup-hook)
2704 (temp-buffer-window-show-hook): New hooks.
2705 (temp-buffer-window-setup, temp-buffer-window-show)
2706 (with-temp-buffer-window): New functions.
2707 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2708 (special-display-popup-frame): Make sure the window used shows BUFFER.
2709
2710 * help.el (temp-buffer-resize-mode): Fix doc-string.
2711 (resize-temp-buffer-window): New optional argument WINDOW.
2712
2713 * files.el (recover-file, save-buffers-kill-emacs):
2714 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2715
2716 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2717
2718 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2719 remote definition of `default-directory', ensure we can connect.
2720
2721 2012-09-02 Juri Linkov <juri@jurta.org>
2722
2723 Toggle whitespace matching mode with M-s SPC.
2724 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2725
2726 * isearch.el (search-whitespace-regexp): Doc fix.
2727 Remove cons cell customization.
2728 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2729 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2730 New variables.
2731 (isearch-forward, isearch-forward-regexp): Doc fix.
2732 (isearch-toggle-lax-whitespace): New command.
2733 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2734 (re-search-forward-lax-whitespace)
2735 (re-search-backward-lax-whitespace): New functions.
2736 (isearch-whitespace-regexp): Remove function.
2737 (isearch-query-replace): Let-bind replace-search-function and
2738 replace-re-search-function.
2739 (isearch-occur): Let-bind search-spaces-regexp according to the
2740 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2741 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2742 condition for C-q SPC.
2743 (isearch-search-fun-default): Use new functions mentioned above.
2744 (isearch-search-forward, isearch-search-backward): Remove functions.
2745 (isearch-search): Don't let-bind search-spaces-regexp.
2746 (isearch-lazy-highlight-space-regexp): Remove variable.
2747 (isearch-lazy-highlight-lax-whitespace)
2748 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2749 (isearch-lazy-highlight-new-loop): Use them.
2750 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2751
2752 2012-09-02 Chong Yidong <cyd@gnu.org>
2753
2754 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2755
2756 2012-09-02 Glenn Morris <rgm@gnu.org>
2757
2758 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2759
2760 2012-09-01 Glenn Morris <rgm@gnu.org>
2761
2762 * term.el: Tidy up menu definitions.
2763 (term-mode-map): Use easymenu for In/Out, Complete menus.
2764 (term-pager-break-map): Initialize in the defvar.
2765 (term-terminal-menu, term-signals-menu): Define with easymenu.
2766 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2767 (term-pager-menu): New, extracted from term-process-pager.
2768 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2769 (term-update-mode-line): Propertize line/char and page items.
2770 (term-process-pager): Move keymap initialization elsewhere.
2771
2772 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2773
2774 * window.el (switch-to-prev-buffer): Handle additional values of
2775 BURY-OR-KILL argument. Don't switch in minibuffer window.
2776 (switch-to-next-buffer): Don't switch in minibuffer window.
2777 (quit-restore-window): New function based on quit-window.
2778 Handle additional values of former KILL argument.
2779 (quit-window): Call quit-restore-window with appropriate
2780 interpretation of KILL argument.
2781 (display-buffer-below-selected): New buffer display action
2782 function.
2783
2784 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * minibuffer.el (completion-at-point-functions): Complete docstring
2787 (bug#12254).
2788
2789 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2790
2791 Better seed support for (random).
2792 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2793 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2794 * play/mpuz.el, play/tetris.el, play/zone.el:
2795 * calc/calc-comb.el (math-init-random-base):
2796 * play/blackbox.el (bb-init-board):
2797 * play/life.el (life):
2798 * server.el (server-use-tcp):
2799 * type-break.el (type-break):
2800 Remove unnecessary call to (random t).
2801 * net/sasl.el (sasl-unique-id-function):
2802 Change (random t) to (random), now that the latter is more random.
2803 * play/life.el (life-initialized): Remove no-longer-needed var.
2804
2805 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2806
2807 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2808 Consider frame's buffer predicate when choosing the buffer.
2809 (Bug#12081)
2810
2811 2012-08-30 Richard Stallman <rms@gnu.org>
2812
2813 * simple.el (special-mode-map): Delete binding for `z'.
2814
2815 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2816
2817 * progmodes/compile.el (compilation-always-kill): Doc fix.
2818
2819 2012-08-30 Chong Yidong <cyd@gnu.org>
2820
2821 * window.el (display-buffer-reuse-frames): Make the obsolescence
2822 message more informative.
2823
2824 2012-08-30 Glenn Morris <rgm@gnu.org>
2825
2826 * paren.el (show-paren-delay):
2827 Add a :set function. Doc fix. (Bug#12297)
2828
2829 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2830
2831 * progmodes/compile.el (compilation-always-kill): New var.
2832 (compilation-start): Use it.
2833
2834 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2837 * files.el (read-only-mode): Move to simple.el.
2838
2839 * files.el (read-only-mode): New minor mode.
2840 (toggle-read-only): Use it and mark obsolete.
2841 (find-file--read-only):
2842 * vc/vc.el (vc-next-action, vc-checkout):
2843 * vc/vc-cvs.el (vc-cvs-checkout):
2844 * obsolete/vc-mcvs.el (vc-mcvs-update):
2845 * ffap.el (ffap--toggle-read-only): Update callers.
2846
2847 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2848
2849 * eshell/esh-ext.el (eshell-external-command): Do not examine
2850 remote shell scripts.
2851 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2852
2853 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2854 "/usr/local/sbin".
2855
2856 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2859
2860 2012-08-28 Leo Liu <sdl.web@gmail.com>
2861
2862 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2863 completion-at-point. (Bug#12220)
2864
2865 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2866
2867 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2868
2869 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2872 be buffer-local; add delete-trailing-whitespace (bug#12259).
2873
2874 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2875
2876 * progmodes/hideif.el (hif-compress-define-list):
2877 Fix typo. (Bug#11951)
2878
2879 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2880
2881 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2882 buffer local setting.
2883
2884 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2885 rcirc-encode-coding-system.
2886
2887 2012-08-28 Leo Liu <sdl.web@gmail.com>
2888
2889 * net/rcirc.el (rcirc-split-message): New function.
2890 (rcirc-send-message): Use it. (Bug#12051)
2891
2892 2012-08-28 Juri Linkov <juri@jurta.org>
2893
2894 * info.el (Info-fontify-node): Hide empty lines at the end of
2895 the node. (Bug#12272)
2896
2897 2012-08-27 Drew Adams <drew.adams@oracle.com>
2898
2899 * dired.el (dired-pop-to-buffer): Make window start at beginning
2900 of buffer (Bug#12281).
2901
2902 2012-08-26 Chong Yidong <cyd@gnu.org>
2903
2904 * window.el (special-display-regexps, special-display-frame-alist)
2905 (special-display-buffer-names, special-display-function)
2906 (display-buffer-reuse-frames): Mark as obsolete.
2907
2908 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2909
2910 * help.el (help-print-return-message): Don't treat
2911 display-buffer-reuse-frames specially.
2912
2913 2012-08-26 Chong Yidong <cyd@gnu.org>
2914
2915 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2916 New variable, replacing gdb-frame-parameters.
2917 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2918 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2919 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2920 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2921 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2922 the functions directly with gdb-display-buffer-other-frame-action.
2923 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2924 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2925 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2926 (gdb-display-registers-buffer): Define directly.
2927 (def-gdb-display-buffer): Macro deleted.
2928 (gdb-display-buffer): Remove second and third args, callers don't
2929 use them. Defer to the default display-buffer behavior, apart
2930 from making windows dedicated.
2931 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2932
2933 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2934
2935 * window.el (display-buffer-pop-up-frame): Handle a
2936 pop-up-frame-parameters alist entry.
2937 (display-buffer): Document it.
2938
2939 2012-08-26 Chong Yidong <cyd@gnu.org>
2940
2941 * isearch.el (search-whitespace-regexp): Make string and nil
2942 values apply to both ordinary and regexp search. Allow a cons
2943 cell value to distinguish between the two.
2944 (isearch-whitespace-regexp, isearch-search-forward)
2945 (isearch-search-backward): New functions.
2946 (isearch-occur, isearch-search-fun-default, isearch-search)
2947 (isearch-lazy-highlight-new-loop): Use them.
2948 (isearch-forward, isearch-forward-regexp): Doc fix.
2949
2950 2012-08-26 Chong Yidong <cyd@gnu.org>
2951
2952 * faces.el (help-argument-name): Always inherit from italic
2953 (Bug#12213).
2954
2955 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2956
2957 * window.el (window--even-window-heights): Even heights when
2958 WINDOW and the selected window form a vertical combination.
2959 (display-buffer-use-some-window): Provide that window used gets
2960 sized back by quit-window. (Bug#11880) and (Bug#12091)
2961
2962 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2963
2964 Fix file time stamp problem with bzr and CVS (Bug#12001).
2965 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2966 in the file's time stamp, since the version control system loses
2967 that information.
2968
2969 2012-08-22 Juri Linkov <juri@jurta.org>
2970
2971 * info.el (Info-fontify-node): Hide the suffix of the
2972 Info file name in the header line. (Bug#12187)
2973
2974 2012-08-22 Glenn Morris <rgm@gnu.org>
2975
2976 * calendar/cal-tex.el (cal-tex-weekly-common):
2977 Restore leading blank page.
2978
2979 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2980
2981 * misc.el (forward-to-word, backward-to-word): Activate or extend
2982 the region under `shift-select-mode'. (Bug#12231)
2983
2984 2012-08-22 Bastien Guerry <bzg@gnu.org>
2985
2986 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2987 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2988 gives details on why the space is never needed.
2989
2990 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2991
2992 * window.el (walk-window-tree, window-with-parameter):
2993 New optional argument MINIBUF to control whether these functions
2994 should run on the minibuffer window.
2995 (window-at-side-list): Don't operate on minibuffer window.
2996 (window-in-direction): Simplify and rewrite doc-string.
2997 (window--size-ignore): Rename to window--size-ignore-p.
2998 Update callers.
2999 (display-buffer-in-atom-window, window--major-non-side-window)
3000 (window--major-side-window, display-buffer-in-major-side-window)
3001 (delete-side-window, display-buffer-in-side-window):
3002 New functions.
3003 (window--side-check, window-deletable-p, delete-window)
3004 (delete-other-windows, split-window): Handle side windows and
3005 atomic windows appropriately.
3006 (window--display-buffer): Call display-buffer-record-window also
3007 when the window buffer did not change.
3008
3009 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3010
3011 * help-fns.el (help-fns--key-bindings):
3012 Abbreviate non-symbol remap targets. (Bug#12174)
3013
3014 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3015
3016 * dired.el (dired-mark-remembered): Don't clobber point.
3017 (Bug#11795)
3018
3019 2012-08-22 Glenn Morris <rgm@gnu.org>
3020
3021 * progmodes/bug-reference.el (bug-reference): New custom group.
3022 (bug-reference-bug-regexp): Make it a defcustom.
3023
3024 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3025
3026 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3027 (js-paren-indent-offset, js-square-indent-offset)
3028 (js-curly-indent-offset): Add :safe (Bug#12257).
3029
3030 2012-08-22 Edward O'Connor <hober0@gmail.com>
3031
3032 * json.el (json-key-format): Add error properties.
3033 (json-encode-key): New function.
3034 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3035 Use json-encode-key.
3036
3037 2012-08-22 Glenn Morris <rgm@gnu.org>
3038
3039 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3040 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3041 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3042 Update for above change.
3043
3044 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3045
3046 * cus-face.el (custom-face-attributes): Fix customize type for the
3047 :underline attribute. (Bug#11805)
3048
3049 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3050
3051 * window.el (window-point-1, set-window-point-1): Remove.
3052 (window-in-direction, record-window-buffer)
3053 (set-window-buffer-start-and-point, split-window-below)
3054 (window--state-get-1, display-buffer-record-window):
3055 Replace calls to window-point-1 and set-window-point-1 by calls to
3056 window-point and set-window-point respectively.
3057
3058 2012-08-21 Glenn Morris <rgm@gnu.org>
3059
3060 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3061 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3062 Use it.
3063
3064 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3065 (cal-tex-shortday): New function.
3066 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3067 (cal-tex-cursor-filofax-daily): Use the above.
3068
3069 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3070 New functions.
3071 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3072 (cal-tex-cursor-filofax-week): Use them.
3073
3074 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3075 New constants.
3076 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3077 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3078
3079 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3080 (cal-tex-end-document): Don't rely on buffer name.
3081
3082 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3083 Use cal-tex-vspace.
3084 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3085 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3086 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3087 Use cal-tex-arg.
3088
3089 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3090 (cal-tex-cursor-week, cal-tex-cursor-week2)
3091 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3092 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3093 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3094 (cal-tex-insert-preamble, cal-tex-b-document)
3095 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3096 Improve cal-tex-cmd usage.
3097
3098 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3099 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3100 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3101 (cal-tex-weekly-paper): New function.
3102 (cal-tex-cursor-week, cal-tex-cursor-week2)
3103 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3104 (cal-tex-cursor-day): Use it.
3105
3106 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3107 (cal-tex-cursor-filofax-week): Remove leading blank page.
3108
3109 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3110 Add autoload cookie. For now at least, don't use color, since
3111 no other cal-tex function does.
3112
3113 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3114 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3115 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3116
3117 2012-08-21 Juri Linkov <juri@jurta.org>
3118
3119 * info.el (Info-file-attributes): New variable.
3120 (info-insert-file-contents): Add file attributes to
3121 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3122 `Info-toc-nodes' when previous modtime of the Info file is less
3123 than new modtime.
3124 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3125 of info.el. (Bug#12230)
3126
3127 2012-08-20 Glenn Morris <rgm@gnu.org>
3128
3129 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3130 * calendar/holidays.el (calendar-holiday-list):
3131 Report errors with display-warning rather than beep'n'sleep.
3132
3133 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp.el (tramp-accept-process-output): Accept only output
3136 from PROC. Otherwise, process filters and sentinels might be
3137 confused. (Bug#12145)
3138
3139 2012-08-20 Chong Yidong <cyd@gnu.org>
3140
3141 * descr-text.el (describe-text-properties-1): Use overlays-in to
3142 report on empty overlays (Bug#3322).
3143
3144 2012-08-20 Glenn Morris <rgm@gnu.org>
3145
3146 * mail/rmailout.el (rmail-output-read-file-name):
3147 Trap and report errors in rmail-output-file-alist elements.
3148
3149 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3150 since most non-font-lock faces are not also variables).
3151
3152 2012-08-20 Edward Reingold <reingold@iit.edu>
3153
3154 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3155 New function. (Bug12160)
3156
3157 2012-08-19 Glenn Morris <rgm@gnu.org>
3158
3159 * mail/rmailout.el (rmail-output-read-file-name):
3160 Fix previous change (when the alist is nil or does not match).
3161
3162 2012-08-19 Chong Yidong <cyd@gnu.org>
3163
3164 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3165 (Bug#12228).
3166
3167 2012-08-18 Chong Yidong <cyd@gnu.org>
3168
3169 * simple.el (yank-handled-properties): New defcustom.
3170 (yank-excluded-properties): Add font-lock-face and category.
3171 (yank): Doc fix.
3172
3173 * subr.el (remove-yank-excluded-properties):
3174 Obey yank-handled-properties. The special handling of font-lock-face
3175 and category is now done this way, instead of being hard-coded.
3176 (insert-for-yank-1): Remove font-lock-face handling.
3177 (yank-handle-font-lock-face-property)
3178 (yank-handle-category-property): New function.
3179
3180 2012-08-17 Glenn Morris <rgm@gnu.org>
3181
3182 * mail/rmailout.el (rmail-output-read-file-name):
3183 Check rmail-output-file-alist against the full message body
3184 in the correct rmail buffer. (Bug#12214)
3185
3186 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3187
3188 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3189 Eliminate superfluous prompt. (Bug#12203)
3190
3191 2012-08-17 Chong Yidong <cyd@gnu.org>
3192
3193 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3194 font spec, set the font directly (Bug#3228).
3195
3196 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3197
3198 * window.el (delete-window): Fix last fix.
3199
3200 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (window-valid-p): Move to window.c.
3203 (window-child, window-child-count, window-last-child)
3204 (window-normalize-window, window-combined-p)
3205 (window-combinations, window-atom-root, window-min-size)
3206 (window-sizable, window-sizable-p, window-size-fixed-p)
3207 (window-min-delta, window-max-delta, window--resizable)
3208 (window--resizable-p, window-resizable, window-total-size)
3209 (window-full-height-p, window-full-width-p, window-body-size)
3210 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3211 (minimize-window, window-deletable-p, delete-window)
3212 (delete-other-windows, set-window-buffer-start-and-point)
3213 (next-buffer, previous-buffer, split-window, balance-windows-2)
3214 (set-window-text-height, window-buffer-height)
3215 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3216 (truncated-partial-width-window-p): Minor code adjustments.
3217 In doc-strings state whether the argument window has to denote a
3218 live, valid or any window.
3219
3220 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3221
3222 * progmodes/subword.el (subword-forward-function)
3223 (subword-backward-function, subword-forward-regexp)
3224 (subword-backward-regexp): New variables.
3225 (subword-forward, subword-forward-internal, subword-backward-internal):
3226 Use new variables, eg so that different "word" definitions
3227 can be easily used. (Bug#11411)
3228
3229 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3230
3231 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3232 for composite selectors.
3233 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3234 operation just because we can't find a previous revision.
3235
3236 2012-08-15 Chong Yidong <cyd@gnu.org>
3237
3238 * frame.el (set-frame-font): Accept font objects.
3239
3240 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3243
3244 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3245
3246 * man.el (Man-overstrike-face, Man-underline-face)
3247 (Man-reverse-face): Remove variables.
3248 (Man-overstrike, Man-underline, Man-reverse): New faces.
3249 (Man-fontify-manpage): Use them instead of the variables.
3250 (Man-cleanup-manpage): Comment change.
3251 (Man-ansi-color-map): New variable.
3252 (Man-fontify-manpage): Use it.
3253 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3254
3255 Implement ANSI SGR parameters 22-27 (bug#12146).
3256 * ansi-color.el (ansi-colors): Doc fix.
3257 (ansi-color-context, ansi-color-context-region): Doc fix.
3258 (ansi-color--find-face): New function.
3259 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3260 Rename the local variable `face' to `codes' since it is now a list of
3261 ansi codes. Doc fix.
3262 (ansi-color-get-face): Remove.
3263 (ansi-color-parse-sequence): New function, derived from
3264 ansi-color-get-face.
3265 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3266 codes 22-27.
3267
3268 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * subr.el (read-passwd): Allow use from a minibuffer.
3271
3272 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3273
3274 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3275 inside comments and strings as identifiers.
3276
3277 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3278 expression to evaluate. This allows to evaluate expressions with
3279 embedded whitespace.
3280 (gud-tooltip-tips): Add a blank before the newline in the
3281 message-box text, for the benefit of message-box emulation on
3282 MS-Windows.
3283
3284 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3285 messages from GDB, pop them up in a tooltip to give feedback to
3286 user.
3287 (gdb-tooltip-print-1): Quote the expression to evaluate.
3288 This allows to evaluate expressions with embedded whitespace.
3289 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3290 if the TTY name is nil or empty (which happens when communicating
3291 with the inferior via pipes, e.g. on MS-Windows).
3292 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3293 don't send that to the GUD buffer.
3294
3295 2012-08-14 Glenn Morris <rgm@gnu.org>
3296
3297 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3298 Optimize away setq-default with no args, as for setq. (Bug#12195)
3299
3300 2012-08-14 Chong Yidong <cyd@gnu.org>
3301
3302 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3303
3304 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3305 (Bug#12085).
3306
3307 2012-08-14 Glenn Morris <rgm@gnu.org>
3308
3309 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3310
3311 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3312
3313 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3314 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3315 Use cached shell name.
3316
3317 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3318
3319 * progmodes/python.el (python-shell-send-string):
3320 (python-shell-send-setup-code): Do not use `format' with `message'.
3321
3322 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3325 (ruby-percent-literal-beg-re): New constant.
3326 (ruby-syntax-general-delimiters-goto-beg): Rename to
3327 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3328 (ruby-syntax-propertize-general-delimiters): Rename to
3329 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3330 popular term. Adjust comments everywhere.
3331 (ruby-syntax-propertize-percent-literal): Only propertize when not
3332 inside a simple string or comment. When the literal is unclosed,
3333 leave the text after it unpropertized.
3334 (ruby-syntax-methods-before-regexp): New constant.
3335 (ruby-syntax-propertize-function): Use it to recognize regexps.
3336 Don't look at the text after regexp, just use the whitelist.
3337
3338 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3341 non-nil always load the compiled file if it exists. (Bug#12197)
3342
3343 2012-08-14 Chong Yidong <cyd@gnu.org>
3344
3345 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3346 (hi-lock-set-pattern): When deciding whether to use font lock or
3347 overlays, look at font-lock-mode instead of font-lock-fontified
3348 (Bug#12168).
3349 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3350 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3351
3352 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3353
3354 * subr.el (internal--after-with-selected-window): Fix typo
3355 (Bug#12193).
3356
3357 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3358
3359 Use `completion-table-dynamic' for completion functions.
3360 * progmodes/python.el
3361 (python-shell-completion--do-completion-at-point)
3362 (python-shell-completion--get-completions):
3363 Remove functions.
3364 (python-shell-completion-complete-at-point): New function.
3365 (python-completion-complete-at-point): Use it.
3366
3367 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3368
3369 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3370 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3371
3372 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * subr.el (function-get): Refine `autoload' arg so it can also
3375 autoload functions for gv.el (bug#12191).
3376 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3377 autoloads macros.
3378
3379 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3380 Prefer pcase-let over destructuring-bind.
3381 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3382 Also, remove whitespace as we go, rather than after accumulating the
3383 various places.
3384
3385 * subr.el (internal--before-with-selected-window)
3386 (internal--after-with-selected-window): Fix typo seleted->selected.
3387 (with-selected-window): Adjust callers.
3388 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3389
3390 2012-08-13 Bastien Guerry <bzg@gnu.org>
3391
3392 * window.el (special-display-popup-frame): Minor docstring
3393 enhancement. (Bug#12172)
3394
3395 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3398 type 1-6.
3399 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3400 extended headers.
3401
3402 * files.el (hack-local-variables-filter): Remove useless eval.
3403
3404 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3405
3406 * subr.el (with-selected-window): Fix last change.
3407
3408 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3409
3410 * subr.el (internal--before-with-seleted-window)
3411 (internal--after-with-seleted-window): New functions.
3412 (with-selected-window): Use them, to replace dependency on
3413 tty-top-frame.
3414
3415 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3416
3417 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3418 binding for `newline'.
3419 (ruby-move-to-block): When moving backward, stop at block opening,
3420 not indentation.
3421 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3422 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3423 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3424 `ruby-toggle-block'.
3425
3426 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * ibuffer.el (ibuffer-do-toggle-read-only):
3429 * dired.el (dired-toggle-read-only):
3430 * buff-menu.el (Buffer-menu-toggle-read-only):
3431 * bindings.el (mode-line-toggle-read-only):
3432 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3433
3434 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3435
3436 * descr-text.el (describe-char): Put the overlays over the
3437 "displayed as" character.
3438
3439 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3440
3441 * calc/calc-units.el (math-default-units-table): Give an
3442 initial value.
3443 (math-put-default-units): Add options to put composite units and
3444 unit systems in the default units table.
3445 (calc-convert-units): Send composite units to
3446 `math-put-default-units' when appropriate.
3447
3448 2012-08-11 Glenn Morris <rgm@gnu.org>
3449
3450 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3451
3452 * tutorial.el (help-with-tutorial):
3453 * emacs-lisp/copyright.el (copyright-update-directory):
3454 * emacs-lisp/autoload.el (autoload-find-generated-file)
3455 (autoload-find-file): Disable local eval: (for insurance).
3456
3457 * files.el (hack-local-variables-filter): If an eval: form is not
3458 known to be safe, and enable-local-variables is :safe, then ignore
3459 the form totally, as is done for non-eval forms. (Bug#12155)
3460 This is CVE-2012-3479.
3461
3462 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3465 (rx-form): Simplify.
3466
3467 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3468
3469 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3470 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3471 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3472 (ruby-syntax-propertize-function): Adjust for changes in
3473 `ruby-syntax-propertize-heredoc'.
3474
3475 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3476
3477 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3478 binding (use `M-;' instead).
3479 (ruby-singleton-class-p): New function.
3480 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3481
3482 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3485
3486 2012-08-10 Chong Yidong <cyd@gnu.org>
3487
3488 * progmodes/python.el (python-shell-get-process-name): Don't mess
3489 with same-window-buffer-names.
3490
3491 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3492 (eshell-remove-from-window-buffer-names): Make obsolete.
3493 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3494 (eshell): Just use pop-to-buffer-same-window instead.
3495
3496 2012-08-10 Chong Yidong <cyd@gnu.org>
3497
3498 * bindings.el: Bind M-= back to count-words-region.
3499
3500 * simple.el (count-words-region): Accept a prefix arg for acting
3501 on the entire buffer.
3502 (count-words--buffer-message): New helper function.
3503
3504 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3507 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3508 (event-start, event-end): Use posn-at-point to return a more
3509 informative posn.
3510 (posnp): New function.
3511 * mouse.el (popup-menu-normalize-position): Use it.
3512
3513 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3514
3515 * mouse.el (popup-menu-normalize-position): New function.
3516 (popup-menu): Use `popup-menu-normalize-position' to normalize
3517 the form for POSITION argument.
3518
3519 * term/x-win.el (x-menu-bar-open):
3520 Use the value returend from (posn-at-point) as position
3521 passed to `popup-menu'.
3522
3523 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3524
3525 * calc/calccomp.el (math-compose-expr): Add extra argument
3526 indicating that parentheses should be put around products in
3527 denominators. Give multiplication precedence over division during
3528 composition.
3529
3530 2012-08-09 Chong Yidong <cyd@gnu.org>
3531
3532 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3533 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3534 (Man-untabify-command, manual-program): Convert to defcustom
3535 (Bug#10429).
3536
3537 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3538
3539 * descr-text.el (describe-char): Don't insert extra newlines
3540 (Bug#10127).
3541
3542 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3543 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3544
3545 * align.el (align-region): Delete temporary markers (Bug#10047).
3546 Plus some code cleanups.
3547
3548 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3549
3550 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3551 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3552 (python-shell-internal-last-output): Use make-local-variable
3553 instead of make-variable-buffer-local.
3554
3555 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3556
3557 * progmodes/python.el: Enhancements to forward-sexp.
3558 (python-nav-forward-sexp): Rename from
3559 python-nav-forward-sexp-function.
3560 (python-nav--forward-sexp, python-nav--backward-sexp):
3561 New functions.
3562
3563 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3564
3565 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3566 modes and simplification modes.
3567
3568 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * delsel.el (delete-selection-pre-hook): Don't propagate the
3571 file-supersession signals (bug#12161).
3572
3573 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3576 (cl-map-extents): Add compatibility aliases (bug#12135).
3577
3578 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3581 tests by `ignore-error'.
3582 (tramp-find-shell): Open also a new shell, when cache is already
3583 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3584
3585 2012-08-08 Juri Linkov <juri@jurta.org>
3586
3587 * bookmark.el: Add `defaults' property to the bookmark record.
3588 (bookmark-current-buffer): Doc fix.
3589 (bookmark-make-record): Add `defaults' property with default values
3590 to the bookmark record.
3591 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3592 with `bookmark-insert-current-bookmark'.
3593 (bookmark-set): Get `defaults' property from the bookmark record
3594 and use it in `read-from-minibuffer'.
3595 (bookmark-insert-current-bookmark): Remove function.
3596
3597 * info.el (Info-bookmark-make-record): Add `defaults' property
3598 with values of canonical Info node name, the current Info file
3599 name and the current Info node name. (Bug#12107)
3600
3601 2012-08-08 Juri Linkov <juri@jurta.org>
3602
3603 * files.el (basic-save-buffer): Use `buffer-name' as the default
3604 of `read-file-name' when buffer is not visiting a file (bug#12128).
3605
3606 2012-08-08 Juri Linkov <juri@jurta.org>
3607
3608 * info.el (Info-isearch-search): Doc fix.
3609 (Info-search): Change search-failed message from "initial node" to
3610 "end of node" (bug#12078).
3611 (Info-isearch-search): Change `isearch-string-state' to
3612 `isearch--state-string'.
3613
3614 2012-08-08 Glenn Morris <rgm@gnu.org>
3615
3616 * language/persian.el: Remove file.
3617 * language/misc-lang.el: Move unique part of persian.el here.
3618 * loadup.el: Remove language/persian.
3619
3620 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3621
3622 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3623
3624 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3625
3626 * progmodes/python.el Fixed defsubst warning.
3627 (python-syntax-context) Rename from python-info-ppss-context.
3628 (python-syntax-context-type): Rename from
3629 python-info-ppss-context-type.
3630 (python-syntax-comment-or-string-p): Rename from
3631 python-info-ppss-comment-or-string-p.
3632
3633 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3634
3635 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3636
3637 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3638
3639 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3640 a defcustom that is quoted with backquote.
3641
3642 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3643 Fix handling of interactive spec when the body uses return.
3644 (math-do-arg-check, math-define-function-body): Use backquote forms.
3645 * calc/calc-ext.el (math-defcache): Likewise.
3646 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3647 * allout.el (allout-new-exposure): Likewise.
3648 * calc/calcalg2.el (math-tracing-integral): Likewise.
3649 * info.el (Info-last-menu-item): Likewise.
3650 * emulation/vip.el (vip-loop): Likewise.
3651 * textmodes/artist.el (artist-funcall): Likewise.
3652 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3653 Construct menu-item directly.
3654
3655 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3656 Don't declare.
3657
3658 2012-08-07 Chong Yidong <cyd@gnu.org>
3659
3660 * simple.el (deactivate-mark): Preserve text properties when
3661 saving the primary selection (Bug#8384).
3662
3663 2012-08-07 Kevin Ryde <user42@zip.com.au>
3664
3665 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3666 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3667 and continue processing (Bug#12110).
3668
3669 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3672 syntax-propertize-function (bug#10095).
3673
3674 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3677 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3678 describe-function-1.
3679 (describe-function-1): Use them. Move compiler macro after sig.
3680 (help-fns--compiler-macro): Use function-get. Assume we're already in
3681 standard-output. Adjust layout to new call order.
3682
3683 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3684 re-binding a symbol that has a symbol-macro (bug#12119).
3685
3686 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3687
3688 * language/persian.el: New file. (Bug#11812)
3689 * loadup.el: Add language/persian.el.
3690
3691 2012-08-06 Chong Yidong <cyd@gnu.org>
3692
3693 * window.el (window--maybe-raise-frame): New function.
3694 (window--display-buffer): Split off from here.
3695 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3696 (display-buffer-pop-up-window, display-buffer-use-some-window):
3697 Obey an inhibit-switch-frame action alist entry.
3698 (display-buffer): Update doc.
3699
3700 * replace.el (occur-after-change-function): Avoid losing focus by
3701 using the inhibit-switch-frame display parameter (Bug#12139).
3702
3703 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3704
3705 Make internal shell process buffer names start with space.
3706 * progmodes/python.el (python-shell-make-comint): Add optional
3707 argument INTERNAL.
3708 (run-python-internal): Use it.
3709 (python-shell-internal-get-or-create-process): Check for new
3710 internal buffer names.
3711
3712 2012-08-06 Glenn Morris <rgm@gnu.org>
3713
3714 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3715 Do less getting and setting of environment variables.
3716
3717 2012-08-05 Chong Yidong <cyd@gnu.org>
3718
3719 * proced.el (proced): Add substitution string to docstring to
3720 trigger autoloading of the proced library on C-h f (Bug#1768).
3721
3722 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3723 Don't show defvars which have no second argument (Bug#8638).
3724
3725 * imenu.el (imenu-generic-expression): Move documentation here
3726 from imenu--generic-function.
3727 (imenu--generic-function): Refer to imenu-generic-expression.
3728
3729 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3730
3731 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3732 indentation declaration.
3733 (viper-loop): Add indentation declaration (Bug#7025).
3734
3735 2012-08-05 Chong Yidong <cyd@gnu.org>
3736
3737 * help-fns.el (describe-variable): Add hyperlink for
3738 directory-local variables files. Improve buffer-local and
3739 permanent-local reporting; suggested by MON KEY (Bug#6644).
3740
3741 * help-mode.el (help-dir-local-var-def): New button type.
3742
3743 * files.el (kill-buffer-hook): Provide a defvar.
3744
3745 2012-08-05 Glenn Morris <rgm@gnu.org>
3746
3747 * eshell/esh-ext.el (eshell/addpath):
3748 Also update eshell-path-env. (Bug#12013)
3749
3750 2012-08-05 Chong Yidong <cyd@gnu.org>
3751
3752 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3753
3754 * fringe.el (fringe-styles): Add docstring.
3755 (fringe--check-mode): New function.
3756 (set-fringe-mode, set-fringe-style): Use it.
3757 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3758
3759 * files.el (set-auto-mode): Fix invalid setq call.
3760
3761 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * isearch.el: Misc simplification; use defstruct.
3764 (isearch-mode-map): Dense maps now work like sparse ones.
3765 (isearch--state): New defstruct.
3766 (isearch-string-state, isearch-message-state, isearch-point-state)
3767 (isearch-success-state, isearch-forward-state)
3768 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3769 (isearch-wrapped-state, isearch-barrier-state)
3770 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3771 replaced by defstruct's accessors.
3772 (isearch--set-state): Rename from isearch-top-state and change
3773 calling convention.
3774 (isearch-push-state): Use new isearch--get-state.
3775 (isearch-toggle-word): Disable regexp when enabling word.
3776 (isearch-message-prefix): Remove unused arg _c-q-hack.
3777 (isearch-message-suffix): Remove unused arg _ellipsis.
3778
3779 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3780
3781 * simple.el (list-processes--refresh): For a server use :host or
3782 :local as the address.
3783 (list-processes): Doc fix.
3784
3785 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3786
3787 * lisp/mpc.el: Support password in host argument.
3788 (mpc--proc-connect): Parse and use new password element.
3789 Set mpc-proc variable instead of returning process.
3790 (mpc-proc): Adjust accordingly.
3791
3792 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3793
3794 * whitespace.el (whitespace-display-mappings): Use Unicode
3795 codepoints, instead of emacs-mule codepoints. See
3796 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3797 for the details.
3798
3799 * files.el (file-truename): Don't skip symlink-chasing part on
3800 windows-nt. Incorporate the resolution of 8+3 short aliases on
3801 Windows into the loop that recursively chases symlinks.
3802 Compare directory and its parent case-insensitively on MS-Windows and
3803 MS-DOS.
3804
3805 2012-08-03 Chong Yidong <cyd@gnu.org>
3806
3807 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3808
3809 * sort.el (sort-regexp-fields): Doc fix.
3810
3811 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3812
3813 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3814 labels regex position point at the expected place.
3815
3816 2012-08-03 MON KEY <monkey@sandpframing.com>
3817
3818 * net/imap.el (imap-interactive-login, imap-authenticate)
3819 (imap-mailbox-lsub, imap-mailbox-list)
3820 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3821 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3822 (imap-parse-response): Doc fix.
3823
3824 2012-08-03 João Távora <joaotavora@gmail.com>
3825
3826 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3827 if sexp scanning does not move point (Bug#5734).
3828
3829 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3830
3831 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3832 Add listings, minted, and ctable packages.
3833 (reftex-label-alist-builtin): Move listings, minted, and ctable
3834 entries before LaTeX.
3835 (reftex-label-alist): Docfix.
3836
3837 2012-08-02 Bastien Guerry <bzg@gnu.org>
3838
3839 * replace.el (occur): Fix docstring (bug#12122).
3840
3841 2012-08-02 Glenn Morris <rgm@gnu.org>
3842
3843 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3844
3845 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3846
3847 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3848 * international/mule-cmds.el: Create
3849 inactivate-current-input-method-function as an obsolete alias for
3850 deactivate-current-input-method-function. See Katsumi Yamaoka in
3851 <http://bugs.gnu.org/10150#46>.
3852
3853 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3854
3855 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3856 of nested `if's.
3857
3858 2012-08-01 Glenn Morris <rgm@gnu.org>
3859
3860 * progmodes/autoconf.el (autoconf-definition-regexp):
3861 Add AH_TEMPLATE, adjust submatch numbering.
3862 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3863 (autoconf-current-defun-function): Update for above change.
3864 (autoconf-current-defun-function): First skip to end of current word.
3865
3866 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3867
3868 * calendar/cal-html.el (cal-html-insert-agenda-days):
3869 Fix typo. (Bug#12018)
3870
3871 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3872
3873 Shell processes: enhancements to startup and CEDET compatibility.
3874 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3875 (python-shell-make-comint): accept-process-output at startup.
3876 (run-python-internal): Set inferior-python-mode-hook to nil.
3877 (python-shell-internal-get-or-create-process): call sit-for.
3878 (python-preoutput-result): Add obsolete alias.
3879 (python-shell-internal-send-string): Use it.
3880 (python-shell-send-setup-code): Remove call to
3881 accept-process-output.
3882
3883 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3886 (Bug#12108)
3887
3888 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc-mode.el (calc-basic-simplification-mode): Rename from
3891 `calc-limited-simplification-mode'.
3892 (calc-alg-simplification-mode): New function.
3893 (calc-set-simplify-mode): Adjust message.
3894
3895 * calc.el (calc-set-mode-line): Adjust mode line display for
3896 basic simplification mode.
3897
3898 * calc-help.el (calc-m-prefix-help): Update help message.
3899
3900 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3901 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3902
3903 2012-07-31 Bastien Guerry <bzg@gnu.org>
3904
3905 * man.el (man): Fix comment. (bug#12101)
3906
3907 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3908
3909 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3910 Don't return a non-nil value when no suitable buffer was found.
3911
3912 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3913
3914 * progmodes/python.el (run-python-internal): Disable font lock for
3915 internal shells.
3916
3917 2012-07-30 Stefan Merten <smerten@oekonux.de>
3918
3919 * textmodes/rst.el: Silence `checkdoc-ispell'.
3920 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3921 (rst-official-version, rst-official-cvs-rev)
3922 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3923 (rst-mode-map): New key binding.
3924
3925 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3926
3927 Update .PHONY listings in makefiles.
3928 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3929 autoloads, update-subdirs, updates, bzr-update, update-authors,
3930 compile-onefile, compile-calc, backup-compiled-files,
3931 compile-after-backup, compile-one-process, mh-autoloads,
3932 bootstrap-clean, distclean, maintainer-clean.
3933
3934 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3935
3936 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3937 (calc-set-mode-line): Don't display "AlgSimp ".
3938
3939 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3940 (calc-lim-simplify-mode): New function.
3941 (calc-set-simplify-mode): Default to 'alg.
3942 (calc-default-simplify-mode): Make algebraic simplifications
3943 the default.
3944
3945 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3946 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3947
3948 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3949 indicate new simplification modes.
3950
3951 * calc/README: Mention new default simplification mode.
3952
3953 * calc/calc.el (math-normalize-error): New variable.
3954 (math-normalize): Set `math-normalize-error' to t
3955 when there's an error.
3956
3957 * calc/calc-alg.el (math-simplify): Don't simplify when
3958 `math-normalize' returns an error.
3959
3960 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3961
3962 * international/mule-cmds.el (set-locale-environment): Revert last
3963 change, since display-graphic-p returns nil when this function is
3964 called during startup. Instead...
3965
3966 * term/w32console.el (terminal-init-w32console): ...setup the
3967 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3968
3969 2012-07-29 Juri Linkov <juri@jurta.org>
3970
3971 * simple.el (goto-line): Don't display default line number in the
3972 prompt because it should be displayed by `read-number' (bug#9952).
3973 Add the current line number to the defaults of `goto-line' to
3974 allow its easier modification by users with `M-n' (bug#9201).
3975
3976 * subr.el (read-number): Support multiple default values like in
3977 other minibuffer reading functions. Replace `read' with
3978 `string-to-number' for consistency with `number-to-string'.
3979
3980 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3981
3982 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3983 * emulation/viper-init.el (viper-deactivate-input-method-action):
3984 Rename from viper-inactivate-input-method-action.
3985 (viper-deactivate-input-method):
3986 Rename from viper-inactivate-input-method.
3987 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3988 * international/mule-cmds.el (deactivate-input-method):
3989 Rename from inactivate-input-method.
3990 Also run input-method-deactivate-hook.
3991 (deactivate-current-input-method-function):
3992 Rename from inactivate-current-input-method-function.
3993 (input-method-deactivate-hook): New hook.
3994 (input-method-inactivate-hook): Mark obsolete.
3995 (inactivate-input-method): Mark obsolete.
3996
3997 * international/quail.el (quail-activate):
3998 Also run quail-deactivate-hook.
3999 (quail-deactivate): Rename from quail-inactivate.
4000 * international/robin.el (robin-activate):
4001 Also run robin-deactivate-hook.
4002 (robin-deactivate): Rename from robin-inactivate.
4003
4004 2012-07-29 Chong Yidong <cyd@gnu.org>
4005
4006 * simple.el (indicate-copied-region): New function.
4007 (kill-ring-save): Split off from here.
4008
4009 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4010 (kill-rectangle): Set deactivate-mark to t on read-only error.
4011
4012 * register.el (copy-to-register, copy-rectangle-to-register):
4013 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4014 (append-to-register, prepend-to-register): Call indicate-copied-region.
4015
4016 2012-07-29 Juri Linkov <juri@jurta.org>
4017
4018 * simple.el (async-shell-command-buffer): New defcustom.
4019 (shell-command): Use it. (Bug#4719)
4020
4021 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4022
4023 * international/mule-cmds.el (set-locale-environment): In a
4024 console session on MS-Windows, set up keyboard and terminal
4025 encoding from the OEM codepage, not the ANSI codepage.
4026 (Bug#12055)
4027
4028 2012-07-28 Chong Yidong <cyd@gnu.org>
4029
4030 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4031 gdb-get-location.
4032
4033 2012-07-28 Leo Liu <sdl.web@gmail.com>
4034
4035 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4036 the alist (bug#12029).
4037
4038 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4039
4040 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4041 (compile-always, compile-first)
4042 ($(lisp)/calendar/cal-loaddefs.el)
4043 ($(lisp)/calendar/diary-loaddefs.el)
4044 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4045 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4046 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4047 instead of on update-subdirs.
4048 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4049
4050 2012-07-28 Chong Yidong <cyd@gnu.org>
4051
4052 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4053 directory if vc-deduce-backend returns nil (Bug#7350).
4054
4055 * simple.el (delete-trailing-lines): New option.
4056 (delete-trailing-whitespace): Obey it (Bug#11879).
4057
4058 2012-07-28 David Engster <deng@randomsample.de>
4059
4060 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4061 Explanation of new 'symbol-qnames feature in doc-strings.
4062 (xml-maybe-do-ns): Return expanded names as plain symbols if
4063 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4064 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4065
4066 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4067
4068 Consistent completion in inferior python with emacs -nw.
4069 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4070 binding in inferior-python-mode-map with "\t".
4071 (python-shell-completion-complete-at-point)
4072 (python-completion-complete-at-point): Remove interactive spec.
4073
4074 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4075
4076 * calc/calccomp.el (math-compose-expr): Undo previous change.
4077
4078 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4079
4080 * progmodes/python.el (python-mode-map): Add keybinding for
4081 run-python.
4082 (python-shell-make-comint): Fix pop-to-buffer call.
4083 (run-python): Autoload. New arg SHOW.
4084 (python-shell-get-or-create-process): Do not pop python process
4085 buffer.
4086
4087 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4088
4089 * notifications.el (notifications-on-action-signal)
4090 (notifications-on-closed-signal): Use also the bus address for the map.
4091 (notifications-notify, notifications-close-notification)
4092 (notifications-get-capabilities): Add optional argument BUS.
4093
4094 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4095
4096 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4097 Add support for the lstlisting and minted environments, and for the
4098 ctable macro.
4099 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4100 labels written in keyvals syntax.
4101
4102 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4103
4104 * calc/calccomp.el (math-compose-expr): Use parentheses when
4105 there is a product in the denominator of a fraction.
4106
4107 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4108
4109 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4110 ($(lisp)/calendar/diary-loaddefs.el)
4111 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4112 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4113 Fixes failures in parallel bootstrap because subdirs.el is being
4114 rewritten while the autoload files are built at the same time,
4115 which needs to load subdirs.el.
4116
4117 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4118
4119 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4120 (mouse-drag-line): Don't exit tracking when a switch-frame or
4121 switch-window event occurs (Bug#12006).
4122
4123 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * mouse.el (popup-menu): Fix last change.
4126
4127 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4128
4129 Autoload from Lisp with more care. Follow aliases when looking for
4130 function properties.
4131 * subr.el (autoloadp): New function.
4132 (symbol-file): Use it.
4133 (function-get): New function.
4134 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4135 autoload-do-load.
4136 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4137 (lisp-indent-function):
4138 * emacs-lisp/gv.el (gv-get):
4139 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4140 * emacs-lisp/byte-opt.el (byte-optimize-form):
4141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4142 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4143 Use function-get.
4144 * emacs-lisp/cl.el: Don't propagate function properties any more.
4145
4146 * speedbar.el (speedbar-add-localized-speedbar-support):
4147 * emacs-lisp/disass.el (disassemble-internal):
4148 * desktop.el (desktop-load-file):
4149 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4150 (describe-function-1):
4151 * emacs-lisp/find-func.el (find-function-noselect):
4152 * emacs-lisp/elp.el (elp-instrument-function):
4153 * emacs-lisp/advice.el (ad-has-proper-definition):
4154 * apropos.el (apropos-safe-documentation, apropos-macrop):
4155 * emacs-lisp/debug.el (debug-on-entry):
4156 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4157 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4158 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4159
4160 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4161
4162 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4163 function, not an obsolete variable (Bug#12046).
4164
4165 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4166
4167 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4168
4169 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4170
4171 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4172 window only if it is still live (Bug#12034).
4173
4174 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4175
4176 * subr.el (redirect-frame-focus): Add advertised calling
4177 convention (Bug#12030).
4178
4179 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4180
4181 Prefer typical American spelling for "acknowledgment".
4182 * vc/add-log.el (change-log-acknowledgment): Rename from
4183 change-log-acknowledgement, with an alias for the old name.
4184
4185 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4186
4187 * calc-alg.el (math-simplify-divide): Don't cross multiply
4188 in an equation when the lhs is a variable.
4189
4190 2012-07-24 Julien Danjou <julien@danjou.info>
4191
4192 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4193 Remove, unused.
4194
4195 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4196
4197 * startup.el (command-line): Don't display an empty user name in
4198 the error message about non-existent home directory, when
4199 init-file-user was set to an empty string. See
4200 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4201 for the details and context.
4202
4203 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4204
4205 * ses.el (ses-cell-formula-aset): New macro.
4206 (ses-cell-references-aset): New macro.
4207 (ses-cell-p): New function.
4208 (ses-rename-cell): Do no longer rely on complex operations like
4209 ses-cell-set-formula or ses-set-cell to change the cell and handle
4210 the undo at the same time, but rather use lower level new macros
4211 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4212 the undo directly. Refresh the mode line.
4213
4214 2012-07-21 Leo Liu <sdl.web@gmail.com>
4215
4216 * progmodes/cc-cmds.el (c-defun-name):
4217 Use match-string-no-properties instead for consistency.
4218
4219 2012-07-20 Leo Liu <sdl.web@gmail.com>
4220
4221 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4222 (Bug#7879)
4223
4224 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4225
4226 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4229 * progmodes/bug-reference.el, misearch.el: Provide themselves
4230 (bug#11915).
4231
4232 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4233 of narrowed buffer (bug#11966).
4234
4235 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4236
4237 * ses.el (ses-rename-cell): Set new name also in reference list of
4238 cells of which the renamed cell depends.
4239
4240 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4241
4242 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4243 to check whether menu-bar is shown or not. If not shown,
4244 show the menu-bar as a popup menu instead of using tmm.
4245 * mouse.el (popup-menu): Accept `point' as `position' argument.
4246
4247 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4248
4249 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4250 up inside string symbol literal (bug#11923).
4251
4252 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4253
4254 * startup.el (fancy-startup-text): Read the whole tutorial, not
4255 just its first 256 bytes. Prevents gibberish in display of the
4256 tutorial title.
4257
4258 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4259
4260 Drop idle buffer compaction due to an absence of the
4261 proved efficiency.
4262 * compact.el: Remove.
4263
4264 2012-07-19 Sam Steingold <sds@gnu.org>
4265
4266 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4267 vc-bzr-pull & vc-bzr-merge-branch.
4268 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4269 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4270 for consistency with compilation-error-regexp-alist.
4271 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4272 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4273 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4274 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4275
4276 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * emacs-lisp/chart.el: Use lexical-binding.
4279 (chart-emacs-storage): Don't hardcode the list of entries.
4280
4281 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4282
4283 Next round of tweaks caused by Fgarbage_collect changes.
4284 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4285
4286 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4287
4288 Compact buffers when idle.
4289 * compact.el: New file.
4290
4291 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4292
4293 * subr.el (eventp): Presume that if it looks vaguely like an event,
4294 it's an event (bug#10190).
4295
4296 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4297
4298 Enhancements to ppss related code (thanks Stefan).
4299 * progmodes/python.el (python-indent-context)
4300 (python-indent-calculate-indentation, python-indent-dedent-line)
4301 (python-indent-electric-colon, python-nav-forward-block)
4302 (python-mode-abbrev-table)
4303 (python-info-assignment-continuation-line-p): Simplify checks
4304 for ppss context.
4305 (python-info-continuation-line-p): Cleanup.
4306 (python-info-ppss-context): Do not catch 'quote.
4307 (python-info-ppss-context-type)
4308 (python-info-ppss-comment-or-string-p): Simplify.
4309
4310 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4311
4312 * progmodes/python.el: Enhancements to eldoc support.
4313 (python-info-current-symbol): New function.
4314 (python-eldoc-at-point): Use python-info-current-symbol.
4315 (python-info-current-defun): Fix cornercase on first defun scan.
4316 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4317 and signal error when no inferior python process is available.
4318
4319 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4320
4321 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4322 assume it's always t.
4323 (vc-git-registered): Remove caching, the function is only called
4324 once.
4325 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4326
4327 2012-07-18 Chong Yidong <cyd@gnu.org>
4328
4329 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4330
4331 * simple.el (count-words): Report on narrowing (Bug#9959).
4332
4333 * bindings.el: Bind M-= to count-words.
4334
4335 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4336
4337 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4338
4339 * progmodes/sh-script.el (sh-imenu-generic-expression):
4340 Capture a function with `function' keyword and without parentheses
4341 like "function FOO" (bug#11856).
4342
4343 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4344
4345 * window.el (split-window-sensibly): Make WINDOW argument
4346 optional.
4347
4348 2012-07-18 Chong Yidong <cyd@gnu.org>
4349
4350 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4351
4352 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4353 and make C-x 8 RET exit isearch (Bug#11439).
4354
4355 * international/iso-transl.el: Move isearch-mode-map key
4356 definitions to isearch.el.
4357
4358 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4361 (eieio-defclass): Use gv-define-setter when possible.
4362
4363 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4364
4365 Reflect recent changes in Fgarbage_collect.
4366 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4367 reflect new format of data returned by Fgarbage_collect.
4368
4369 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4370
4371 New utility functions + python-info-ppss-context fix (Bug#11910).
4372 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4373 (python-info-ppss-comment-or-string-p): New functions.
4374 (python-info-ppss-context): Small fix for string check.
4375
4376 2012-07-17 Juri Linkov <juri@jurta.org>
4377
4378 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4379 (dired-do-async-shell-command): Don't add `*' at the end of the
4380 command (Bug#11815).
4381 (dired-do-shell-command): Doc fix.
4382 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4383 Join the individual commands using either "&" or ";" as the
4384 separator depending on the values of these trailing characters.
4385 At the end re-add the trailing "&". (Bug#10598)
4386
4387 * simple.el (async-shell-command): Sync the interactive spec with
4388 `shell-command'. Doc fix.
4389 (shell-command): Doc fix.
4390
4391 2012-07-17 Juri Linkov <juri@jurta.org>
4392
4393 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4394
4395 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4396
4397 Final renames and doc fixes for movement commands (bug#11899).
4398 * progmodes/python.el (python-nav-beginning-of-statement):
4399 Rename from python-nav-statement-start.
4400 (python-nav-end-of-statement): Rename from
4401 python-nav-statement-end.
4402 (python-nav-beginning-of-block): Rename from
4403 python-nav-block-start.
4404 (python-nav-end-of-block): Rename from python-nav-block-end.
4405
4406 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4407
4408 * progmodes/python.el (python-shell-send-string-no-output):
4409 Allow accept-process-output to quit, keeping shell process ready for
4410 future interactions (Bug#11868).
4411
4412 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4415
4416 * emacs-lisp/elint.el (elint-find-args-in-code):
4417 Use help-function-arglist, so as to handle lexical byte-code.
4418
4419 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4420 change (bug#11826).
4421
4422 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4425 Avoid spuriously marking the buffer as modified because of c-is-sws.
4426
4427 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4428 as not-a-comment (bug#11946).
4429
4430 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4431 for uninterned vars.
4432
4433 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4434 Use read-event since we don't really want to read chars but bytes.
4435
4436 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4437 $$..$$ but also $..$ using regexps (bug#11953).
4438 Use tex-verbatim for \url and \path.
4439 (tex-font-lock-keywords): Define as defconst like the others.
4440 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4441
4442 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4443
4444 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4445 alias for insert-char.
4446
4447 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4448
4449 * progmodes/python.el: Simplified imenu implementation.
4450 (python-nav-jump-to-defun): Remove command.
4451 (python-mode-map): Use `imenu' instead.
4452 (python-nav-list-defun-positions-cache)
4453 (python-imenu-include-defun-type, python-imenu-make-tree)
4454 (python-imenu-subtree-root-label, python-imenu-index-alist):
4455 Remove vars.
4456 (python-nav-list-defun-positions, python-nav-read-defun)
4457 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4458 (python-imenu-make-tree, python-imenu-create-index):
4459 Remove functions.
4460 (python-mode): Update to interact with imenu by setting
4461 `imenu-extract-index-name-function' only.
4462
4463 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4464
4465 * progmodes/python.el: Enhancements to navigation commands.
4466 (python-nav-backward-sentence)
4467 (python-nav-forward-sentence): Remove.
4468 (python-nav-backward-statement, python-nav-forward-statement)
4469 (python-nav-statement-start, python-nav-statement-end)
4470 (python-nav-backward-block, python-nav-forward-block)
4471 (python-nav-block-start, python-nav-block-end)
4472 (python-nav-forward-sexp-function)
4473 (python-info-current-line-comment-p)
4474 (python-info-current-line-empty-p): New functions.
4475 (python-indent-context): Use `python-nav-statement-start'.
4476
4477 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4478
4479 * eshell/em-ls.el (eshell/ls): Use `apply'.
4480
4481 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4482 multi-hops, instead of Tramp internals.
4483
4484 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4485
4486 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4487 when F1 and F2 are located on different hosts.
4488
4489 2012-07-14 Chong Yidong <cyd@gnu.org>
4490
4491 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4492 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4493 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4494 (xterm-mouse--read-event-sequence-1000)
4495 (xterm-mouse--read-event-sequence-1006): New functions. For old
4496 mouse protocol, handle M-mouse-X events correctly.
4497 (xterm-mouse-event): New arg specifying mouse protocol.
4498 (turn-on-xterm-mouse-tracking-on-terminal)
4499 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4500 sequence to toggle extended coordinates on newer XTerms.
4501 This appears to be harmless on terminals which do not support this.
4502
4503 2012-07-14 Leo Liu <sdl.web@gmail.com>
4504
4505 Add fringe bitmap indicators for flymake. (Bug#11253)
4506 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4507 (flymake-make-overlay): New arg BITMAP.
4508 (flymake-error-bitmap, flymake-warning-bitmap)
4509 (flymake-fringe-indicator-position): New user variables.
4510
4511 * fringe.el: New bitmap exclamation-mark.
4512
4513 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4514
4515 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4516 also (Bug#7879).
4517
4518 2012-07-14 Chong Yidong <cyd@gnu.org>
4519
4520 * electric.el (electric-pair-post-self-insert-function): Fix pair
4521 insertion in empty-region case (Bug#11520).
4522
4523 2012-07-14 Chong Yidong <cyd@gnu.org>
4524
4525 * bindings.el: Consolidate ctl-x-r-map bindings.
4526 Bind copy-rectangle-as-kill to C-x r w.
4527
4528 * rect.el, register.el: Move bindings to bindings.el.
4529
4530 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4531
4532 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4533
4534 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4535
4536 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4537
4538 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4539
4540 * bindings.el (top): Use `mapc' instead of `mapcar'.
4541
4542 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4543
4544 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * progmodes/sql.el (sql-comint): Suppress the check for program on
4547 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4548 (Bug#11908)
4549
4550 2012-07-13 Chong Yidong <cyd@gnu.org>
4551
4552 * bindings.el: Assign a non-nil permanent-local property to
4553 per-buffer variables which lack a default value (Bug#11930).
4554
4555 * help-fns.el (describe-variable): In the "automatically becomes
4556 local" notice, take note of permanent-local variables.
4557
4558 2012-07-13 Chong Yidong <cyd@gnu.org>
4559
4560 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4561 to allow printing the message when called from Lisp.
4562
4563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4564 Remove toggle-read-only.
4565
4566 * bs.el (bs-toggle-readonly):
4567 * buff-menu.el (Buffer-menu-toggle-read-only):
4568 Remove with-no-warnings around toggle-read-only.
4569
4570 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4571 Remove with-no-warnings around toggle-read-only.
4572 (ffap-read-only, ffap-read-only-other-window)
4573 (ffap-read-only-other-frame): Callers changed.
4574
4575 * help-mode.el: Don't require view package.
4576 (help-mode-finish): Set buffer-read-only instead of calling
4577 toggle-read-only.
4578
4579 * bindings.el (mode-line-toggle-read-only):
4580 * dired.el (dired-toggle-read-only):
4581 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4582 with non-nil second arg.
4583
4584 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4585 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4586 directly.
4587
4588 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4589
4590 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4591 not incf.
4592
4593 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 More CL cleanups and reduction of use of cl.el.
4596 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4597 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4598 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4599 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4600 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4601 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4602 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4603 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4604 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4605 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4606 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4607 * eshell/em-cmpl.el, eshell/em-banner.el:
4608 * calendar/parse-time.el: Use cl-lib.
4609 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4610 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4611 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4612 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4613 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4614 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4615 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4616 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4617 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4618 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4619 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4620 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4621 `lambda' rather than with `quote'.
4622 (eshell-do-opt): Adjust accordingly.
4623 (eshell-process-option): Simplify.
4624 * eshell/esh-var.el:
4625 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4626 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4627 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4628 to `pcase--dontcare'.
4629 * emacs-lisp/cl.el (labels): Mark obsolete.
4630 (cl--letf, letf): Move to cl-lib.
4631 (cl--letf*, letf*): Remove.
4632 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4633 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4634 (cl-progv): Rewrite.
4635 (cl--letf, cl-letf): Move from cl.el.
4636 (cl-letf*): New macro.
4637 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4638
4639 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4640
4641 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4642
4643 2012-07-11 Chong Yidong <cyd@gnu.org>
4644
4645 * vc/log-edit.el (log-edit-vc-backend): New variable.
4646 (log-edit): Doc fix.
4647
4648 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4649 argument of log-edit to set up all local variables.
4650 (vc-start-logentry): New optional arg specifying VC backend.
4651
4652 * vc/vc.el (vc-checkin): Use it.
4653 (vc-deduce-fileset): Handle Log Edit buffers.
4654 (vc-diff): Make first argument optional too.
4655
4656 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4657
4658 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4659
4660 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4661 command, just in case. The function is not needed anymore.
4662 (eshell-external-command): Do not call `eshell-remote-command'.
4663
4664 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 Reduce use of (require 'cl).
4667 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4668 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4669 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4670 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4671 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4672 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4673 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4674 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4675 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4676 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4677 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4678 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4679 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4680 (byte-compile-unfold-bcf, byte-compile-check-variable):
4681 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4682 (byte-compile-nilconstp):
4683 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4684 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4685
4686 * emacs-lisp/gv.el (cond): Make it a valid place.
4687 (if): Simplify slightly.
4688
4689 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4690 (pcase--self-quoting-p): New function.
4691 (pcase--u1): Use it.
4692
4693 2012-07-10 Glenn Morris <rgm@gnu.org>
4694
4695 * emacs-lisp/authors.el (authors-fixed-entries):
4696 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4697
4698 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4699
4700 Rename configure.in to configure.ac (Bug#11603).
4701 * emacs-lisp/authors.el (authors-canonical-file-name):
4702 * progmodes/autoconf.el (autoconf-mode):
4703 Prefer configure.ac to configure.in.
4704
4705 2012-07-08 Chong Yidong <cyd@gnu.org>
4706
4707 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4708 Implement the mouse-1-click-follows-link handling properly.
4709
4710 * info.el (Info-link-keymap): Use follow-link mechanism for
4711 header-line links (Bug#374).
4712
4713 * simple.el (deactivate-mark): Do not set the primary selection
4714 if another program has acquired it (Bug#11772).
4715
4716 2012-07-07 Kevin Ryde <user42@zip.com.au>
4717
4718 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4719 (woman-decode-region): Replace escaped-escapes without destroying
4720 bold or underline (Bug#11552).
4721 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4722
4723 2012-07-07 Chong Yidong <cyd@gnu.org>
4724
4725 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4726 (interprogram-cut-function, interprogram-paste-function):
4727 Mention that we typically mean the clipboard.
4728
4729 2012-07-06 Glenn Morris <rgm@gnu.org>
4730
4731 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4732
4733 * files.el (toggle-read-only): Restrict message to interactive use.
4734
4735 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4738
4739 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4740
4741 2012-07-06 Glenn Morris <rgm@gnu.org>
4742
4743 * Makefile.in (compile-one-process): Rename from "recompile".
4744
4745 * Makefile.in (bzr-update): "compile" is the same as "recompile
4746 autoloads", but parallelizable, so use that instead.
4747
4748 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4749
4750 * window.el (quit-window): Always restore window height when
4751 it's saved in quit-restore parameter (Bug#11810).
4752
4753 2012-07-06 Glenn Morris <rgm@gnu.org>
4754
4755 * simple.el (kill-whole-line): Doc tweak.
4756
4757 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4758
4759 * files.el (file-relative-name): Compare file names
4760 case-insensitively if on MS-Windows or MS-DOS, or if
4761 read-file-name-completion-ignore-case is non-nil. Don't use
4762 case-fold-search for this purpose. (Bug#11827)
4763
4764 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4765
4766 * calendar/cal-dst.el (calendar-current-time-zone):
4767 Return calendar-current-time-zone-cache if non-nil.
4768
4769 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4770 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4771
4772 * calendar/cal-dst.el (calendar-current-time-zone):
4773 Return calendar-current-time-zone-cache if non-nil.
4774
4775 2012-07-06 Glenn Morris <rgm@gnu.org>
4776
4777 * Makefile.in (cvs-update): Remove old alias.
4778
4779 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4780
4781 Sync with Tramp 2.2.6-pre.
4782
4783 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4784 compatible declaration.
4785
4786 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4787 Protect `list-load-path-shadows' call.
4788
4789 * net/tramp-compat.el (top): Require packages, which aren't
4790 autoloaded anymore for XEmacs. Protect call of
4791 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4792 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4793 it hurts at least for SXEmacs.
4794 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4795 standard-value for `temporary-file-directory'.
4796
4797 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4798 Redirect stderr to /dev/null.
4799 (tramp-sh-handle-write-region): uid and gid can be floats.
4800 Reported by Russell Sim <russell.sim@gmail.com>.
4801 (tramp-sh-handle-vc-registered): Hide errors.
4802 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4803 and `start-file-process'.
4804 (tramp-maybe-open-connection): Check also whether `non-essential'
4805 is bound.
4806
4807 2012-07-04 Chong Yidong <cyd@gnu.org>
4808
4809 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4810 (xml-parse-tag): Likewise, and avoid changing entity tables.
4811 (xml-syntax-table): Define from scratch, making sure not to give
4812 x2000 and other Unicode spaces whitespace syntax, since those are
4813 not spaces in XML.
4814 (xml-parse-fragment): Delete unused function.
4815 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4816 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4817 (xml-entity-ref, xml-pe-reference-re)
4818 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4819 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4820 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4821 (xml-entity-value-re): Use syntax references in regexps where
4822 possible; no need to define inside a let-binding.
4823 (xml-parse-dtd): Use xml-pe-reference-re.
4824 (xml-entity-or-char-ref-re): New defconst.
4825 (xml-parse-string, xml-substitute-special): Use it.
4826
4827 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4828
4829 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4830 (find-file--read-only): New function.
4831 (find-file-read-only, find-file-read-only-other-window)
4832 (find-file-read-only-other-frame): Use it.
4833 (insert-file-contents-literally): Don't `fset'.
4834 (get-free-disk-space): Use locate-dominating-file.
4835
4836 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4837 function is already compiled.
4838
4839 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4840
4841 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4842
4843 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4844 files on the same host.
4845
4846 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4847
4848 * help-fns.el (describe-function-1): Only call
4849 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4850
4851 2012-07-03 Chong Yidong <cyd@gnu.org>
4852
4853 * xml.el: Protect parser against XML bombs.
4854 (xml-entity-expansion-limit): New variable.
4855 (xml-parse-string, xml-substitute-special): Use it.
4856 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4857
4858 2012-07-03 Glenn Morris <rgm@gnu.org>
4859
4860 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4861 Allow linking to specific messages in debbugs reports (eg 123#5).
4862
4863 2012-07-02 Chong Yidong <cyd@gnu.org>
4864
4865 * xml.el: Fix entity and character reference expansion, allowing
4866 them to expand into markup as per XML spec.
4867 (xml-default-ns): New variable.
4868 (xml-entity-alist): Use XML spec definitions for lt and amp.
4869 (xml-parse-region): Make first two arguments optional.
4870 Discard text properties.
4871 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4872 All callers changed.
4873 (xml-parse-tag): Call xml-parse-tag-1. For backward
4874 compatibility, this function should not modify buffer contents.
4875 (xml-parse-tag-1): Fix opening-tag regexp.
4876 (xml-parse-string): Rewrite, handling entity and character
4877 references properly.
4878 (xml--entity-replacement-text): Signal an error if a parameter
4879 entity is undefined.
4880
4881 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * comint.el (comint-output-filter): Filter out repeated prompts.
4884
4885 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4886 and file-name-absolute-p.
4887 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4888 internal calls.
4889
4890 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4891
4892 Spelling fixes.
4893 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4894 Rename from byte-compile--refiy-function. All uses changed.
4895
4896 2012-07-01 Chong Yidong <cyd@gnu.org>
4897
4898 * xml.el (xml--parse-buffer): New function. Move most of
4899 xml-parse-region here.
4900 (xml-parse-region): Copy region into a temporary buffer, since
4901 parameter entity substitution requires changing buffer contents.
4902 Use xml--parse-buffer.
4903 (xml-parse-file): Use xml--parse-buffer.
4904 (xml-parse-dtd): Make parameter entity substitution work right.
4905 Use proper regexps for ELEMENT declarations (Bug#7172).
4906
4907 2012-06-30 Glenn Morris <rgm@gnu.org>
4908
4909 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4910
4911 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4912 Remove outdated and unnecessary dbus declarations.
4913
4914 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4915
4916 * emacs-lisp/timer.el (timer-until): Subtract results of
4917 float-time, instead of taking float-time of the result of
4918 time-subtract, since float-time signals an error for negative time
4919 arguments.
4920
4921 2012-06-30 Chong Yidong <cyd@gnu.org>
4922
4923 * xml.el (xml-*-re): Convert defvars into defconsts, and
4924 eval-and-compile them so eval-and-compile works on derivatives.
4925 (xml--entity-replacement-text): Use eval-and-comple.
4926
4927 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * vc/vc-git.el (vc-git-registered): Use cache property
4930 `git-registered'.
4931 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4932 `vc-git-working-revision' in order to benefit from the cache.
4933 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4934
4935 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4936
4937 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4938 removed (likely outside Emacs). (Bug#11757)
4939
4940 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4941
4942 * emacs-lisp/cl-lib.el: Require macroexp.
4943
4944 2012-06-30 Chong Yidong <cyd@gnu.org>
4945
4946 * xml.el: Implement XML parameter entities.
4947 (xml-parameter-entity-alist): New variable.
4948 (xml-parse-region, xml-parse-fragment): Preserve previous values
4949 of xml-entity-alist and xml-parameter-entity-alist, so that
4950 repeated calls on different documents do not change them.
4951 (xml-parse-tag): Fix doctype regexp.
4952 (xml--entity-replacement-text): New function.
4953 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4954 properly requires url retrieval which is unimplemented.
4955 (xml-escape-string): Doc fix.
4956
4957 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4960
4961 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4962
4963 * fringe.el (fringe-mode): Doc fix.
4964
4965 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4966
4967 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4968 is non-nil.
4969 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4970 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4971
4972 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4973
4974 * calendar/cal-dst.el (calendar-current-time-zone):
4975 Return calendar-current-time-zone-cache if non-nil.
4976
4977 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4978
4979 * progmodes/which-func.el (which-func-format):
4980 Add mouse-face. (Bug#11698)
4981
4982 2012-06-29 Leo Liu <sdl.web@gmail.com>
4983
4984 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4985
4986 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * minibuffer.el (minibuffer-confirm-exit-commands):
4989 Add completion-at-point (bug#11725).
4990
4991 2012-06-29 Glenn Morris <rgm@gnu.org>
4992
4993 * progmodes/f90.el (f90-font-lock-keywords-2):
4994 Add some preprocessor elements. (Bug#10499)
4995
4996 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4999 Use syntax-propertize (bug#11739).
5000
5001 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5004
5005 2012-06-28 Julien Danjou <julien@danjou.info>
5006
5007 * term.el (term-handle-colors-array): Use a set of new faces to
5008 color the terminal. Also uses :inverse-video property.
5009 (term-default-fg-color): Set to nil by default, deprecate in favor
5010 of `term-face'.
5011 (term-default-bg-color): Set to nil by default, deprecate in favor
5012 of `term-face'.
5013 (term-current-face): Use `term-face' by default.
5014 (term-bold-attribute): Variable deleted.
5015
5016 2012-06-28 Glenn Morris <rgm@gnu.org>
5017
5018 * simple.el (completion-list-mode-finish):
5019 Don't use toggle-read-only. (Since completion-list-mode has
5020 a special mode-class, it wasn't doing anything extra anyway.)
5021
5022 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 Make inlining of other-mode interpreted functions work (bug#11799).
5025 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5026 (byte-compile): Use it to fix compilation of lexical-binding closures.
5027 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5028 function, if needed.
5029
5030 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * help-mode.el (help-make-xrefs): Don't just withstand
5033 cyclic-variable-indirection but any error in documentation-property.
5034
5035 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5036 memory use.
5037 * bindings.el (bindings--define-key): New function.
5038 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5039 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5040 * bindings.el: Use it to purecopy define-key bindings.
5041
5042 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5043
5044 * emacs-lisp/cl.el (flet): Mark obsolete.
5045 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5046 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5047 * progmodes/js.el (js-c-fill-paragraph):
5048 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5049 (ebrowse-switch-member-buffer-to-derived-class):
5050 * play/5x5.el (5x5-solver): Use cl-flet.
5051
5052 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5053 (cl--symbol-function): New macro.
5054 (cl--letf, cl--letf*): Use it.
5055
5056 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5057 Strip "toggle-" if any.
5058
5059 2012-06-27 Glenn Morris <rgm@gnu.org>
5060
5061 * info.el (Info-default-directory-list): Move here from paths.el.
5062 * paths.el: Remove file, which is now empty.
5063 * loadup.el: No longer load "paths".
5064
5065 * custom.el (custom-initialize-delay): Doc fix.
5066
5067 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5068 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5069 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5070 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5071 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5072 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5073 * eshell/eshell.el (eshell-defgroup): Remove alias.
5074
5075 2012-06-27 Chong Yidong <cyd@gnu.org>
5076
5077 * help.el (help-enable-auto-load): New variable.
5078
5079 * help-fns.el (help-fns--autoloaded-p): New function.
5080 (describe-function-1): Refer to a function as "autoloaded" if it
5081 was autoloaded at any time in the past. Perform autoloading if
5082 help-enable-auto-load is non-nil.
5083
5084 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5085
5086 * makefile.w32-in (compile, compile-always): Depend on
5087 update-subdirs, not on subdirs.el. Otherwise, several different
5088 sub-targets of 'bootstrap' running in parallel could
5089 simultaneously write to subdirs.el, producing a garbled file.
5090
5091 2012-06-26 Sam Steingold <sds@gnu.org>
5092
5093 * files.el (file-name-base): New convenience function.
5094 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5095 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5096 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5097 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5098 * textmodes/ispell.el, textmodes/reftex-ref.el:
5099 * textmodes/tex-mode.el: Use it.
5100 Did not touch cedet and org because they are maintained elsewhere.
5101
5102 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5103
5104 * calendar/calendar.el (calendar-exit): Don't try to delete or
5105 iconify last frame. See:
5106 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5107
5108 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5109
5110 * server.el (server-process-filter): Remember dir in the
5111 process's `server-client-directory' properties.
5112
5113 2012-06-24 Chong Yidong <cyd@gnu.org>
5114
5115 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5116 non-tag text.
5117
5118 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5119
5120 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5121
5122 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * help-fns.el (describe-variable): Don't croak when doc is not found.
5125 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5126 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5127 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5128 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5129 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5130 ((lambda ..) ..).
5131 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5132
5133 2012-06-23 Chong Yidong <cyd@gnu.org>
5134
5135 * info.el (Info-mouse-follow-link): Accept symbol values of
5136 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5137 (Info-fontify-node): Use Info-link-keymap for all navigation
5138 buttons, with link-args property to perform the desired action.
5139 (Info-link-keymap): Doc fix.
5140 (Info-next-link-keymap, Info-prev-link-keymap)
5141 (Info-up-link-keymap): Delete now-unused keymaps.
5142
5143 2012-06-23 Chong Yidong <cyd@gnu.org>
5144
5145 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5146
5147 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5148 system abbrevs.
5149
5150 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5151
5152 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5155 (bug#11719).
5156
5157 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5158 the requote function doesn't work properly (bug#11714).
5159
5160 2012-06-23 Glenn Morris <rgm@gnu.org>
5161
5162 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5163
5164 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 Further GV/CL cleanups.
5167 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5168 gv-expander.
5169 (gv--defun-declaration): New function.
5170 (defun-declarations-alist): Use it.
5171 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5172 (gv-place): Autoload.
5173 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5174 original definition of dotimes and dolist.
5175 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5176 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5177 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5178 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5179 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5180 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5181 to the function's definition.
5182 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5183 * window.el:
5184 * files.el:
5185 * faces.el:
5186 * env.el: Don't use CL.
5187
5188 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5189
5190 Support higher-resolution time stamps (Bug#9000).
5191
5192 * calendar/time-date.el (with-decoded-time-value): New arg
5193 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5194 (encode-time-value): New optional arg PICO. New type 3.
5195 (time-to-seconds) [!float-time]: Support the new picoseconds
5196 component if it's used.
5197 (seconds-to-time, time-subtract, time-add):
5198 Support ps-resolution time stamps as well.
5199
5200 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5201 (timerp): Timer vectors now have length 9, not 8.
5202 (timer--time): Support new-style (4-part) time stamps.
5203 (timer-next-integral-multiple-of-time): Time stamps now have
5204 picosecond resolution, so take a bit more care about rounding.
5205 (timer-relative-time, timer-inc-time): New optional arg psecs.
5206 (timer-set-time-with-usecs): Set psecs to 0.
5207 (timer--activate): Check psecs component, too.
5208
5209 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5210
5211 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5214 Move the non-essential binding to the post/pre-command-hook where it is
5215 more obviously correct.
5216
5217 * subr.el (read-passwd): Don't use a history at all.
5218 * savehist.el (savehist-save): Remove password saved accidentally
5219 because of the above bug.
5220
5221 2012-06-22 Bastien Guerry <bzg@gnu.org>
5222
5223 * files.el (toggle-read-only): Display a message telling whether
5224 the buffer is read-only or not (bug#11726).
5225
5226 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/gv.el: New file.
5229 * subr.el (push, pop): Extend to generalized variables.
5230 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5231 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5232 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5233 gv-define-simple-setter, and gv-define-expander.
5234 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5235 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5236 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5237 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5238 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5239 gv-letplace.
5240 (cl-defstruct): Don't define setf-method any more.
5241 * emacs-lisp/cl.el (flet): Don't autoload.
5242 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5243 (define-setf-expander, defsetf, define-modify-macro)
5244 (cl-struct-setf-expander): Move from cl-lib.el.
5245 * emacs-lisp/syntax.el:
5246 * emacs-lisp/ewoc.el:
5247 * emacs-lisp/smie.el:
5248 * emacs-lisp/cconv.el:
5249 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5250 (timer--time): Use gv-define-simple-setter.
5251 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5252 to avoid coding-system problems in subr.el. Adjust all users.
5253 (macroexp--maxsize, macroexp-small-p): New functions.
5254 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5255 * scroll-bar.el (scroll-bar-mode):
5256 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5257 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5258 * winner.el (winner-configuration, winner-make-point-alist)
5259 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5260 * files.el (locate-file-completion-table): Avoid list*.
5261
5262 2012-06-22 Chong Yidong <cyd@gnu.org>
5263
5264 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5265 (dired-create-files): Doc fix (Bug#11329).
5266 (dired-do-copy): Doc fix (Bug#11334).
5267 (dired-mark-read-string): Doc fix (Bug#11553).
5268
5269 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5270 Doc fix (Bug#11326).
5271 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5272 (dired-dwim-target): Doc fix.
5273
5274 * wdired.el (wdired-mode): Doc fix.
5275
5276 2012-06-22 Glenn Morris <rgm@gnu.org>
5277
5278 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5279 (pcmpl-rpm-cache-stamp-file): New constant.
5280 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5281 (pcmpl-rpm-packages): Optionally cache list of packages.
5282
5283 * pcmpl-rpm.el (pcmpl-rpm): New group.
5284 (pcmpl-rpm-query-options): New option.
5285 (pcmpl-rpm-packages): No need to inline it.
5286 Use pcmpl-rpm-query-options.
5287
5288 * calendar/calendar.el (calendar-in-read-only-buffer):
5289 Avoid some needless mode changes.
5290
5291 2012-06-21 Chong Yidong <cyd@gnu.org>
5292
5293 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5294 (desktop-path): Remove . from the default value (Bug#10977).
5295 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5296
5297 2012-06-20 Chong Yidong <cyd@gnu.org>
5298
5299 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5300
5301 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5302
5303 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5304 (bug#11201).
5305
5306 2012-06-20 Chong Yidong <cyd@gnu.org>
5307
5308 * term.el (term-window-width): Handle the case of a missing right
5309 fringe (Bug#8837).
5310 (term-check-size): Use window-text-height (Bug#5445).
5311 (term-mode): Use define-derived-mode. Minor cleanups.
5312 Set font-lock-defaults (Bug#7692).
5313 (term-move-columns, term-insert-char, term-emulate-terminal)
5314 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5315
5316 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5317
5318 * net/ange-ftp.el (ange-ftp-get-passwd):
5319 Bind `enable-recursive-minibuffers'.
5320 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5321
5322 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5323
5324 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5325
5326 2012-06-19 Glenn Morris <rgm@gnu.org>
5327
5328 * progmodes/python.el (python-mode): Derive from prog-mode.
5329
5330 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5331
5332 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5333 (edt-user-menu-bar-update-buffers): New functions.
5334 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5335
5336 2012-06-19 Chong Yidong <cyd@gnu.org>
5337
5338 * subr.el (with-selected-window): Preserve the selected window's
5339 terminal's top-frame (Bug#4702).
5340
5341 * window.el (save-selected-window): Likewise.
5342
5343 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * progmodes/python.el (python-rx-constituents): Move backquote.
5346 (python-skeleton-define, python-define-auxiliary-skeleton):
5347 Use `declare'.
5348
5349 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5350
5351 * minibuffer.el (read-file-name-default): Revert the patch from
5352 2012-06-17.
5353
5354 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5357 (pcase--u1, pcase--q1): Don't use apply-partially.
5358
5359 2012-06-18 Glenn Morris <rgm@gnu.org>
5360
5361 * progmodes/python.el (python-proc, python-buffer)
5362 (python-send-receive, python-send-string): Fix obsolete versions.
5363
5364 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5365
5366 * window.el (special-display-p): Completely remove stringp
5367 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5368
5369 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5372
5373 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5374
5375 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5376 * net/tramp-sh.el (tramp-maybe-open-connection):
5377 Throw if `non-essential' is non-nil.
5378
5379 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5380
5381 * window.el (special-display-p): Signal an error if BUFFER-NAME
5382 is not a string (Bug#11713).
5383
5384 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5385
5386 * progmodes/python.el (python-info-beginning-of-backslash):
5387 Rename from python-info-beginning-of-backlash, as a spelling fix.
5388
5389 2012-06-17 Chong Yidong <cyd@gnu.org>
5390
5391 * term.el (term-emulate-terminal): If term-check-size is called,
5392 move point to the process mark without resetting point (Bug#4635).
5393
5394 2012-06-17 Glenn Morris <rgm@gnu.org>
5395
5396 * international/mule-cmds.el (mule-menu-keymap)
5397 (set-language-environment, set-locale-environment): Doc tweaks.
5398
5399 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5400
5401 * cus-face.el (custom-face-attributes): Add wave-style underline
5402 attribute.
5403 * faces.el (set-face-attribute): Update docstring to describe
5404 wave-style underline attribute.
5405
5406 2012-06-16 Chong Yidong <cyd@gnu.org>
5407
5408 * term/xterm.el (terminal-init-xterm): Discard input before
5409 querying background mode (Bug#10959).
5410
5411 2012-06-16 Stefan Merten <smerten@oekonux.de>
5412
5413 * textmodes/rst.el: Added and corrected some comments.
5414 (rst-re-alist-def): Improve symbol syntax.
5415 (rst-mode-syntax-table): Correct syntax entries.
5416 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5417 (rst-official-version, rst-official-cvs-rev): Update version
5418 information.
5419
5420 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5421
5422 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5423 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5424
5425 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5426
5427 * progmodes/python.el: New python.el merge.
5428 (python-guess-indent): Obsolete var.
5429 (python-indent-guess-indent-offset): New defcustom.
5430 (python-indent): Obsolete var.
5431 (python-indent-offset): New defcustom.
5432 (python-python-command, python-jython-command): Delete var.
5433 (python-shell-interpreter): New defcustom.
5434 (python-pdbtrack-do-tracking-p): Delete var.
5435 (python-pdbtrack-activate): New defcustom.
5436 (python-use-skeletons): Obsolete var.
5437 (python-skeleton-autoinsert): New defcustom.
5438 (inferior-python-filter-regexp, python-continuation-offset)
5439 (python-honour-comment-indentation, python-indent-string-contents)
5440 (python-jython-packages, python-mode-hook)
5441 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5442 (python-shell-prompt-alist)
5443 (python-source-modes): Delete defcustoms.
5444 (python-check-buffer-name, python-eldoc-setup-code)
5445 (python-eldoc-string-code, python-ffap-setup-code)
5446 (python-ffap-string-code, python-fill-comment-function)
5447 (python-fill-decorator-function, python-fill-paren-function)
5448 (python-fill-string-function, python-imenu-include-defun-type)
5449 (python-imenu-make-tree, python-imenu-subtree-root-label)
5450 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5451 (python-shell-compilation-regexp-alist)
5452 (python-shell-completion-module-string-code)
5453 (python-shell-completion-pdb-string-code)
5454 (python-shell-completion-setup-code)
5455 (python-shell-completion-string-code)
5456 (python-shell-enable-font-lock, python-shell-exec-path)
5457 (python-shell-extra-pythonpaths)
5458 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5459 (python-shell-process-environment)
5460 (python-shell-prompt-block-regexp)
5461 (python-shell-prompt-output-regexp)
5462 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5463 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5464 (python-shell-virtualenv-path): New defcustoms.
5465 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5466 (inferior-python-mode-syntax-table, python--prompt-regexp)
5467 (python-buffer, python-command python-python-command)
5468 (python-default-template, python-imports, python-indent-index)
5469 (python-indent-list, python-indent-list-length)
5470 (python-mode-running, python-pdbtrack-is-tracking-p)
5471 (python-preoutput-continuation, python-preoutput-leftover)
5472 (python-preoutput-result, python-preoutput-skip-next-prompt)
5473 (python-prev-dir/file, python-recursing)
5474 (python-saved-check-command, python-version-checked)
5475 (python-which-func-length-limit)
5476 (view-return-to-alist): Delete vars.
5477 (python-check-custom-command, python-dotty-syntax-table)
5478 (python-imenu-index-alist, python-indent-current-level)
5479 (python-indent-dedenters, python-indent-levels)
5480 (python-nav-beginning-of-defun-regexp)
5481 (python-nav-list-defun-positions-cache)
5482 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5483 (python-shell-internal-buffer)
5484 (python-skeleton-available): New vars.
5485 (def-python-skeleton): Delete macro.
5486 (python-skeleton-define): New macro.
5487 (python-define-auxiliary-skeleton, python-rx): New macros.
5488 (python-insert-class): Delete command.
5489 (python-skeleton-class): New command.
5490 (python-insert-def): Delete command.
5491 (python-skeleton-def): New command.
5492 (python-insert-for): Delete command.
5493 (python-skeleton-for): New command.
5494 (python-insert-if): Delete command.
5495 (python-skeleton-if): New command.
5496 (python-insert-try/except, python-insert-try/finally): Delete commands.
5497 (python-skeleton-try): New command.
5498 (python-insert-while): Delete command.
5499 (python-skeleton-while): New command.
5500 (python-backspace): Delete command.
5501 (python-indent-dedent-line-backspace): New command.
5502 (python-electric-colon): Delete command.
5503 (python-indent-electric-colon): New command.
5504 (python-guess-indent): Delete command.
5505 (python-indent-guess-indent-offset): New command.
5506 (python-shift-left): Delete command.
5507 (python-indent-shift-left): New command.
5508 (python-shift-right): Delete command.
5509 (python-indent-shift-right): New command.
5510 (python-find-function): Delete command.
5511 (python-nav-jump-to-defun): New command.
5512 (python-next-statement): Delete command.
5513 (python-nav-forward-sentence): New command.
5514 (python-previous-statement): Delete command.
5515 (python-nav-backward-sentence): New command.
5516 (python-fill-paragraph): Delete command.
5517 (python-fill-paragraph-function): New command.
5518 (python-send-buffer): Delete command.
5519 (python-shell-send-buffer): New command.
5520 (python-send-defun): Delete command.
5521 (python-shell-send-defun): New command.
5522 (python-send-region, python-send-region-and-go): Delete commands.
5523 (python-shell-send-region)
5524 (python-shell-switch-to-shell): New commands.
5525 (python-send-string): Delete command.
5526 (python-shell-send-string): New command.
5527 (python-switch-to-python): Delete command.
5528 (python-shell-switch-to-shell): New command.
5529 (python-describe-symbol): Delete command.
5530 (python-eldoc-at-point): New command.
5531 (python--set-prompt-regexp, python-args-to-list)
5532 (python-after-info-look, python-check-version)
5533 (python-check-comint-prompt, python-find-imports)
5534 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5535 (python-unload-function, python-expand-template)
5536 (python-maybe-jython, python-preoutput-filter)
5537 (python-pdbtrack-get-source-buffer)
5538 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5539 (python-pdbtrack-toggle-stack-tracking)
5540 (python-pdbtrack-track-stack-file, python-initial-text)
5541 (python-first-word, python-comment-line-p, python-send-command)
5542 (python-setup-brm, python-sentinel, python-set-proc)
5543 (python-skip-out, python-input-filter, python-outdent-p)
5544 (python-outline-level, python-backslash-continuation-line-p)
5545 (python-end-of-block, python-end-of-statement, python-mark-block)
5546 (python-beginning-of-block, python-beginning-of-statement)
5547 (python-blank-line-p, python-beginning-of-string)
5548 (python-open-block-statement-p): Delete functions.
5549 (python-indent-line, python-indent-line-1): Delete functions.
5550 (python-indent-line): New function.
5551 (python-indentation-levels): Delete function.
5552 (python-indent-calculate-levels): New function.
5553 (python-proc): Delete function.
5554 (python-shell-get-process): New function.
5555 (python-send-receive): Delete function.
5556 (python-shell-send-string-no-output): New function.
5557 (python-module-path): Delete function.
5558 (python-ffap-module-path): New function.
5559 (python-completion-at-point)
5560 (python-symbol-completions): Delete functions.
5561 (python-completion-complete-at-point): New function.
5562 (python-load-file): Delete function.
5563 (python-shell-send-file): New function.
5564 (python-calculate-indentation): Delete function.
5565 (python-indent-calculate-indentation): New function.
5566 (python-skip-comments/blanks): Delete function.
5567 (python-util-forward-comment): New function.
5568 (python-continuation-line-p): Delete function.
5569 (python-info-continuation-line-p): New function.
5570 (python-which-func, python-current-defun): Delete function.
5571 (python-info-current-defun): New function.
5572 (python-beginning-of-defun): Delete function.
5573 (python-nav-beginning-of-defun): New function.
5574 (python-close-block-statement-p)
5575 (python-block-end-p): Delete function.
5576 (python-info-closing-block): New function.
5577 (python-comint-output-filter-function)
5578 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5579 (python-fill-comment, python-fill-decorator, python-fill-paren)
5580 (python-fill-string, python-imenu-make-element-tree)
5581 (python-imenu-make-tree, python-imenu-tree-assoc)
5582 (python-indent-context, python-indent-dedent-line)
5583 (python-indent-line-function)
5584 (python-indent-post-self-insert-function)
5585 (python-indent-toggle-levels)
5586 (python-info-assignment-continuation-line-p)
5587 (python-info-beginning-of-backlash)
5588 (python-info-block-continuation-line-p)
5589 (python-info-closing-block-message)
5590 (python-info-line-ends-backslash-p)
5591 (python-info-looking-at-beginning-of-defun)
5592 (python-info-ppss-context, python-info-ppss-context-type)
5593 (python-nav-list-defun-positions, python-nav-read-defun)
5594 (python-nav-sentence-end, python-nav-sentence-start)
5595 (python-pdbtrack-comint-output-filter-function)
5596 (python-pdbtrack-set-tracked-buffer)
5597 (python-shell-calculate-exec-path)
5598 (python-shell-calculate-process-environment)
5599 (python-shell-completion--do-completion-at-point)
5600 (python-shell-completion--get-completions)
5601 (python-shell-completion-complete-at-point)
5602 (python-shell-completion-complete-or-indent)
5603 (python-shell-get-or-create-process)
5604 (python-shell-get-process-name)
5605 (python-shell-internal-get-or-create-process)
5606 (python-shell-internal-get-process-name)
5607 (python-shell-internal-send-string, python-shell-make-comint)
5608 (python-shell-parse-command, python-shell-send-setup-code)
5609 (python-skeleton-add-menu-items)
5610 (python-util-clone-local-variables, python-util-position)
5611 (run-python-internal, python-indentation-levels)
5612 (python-nav-beginning-of-defun)
5613 (python-completion-complete-at-point): New functions.
5614 (run-python): Change arguments. New API requirements.
5615
5616 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5619 (bug#11649).
5620
5621 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5622 (macroexp--expand-all): Use it.
5623
5624 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5625 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5626 Use `cl-function' instead.
5627
5628 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5629
5630 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5631 Suggested by Stefan Monnier while discussing bug#11657.
5632
5633 2012-06-14 Sam Steingold <sds@gnu.org>
5634
5635 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5636
5637 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5638
5639 * play/doctor.el (doctor-doc): Remove parameter and use
5640 doctor-sent instead of sent.
5641 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5642
5643 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * files.el: Require cl-lib.
5646 (file-name-non-special): Replace case -> cl-case.
5647
5648 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5649
5650 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5651 mapping from #' to function*.
5652
5653 2012-06-13 Chong Yidong <cyd@gnu.org>
5654
5655 * mouse.el (mouse-drag-track): Do not set the mark if the user
5656 releases the mouse without selecting anything (Bug#11588).
5657
5658 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5661 as well (bug#11646).
5662
5663 * loadup.el: Count byte-code functions as well.
5664
5665 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5666 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5667
5668 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5669 (bug#11649). Add cl-defun and cl-defmacro.
5670
5671 2012-06-13 Drew Adams <drew.adams@oracle.com>
5672
5673 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5674 Fix last change.
5675
5676 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5679 Otherwise, it blocks in batch mode.
5680
5681 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5682
5683 * help-mode.el (bookmark-make-record-default): Declare.
5684
5685 2012-06-13 Chong Yidong <cyd@gnu.org>
5686
5687 * emacs-lisp/package.el (list-packages): Compute a list of
5688 packages that are newly-available since the last list-packages
5689 invocation.
5690 (package-menu--new-package-list): New var.
5691 (package-menu--generate, package-menu--print-info)
5692 (package-menu--status-predicate, package-menu-mark-install):
5693 Handle new status label "new".
5694
5695 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5696
5697 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5698 conversion to backquotes.
5699
5700 2012-06-12 Chong Yidong <cyd@gnu.org>
5701
5702 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5703 Rename from gud-inhibit-global-bindings.
5704
5705 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5706
5707 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5708 hook from nxml-glyph-set-hook.
5709
5710 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5711 declaration.
5712
5713 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5714
5715 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5716 Convert to defcustom.
5717
5718 2012-06-12 Drew Adams <drew.adams@oracle.com>
5719
5720 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5721 New functions.
5722 (help-mode): Use them.
5723
5724 2012-06-11 Glenn Morris <rgm@gnu.org>
5725
5726 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5727 Use preprocessor face for directives.
5728 (fortran-directive-re): Doc fix.
5729
5730 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5733 conversion to backquotes (bug#11652).
5734
5735 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5736 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5737 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5738 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5739 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5740 (cl-ninth, cl-tenth): Mark them as inlinable.
5741 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5742 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5743 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5744 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5745 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5746 (cl-list*, cl-adjoin): Don't put an autoload manually.
5747 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5748 (cl--compiler-macro-list*): Add autoload cookie.
5749 (cl--compiler-macro-cXXr): New function.
5750
5751 * help-fns.el (help-fns--compiler-macro): New function extracted from
5752 describe-function-1; follow aliases and use `compiler-macro' property.
5753 (describe-function-1): Use it.
5754
5755 2012-06-11 Chong Yidong <cyd@gnu.org>
5756
5757 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5758 is uninstalled, if imagemagick is installed.
5759
5760 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/cl-lib.el: Use lexical-binding.
5763 (cl-map-extents, cl-maclisp-member): Remove.
5764 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5765 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5766 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5767 * emacs-lisp/cl-extra.el: Use lexical-binding.
5768 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5769 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5770 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5771 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5772 * emacs-lisp/cl-seq.el: Use lexical-binding.
5773 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5774 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5775 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5776 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5777 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5778 CL's internals.
5779
5780 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5781
5782 Sync with Tramp 2.2.6-pre.
5783
5784 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5785 `print-length' and `print-level' to nil, in order to avoid
5786 truncation. Reported by Christopher Schmidt
5787 <christopher@ristopher.com>.
5788
5789 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5790
5791 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5792 New defmacro.
5793 (tramp-compat-copy-directory): Add optional argument
5794 COPY-CONTENTS. It is not handled yet.
5795
5796 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5797 (tramp-ftp-file-name-p): Simplify.
5798
5799 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5800 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5801 connection vector.
5802
5803 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5804 (tramp-methods): Do not use `tramp-password-end-of-line'.
5805 (tramp-completion-function-alist-putty): Handle UNIX case.
5806 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5807 (tramp-do-file-attributes-with-stat)
5808 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5809 gid as real numbers. They could run out of integer range on cygwin.
5810 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5811 (tramp-sh-handle-expand-file-name): Handle hops.
5812 (tramp-open-connection-setup-interactive-shell):
5813 Use `tramp-cleanup'. Move check for busyboxes ...
5814 (tramp-find-shell): ... here. Simplify implementation.
5815 Set "remote-shell" property also for alternative shells.
5816 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5817 If failing, a regular file would be written otherwise.
5818 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5819 (tramp-find-inline-encoding): Cache the coding commands in the
5820 process cache. Apply test command on the remote side, if defined.
5821 (tramp-find-inline-compress): Cache the compress commands in the
5822 process cache.
5823 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5824 when requested. Handle hops.
5825 (tramp-current-connection): New defvar.
5826 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5827 Throw `suppress', if there was a failed connection shortly before.
5828 Handle user interrupt. (Bug#10187)
5829 (tramp-get-inline-compress, tramp-get-inline-coding):
5830 Read connection properties from the process cache.
5831
5832 * net/tramp-smb.el (tramp-smb-server-version)
5833 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5834 New defconsts.
5835 (tramp-smb-prompt): Extend for powershell prompt.
5836 (tramp-smb-file-name-handler-alist): Add handlers for
5837 `process-file', `shell-command' and `start-file-process'.
5838 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5839 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5840 (tramp-smb-file-name-p): Simplify.
5841 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5842 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5843 (tramp-smb-shell-quote-argument): New defuns.
5844 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5845 Implement using "tar". By this, time-stamps are preserved.
5846 (tramp-smb-handle-copy-file): Handle also the case of directories.
5847 (tramp-smb-do-file-attributes-with-stat)
5848 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5849 Use `tramp-get-connection-buffer').
5850 (tramp-smb-handle-rename-file): Use "rename", when source and
5851 target are on the same share.
5852 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5853 Use `tramp-smb-server-version'.
5854 (tramp-smb-wait-for-output): Remove prompt.
5855
5856 * net/tramp.el (top): Require 'cl.
5857 (tramp-methods, tramp-rsh-end-of-line):
5858 Remove `tramp-password-end-of-line' from docstring.
5859 (tramp-save-ad-hoc-proxies): New defcustom.
5860 (tramp-completion-function-alist): Adapt docstring.
5861 (tramp-default-password-end-of-line): Remove defcustom.
5862 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5863 (tramp-user-regexp, tramp-file-name-regexp-unified)
5864 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5865 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5866 (tramp-remote-file-name-spec-regexp): New defconst.
5867 (tramp-file-name-structure): Extend structure for hops.
5868 (tramp-get-method-parameter): Move up.
5869 (tramp-file-name-p, tramp-dissect-file-name)
5870 (with-parsed-tramp-file-name): Handle hops.
5871 (tramp-file-name-hop): New defun.
5872 (tramp-make-tramp-file-name): New optional arg HOP.
5873 (tramp-message-show-progress-reporter-message): New defvar.
5874 (tramp-with-progress-reporter): Use it. We cannot use
5875 `tramp-message-show-message' here, because this suppresses also
5876 error buffers.
5877 (tramp-error-with-buffer): Suppress buffer view, if
5878 `tramp-message-show-message' is nil.
5879 Use `tramp-get-connection-buffer'.
5880 (tramp-cleanup): New defun.
5881 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5882 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5883 an error unchanged.
5884 (tramp-completion-handle-file-name-all-completions): Handle hops.
5885 Fix an error when called from ido.
5886 (tramp-completion-dissect-file-name): Use better local variable
5887 name. Add hop to the vector.
5888 (tramp-handle-insert-file-contents): Use progress-reporter for the
5889 whole scenario.
5890 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5891 to `t'.
5892 (tramp-check-for-regexp): Simplify search.
5893 (tramp-enter-password): Remove it. Move implementation ...
5894 (tramp-action-password): ... here.
5895 (tramp-mode-string-to-int, tramp-local-host-p)
5896 (tramp-make-tramp-temp-file, tramp-read-passwd)
5897 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5898 Set tramp-autoload cookie.
5899
5900 * net/trampver.el: Update release number.
5901
5902 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5903 Michael Albinus <michael.albinus@gmx.de>
5904
5905 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5906 (tramp-parse-group, tramp-parse-file)
5907 (tramp-parse-shostkeys-sknownhosts): New defuns.
5908 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5909 (tramp-parse-shosts-group, tramp-parse-sconfig)
5910 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5911 (tramp-parse-sknownhosts, tramp-parse-hosts)
5912 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5913 Use them.
5914 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5915 (tramp-parse-putty-group): Don't narrow.
5916 (tramp-parse-putty): Make a loop.
5917 (tramp-file-name-handler): Catch the `suppress' signal.
5918
5919 2012-06-11 Chong Yidong <cyd@gnu.org>
5920
5921 * image.el (imagemagick-register-types): Put the ImageMagick entry
5922 at the end of image-type-file-name-regexps.
5923
5924 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5925
5926 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5927 (pcase, pcase-let*, pcase-dolist): Use them.
5928
5929 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/pcase.el (pcase--let*): New function.
5932 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5933 (pcase--expand): Use macroexp-let².
5934
5935 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5938 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5939 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5940 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5941 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5942 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5943
5944 2012-06-10 Glenn Morris <rgm@gnu.org>
5945
5946 * mail/rmail.el (rmail-yank-current-message): Leave point at
5947 correct position. (Bug#11660)
5948
5949 2012-06-10 Chong Yidong <cyd@gnu.org>
5950
5951 * allout-widgets.el: Fix code header.
5952
5953 2012-06-10 Chong Yidong <cyd@gnu.org>
5954
5955 * cus-edit.el (customize-changed-options-previous-release):
5956 Bump to 24.1.
5957
5958 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5959
5960 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5961
5962 2012-06-09 Chong Yidong <cyd@gnu.org>
5963
5964 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5965
5966 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5967
5968 * window.el (special-display-popup-frame): Don't use
5969 window--display-buffer (Bug#11651).
5970
5971 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5972
5973 Fix parallel builds: make sure loaddefs.el is not being written
5974 while Lisp files are compiled.
5975 (compile): Don't depend on 'mh-autoloads'.
5976 (compile-CMD, compile-SH): Depend on 'autoloads'.
5977 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5978
5979 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5980
5981 2012-06-09 Chong Yidong <cyd@gnu.org>
5982
5983 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5984 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5985 Doc fixes (Bug#11225).
5986
5987 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5990 a function if there's a clear indication that it has a compiler-macro.
5991 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5992 (macro-declarations-alist): Add arglist to declaration functions.
5993 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5994 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5995 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5996 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5997 Also add autoload to find the compiler macro.
5998 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5999 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6000 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6001 (cl--compiler-macro-get): New functions, replacing calls to
6002 cl-define-compiler-macro.
6003 (cl-typep) [compiler-macro]: Use macroexp-let².
6004
6005 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6006
6007 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6008 string properly, fixes Bug#11473.
6009
6010 2012-06-08 Chong Yidong <cyd@gnu.org>
6011
6012 * faces.el (set-face-attribute): Doc fix.
6013 (modify-face): Don't use :bold and :italic.
6014 (error, warning, success): Tweak definitions.
6015
6016 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6017 (custom-modified, custom-set, custom-changed, custom-themed)
6018 (custom-saved, custom-button, custom-button-mouse)
6019 (custom-button-pressed, custom-state, custom-comment-tag)
6020 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6021 (custom-group-subtitle): Use new-style face specs.
6022 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6023 (custom-set-face, custom-changed-face, custom-saved-face)
6024 (custom-button-face, custom-button-pressed-face)
6025 (custom-documentation-face, custom-state-face)
6026 (custom-comment-face, custom-comment-tag-face)
6027 (custom-variable-tag-face, custom-variable-button-face)
6028 (custom-face-tag-face, custom-group-tag-face-1)
6029 (custom-group-tag-face): Remove obsolete face alias.
6030
6031 * epa.el (epa-validity-high, epa-validity-medium)
6032 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6033 (epa-field-name, epa-field-body):
6034 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6035 (font-lock-keyword-face, font-lock-builtin-face)
6036 (font-lock-function-name-face, font-lock-variable-name-face)
6037 (font-lock-type-face, font-lock-constant-face):
6038 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6039 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6040 * speedbar.el (speedbar-button-face, speedbar-file-face)
6041 (speedbar-directory-face, speedbar-tag-face)
6042 (speedbar-selected-face, speedbar-highlight-face)
6043 (speedbar-separator-face):
6044 * whitespace.el (whitespace-newline, whitespace-space)
6045 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6046 (whitespace-line, whitespace-space-before-tab)
6047 (whitespace-space-after-tab, whitespace-indentation)
6048 (whitespace-empty):
6049 * emulation/cua-base.el (cua-global-mark):
6050 * eshell/em-prompt.el (eshell-prompt):
6051 * net/newst-plainview.el (newsticker-new-item-face)
6052 (newsticker-old-item-face, newsticker-immortal-item-face)
6053 (newsticker-obsolete-item-face, newsticker-date-face)
6054 (newsticker-statistics-face, newsticker-default-face):
6055 * net/newst-reader.el (newsticker-feed-face)
6056 (newsticker-extra-face, newsticker-enclosure-face):
6057 * net/newst-treeview.el (newsticker-treeview-face)
6058 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6059 (newsticker-treeview-immortal-face)
6060 (newsticker-treeview-obsolete-face)
6061 (newsticker-treeview-selection-face):
6062 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6063 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6064 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6065 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6066 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6067 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6068 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6069 (mpuz-text):
6070 * progmodes/vera-mode.el (vera-font-lock-number)
6071 (vera-font-lock-function, vera-font-lock-interface):
6072 * textmodes/table.el (table-cell): Use new-style face specs, and
6073 don't use the old :bold and :italic attributes.
6074
6075 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6076 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6077 (ebrowse-member-class, ebrowse-progress): Likewise.
6078 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6079 (ebrowse-file-name-face, ebrowse-default-face)
6080 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6081 (ebrowse-progress-face): Remove obsolete faces.
6082
6083 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6084 Inherit from error and warning faces respectively.
6085
6086 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6087 Likewise.
6088 (flyspell-incorrect-face, flyspell-duplicate-face):
6089 Remove obsolete aliases.
6090
6091 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6092
6093 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6094 Avoid infloop.
6095
6096 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * startup.el (argv, argi): Make lexically scoped.
6099 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6100 * emacs-lisp/cl-macs.el: Use lexical-binding.
6101 Rename cl-bind-* to cl--bind-*.
6102 * files.el: Don't require `cl' since it doesn't use it.
6103 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6104
6105 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6106
6107 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6108 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6109 instead of calling external sort utility.
6110 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6111
6112 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6113
6114 * descr-text.el (describe-char): Mention how to insert the
6115 character, if the current input method doesn't support it.
6116 See the discussion in this thread for the details:
6117 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6118
6119 2012-06-08 Sam Steingold <sds@gnu.org>
6120
6121 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6122 XF86Back to previous-buffer.
6123 (minibuffer-local-map): Bind them to next-history-element and
6124 previous-history-element respectively.
6125 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6126 help-go-back respectively.
6127 * info.el (Info-mode-map): Bind them to Info-history-forward and
6128 Info-history-back respectively.
6129 These are the keys next to Up on the ThinkPad keyboard.
6130
6131 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6134 * emacs-lisp/cl-macs.el: Provide itself.
6135 (cl--labels-convert-cache): New var.
6136 (cl--labels-convert): New function.
6137 (cl-flet, cl-labels): New implementation with new semantics, relying on
6138 lexical-binding.
6139 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6140 (cl-closure-vars, cl--function-convert-cache)
6141 (cl--function-convert): Move from cl-macs.el.
6142 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6143 rename by removing the "cl-" prefix.
6144 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6145
6146 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6147
6148 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6149 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6150 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6151 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6152 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6153 (cl-hash-table-count): Add old compatibility aliases.
6154
6155 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6156 Use macroexpand-all-environment instead.
6157 (cl--old-macroexpand): New var.
6158 (cl--sm-macroexpand): New function.
6159 (cl-symbol-macrolet): Use it during macro expansion.
6160 (cl--function-convert-cache): New var.
6161 (cl--function-convert): New function, extracted from
6162 cl-macroexpand-all.
6163 (cl-lexical-let): Use it.
6164
6165 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6166 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6167 (cl-member): Remove old alias.
6168
6169 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6170 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6171 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6172 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6173 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6174 (cl-macroexpand-cmacs): Remove var.
6175 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6176 Use macroexpand-all instead.
6177
6178 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6181 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6182 (macroexp-copyable-p): New functions and macros.
6183 * emacs-lisp/edebug.el (edebug-unwrap):
6184 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6185 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6186 (pcase--let*): Remove.
6187 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6188 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6189 macroexp-const-p instead.
6190 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6191
6192 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6193 instead of "cl-" for internal definitions. Use macroexp-const-p.
6194 (cl-old-bc-file-form): Remove var.
6195 (cl-const-exprs-p): Remove fun.
6196 (cl-labels, cl-macrolet): Use backquote.
6197 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6198 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6199 (cl-define-setf-expander): Rename from cl-define-setf-method.
6200 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6201
6202 * international/mule-cmds.el: Don't require CL.
6203 (view-hello-file): Don't use `letf'.
6204
6205 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6206
6207 * tmm.el (tmm-prompt): Use string-prefix-p.
6208 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6209 (tmm-add-prompt): Use minibuffer-completion-help.
6210 (tmm-delete-map): Remove.
6211
6212 * subr.el (kbd): Make it its own function.
6213
6214 2012-06-07 Stefan Merten <smerten@oekonux.de>
6215
6216 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6217 Silence compiler warnings. Fix versions.
6218 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6219 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6220 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6221 (rst-package-emacs-version-alist): Correct Emacs version to
6222 represent major merge with upstream.
6223 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6224
6225 2012-06-06 Glenn Morris <rgm@gnu.org>
6226
6227 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6228 Only print environment variables if set.
6229
6230 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6233 (macroexp--cons): Rename from maybe-cons.
6234 (macroexp--accumulate): Rename from macroexp-accumulate.
6235 (macroexp--all-forms): Rename from macroexpand-all-forms.
6236 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6237 (macroexp--expand-all): Rename from macroexpand-all-1.
6238
6239 2012-06-06 Sam Steingold <sds@gnu.org>
6240
6241 * calendar/calendar.el (calendar-in-read-only-buffer):
6242 Call `special-mode' to enable the standard read-only keybindings.
6243
6244 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6247 with "loading" messages (bug#11635).
6248
6249 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6250
6251 * files.el (enable-remote-dir-locals): New option.
6252 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6253
6254 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6255 Ensure, that the temp directory is local.
6256
6257 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6258 `temporary-file-directory'.
6259
6260 * progmodes/python.el (python-send-region): Ensure, that the
6261 temporary file is created also in the remote case.
6262
6263 2012-06-06 Glenn Morris <rgm@gnu.org>
6264
6265 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6266 (vc-rcs-update-changelog): Use it.
6267
6268 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6269
6270 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6271 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6272 (vc-sccs-diff): Replace use of the external vcdiff script.
6273
6274 2012-06-05 Glenn Morris <rgm@gnu.org>
6275
6276 * ledit.el: Move to obsolete/.
6277
6278 2012-06-05 Sam Steingold <sds@gnu.org>
6279
6280 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6281 patch (Bug#11140).
6282
6283 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 * emacs-lisp/cust-print.el: Move to obsolete.
6286
6287 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6288 compiler-macro expansion.
6289
6290 Add native compiler-macro support.
6291 * emacs-lisp/macroexp.el (macroexpand-all-1):
6292 Support compiler-macros directly. Properly follow aliases and apply
6293 the compiler macros more thoroughly.
6294 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6295 macroexpand now properly follows aliases.
6296 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6297 (cl-compiler-macroexpand): Use new prop.
6298 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6299
6300 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6301
6302 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6303
6304 * window.el (get-lru-window, get-mru-window, get-largest-window):
6305 New argument NOT-SELECTED to avoid picking the selected window.
6306 (window--display-buffer-1, window--display-buffer-2): Replace by
6307 new function window--display-buffer
6308 (display-buffer-same-window, display-buffer-reuse-window)
6309 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6310 Use window--display-buffer.
6311 (display-buffer-use-some-window): Remove temporary dedication
6312 hack by calling get-lru-window and get-largest-window with
6313 NOT-SELECTED argument non-nil. Call window--display-buffer.
6314
6315 2012-06-05 Glenn Morris <rgm@gnu.org>
6316
6317 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6318 Replace external vcdiff script.
6319
6320 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6323
6324 2012-06-04 Chong Yidong <cyd@gnu.org>
6325
6326 * image.el (imagemagick-types-inhibit): Revert last change.
6327 Add INFO and M.
6328 (imagemagick-enabled-types): Remove CIN and EPS*.
6329
6330 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * emacs-lisp/cl-lib.el: Rename from cl.el.
6333 * emacs-lisp/cl.el: New compatibility file.
6334 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6335 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6336 to obey the "cl-" prefix.
6337 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6338
6339 2012-06-03 Glenn Morris <rgm@gnu.org>
6340
6341 * emacs-lisp/authors.el (authors-aliases): Addition.
6342
6343 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6344 Fix :version.
6345
6346 2012-06-03 Stefan Merten <smerten@oekonux.de>
6347
6348 * textmodes/rst.el: Add comments.
6349 (rst-transition, rst-adornment): New faces.
6350 (rst-adornment-faces-alist): Make default safe to reevaluate.
6351 Fixes
6352 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6353 Improve customization tags.
6354 (rst-define-level-faces): Clarify meaning.
6355
6356 2012-06-03 Chong Yidong <cyd@gnu.org>
6357
6358 * progmodes/compile.el (compilation-mode-line-fail)
6359 (compilation-mode-line-run, compilation-mode-line-exit):
6360 New faces.
6361 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6362
6363 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6364
6365 * progmodes/which-func.el (which-func-update-ediff-windows):
6366 New function. Use it in ediff-select-hook (Bug#11478).
6367
6368 2012-06-03 Chong Yidong <cyd@gnu.org>
6369
6370 * bindings.el: Remove explicit help text from format-mode-line.
6371 It is now supplied by mode-line-default-help-echo.
6372 (mode-line-front-space, mode-line-end-spaces)
6373 (mode-line-misc-info): New variables.
6374 (mode-line-modes, mode-line-position): Move the default value to
6375 the variable definition.
6376 (mode-line-default-help-echo): New defcustom.
6377 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6378 (mode-line-modified-help-echo): New functions.
6379 (mode-line-mule-info, mode-line-modified): Use them.
6380 (mode-line-eol-desc, propertized-buffer-identification):
6381 Consistency fixes for help text.
6382 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6383 set-buffer-file-coding-system (Bug#289).
6384 (mode-line-mule-info-help-echo): Update help text.
6385
6386 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * simple.el (execute-extended-command): Set real-this-command
6389 (bug#11506).
6390
6391 2012-06-02 Chong Yidong <cyd@gnu.org>
6392
6393 Remove incorrect uses of "modeline" in comments, docstrings, and
6394 function/variable names (Bug#10329).
6395
6396 * cus-edit.el (mode-line):
6397 * dframe.el (dframe-mouse-hscroll):
6398 * emacs-lisp/re-builder.el:
6399 * emacs-lisp/easy-mmode.el (define-minor-mode):
6400 * frame.el (set-frame-name):
6401 * help.el (lookup-minor-mode-from-indicator):
6402 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6403 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6404 (c-toggle-hungry-state):
6405 * progmodes/antlr-mode.el (antlr-language-alist):
6406 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6407 * progmodes/vhdl-mode.el (vhdl-mode):
6408 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6409 * term/ns-win.el (ns-face-at-pos):
6410 * term/sup-mouse.el (sup-mouse-report):
6411 * textmodes/flyspell.el (flyspell-mode-line-string):
6412 * textmodes/ispell.el (ispell-highlight-face):
6413 * textmodes/reftex-global.el:
6414 * vc/vc-arch.el (vc-arch-mode-line-string):
6415 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6416 * vc/vc-git.el (vc-git-mode-line-string):
6417 * vc/vc-hooks.el (vc-display-status)
6418 (vc-default-mode-line-string):
6419 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6420
6421 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6422
6423 * dired.el (dired-sort-set-mode-line): Rename from
6424 dired-sort-set-modeline. All callers changed.
6425
6426 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6427 eshell-status-in-modeline.
6428
6429 * foldout.el (foldout-mode-line-string): Rename from
6430 foldout-modeline-string. All callers changed.
6431 (foldout-update-mode-line): Rename from foldout-update-modeline.
6432
6433 * subr.el (redraw-modeline): Make into obsolete alias.
6434
6435 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6436 timeclock-modeline-display. Make old name an alias.
6437 (timeclock-update-mode-line): Likewise. All callers changed.
6438 (timeclock-mode-line-display): No need to check before using
6439 add-hook.
6440 (timeclock-relative, timeclock-day-over-hook)
6441 (timeclock-use-elapsed, timeclock-mode-string)
6442 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6443
6444 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6445 crisp-mode-modeline-string.
6446
6447 * play/solitaire.el (solitaire-build-mode-line): Rename from
6448 solitaire-build-modeline. All callers changed.
6449
6450 * play/zone.el (zone-hiding-mode-line): Rename from
6451 zone-hiding-modeline. All callers changed.
6452 (zone): Remove unusued `modeline-hidden-level' property.
6453
6454 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6455 xscheme-modeline-initialize. All callers changed.
6456
6457 * strokes.el (strokes-lighter): Rename from
6458 strokes-modeline-string.
6459
6460 * textmodes/sgml-mode.el (html-face-tag-alist)
6461 (html-tag-face-alist): Use mode-line face instead of obsolete
6462 alias modeline.
6463
6464 2012-06-02 Stefan Merten <smerten@oekonux.de>
6465
6466 * textmodes/rst.el: Always require `cl'.
6467 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6468
6469 2012-06-02 Chong Yidong <cyd@gnu.org>
6470
6471 * image.el (imagemagick-enabled-types): Rename from
6472 imagemagick-types-enable. Add many more types.
6473 (imagemagick-types-inhibit): Change default to nil.
6474 (imagemagick-filter-types): Caller changed.
6475
6476 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * emacs-lisp/cl-macs.el: Use backquotes.
6479 (cl-transform-function-property): Use eval-and-compile rather than
6480 abusing `require'.
6481 (defstruct): Use declare-function instead of with-no-warnings.
6482
6483 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6484 (byte-compile-output-docform): Re-add the print-circle bindings.
6485 (byte-compile-fix-header): Use #$ just because it's shorter.
6486 (byte-compile-output-file-form): Remove defun/defmacro.
6487
6488 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6489
6490 * simple.el (choose-completion): Remove now obsolete binding for
6491 owindow.
6492
6493 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6494
6495 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6496 in order to avoid "Stack overflow in regexp matcher".
6497
6498 2012-05-31 Glenn Morris <rgm@gnu.org>
6499
6500 * image.el: For clarity, call imagemagick-register-types at
6501 top-level, rather than relying on a custom :initialize.
6502 (imagemagick-types-enable): New option. (Bug#11557)
6503 (imagemagick-filter-types): New function. (Bug#7406)
6504 (imagemagick-register-types): Use imagemagick-filter-types.
6505 If disabling support, remove elements altogether rather
6506 than using an impossible regexp.
6507 (imagemagick-types-inhibit): Give it the default init function.
6508
6509 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6512 Handle arbitrary file name lengths (Bug#11585).
6513
6514 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6515
6516 * desktop.el (desktop-read): Clear previous and next buffers for
6517 all windows and bury *Messages* buffer (bug#11556).
6518
6519 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 Add `declare' for `defun'. Align `defmacro's with it.
6522 * emacs-lisp/easy-mmode.el (define-minor-mode)
6523 (define-globalized-minor-mode): Don't autoload the var definitions.
6524 * emacs-lisp/byte-run.el: Use lexical-binding.
6525 (defun-declarations-alist, macro-declarations-alist): New vars.
6526 (defmacro, defun): Use them.
6527 (make-obsolete, define-obsolete-function-alias)
6528 (make-obsolete-variable, define-obsolete-variable-alias):
6529 Use `declare'.
6530 (macro-declaration-function): Mark obsolete.
6531 * emacs-lisp/autoload.el: Use lexical-binding.
6532 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6533
6534 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6535
6536 * textmodes/ispell.el (ispell-with-no-warnings):
6537 Define as a macro.
6538 (ispell-kill-ispell, ispell-change-dictionary):
6539 Use `called-interactively-p' for Emacs instead of obsolete
6540 `interactive-p'.
6541
6542 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6545 (macro-declaration-function): Move var from C code.
6546 (macro-declaration-function): Define function with defalias.
6547 * emacs-lisp/macroexp.el (macroexpand-all-1):
6548 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6550 defun/defmacro any more.
6551 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6552 Provide fallback for unknown arglist.
6553 (byte-compile-arglist-warn): Change calling convention.
6554 (byte-compile-output-file-form): Move print-vars binding.
6555 (byte-compile-output-docform): Simplify accordingly.
6556 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6557 (byte-compile-defmacro-declaration): Remove.
6558 (byte-compile-file-form-defmumble): Generalize to defalias.
6559 (byte-compile-output-as-comment): Return byte-positions.
6560 Simplify callers accordingly.
6561 (byte-compile-lambda): Use `assert'.
6562 (byte-compile-defun, byte-compile-defmacro): Remove.
6563 (byte-compile-file-form-defalias):
6564 Use byte-compile-file-form-defmumble.
6565 (byte-compile-defalias-warn): Remove.
6566
6567 2012-05-29 Stefan Merten <smerten@oekonux.de>
6568
6569 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6570 possible. Fix authors. Improve comments. Improve loading of `cl'.
6571
6572 (rst-mode-abbrev-table): Merge definition.
6573 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6574 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6575
6576 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6577
6578 * calendar/icalendar.el
6579 (icalendar-export-region): Export UID properly.
6580
6581 2012-05-29 Leo Liu <sdl.web@gmail.com>
6582 * calendar/icalendar.el (icalendar-import-format):
6583 Add `icalendar-import-format-uid' (Bug#11525).
6584 (icalendar-import-format-uid): New.
6585 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6586 Export UID.
6587
6588 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6591 different alternative patterns.
6592 (pcase-codegen): Be more careful to preserve identity.
6593 (pcase--u1): Don't forget to mark vars as used.
6594
6595 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6596 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6597 (byte-compile-from-buffer): ...rather than here.
6598
6599 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6600 functions from byte-compile-function-environment.
6601
6602 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6603
6604 * window.el (window-deletable-p): Avoid deleting the root window
6605 of a frame with an active minibuffer.
6606
6607 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6608
6609 * simple.el (choose-completion): Use quit-window (Bug#11567).
6610
6611 2012-05-29 Chong Yidong <cyd@gnu.org>
6612
6613 * whitespace.el (whitespace-cleanup): Fix usage of
6614 whitespace-empty-at-bob-regexp (Bug#11492).
6615
6616 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6617
6618 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6619 revert (Bug#11488).
6620
6621 2012-05-29 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-mode-map): Bind `M-s _' to
6624 `isearch-toggle-symbol'. Bind `M-s c' to
6625 `isearch-toggle-case-fold'.
6626 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6627 (isearch-forward): Add `M-s _' to the docstring.
6628 (isearch-forward-symbol, isearch-toggle-case-fold)
6629 (isearch-symbol-regexp): New functions. (Bug#11381)
6630
6631 2012-05-29 Juri Linkov <juri@jurta.org>
6632
6633 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6634 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6635 a function, call it to get the regexp.
6636 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6637 property `isearch-message-prefix' instead of the string "word ".
6638 (isearch-search-fun-default): For the case of `isearch-word',
6639 return a lambda that calls re-search-forward/re-search-backward
6640 with a regexp returned by `word-search-regexp' or by the function
6641 in `isearch-word'.
6642
6643 2012-05-29 Juri Linkov <juri@jurta.org>
6644
6645 * isearch.el (isearch-search-fun-default): New function.
6646 (isearch-search-fun): Move default part to the new function
6647 `isearch-search-fun-default'.
6648 (isearch-search-fun-function): Set the default value to
6649 `isearch-search-fun-default'. (Bug#11381)
6650
6651 * comint.el (comint-history-isearch-end):
6652 Use `isearch-search-fun-default'.
6653 (comint-history-isearch-search): Use `isearch-search-fun-default'
6654 and remove spacial case for `isearch-word'.
6655 (comint-history-isearch-wrap): Remove spacial case for
6656 `isearch-word'.
6657
6658 * hexl.el (hexl-isearch-search-function):
6659 Use `isearch-search-fun-default'.
6660
6661 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6662 Use `word-search-regexp' for `isearch-word'.
6663
6664 * misearch.el (multi-isearch-search-fun):
6665 Use `isearch-search-fun-default'.
6666
6667 * simple.el (minibuffer-history-isearch-search):
6668 Use `isearch-search-fun-default' and remove spacial case for
6669 `isearch-word'.
6670 (minibuffer-history-isearch-wrap): Remove spacial case for
6671 `isearch-word'.
6672
6673 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6674 Remove spacial case for `isearch-word'.
6675 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6676
6677 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6678
6679 Decrease XEmacs incompatibilities.
6680 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6681 Use `string-match'.
6682 (flyspell-delete-region-overlays): Use alternative definition for
6683 XEmacs.
6684 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6685 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6686 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6687 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6688 `define-obsolete-face-alias' under XEmacs, but old method.
6689
6690 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6691 `with-no-warnings' definition or Emacs alias.
6692 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6693 (ispell-word): Do not use `region-p' if XEmacs.
6694
6695 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6696
6697 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6698 Check for `ispell-dictionary-base-alist' instead of full
6699 `ispell-dictionary-alist'.
6700 (ispell-init-process): Show spellchecker when starting new Ispell
6701 process.
6702
6703 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6706 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6707
6708 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * version.el (motif-version-string, gtk-version-string)
6711 (ns-version-string): Declare.
6712
6713 2012-05-27 Juri Linkov <juri@jurta.org>
6714
6715 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6716 after the `eval-defun-1' specialcaseing
6717 like in `edebug-eval-defun' (bug#10181).
6718
6719 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6720 like in `eval-defun-1'.
6721
6722 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6723
6724 * mail/sendmail.el (mail-yank-region):
6725 Recognize rmail-yank-current-message in addition to insert-buffer.
6726 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6727 a *mail* buffer created through rmail-start-mail with sendmail as
6728 mail-user-agent.
6729
6730 2012-05-27 Chong Yidong <cyd@gnu.org>
6731
6732 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6733 Default to 256 (Bug#11267).
6734
6735 * help.el (describe-mode): Doc fix.
6736
6737 2012-05-26 Glenn Morris <rgm@gnu.org>
6738
6739 * w32-fns.el (w32-init-info): Remove.
6740 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6741
6742 * info.el (info-initialize): For self-contained NS builds, put the
6743 included info/ directory at the front. (Bug#2791)
6744
6745 * paths.el (Info-default-directory-list): Make it a defcustom,
6746 mainly so that we can use custom-initialize-delay.
6747
6748 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * subr.el (buffer-has-markers-at): Mark obsolete.
6751
6752 * subr.el (lambda): Use declare.
6753
6754 * emacs-lisp/lisp-mode.el (lambda):
6755 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6756
6757 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6758
6759 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6760
6761 2012-05-26 Glenn Morris <rgm@gnu.org>
6762
6763 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6764
6765 2012-05-25 Glenn Morris <rgm@gnu.org>
6766
6767 * paths.el: Remove no-byte-compile.
6768 * loadup.el: No need to load paths.el uncompiled.
6769
6770 * image.el (imagemagick-types-inhibit): Doc fix.
6771
6772 * version.el: Remove no-byte-compile and associated formatting.
6773 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6774 is ancient code from when there was an "inc-vers.el".
6775
6776 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * progmodes/gdb-mi.el: Minor style changes.
6779 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6780 Turn into minor modes.
6781 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6782 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6783 (gdb-shell): Remove unneeded let-binding.
6784 (gdb-get-many-fields): Eliminate O(n²) behavior.
6785
6786 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6787
6788 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6789 platforms that don't link in fontset.c.
6790
6791 2012-05-25 Juri Linkov <juri@jurta.org>
6792
6793 Use the same diff color scheme as in modern VCSes (bug#10181).
6794
6795 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6796 to avoid confusion with `diff-added' that now uses green colors.
6797 (diff-removed): Use shades of red.
6798 (diff-added): Use shades of green.
6799 (diff-changed): Leave just the yellow color.
6800 (diff-use-changed-face): New variable.
6801 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6802 how to highlight context diff changes.
6803 (diff-refine-change): Use shades of yellow.
6804 (diff-refine-removed): New face that uses shades of red.
6805 (diff-refine-added): New face that uses shades of green.
6806 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6807 `diff-refine-removed' in the call to `smerge-refine-subst'
6808 depending on the value of `diff-use-changed-face'.
6809
6810 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6811 (smerge-other): Use shades of green.
6812 (smerge-base): Use shades of yellow.
6813 (smerge-refined-change): Empty face.
6814 (smerge-refined-removed): New face that uses shades of red.
6815 (smerge-refined-added): New face that uses shades of green.
6816 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6817 args `props-r' and `props-a', and use them. Doc fix.
6818 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6819 on its value use different faces `smerge-refined-change',
6820 `smerge-refined-removed', `smerge-refined-added' in the call to
6821 `smerge-refine-subst'.
6822
6823 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6824 Add face condition `min-colors 88' with shades of red.
6825 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6826 `min-colors 88' with shades of green.
6827 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6828 `min-colors 88' with shades of yellow.
6829
6830 2012-05-24 Glenn Morris <rgm@gnu.org>
6831
6832 * paths.el (prune-directory-list, remote-shell-program): Move to...
6833 * files.el (prune-directory-list, remote-shell-program): ...here.
6834 For the latter, delay initialization, prefer ssh, just search PATH.
6835
6836 * paths.el (term-file-prefix): Move to faces.el (the only user).
6837 * faces.el (term-file-prefix): Move here, make it a defcustom.
6838
6839 * paths.el (news-directory, news-path, news-inews-program):
6840 Move to gnus/nnspool.el.
6841
6842 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6843
6844 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6845 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6846 Make the latter a defcustom, with a delayed initialization.
6847
6848 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6849 These were deleted from Gnus itself late 2010.
6850
6851 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * progmodes/which-func.el (which-func-ff-hook):
6854 Check against user-error, not error.
6855
6856 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6857 cl-specs.el, which no longer exists.
6858
6859 2012-05-22 Glenn Morris <rgm@gnu.org>
6860
6861 * info.el (info-emacs-bug): New command.
6862 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6863 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6864
6865 2012-05-21 Glenn Morris <rgm@gnu.org>
6866
6867 * makefile.w32-in (update-subdirs-SH):
6868 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6869
6870 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6873
6874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6875 Simplify Maven regexp, and make sure the file can't start with a space
6876 (bug#11517).
6877
6878 2012-05-21 Glenn Morris <rgm@gnu.org>
6879
6880 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6881 Scrap superfluous subshells.
6882
6883 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6884
6885 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6886 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6887
6888 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6889
6890 * calc/calc.el (calc-ensure-consistent-units): New variable.
6891
6892 * calc/calc-units.el (math-consistent-units-p)
6893 (math-check-unit-consistency): New functions.
6894 (calc-quick-units, calc-convert-units):
6895 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6896 is non-nil.
6897 (calc-extract-units): Fix typo.
6898
6899 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6902
6903 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6904 (flyspell-default-deplacement-commands): Don't spell check after
6905 repeated window/frame switches (e.g. triggered by mouse-movement).
6906 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6907 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6908 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6909 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6910 Remove unused vars.
6911 (flyspell-get-casechars, flyspell-get-not-casechars):
6912 Simplify; Don't bother removing a ] just to add it back.
6913 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6914
6915 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6916
6917 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6918 New functions.
6919 (math-function-table): Add support for more C functions.
6920
6921 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6922
6923 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6924 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6925 Protect delay handling for otherchars against empty otherchars.
6926
6927 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6928
6929 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6930 their respective macro declarations.
6931 * skeleton.el (define-skeleton):
6932 * progmodes/compile.el (define-compilation-mode):
6933 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6934 (define-ibuffer-filter):
6935 * emacs-lisp/generic.el (define-generic-mode):
6936 * emacs-lisp/easy-mmode.el (define-minor-mode)
6937 (define-globalized-minor-mode):
6938 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6939 * emacs-lisp/byte-run.el (defsubst):
6940 * custom.el (deftheme): Add doc-string metadata.
6941
6942 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6945
6946 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6947
6948 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6949
6950 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6951 * emacs-lisp/cl-macs.el: Idem.
6952 * emacs-lisp/cl-specs.el: Remove.
6953
6954 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6955
6956 Minor renaming of internal CL functions and variables.
6957 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6958 (cl--position): Rename from cl-position.
6959 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6960 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6961 (cl--random-state): Rename from *random-state*.
6962
6963 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6966 parens around the arg list (bug#11499).
6967
6968 2012-05-17 Juri Linkov <juri@jurta.org>
6969
6970 * isearch.el (word-search-regexp, word-search-backward)
6971 (word-search-forward, word-search-backward-lax)
6972 (word-search-forward-lax): Move functions from search.c
6973 (bug#10145, bug#11381).
6974
6975 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6976
6977 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6978 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6979 Delay for otherchars as for normal word components.
6980
6981 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * minibuffer.el (completion--sifn-requote): Fix last change.
6984 (minibuffer-local-must-match-filename-map):
6985 Move define-obsolete-variable-alias before its var.
6986
6987 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6988
6989 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6990
6991 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6992 behavior.
6993 (completion--string-equal-p): New function.
6994 (completion--twq-all): Use it to get better assertion failure data.
6995
6996 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6997 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6998 (shell--requote-argument): New functions.
6999 (shell-completion-vars): Use them.
7000 (shell--parse-pcomplete-arguments): Rename from
7001 shell-parse-pcomplete-arguments.
7002 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7003 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7004 Obey comint-file-name-quote-list.
7005
7006 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7007 (smie-indent-keyword): Use it.
7008
7009 2012-05-14 Stefan Merten <smerten@oekonux.de>
7010
7011 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7012
7013 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * net/rlogin.el (rlogin-mode-map): Fix last change.
7016
7017 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7018
7019 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7020 the following \r\n using a single `process-send-string', since the
7021 Lotus SMTP server refuses to accept any commands if they are sent
7022 with two `process-send-string's (Bug#11444).
7023
7024 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * shell.el (shell-parse-pcomplete-arguments):
7027 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7028
7029 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7030
7031 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7032 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7033 (image-transform-width, image-transform-fit-width): New functions.
7034 (image-transform-properties): Use them.
7035 (image-transform-check-size): New function.
7036 (image-toggle-display-image): Use it (for testing).
7037 (image-transform-set-rotation): Reduce angle mod 360.
7038 Delete obsolete comment.
7039
7040 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7041
7042 * image-mode.el: Fix scaling (bug#11399).
7043 (image-transform-resize): Doc fix.
7044 (image-transform-properties): Default scale is 1 and height should
7045 be an integer.
7046
7047 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7048
7049 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7050 than hard-coding `car', to fix misbehavior when moving forward.
7051
7052 2012-05-13 Chong Yidong <cyd@gnu.org>
7053
7054 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7055 (tabulated-list-entries, tabulated-list-padding)
7056 (tabulated-list-sort-key): Make permanent-local.
7057
7058 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7059 (electric-buffer-list): Put electric buffer menu
7060 command descriptions in this docstring, instead of the docstring
7061 of electric-buffer-menu-mode. Code cleanups.
7062 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7063 Electric-buffer-menu-mode.
7064 (electric-buffer-update-highlight): Minor code cleanup.
7065
7066 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7067
7068 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7069 (Bug#11447)
7070
7071 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7072
7073 Move define-obsolete-variable-alias before the var's definition.
7074 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7075 * tooltip.el (tooltip-hook):
7076 * textmodes/reftex-toc.el (reftex-toc-map):
7077 * textmodes/reftex-sel.el (reftex-select-label-map)
7078 (reftex-select-bib-map):
7079 * textmodes/reftex-index.el (reftex-index-map)
7080 (reftex-index-phrases-map):
7081 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7082 * progmodes/meta-mode.el (meta-mode-map):
7083 * novice.el (disabled-command-hook):
7084 * loadhist.el (unload-hook-features-list):
7085 * frame.el (blink-cursor):
7086 * files.el (find-file-not-found-hooks, write-file-hooks)
7087 (write-contents-hooks):
7088 * emulation/tpu-edt.el (GOLD-map):
7089 * emacs-lock.el (emacs-lock-from-exiting):
7090 * emacs-lisp/generic.el (generic-font-lock-defaults):
7091 * emacs-lisp/chart.el (chart-map):
7092 * dos-fns.el (register-name-alist):
7093 * dired-x.el (dired-omit-files-p):
7094 * desktop.el (desktop-enable):
7095 * cus-edit.el (custom-mode-hook):
7096 * buff-menu.el (buffer-menu-mode-hook):
7097 * bookmark.el (bookmark-read-annotation-text-func)
7098 (bookmark-exit-hooks):
7099 * allout.el (allout-mode-deactivate-hook)
7100 (allout-exposure-change-hook, allout-structure-added-hook)
7101 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7102 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7103 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7104 comes before the corresponding variable's definition.
7105
7106 2012-05-12 Chong Yidong <cyd@gnu.org>
7107
7108 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7109 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7110 (Buffer-menu-mode-map): Bind it.
7111 (Buffer-menu--pretty-name): Add a mouse-face property.
7112
7113 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7116 (prolog-upper-case-string, prolog-lower-case-string)
7117 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7118 (prolog-use-smie, prolog-smie-grammar): New vars.
7119 (prolog-smie-forward-token, prolog-smie-backward-token)
7120 (prolog-smie-rules): New funs.
7121 (prolog-comment-indent): Remove.
7122 (prolog-mode-variables): Use default comment indentation instead.
7123 Setup SMIE.
7124 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7125 (prolog-mode): Don't call them any more.
7126 (prolog-electric-colon, prolog-electric-dash)
7127 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7128
7129 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7130
7131 * minibuffer.el (completion--twq-all): Again, allow case differences.
7132
7133 * term.el: Move keymap initialization code to be more idiomatic.
7134 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7135 (term-terminal-menu): Move initialization into declaration.
7136 (term-escape-char): Let the user set it in her .emacs.
7137
7138 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7139 Provide SMIE-based indentation (not enabled by default yet).
7140 (sh-mode-map): Don't bind electric keys.
7141 Use electric-pair-mode instead of skeleton-pair.
7142 (sh-assignment-regexp): Fit within 80 columns.
7143 (sh-indent-supported): Specify actual shell name instead of boolean.
7144 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7145 (sh-maybe-here-document): Use it. Make obsolete.
7146 (sh-electric-here-document-mode) New minor mode.
7147 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7148 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7149 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7150 (sh-smie-rc-grammar, sh-use-smie): New vars.
7151 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7152 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7153 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7154 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7155 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7156 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7157 (sh-set-shell): Use smie-setup if requested.
7158
7159 * term.el (term-set-escape-char): Properly set term-escape-char.
7160 See http://stackoverflow.com/questions/10524656.
7161
7162 2012-05-10 Chong Yidong <cyd@gnu.org>
7163
7164 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7165 Use url-generic-parse-url, and handle host names and Windows
7166 filenames properly.
7167 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7168 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7169 URL schemes to work on.
7170 (ffap--toggle-read-only): New function.
7171 (ffap-read-only, ffap-read-only-other-window)
7172 (ffap-read-only-other-frame): Use it.
7173 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7174 necessary for ffap-url-unwrap-remote.
7175
7176 2012-05-10 Dave Abrahams <dave@boostpro.com>
7177
7178 * cus-start.el (create-lockfiles): Add it.
7179
7180 2012-05-09 Chong Yidong <cyd@gnu.org>
7181
7182 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7183 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7184
7185 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7188
7189 2012-05-09 Chong Yidong <cyd@gnu.org>
7190
7191 * ansi-color.el (ansi-color-process-output): Check for validity of
7192 comint-last-output-start before using it. This avoids a bad
7193 interaction with gdb-mi's input/output buffer.
7194
7195 2012-05-09 Glenn Morris <rgm@gnu.org>
7196
7197 * files.el (dir-locals-read-from-file):
7198 Mention dir-locals in any error message.
7199
7200 2012-05-09 Chong Yidong <cyd@gnu.org>
7201
7202 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7203 package (Bug#11410).
7204
7205 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7206 variables into description.
7207
7208 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7211 shell-delimiter-argument-list (bug#11348).
7212 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7213
7214 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * textmodes/rst.el: Silence byte-compiler warnings.
7217 (rst-re-alist, rst-reset-section-caches): Move around.
7218 (rst-re): Use `characterp', not `char-valid-p'.
7219 (font-lock-beg, font-lock-end): Declare.
7220
7221 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7222 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7223
7224 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7225
7226 2012-05-08 Glenn Morris <rgm@gnu.org>
7227
7228 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7229
7230 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7231
7232 * vc/log-edit.el: Add GNU coding standards highlighting.
7233 (log-edit-font-lock-gnu-style)
7234 (log-edit-font-lock-gnu-keywords): New vars.
7235 (log-edit-font-lock-keywords): New fun.
7236 (log-edit-mode): Don't fold case in font-lock.
7237 (log-edit-font-lock-keywords): Do not assume case-folding.
7238
7239 * imenu.el: Misc cleanup. Make docstrings out of comments.
7240 Use lexical-binding.
7241 (imenu--index-alist, imenu--last-menubar-index-alist)
7242 (imenu-menubar-modified-tick): Use defvar-local.
7243 (imenu--split-menu): Remove unused var.
7244 (imenu--cleanup-seen): Declare as global.
7245 (imenu--cleanup): Use dolist.
7246
7247 * subr.el (defvar-local): Add debug spec and doc-string position.
7248
7249 2012-05-08 Glenn Morris <rgm@gnu.org>
7250
7251 * language/burmese.el, language/cham.el, language/czech.el:
7252 * language/english.el, language/georgian.el, language/greek.el:
7253 * language/japanese.el, language/khmer.el, language/korean.el:
7254 * language/lao.el, language/misc-lang.el, language/romanian.el:
7255 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7256 * language/thai.el, language/utf-8-lang.el:
7257 Remove no-byte-compile setting.
7258
7259 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7260
7261 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7262
7263 * progmodes/make-mode.el (makefile-browse):
7264 Remove unnecessary interactive. (Bug#11324)
7265
7266 2012-05-07 Glenn Morris <rgm@gnu.org>
7267
7268 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7269
7270 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7271
7272 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * loadup.el: Preload newcomment.el.
7275 * newcomment.el: Move autoload-only code to toplevel.
7276
7277 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7278 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7279 Handle new :right-align column property.
7280 (tabulated-list-print-col): Idem, plus use `display' text-property to
7281 try and preserve alignment for variable pitch fonts.
7282
7283 2012-05-07 Chong Yidong <cyd@gnu.org>
7284
7285 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7286 (tabulated-list-use-header-line): New var.
7287 (tabulated-list-init-header): Use it.
7288 (tabulated-list-print-fake-header): New function.
7289 (tabulated-list-print): Use it.
7290 (tabulated-list-sort-button-map): Add non-header-line commands.
7291 (tabulated-list-init-header): Add column name property to basic
7292 labels as well.
7293 (tabulated-list-col-sort): Handle non-header-line button case.
7294 (tabulated-list--sort-by-column-name): Fix a corner case.
7295
7296 * buff-menu.el (list-buffers--refresh):
7297 Handle Buffer-menu-use-header-line.
7298
7299 2012-05-06 Chong Yidong <cyd@gnu.org>
7300
7301 * buff-menu.el: Convert to Tabulated List mode.
7302 (Buffer-menu-buffer+size-width): Make obsolete.
7303 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7304 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7305 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7306 documentation into docstring of buffer-menu.
7307 (Buffer-menu-toggle-files-only): Add an informative message.
7308 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7309 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7310 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7311 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7312 (Buffer-menu-execute, Buffer-menu-select)
7313 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7314 (Buffer-menu-bury): Use Tabulated List machinery.
7315 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7316 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7317 Delete.
7318 (list-buffers--refresh): New function.
7319 (list-buffers-noselect): Use it.
7320 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7321 (Buffer-menu--pretty-file-name): New helper functions.
7322
7323 * loadup.el: Preload tabulated-list.
7324
7325 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7326 tabulated-list-sort-column.
7327 (tabulated-list-init-header): Add the initial aligning space even
7328 if tabulated-list-padding is zero.
7329
7330 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7331
7332 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7333 whose cdr is not a cons cell correctly (bug#11038).
7334
7335 2012-05-06 Chong Yidong <cyd@gnu.org>
7336
7337 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7338 Accept additional plist in column descriptors.
7339 (tabulated-list-init-header): Obey it.
7340 (tabulated-list-get-entry): New function.
7341 (tabulated-list-put-tag): Use it. Use string-width instead of
7342 length.
7343 (tabulated-list--column-number): New function.
7344 (tabulated-list-print): Use it.
7345 (tabulated-list-print-col): New function.
7346 Set `tabulated-list-column-name' property on each column's text.
7347 (tabulated-list-print-entry): Use it.
7348 (tabulated-list-delete-entry, tabulated-list-set-col):
7349 New functions.
7350 (tabulated-list-sort-column): New command (Bug#11337).
7351
7352 * buff-menu.el (list-buffers): Move C-x C-b binding from
7353 buff-menu.el to bindings.el.
7354
7355 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7356 :advertised-binding feature.
7357
7358 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7359
7360 * progmodes/compile.el (compilation-internal-error-properties):
7361 Calculate start position correctly when end-col is set but
7362 end-line is not (Bug#11382).
7363
7364 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7365
7366 * man.el (Man-unindent): Use text-property-default-nonsticky to
7367 prevent untabify from inheriting face properties (Bug#11408).
7368
7369 2012-05-05 Stefan Merten <smerten@oekonux.de>
7370
7371 * textmodes/rst.el: Major merge with upstream development up to
7372 Docutils SVN r7399 / rst.el V1.2.1.
7373
7374 Clarify maintainership and authors.
7375
7376 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7377 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7378 (rst-official-version, rst-official-cvs-rev, rst-version)
7379 (rst-package-emacs-version-alist): New functions and variables
7380 for version information.
7381
7382 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7383 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7384 (rst-mode-syntax-table, rst-mode): New and corrected functions
7385 and variables representing reStructuredText features.
7386
7387 (rst-re): New function for reStructuredText regexes. Use in
7388 many places.
7389
7390 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7391 (rst-mode-map): Rebind keys.
7392
7393 (rst-mode-lazy, rst-font-lock-keywords)
7394 (rst-font-lock-extend-region)
7395 (rst-font-lock-extend-region-internal)
7396 (rst-font-lock-extend-region-extend)
7397 (rst-font-lock-find-unindented-line-limit)
7398 (rst-font-lock-find-unindented-line-match)
7399 (rst-adornment-level, rst-font-lock-adornment-level)
7400 (rst-font-lock-adornment-match)
7401 (rst-font-lock-handle-adornment-pre-match-form)
7402 (rst-font-lock-handle-adornment-matcher): Major revision of
7403 font-locking. Integrate with other code. Use `jit-lock-mode'.
7404
7405 (rst-preferred-adornments, rst-adjust-hook)
7406 (rst-new-adornment-down, rst-preferred-bullets)
7407 (rst-preferred-bullets, rst-indent, rst-indent-width)
7408 (rst-indent-field, rst-indent-literal-normal)
7409 (rst-indent-literal-minimized, rst-indent-comment): Change,
7410 extend and improve customization.
7411
7412 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7413 (rst-normalize-cursor-position, rst-get-decoration)
7414 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7415 (rst-rstrip, rst-toc-insert-find-delete-contents)
7416 (rst-shift-fill-region, rst-compute-bullet-tabs)
7417 (rst-debug-print-tabs, rst-debug-mark-found)
7418 (rst-shift-region-guts, rst-shift-region-right)
7419 (rst-shift-region-left, rst-use-char-classes)
7420 (rst-font-lock-keywords-function)
7421 (rst-font-lock-indentation-point)
7422 (rst-font-lock-find-unindented-line-begin)
7423 (rst-font-lock-find-unindented-line-end)
7424 (rst-font-lock-find-unindented-line)
7425 (rst-font-lock-adornment-point, rst-font-lock-level)
7426 (rst-adornment-level-alist): Remove functions and variables.
7427
7428 (rst-compare-adornments, rst-get-adornment-match)
7429 (rst-suggest-new-adornment, rst-get-adornments-around)
7430 (rst-adornment-complete-p, rst-get-next-adornment)
7431 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7432 (rst-straighten-adornments): Standardize function names to
7433 use "adornment" instead of "decoration". Correct callers.
7434 Similar standardizing in many places.
7435
7436 (rst-update-section, rst-adjust, rst-promote-region)
7437 (rst-enumerate-region, rst-bullet-list-region)
7438 (rst-repeat-last-character): Correct use of `interactive'.
7439
7440 (rst-classify-adornment, rst-find-all-adornments)
7441 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7442 (rst-find-leftmost-column, rst-repeat-last-character):
7443 Refactor functions.
7444
7445 (rst-find-title-line, rst-reset-section-caches)
7446 (rst-get-adornments-around, rst-adjust-adornment-work)
7447 (rst-arabic-to-roman, rst-roman-to-arabic)
7448 (rst-insert-list-pos, rst-insert-list-new-item)
7449 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7450 New functions.
7451
7452 (rst-all-sections, rst-section-hierarchy)
7453 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7454 New variables.
7455
7456 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7457 configuration instead of only buffer. Change where necessary.
7458
7459 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7460 (rst-shift-region, rst-adaptive-fill): New functions for
7461 indentation and filling.
7462
7463 (rst-comment-line-break, rst-comment-indent)
7464 (rst-comment-insert-comment, rst-comment-region)
7465 (rst-uncomment-region): New functions for handling comments.
7466
7467 (rst-compile): Quote shell arguments.
7468
7469 (rst-compile-pdf-preview, rst-compile-slides-preview):
7470 Delete temporary files after use.
7471
7472 2012-05-05 Glenn Morris <rgm@gnu.org>
7473
7474 * calendar/cal-html.el: Optionally include holidays in the output.
7475 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7476 (cal-html-holidays): New option.
7477 (cal-html-css-default): Add holiday entry.
7478 (holiday-in-range): Autoload it.
7479 (cal-html-htmlify-entry): Add optional class argument.
7480 (cal-html-htmlify-list): Add optional holidays argument.
7481 (cal-html-insert-agenda-days): Include holidays in the output.
7482 (cal-html-one-month): Maybe include holidays.
7483
7484 * calendar/holidays.el (holiday-in-range):
7485 Move here from cal-tex-list-holidays.
7486 * calendar/cal-tex.el (cal-tex-list-holidays):
7487 Make it an obsolete alias for holiday-in-range. Update all callers.
7488
7489 2012-05-05 Chong Yidong <cyd@gnu.org>
7490
7491 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7492 Nextstep.
7493
7494 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7495
7496 * files.el (file-auto-mode-skip): New var.
7497 (set-auto-mode-1): Use it.
7498
7499 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * repeat.el: Use lexical-binding.
7502 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7503 (repeat-undo-count): Remove.
7504 (repeat):
7505 * progmodes/octave-mod.el (octave-abbrev-start):
7506 * progmodes/f90.el (f90-abbrev-start):
7507 * face-remap.el (text-scale-adjust):
7508 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7509
7510 * emacs-lisp/pcase.el (pcase--let*): New function.
7511 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7512 a bit more.
7513 (pcase--split-pred): Be more clever about ruling out overlap between
7514 a predicate and some constant pattern.
7515 (pcase--q1): Use `null' instead of (eq foo nil).
7516
7517 * subr.el (setq-local, defvar-local): New macros.
7518 (kbd): Redefine as an alias.
7519 (with-selected-window): Leave unrelated frames alone.
7520 (set-temporary-overlay-map): New function.
7521
7522 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * subr.el (user-error): New function.
7525 * window.el (switch-to-buffer):
7526 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7527 (smerge-match-conflict):
7528 * simple.el (previous-matching-history-element)
7529 (next-matching-history-element, goto-history-element, undo-more)
7530 (undo-start):
7531 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7532 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7533 (next-file, tags-loop-scan, list-tags, complete-tag):
7534 * progmodes/compile.el (compilation-loop):
7535 * mouse.el (mouse-minibuffer-check):
7536 * man.el (Man-bgproc-sentinel, Man-goto-page):
7537 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7538 (Info-history-forward, Info-follow-reference, Info-menu)
7539 (Info-extract-menu-item, Info-extract-menu-counting)
7540 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7541 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7542 (Info-next-reference, Info-prev-reference, Info-index)
7543 (Info-index-next, Info-follow-nearest-node)
7544 (Info-copy-current-node-name):
7545 * imenu.el (imenu--make-index-alist)
7546 (imenu-default-create-index-function, imenu-add-to-menubar):
7547 * files.el (basic-save-buffer, recover-file):
7548 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7549 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7550 (checkdoc-message-text, checkdoc-defun):
7551 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7552 * cus-edit.el (customize-changed-options, customize-rogue)
7553 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7554 (custom-variable-mark-to-reset-standard)
7555 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7556 (custom-file):
7557 * completion.el (check-completion-length):
7558 * comint.el (comint-search-arg)
7559 (comint-previous-matching-input-string-position)
7560 (comint-previous-matching-input)
7561 (comint-replace-by-expanded-history-before-point, comint-send-input)
7562 (comint-copy-old-input, comint-backward-matching-input)
7563 (comint-goto-process-mark, comint-set-process-mark):
7564 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7565 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7566
7567 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7568
7569 * dabbrev.el (dabbrev--ignore-case-p): New function.
7570 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7571 Use it.
7572
7573 * files.el (automount-dir-prefix): Mark as obsolete.
7574
7575 2012-05-04 Glenn Morris <rgm@gnu.org>
7576
7577 * patcomp.el, play/bruce.el: Move to obsolete/.
7578
7579 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7580
7581 Fix minor Y10k bugs.
7582 * arc-mode.el (archive-unixdate):
7583 * autoinsert.el (auto-insert-alist):
7584 * calc/calc-forms.el (math-this-year):
7585 * emacs-lisp/copyright.el (copyright-current-year)
7586 (copyright-update-year, copyright):
7587 * tar-mode.el (tar-clip-time-string):
7588 * time.el (display-time-update):
7589 Don't assume years have 4 digits.
7590
7591 2012-05-04 Chong Yidong <cyd@gnu.org>
7592
7593 * dos-w32.el (file-name-buffer-file-type-alist)
7594 (direct-print-region-use-command-dot-com):
7595 * ffap.el (ffap-menu-regexp):
7596 * find-file.el (ff-special-constructs):
7597 * follow.el (follow-debug):
7598 * forms.el (forms--debug):
7599 * iswitchb.el (iswitchb-all-frames):
7600 * ido.el (ido-all-frames):
7601 * emacs-lisp/timer.el (timer-max-repeats):
7602 * mail/feedmail.el (feedmail-mail-send-hook)
7603 (feedmail-mail-send-hook-queued):
7604 * mail/footnote.el (footnote-signature-separator):
7605 * mail/mailabbrev.el (mail-alias-separator-string)
7606 (mail-abbrev-mode-regexp):
7607 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7608 * progmodes/idlwave.el (idlwave-libinfo-file)
7609 (idlwave-default-completion-case-is-down)
7610 (idlwave-library-routines): Convert defvars to defcustoms.
7611
7612 * mail/rmail.el (rmail-decode-mime-charset):
7613 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7614 (idlwave-shell-fix-inserted-breaks)
7615 (idlwave-shell-activate-alt-keybindings)
7616 (idlwave-shell-use-breakpoint-glyph):
7617 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7618
7619 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7622
7623 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7624
7625 * progmodes/verilog-mode.el (font-lock-keywords):
7626 Fix mis-highligting auto. Reported by Craig Barner.
7627 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7628 defines from global name space. Reported by Dan Dever.
7629 (verilog-auto-reset, verilog-auto-reset-widths)
7630 (verilog-auto-tieoff): Support using unbased numbers for
7631 AUTORESET and AUTOTIEOFF.
7632 (verilog-submit-bug-report): Update variable list.
7633 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7634 parenthesis from not matching. Reported by Michael Rytting.
7635 (verilog-auto-template-lint): Fix hash error when linting modules
7636 with no used templates.
7637 (verilog-warn, verilog-warn-error)
7638 (verilog-warn-fatal): When non-interactive report multiple
7639 warnings before exiting. Suggested by Brad Dobbie.
7640 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7641 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7642 to report unused template errors. Reported by Brad Dobbie.
7643 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7644 nets, bug438. Reported by Vns Blore.
7645 (verilog-auto-inout-module, verilog-auto-reg)
7646 (verilog-read-decls, verilog-read-sub-decls-sig)
7647 (verilog-signals-edit-wire-reg, verilog-signals-with):
7648 Fix passing of Verilog data types in ANSI input/output ports
7649 such as "output logic" into the AUTOs. Special case "wire" and
7650 "reg" for backwards compatibility presuming Verilog 2001.
7651 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7652 (verilog-preprocess): Fix replication of preprocess output.
7653 Reported by Brad Dobbie.
7654 (verilog-auto-inst-interfaced-ports):
7655 Create verilog-auto-inst-interfaced-ports, bug429.
7656 Reported by Julian Gorfajn.
7657 (verilog-after-save-font-hook)
7658 (verilog-before-save-font-hook): New variable.
7659 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7660 (verilog-save-font-mods): Wrap disabling fontification, reported
7661 by David Rogoff.
7662 (verilog-do-indent, verilog-pretty-declarations-auto)
7663 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7664 Reported by Pierre-David Pfister.
7665 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7666 of class declarations, bug292. Reported by Kevin Heilman.
7667 (verilog-read-decls): Fix 'parameter type' not appearing in
7668 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7669 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7670 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7671 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7672 Reported by David Kravitz.
7673
7674 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7675
7676 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7677 assignment with tests in ifs and for loops.
7678 (verilog-extended-complete-re, verilog-complete-reg): Change so
7679 that DPI inport functions don't look like fuction declarations.
7680 (verilog-pretty-expr): Don't line up assignment
7681 operations to the test and increment in if and for loops
7682 (verilog-extended-complete-re, verilog-complete-reg): Change so
7683 that DPI inport functions don't look like fuction declarations.
7684
7685 2012-05-03 Kenichi Handa <handa@m17n.org>
7686
7687 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7688 decoding, and show a warning message without signaling an error
7689 (Bug#11282).
7690
7691 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * emacs-lisp/bytecomp.el
7694 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7695 since cconv.el might have introduced :fun-body, internal-make-closure,
7696 and friends for bytecomp to handle (bug#11391).
7697 * custom.el (defcustom): Avoid ((λ ..) ..).
7698
7699 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7702
7703 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * notifications.el (dbus-debug):
7706 * term/linux.el (gpm-mouse-enable):
7707 * term/screen.el (xterm-register-default-colors): Declare.
7708
7709 2012-05-02 Chong Yidong <cyd@gnu.org>
7710
7711 * cus-start.el (gc-cons-percentage, exec-suffixes)
7712 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7713 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7714 (make-cursor-line-fully-visible, void-text-area-pointer)
7715 (font-list-limit): Add customization data.
7716
7717 * allout.el (allout-exposure-change-functions)
7718 (allout-structure-added-functions)
7719 (allout-structure-deleted-functions)
7720 (allout-structure-shifted-functions): Rename abnormal hooks from
7721 *-hook, and convert to defcustoms.
7722 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7723 Convert to defcustoms.
7724 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7725
7726 * allout-widgets.el: Hook callers changed.
7727
7728 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7729
7730 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7731 the yanked message in preference to the default value of
7732 buffer-file-coding-system.
7733
7734 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7735
7736 * window.el (display-buffer--action-function-custom-type):
7737 Fix entry.
7738
7739 2012-05-02 Alan Mackenzie <acm@muc.de>
7740
7741 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7742
7743 2012-05-01 Glenn Morris <rgm@gnu.org>
7744
7745 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7746
7747 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7748
7749 * cus-edit.el (custom-variable-documentation): Simplify with format.
7750
7751 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7752 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * simple.el (suggest-key-bindings, execute-extended-command):
7755 Move from keyboard.c.
7756
7757 2012-05-01 Chong Yidong <cyd@gnu.org>
7758
7759 * follow.el: Eliminate advice.
7760 (set-process-filter, process-filter, sit-for): Advice deleted.
7761 (follow-mode-off-hook): Obsolete hook removed.
7762 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7763 Vars deleted.
7764 (follow-auto): Use a :set function.
7765 (follow-mode): Rewritten. Don't advise process filters.
7766 (follow-switch-to-current-buffer-all, follow-scroll-up)
7767 (follow-scroll-down): Assume follow-mode is bound.
7768 (follow-comint-scroll-to-bottom)
7769 (follow-align-compilation-windows): New functions.
7770 (follow--window-sorter): New function.
7771 (follow-all-followers): Use it to explicitly sort windows by their
7772 positions; don't make assumptions about next-window order.
7773 (follow-windows-start-end, follow-delete-other-windows-and-split)
7774 (follow-calc-win-start): Doc fix.
7775 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7776 vertical-motion unnecessarily.
7777 (follow-adjust-window): New function.
7778 (follow-post-command-hook): Use it.
7779 (follow-call-set-process-filter, follow-call-process-filter)
7780 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7781 (follow-stop-intercept-process-output, follow-generic-filter):
7782 Functions deleted.
7783 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7784 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7785 New functions, replacing advice on scroll-bar-* commands.
7786 (follow-mwheel-scroll): New function (Bug#4112).
7787
7788 * comint.el (comint-adjust-point): New function.
7789 (comint-postoutput-scroll-to-bottom): Use it.
7790 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7791
7792 2012-05-01 Glenn Morris <rgm@gnu.org>
7793
7794 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7795 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7796 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7797 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7798 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7799 Remove no-byte-compile setting.
7800
7801 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7804 all-completions code to not return a number in the last cdr.
7805
7806 2012-04-30 Leo Liu <sdl.web@gmail.com>
7807
7808 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7809 read-only error.
7810
7811 2012-04-29 Chong Yidong <cyd@gnu.org>
7812
7813 * follow.el (follow-calc-win-end): Rewrite to handle partial
7814 screen lines correctly (Bug#8390).
7815 (follow-avoid-tail-recenter): Minor cleanup.
7816
7817 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 Avoid the obsolete `assoc' package.
7820 * speedbar.el (speedbar-refresh): Avoid adelete.
7821 (speedbar-file-lists): Simplify and avoid aput.
7822 * man.el (Man--sections, Man--refpages): New vars, replacing
7823 Man-sections-alist and Man-refpages-alist.
7824 (Man-build-section-alist, Man-build-references-alist):
7825 Use them; avoid aput.
7826 (Man--last-section, Man--last-refpage): New vars.
7827 (Man-follow-manual-reference): Use them.
7828 Use the `default' arg of completing-read.
7829 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7830
7831 2012-04-27 Chong Yidong <cyd@gnu.org>
7832
7833 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7834
7835 * startup.el (x-apply-session-resources): New function.
7836
7837 * term/ns-win.el (ns-initialize-window-system):
7838 * term/w32-win.el (w32-initialize-window-system):
7839 * term/x-win.el (x-initialize-window-system): Use it to properly
7840 set menu-bar-mode and other vars from X resources, even if the
7841 initial frame is not a window-system frame (Bug#2299).
7842
7843 * subr.el (read-key): Avoid running filter function when setting
7844 up temporary tool bar entries (Bug#9922).
7845
7846 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7849 (Bug#11344)
7850
7851 2012-04-27 Chong Yidong <cyd@gnu.org>
7852
7853 * select.el (xselect--encode-string): New function, split from
7854 xselect-convert-to-string.
7855 (xselect-convert-to-string): Use it.
7856 (xselect-convert-to-filename, xselect-convert-to-os)
7857 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7858 returned strings are properly encoded (Bug#11315).
7859
7860 2012-04-27 Chong Yidong <cyd@gnu.org>
7861
7862 * simple.el (delete-active-region): Move to killing custom group.
7863
7864 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7865
7866 * progmodes/which-func.el (which-func-current): Quote %
7867 characters for mode-line processing.
7868
7869 2012-04-27 Chong Yidong <cyd@gnu.org>
7870
7871 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7872 reaching eob (Bug#11286).
7873
7874 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7875
7876 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7877 (gdb): Make it buffer-local and init to zero.
7878 (gdb-control-commands-regexp): New variable.
7879 (gdb-send): Don't wrap in "-interpreter-exec console" if
7880 gdb-control-level is positive. Increment gdb-control-level
7881 whenever the command matches gdb-control-commands-regexp, and
7882 decrement it each time the command is "end". (Bug#11279)
7883
7884 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7885
7886 * window.el (adjust-window-trailing-edge, enlarge-window)
7887 (shrink-window, window-resize):
7888 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7889 windows (Bug#11276).
7890
7891 2012-04-27 Chong Yidong <cyd@gnu.org>
7892
7893 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7894 fix "missing prefix" warning. All callers changed.
7895
7896 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/assoc.el: Move to obsolete/.
7899
7900 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7903
7904 * term/ns-win.el (ns-define-service):
7905 * progmodes/pascal.el (pascal-goto-defun):
7906 * progmodes/js.el (js--read-tab):
7907 * progmodes/etags.el (tags-lazy-completion-table):
7908 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7909 * emacs-lisp/ewoc.el (ewoc--wrap):
7910 * emacs-lisp/assoc.el (aput, adelete, amake):
7911 * doc-view.el (doc-view-convert-current-doc):
7912 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7913
7914 2012-04-26 Chong Yidong <cyd@gnu.org>
7915
7916 * image.el (image-type-from-buffer): Only return supported image
7917 type (Bug#9045).
7918
7919 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7920 value, for symmetry with diff-end-of-hunk.
7921 (diff-split-hunk, diff-find-source-location)
7922 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7923 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7924 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7925 compute the relevant hunk or file properly (Bug#6005).
7926 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7927
7928 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * vc/vc-mtn.el:
7931 * vc/vc-hg.el:
7932 * vc/vc-git.el:
7933 * vc/vc-dir.el:
7934 * vc/vc-cvs.el:
7935 * vc/vc-bzr.el:
7936 * vc/vc-arch.el:
7937 * vc/vc.el: Replace lexical-let by lexical-binding.
7938 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7939 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7940 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7941
7942 2012-04-26 Chong Yidong <cyd@gnu.org>
7943
7944 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7945 (diff-mode-shared-map): Bind it to / and [remap undo].
7946
7947 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7948 (ediff-window-setup-function): Use it as the default, to set up
7949 windows based on whether the current frame is graphical (Bug#2138).
7950 (ediff-choose-window-setup-function-automatically): Make obsolete.
7951
7952 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7953
7954 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * ffap.el: Remove old code for obsolete package.
7957 (ffap-complete-as-file-p): Remove.
7958
7959 Use completion-table-with-quoting for comint and pcomplete.
7960 * comint.el (comint--unquote&requote-argument)
7961 (comint--unquote-argument, comint--requote-argument): New functions.
7962 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7963 (comint-quote-filename): Use regexp-opt-charset.
7964 (comint--common-suffix, comint--common-quoted-suffix)
7965 (comint--table-subvert): Remove.
7966 (comint-unquote-function, comint-requote-function): New vars.
7967 (comint--complete-file-name-data): Use them with
7968 completion-table-with-quoting.
7969 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7970 * pcomplete.el (pcomplete-arg-quote-list)
7971 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7972 (pcomplete-unquote-argument-function): Default to non-nil.
7973 (pcomplete-unquote-argument): Simplify.
7974 (pcomplete--common-quoted-suffix): Remove.
7975 (pcomplete-requote-argument-function): New var.
7976 (pcomplete--common-suffix): New function.
7977 (pcomplete-completions-at-point): Use completion-table-with-quoting
7978 and completion-table-subvert.
7979
7980 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7981 (minibuffer--double-dollars): Preserve properties.
7982 (completion--sifn-requote): New function.
7983 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7984
7985 * minibuffer.el: Add support for completion of quoted/escaped data.
7986 (completion-table-with-quoting, completion-table-subvert): New funs.
7987 (completion--twq-try, completion--twq-all): New functions.
7988 (completion--nth-completion): New function.
7989 (completion-try-completion, completion-all-completions): Use it.
7990
7991 2012-04-25 Leo Liu <sdl.web@gmail.com>
7992
7993 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7994 Use compilation-message if available to find real filename.
7995
7996 2012-04-25 Chong Yidong <cyd@gnu.org>
7997
7998 * vc/diff-mode.el (diff-setup-whitespace): New function.
7999 (diff-mode): Use it.
8000
8001 * vc/diff.el (diff-sentinel):
8002 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8003 Whitespace mode variables based on diff style (Bug#8612).
8004
8005 2012-04-25 Leo Liu <sdl.web@gmail.com>
8006
8007 * progmodes/python.el (python-send-region): Add suffix .py to the
8008 temp file.
8009
8010 * files.el (auto-mode-alist): Use javascript-mode instead.
8011
8012 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8013
8014 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8015
8016 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8017 (soap-resolve-references-for-array-type): Hack to prevent self
8018 references, see Bug#9.
8019 (soap-parse-envelope): Report the contents of the 'detail' node
8020 when receiving a fault reply.
8021 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8022
8023 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8024 (soap-inspect-simple-type): New function.
8025
8026 * net/soap-client.el (soap-simple-type): New struct.
8027 (soap-default-xsd-types, soap-default-soapenc-types)
8028 (soap-decode-basic-type, soap-encode-basic-type):
8029 support unsignedInt and double basic types.
8030 (soap-resolve-references-for-simple-type)
8031 (soap-parse-simple-type, soap-encode-simple-type): New function.
8032 (soap-parse-schema): Parse xsd:simpleType declarations.
8033
8034 * net/soap-client.el (soap-default-xsd-types)
8035 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8036 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8037 the local name of "soapenc:Array".
8038 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8039 decoding integer, byte and anyURI xsd types.
8040
8041 2012-04-25 Chong Yidong <cyd@gnu.org>
8042
8043 * cus-edit.el (custom-buffer-create-internal): Update header text.
8044
8045 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8046
8047 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8048 settings on 'system-type', not on 'window-system'. On MS-Windows,
8049 set interactive-mode on in GDB.
8050
8051 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8054 (ruby-syntax-propertize-regexp): Remove.
8055 (ruby-syntax-propertize-function): Split regexp into chunks.
8056 Match following code directly.
8057
8058 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8059
8060 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8061 (ruby-syntax-propertize-regexp): New function.
8062 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8063 by a special keyword.
8064
8065 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8066 (ruby-syntax-general-delimiters-goto-beg)
8067 (ruby-syntax-propertize-general-delimiters): New functions.
8068 (ruby-syntax-propertize-function): Use them to handle GDL.
8069 (ruby-font-lock-keywords): Move old handling of GDL...
8070 (ruby-font-lock-syntactic-keywords): .. to here.
8071 (ruby-calculate-indent): Adjust indentation for GDL.
8072
8073 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * notifications.el (top): Remove unneeded declarations.
8076 (notifications-specification-version): Change to "1.2".
8077 (notifications-interface, notifications-notify-method)
8078 (notifications-close-notification-method): Fix docstring.
8079 (notifications-get-capabilities-method): New defconst.
8080 (notifications-notify): Add :action-items, :resident and
8081 :transient hints. Change "image_data" to "image-data" and
8082 "image_path" to "image-path".
8083 (notifications-get-capabilities): New defun.
8084
8085 2012-04-24 Leo Liu <sdl.web@gmail.com>
8086
8087 * progmodes/python.el: Move hideshow setup to the end.
8088
8089 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8090
8091 * window.el (handle-select-window): Clear echo area since this is
8092 no more done by read_char (Bug#11304).
8093
8094 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8097 and `/ M' to filter-derived-mode.
8098 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8099 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8100 (ibuffer-mark-by-mode): Use default rather than initial-input.
8101 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8102
8103 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8104
8105 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8106 (ibuffer-filter-by-derived-mode): New filter.
8107 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8108
8109 2012-04-23 Andreas Politz <politza@fh-trier.de>
8110
8111 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8112
8113 2012-04-23 Chong Yidong <cyd@gnu.org>
8114
8115 * cus-edit.el (customize-apropos, customize-apropos-options):
8116 Disable matching of non-option variables (Bug#11176).
8117 (customize-option, customize-option-other-window)
8118 (customize-changed-options): Doc fix.
8119 (customize-apropos-options, customize-apropos-faces)
8120 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8121
8122 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8123 Fix word list splitting (Bug#11132).
8124 (apropos-symbol, apropos-keybinding, apropos-label)
8125 (apropos-property, apropos-function-button)
8126 (apropos-variable-button, apropos-misc-button): New faces.
8127 (apropos-symbol-face, apropos-keybinding-face)
8128 (apropos-label-face, apropos-property-face, apropos-match-face):
8129 Variables removed (Bug#8396).
8130 (apropos-library-button, apropos-format-plist, apropos-print)
8131 (apropos-print-doc, apropos-describe-plist): Callers changed.
8132
8133 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * net/xesam.el (xesam-mode-map): Use let-bound map in
8136 initialization. (Bug#11292)
8137
8138 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8139
8140 Preserve ispell session localwords when switching back to
8141 original buffer.
8142
8143 * textmodes/ispell.el (ispell-buffer-session-localwords):
8144 New buffer-local variable to hold buffer session localwords.
8145 (ispell-kill-ispell): Add option 'clear to delete session
8146 localwords.
8147 (ispell-command-loop, ispell-change-dictionary)
8148 (ispell-buffer-local-words): Preserve session localwords when
8149 needed.
8150
8151 * textmodes/flyspell.el (flyspell-process-localwords)
8152 (flyspell-do-correct): Preserve session localwords when needed.
8153
8154 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8155
8156 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8157 using obsolete `translation-table-for-input'.
8158 (ispell-word, ispell-process-line, ispell-complete-word):
8159 Use plain `insert' instead of removed `ispell-insert-word'.
8160
8161 2012-04-22 Chong Yidong <cyd@gnu.org>
8162
8163 * cus-edit.el (custom-variable-menu)
8164 (custom-variable-reset-saved, custom-face-menu)
8165 (custom-face-reset-saved): If there is no saved value, make the
8166 "reset-saved" operation bring back the default (Bug#9509).
8167 (custom-face-state): Properly detect themed faces.
8168
8169 * faces.el (face-spec-set): Stop supporting deprecated form of
8170 third arg.
8171
8172 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8173
8174 Move functions from C to Lisp. Make non-blocking method calls
8175 the default. Implement further D-Bus standard interfaces.
8176
8177 * net/dbus.el (dbus-message-internal): Declare function.
8178 Remove unneeded function declarations.
8179 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8180 (dbus-message-type-method-return, dbus-message-type-error)
8181 (dbus-message-type-signal): Declare variables. Remove local
8182 definitions.
8183 (dbus-interface-dbus, dbus-interface-peer)
8184 (dbus-interface-introspectable, dbus-interface-properties)
8185 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8186 Adapt docstring.
8187 (dbus-interface-objectmanager): New defconst.
8188 (dbus-call-method, dbus-call-method-asynchronously)
8189 (dbus-send-signal, dbus-method-return-internal)
8190 (dbus-method-error-internal, dbus-register-service)
8191 (dbus-register-signal, dbus-register-method): New defuns, moved
8192 from dbusbind.c
8193 (dbus-call-method-handler, dbus-setenv)
8194 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8195 New defuns.
8196 (dbus-call-method-non-blocking): Make it an obsolete function.
8197 (dbus-unregister-object, dbus-unregister-service)
8198 (dbus-handle-event, dbus-register-property)
8199 (dbus-property-handler): Obey the new structure of
8200 `bus-registered-objects'.
8201 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8202 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8203 Use `dbus-call-method'.
8204
8205 2012-04-22 Chong Yidong <cyd@gnu.org>
8206
8207 * cus-edit.el (custom-commands, custom-reset-menu)
8208 (Custom-reset-standard): Tweak labels.
8209 (custom-reset-button-menu): Change default to t.
8210 (custom-buffer-create-internal): For the custom-reset-button-menu
8211 case, put the revert button first.
8212 (custom-group-subtitle): New face.
8213 (custom-group-value-create): Align docstring to a specific column.
8214
8215 * wid-edit.el (widget-documentation-link-add): Don't handle
8216 indentation in this function.
8217 (widget-documentation-string-indent-to): New function.
8218 (widget-documentation-string-value-create): Use it.
8219
8220 * autorevert.el (auto-revert):
8221 * epg-config.el (epg):
8222 * ibuffer.el (ibuffer):
8223 * mpc.el (mpc):
8224 * ses.el (ses):
8225 * eshell/eshell.el (eshell):
8226 * net/ange-ftp.el (ange-ftp):
8227 * progmodes/ebnf2ps.el (postscript):
8228 * progmodes/flymake.el (flymake):
8229 * progmodes/prolog.el (prolog):
8230 * progmodes/verilog-mode.el (verilog-mode):
8231 * progmodes/which-func.el (which-func):
8232 * term/xterm.el (xterm):
8233 * textmodes/picture.el (picture):
8234 * textmodes/tildify.el (tildify):
8235 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8236 customization buffers.
8237
8238 2012-04-22 Alan Mackenzie <acm@muc.de>
8239
8240 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8241 Adding a ) can hide the resulting (..) from searches. Fix it.
8242 Bound the backward search to the position of the existing (.
8243
8244 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8245
8246 * progmodes/verilog-mode.el (verilog-mode): Check whether
8247 which-func-modes is t before adding verilog-mode.
8248 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8249
8250 2012-04-21 Leo Liu <sdl.web@gmail.com>
8251
8252 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8253
8254 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8255
8256 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8257 filling of the last column of a table (Bug#5635).
8258 (woman-find-next-control-line): New arg, specifying an additional
8259 regexp component for the control line.
8260 (woman2-roff-buffer): Use it.
8261 (woman-break-table): New function.
8262 (woman2-TS): Use it.
8263
8264 2012-04-21 Chong Yidong <cyd@gnu.org>
8265
8266 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8267 (woman-horizontal-escapes, woman-negative-vertical-space)
8268 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8269 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8270
8271 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * minibuffer.el (completion-file-name-table): Complete user names.
8274
8275 2012-04-20 Leo Liu <sdl.web@gmail.com>
8276
8277 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8278 and pcase-let*.
8279
8280 2012-04-20 Chong Yidong <cyd@gnu.org>
8281
8282 * server.el (server-execute): Respect initial-buffer-choice if it
8283 is a string and there are no files to open (Bug#2825).
8284 (server-create-window-system-frame, server-create-tty-frame):
8285 Don't switch buffers here.
8286 (server-process-filter): Only try to open a window system frame if
8287 compiled with graphical support (Bug#8314).
8288
8289 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8290
8291 * battery.el (battery-echo-area-format): Display remaining time
8292 for sysfs backend too (Bug#11269).
8293 (battery-linux-sysfs): Fix conditional for the charge.
8294
8295 2012-04-20 Chong Yidong <cyd@gnu.org>
8296
8297 * progmodes/gdb-mi.el (gdb): Revert previous change.
8298 (gdb-inferior-io--init-proc): New function.
8299 (gdb-init-1): Use it.
8300 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8301 responsible for allocating a new pty and hooking it to gdb when
8302 the old pty gets an EIO due to process exit.
8303 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8304 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8305 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8306
8307 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8308
8309 * window.el (window-min-size, window-sizable, window-min-delta)
8310 (window-max-delta, window--resizable, window-resizable)
8311 (window-total-size, window-full-height-p, window-full-width-p)
8312 (window-in-direction, window--resize-mini-window, window-resize)
8313 (window--resize-child-windows-normal)
8314 (window--resize-child-windows, window--resize-siblings)
8315 (window--resize-this-window, adjust-window-trailing-edge)
8316 (enlarge-window, shrink-window): Doc fixes.
8317
8318 2012-04-20 Chong Yidong <cyd@gnu.org>
8319
8320 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8321 New function to call delete-process on the gdb-inferior buffer's pty.
8322 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8323 pty process (Bug#11273).
8324 (gdb-update): New arg to suppress talking to the gdb process.
8325 (gdb-done-or-error): Use it.
8326 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8327 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8328 sentinel not being called.
8329
8330 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8331
8332 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8333
8334 2012-04-20 Glenn Morris <rgm@gnu.org>
8335
8336 * net/network-stream.el (open-network-stream): Doc fix.
8337
8338 2012-04-20 Chong Yidong <cyd@gnu.org>
8339
8340 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8341
8342 2012-04-20 Alan Mackenzie <acm@muc.de>
8343
8344 Ensure searching for keywords is case sensitive.
8345
8346 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8347 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8348 (c-defun-name, c-mark-function, c-cpp-define-name)
8349 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8350 (c-context-line-break): Bind case-fold-search to nil.
8351
8352 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8353 Bind case-fold-search to nil.
8354
8355 2012-04-20 Chong Yidong <cyd@gnu.org>
8356
8357 * mail/sendmail.el (mail-bury): Call return action with the right
8358 Rmail buffer (Bug#11242).
8359
8360 * server.el (server-process-filter): Handle corner case where both
8361 tty and nowait options are present (Bug#11102).
8362
8363 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8364
8365 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8366 (top level): Put into the executable the ident-style '$Id:' tag on
8367 windows-nt as well.
8368
8369 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * electric.el (electric-indent-post-self-insert-function): Check that
8372 electric-indent-mode is enabled in current buffer.
8373
8374 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * imenu.el (imenu-progress-message): Restore; it is "used" in
8377 erc/erc-imenu.el and net/snmp-mode.el.
8378
8379 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8380
8381 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8382 (mouse-avoidance-nudge-mouse): Remove unused binding.
8383
8384 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8385
8386 * descr-text.el (describe-char):
8387 * progmodes/python.el (python-describe-symbol):
8388 Don't call `toggle-read-only', set `buffer-read-only'.
8389
8390 * imenu.el (imenu-default-goto-function): Mark unused args.
8391 (imenu-progress-message): Remove obsolete macro; all callers changed.
8392
8393 * subr.el (keymap-canonicalize): Remove unused binding.
8394 (read-passwd): Mark unused arg.
8395
8396 * tutorial.el (tutorial--display-changes): Remove unused binding.
8397 (tutorial--save-tutorial-to): Remove unused variable.
8398
8399 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8400 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8401 (package-generate-autoloads, package-menu--generate)
8402 (package-menu--find-upgrades): Remove unused bindings.
8403
8404 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8405 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8406 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8407 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8408 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8409 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8410 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8411 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8412 (cua-delete-char-rectangle): Mark unused args.
8413 (cua-align-rectangle): Remove unused binding.
8414
8415 * mail/rmail.el (compilation--message->loc)
8416 (epa--find-coding-system-for-mime-charset): Declare.
8417
8418 * net/dbus.el (dbus-register-service): Declare.
8419 (dbus-name-owner-changed-handler): Remove unused binding.
8420
8421 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8422 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8423 (nxml-scan-backward-within): Mark unused arg.
8424 (nxml-dynamic-markup-word): Remove unused binding.
8425
8426 * mouse.el (mouse-menu-major-mode-map):
8427 * emacs-lisp/authors.el (authors-scan-change-log)
8428 (authors-add-to-author-list):
8429 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8430 * emacs-lisp/smie.el (smie-auto-fill):
8431 * mail/sendmail.el (mail-bury):
8432 * mail/unrmail.el (unrmail):
8433 * net/tls.el (open-tls-stream):
8434 * textmodes/picture.el (picture-mouse-set-point):
8435 Remove unused bindings.
8436
8437 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * net/tramp.el (tramp-action-password): Let-bind
8440 `enable-recursive-minibuffers' to t.
8441
8442 2012-04-18 Sam Steingold <sds@gnu.org>
8443
8444 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8445 instead of 'string to accommodate values like [f11].
8446 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8447 * progmodes/gdb-mi.el: Likewise.
8448
8449 2012-04-18 Leo Liu <sdl.web@gmail.com>
8450
8451 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8452 current buffer.
8453 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8454 LOCAL is nil.
8455
8456 2012-04-18 Chong Yidong <cyd@gnu.org>
8457
8458 * simple.el (line-move): Use forward-line if in batch mode
8459 (Bug#11053).
8460
8461 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8462
8463 * files.el (after-find-file): Do not try to add a final newline if
8464 the buffer is read-only (Bug#11156).
8465
8466 2012-04-17 Richard Stallman <rms@gnu.org>
8467
8468 * mail/rmail.el (rmail-start-mail):
8469 Pass (rmail-mail-return...) for the return-action.
8470 Pass (rmail-yank-current-message...) for the yank-action.
8471 (rmail-yank-current-message): New function.
8472 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8473 (rmail-reply): Likewise.
8474 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8475
8476 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8477 buffer, not the last. Reject temp buffers. Use the rmail-mode
8478 buffer, not newbuf.
8479
8480 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8481
8482 * server.el (server-ensure-safe-dir): Simplify.
8483
8484 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/smie.el: Provide smarter auto-filling.
8487 (smie-auto-fill): New function.
8488 (smie-setup): Use it.
8489
8490 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8491
8492 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8493
8494 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8495 (comment-indent): Use it.
8496
8497 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8498
8499 * ses.el: The overall change is to add cell renaming, that is
8500 setting fancy names for cell symbols other than name matching
8501 "\\`[A-Z]+[0-9]+\\'" regexp .
8502 (ses-localvars): Add ses--renamed-cell-symb-list.
8503 (ses-create-cell-variable): New defun.
8504 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8505 (ses-relocate-formula): Relocate formulas only for cells the
8506 symbols of which are not renamed, i.e. symbols whose names do not
8507 match regexp "\\`[A-Z]+[0-9]+\\'".
8508 (ses-relocate-all): Relocate values only for cells the symbols of
8509 which are not renamed.
8510 (ses-load): Create cells variables as the (ses-cell ...) are read,
8511 in order to check row col consistency with cell symbol name only
8512 for cells that are not renamed.
8513 (ses-replace-name-in-formula): New defun.
8514 (ses-rename-cell): New defun.
8515
8516 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8517
8518 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8519 New option (bug#11118).
8520 (perl-calculate-indent): Respect it.
8521
8522 2012-04-17 Glenn Morris <rgm@gnu.org>
8523
8524 * dired-aux.el (dired-mark-read-string): Doc fix.
8525
8526 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8527
8528 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8529 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8530
8531 2012-04-17 Glenn Morris <rgm@gnu.org>
8532
8533 * mouse.el (mouse-drag-track):
8534 * speedbar.el (speedbar-frame-mode):
8535 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8536
8537 2012-04-16 Leo Liu <sdl.web@gmail.com>
8538
8539 * progmodes/python.el: Trivial cleanup.
8540
8541 2012-04-16 Glenn Morris <rgm@gnu.org>
8542
8543 * vc/vc.el (vc-string-prefix-p):
8544 * vc/pcvs-util.el (cvs-string-prefix-p):
8545 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8546 * mpc.el (mpc-string-prefix-p):
8547 Make all of these into obsolete aliases for string-prefix-p.
8548 Update callers.
8549 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8550
8551 * textmodes/two-column.el: Move custom options to the start.
8552 (frame-width): Remove compat definition.
8553 (2C-associate-buffer, 2C-dissociate):
8554 Use with-current-buffer rather than save-excursion.
8555 (2C-dissociate): Force a mode-line update.
8556 (2C-autoscroll): Use ignore-errors.
8557
8558 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8559 Autoload trivia.
8560
8561 * emacs-lisp/cl-extra.el (*random-state*):
8562 Remove unnecessary declaration.
8563
8564 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8565
8566 * play/cookie1.el (cookie-snarf):
8567 Give an explicit error if input file cannot be read.
8568
8569 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8570
8571 * progmodes/perl-mode.el (c-macro-expand):
8572 Remove unnecessary autoload (it is in loaddefs.el).
8573
8574 * textmodes/picture.el (picture-desired-column)
8575 (picture-update-desired-column): Convert comments to doc-strings.
8576 (picture-substitute): Remove function.
8577 (picture-mode-map): Initialize in the defvar.
8578
8579 * woman.el: Remove eval-after-load for tar-mode.
8580 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8581 (woman-tar-extract-file): Autoload it.
8582
8583 * frame.el (automatic-hscrolling): Make this alias obsolete.
8584
8585 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8586
8587 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8588 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8589 (ispell-dictionary-base-alist): Revert to original XEmacs
8590 friendly version for default. [:alpha:] will be added in
8591 `ispell-set-spellchecker-params' if needed.
8592
8593 2012-04-16 Chong Yidong <cyd@gnu.org>
8594
8595 * image.el (imagemagick--file-regexp): New variable.
8596 (imagemagick-register-types): Use it.
8597 (imagemagick-types-inhibit): Add :set function. Allow new value
8598 of t to inhibit all types.
8599
8600 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8601 so we can preload it.
8602
8603 * loadup.el (fboundp): Preload regexp-opt, needed by
8604 imagemagick-register-types.
8605
8606 2012-04-15 Chong Yidong <cyd@gnu.org>
8607
8608 * frame.el (scrolling): Remove nearly unused customization group.
8609
8610 * scroll-all.el (scroll-all-mode): Move to windows group.
8611
8612 2012-04-15 Chong Yidong <cyd@gnu.org>
8613
8614 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8615
8616 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8619 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8620
8621 2012-04-15 Glenn Morris <rgm@gnu.org>
8622
8623 * simple.el (process-file-side-effects): Doc fix.
8624
8625 2012-04-15 Glenn Morris <rgm@gnu.org>
8626
8627 * international/mule-cmds.el (set-language-environment): Doc fix.
8628
8629 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8630
8631 * server.el (server-auth-key, server-generate-key): Doc fixes.
8632 (server-get-auth-key): Doc fix. Use `string-match-p'.
8633 (server-start): Reflow docstring.
8634
8635 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8636
8637 * server.el (server-generate-key): `called-interactively-p'
8638 requires a parameter.
8639
8640 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8641
8642 * server.el (server-auth-key): New variable.
8643 (server-generate-key, server-get-auth-key): New function.
8644 (server-start): Use the new variable and functions to allow
8645 setting a permanent server key (bug#9423).
8646
8647 2012-04-14 Leo Liu <sdl.web@gmail.com>
8648
8649 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8650
8651 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8652
8653 Spelling fixes.
8654 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8655 Emacs uses American spelling.
8656
8657 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8658
8659 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8660 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8661 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8662 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8663
8664 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * progmodes/which-func.el (which-func-modes): Change default.
8667
8668 2012-04-14 Kim F. Storm <storm@cua.dk>
8669
8670 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8671 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8672
8673 2012-04-14 Chong Yidong <cyd@gnu.org>
8674
8675 * custom.el (custom-theme-set-variables): Doc fix.
8676
8677 2012-04-14 Glenn Morris <rgm@gnu.org>
8678
8679 * international/mule.el (set-auto-coding-for-load): Doc fix.
8680
8681 2012-04-14 Alan Mackenzie <acm@muc.de>
8682
8683 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8684 imenu work again for Objective C Mode. Correct the *-index values,
8685 these having been disturbed by a previous change in 2011-08.
8686
8687 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8688 Correct two search limits.
8689
8690 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8693
8694 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8695
8696 * international/characters.el: Fix sorting.
8697
8698 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8699
8700 * international/characters.el: Add more missing Latin case pairs.
8701
8702 2012-04-14 Glenn Morris <rgm@gnu.org>
8703
8704 * files.el (dir-locals-set-class-variables): Doc fix.
8705
8706 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8707
8708 * international/characters.el: Add set-case-syntax-pair call for
8709 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8710 counterpart. (Bug#11209)
8711
8712 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8713
8714 2012-04-14 Glenn Morris <rgm@gnu.org>
8715
8716 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8717
8718 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8719
8720 * textmodes/ispell.el (ispell-dictionary-base-alist):
8721 Add data for Hebrew.
8722
8723 2012-04-14 Chong Yidong <cyd@gnu.org>
8724
8725 * net/rcirc.el (rcirc-cmd-quit):
8726 Revert 2012-03-18 change (Bug#11192).
8727
8728 2012-04-14 Glenn Morris <rgm@gnu.org>
8729
8730 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8731
8732 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8733
8734 * minibuffer.el (completion-in-region-mode-map):
8735 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8736
8737 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8738
8739 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8740
8741 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8742
8743 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8744 to allow `C-M-f' and `C-M-b' to move to the nearest path
8745 separator (bug#9511).
8746
8747 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8748
8749 * avoid.el: Require cl when compiling. And also move the
8750 `provide' to the end.
8751
8752 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8753
8754 * avoid.el (mouse-avoidance-banish-position): New variable.
8755 (mouse-avoidance-banish-destination): Use it (bug#10165).
8756
8757 2012-04-13 Leo Liu <sdl.web@gmail.com>
8758
8759 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8760
8761 2012-04-13 Ken Brown <kbrown@cornell.edu>
8762
8763 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8764 this is no longer needed now that cygstart understands file:// URLs.
8765 (browse-url-filename-alist): For the same reason, don't modify
8766 file:// URLs on Cygwin.
8767
8768 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8771 the region on shift if the binding is already shifted (bug#11221).
8772
8773 2012-04-12 Glenn Morris <rgm@gnu.org>
8774
8775 * mail/mailpost.el: Move to obsolete/.
8776
8777 2012-04-12 Drew Adams <drew.adams@oracle.com>
8778
8779 * imenu.el (imenu--generic-function): Ignore invisible definitions
8780 (bug#10123).
8781
8782 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8783
8784 * hexl.el (hexl-bits): New variable.
8785 (hexl-options): Mention the variable in the doc string.
8786 (hexl-rulerise, hexl-line-displen): New functions.
8787 (hexl-mode): Mention the new variable.
8788 (hexl-mode, hexl-current-address, hexl-current-address):
8789 Use the displen.
8790 (hexl-ascii-start-column): New function.
8791 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8792 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8793
8794 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8795
8796 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8797 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8798 the encoding, as expected by hunspell.
8799
8800 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * battery.el (battery--linux-sysfs-regexp): New const.
8803 (battery-status-function): Use it. Remove yeeloong special case.
8804 (battery-yeeloong-sysfs): Remove.
8805 (battery-echo-area-format): Remove yeeloong special case.
8806
8807 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8810 Reported by Noah Friedman.
8811
8812 * subr.el (read-passwd): Use read-string.
8813
8814 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
8816 * vcursor.el (vcursor-move): Increase the priority of the overlay
8817 (bug#9663).
8818
8819 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8820
8821 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8822 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8823
8824 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8825
8826 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8827 define-minor-mode (bug#10760).
8828
8829 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8830
8831 * progmodes/grep.el (rgrep): Tweak the find command line so
8832 that directories matching `grep-find-ignored-files' won't be
8833 pruned (bug#10351).
8834
8835 2012-04-11 Chong Yidong <cyd@gnu.org>
8836
8837 * startup.el (command-line): Remove support for long-obsolete
8838 variable font-lock-face-attributes.
8839
8840 2012-04-11 Glenn Morris <rgm@gnu.org>
8841
8842 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8843
8844 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * window.el (window--state-get-1): Obey window-point-insertion-type.
8847
8848 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8849
8850 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8851 to previous function when point is on the first character of a
8852 function. Take care of that in `narrow-to-defun' (bug#6157).
8853
8854 2012-04-11 Glenn Morris <rgm@gnu.org>
8855
8856 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8857 not just file-errors.
8858
8859 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8860 (vc-bzr-sha1): Use internal sha1.
8861
8862 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8865
8866 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8867
8868 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8869 that start in the middle of the line (bug#10496).
8870
8871 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8872
8873 * battery.el (battery-linux-proc-acpi): Only one battery is
8874 discharged at a time, but that seems to confuse battery.el when
8875 computing `rate-type' for the battery not being discharged
8876 (bug#10332).
8877
8878 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8881
8882 * international/quail.el: Use dolist and simplify.
8883 (quail-define-package, quail-update-keyboard-layout)
8884 (quail-define-rules): Use dolist.
8885 (quail-insert-kbd-layout, quail-get-translation): CSE.
8886
8887 * tmm.el: Use dolist, remove left over hook.
8888 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8889 Use dolist.
8890 (calendar-load-hook): Don't mess with it.
8891
8892 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8893 Use derived-mode-p. Run the diff asynchronously.
8894
8895 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8896
8897 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8898
8899 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8900
8901 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8902 (list-dynamic-libraries--loaded): New function.
8903 (list-dynamic-libraries--refresh): Use it.
8904
8905 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8906
8907 * progmodes/python.el (python-fill-paragraph):
8908 Make python-fill-region in a multiline string work when font-lock is
8909 disabled (bug#7018).
8910
8911 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8912
8913 * language/european.el (cp775): Add oem/legacy (en)coding on
8914 DOS/MS Windows for the Baltic languages. There are still plenty
8915 of texts written in this encoding/codepage (bug#6519).
8916
8917 2012-04-10 Glenn Morris <rgm@gnu.org>
8918
8919 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8920 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8921
8922 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8923
8924 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8925 next-line "n" and previous-line "p" in order to make recentf more
8926 consistent with ibuffer, dired or org-mode (bug#9387).
8927
8928 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8929
8930 * image.el (put-image): Return the overlay created instead of the
8931 optional input string (bug#7834). Note that this may break code
8932 that is (for some reason or other) depending on `put-image'
8933 returning the string.
8934
8935 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8936
8937 * simple.el (zap-to-char): Allow zapping using input methods
8938 (bug#1580).
8939
8940 * textmodes/fill.el (fill-region): Leave point and mark where they
8941 were before filling (bug#5399).
8942
8943 2012-04-09 Glenn Morris <rgm@gnu.org>
8944
8945 * version.el (emacs-bzr-get-version):
8946 Handle lightweight checkouts of local branches.
8947
8948 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8949
8950 * international/characters.el: Recover lost case pairs. (Bug#11209)
8951
8952 2012-04-09 Chong Yidong <cyd@gnu.org>
8953
8954 * custom.el (custom-variable-p): Return nil for non-symbol
8955 arguments instead of signaling an error.
8956 (user-variable-p): Obsolete alias for custom-variable-p.
8957
8958 * apropos.el (apropos-variable):
8959 * files-x.el (read-file-local-variable):
8960 * simple.el (set-variable):
8961 * woman.el (woman-mini-help):
8962 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8963
8964 2012-04-09 Glenn Morris <rgm@gnu.org>
8965
8966 * startup.el (normal-top-level): Don't look for leim-list.el
8967 in places where it will not be found. (Bug#910)
8968
8969 * international/mule-cmds.el (set-default-coding-systems):
8970 * files.el (normal-mode):
8971 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8972 This function was removed with ucs-tables.el in 2008.
8973
8974 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8975
8976 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8977 ispell-encoding8-command to "-i", without a trailing space.
8978 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8979 separate command-line arguments, to specify the encoding, since
8980 that's how hunspell expects it.
8981
8982 2012-04-08 Glenn Morris <rgm@gnu.org>
8983
8984 * loadup.el: Load bindings before cus-start.
8985 This reduces somewhat the number of "rogue" settings in emacs -Q.
8986
8987 2012-04-07 Glenn Morris <rgm@gnu.org>
8988
8989 * version.el (emacs-bzr-get-version): New function.
8990 (emacs-bzr-version): New variable.
8991 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8992 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8993
8994 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8995
8996 * international/uni-bidi.el, international/uni-category.el:
8997 * international/uni-combining.el, international/uni-decimal.el:
8998 * international/uni-decomposition.el, international/uni-digit.el:
8999 * international/uni-lowercase.el, international/uni-mirrored.el:
9000 * international/uni-name.el, international/uni-numeric.el:
9001 * international/uni-titlecase.el, international/uni-uppercase.el:
9002 Update for Unicode 6.1.
9003
9004 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9005
9006 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9007
9008 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9009
9010 * window.el (shrink-window): Mention the `window-min-height'
9011 variable in the doc string.
9012
9013 2012-04-05 Bastien Guerry <bzg@altern.org>
9014
9015 * color.el (color-lighten-name): Fix typo.
9016
9017 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9018
9019 * server.el (server--on-display-p): New function.
9020 (server--on-display-p): Use it.
9021
9022 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9023
9024 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9025 (bug#11145).
9026
9027 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * comint.el (comint--common-quoted-suffix): Check string boundary
9030 before comparing (bug#11158).
9031 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9032
9033 2012-04-04 Chong Yidong <cyd@gnu.org>
9034
9035 * minibuffer.el (completion-extra-properties): Doc fix.
9036
9037 * subr.el (delayed-warnings-hook): Doc fix.
9038
9039 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9040
9041 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9042 selection (Bug#11159).
9043 (epa-insert-keys): Inform that the default public key will be
9044 exported if no key is selected.
9045
9046 2012-04-04 Richard Stallman <rms@gnu.org>
9047
9048 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9049
9050 2012-04-03 Chong Yidong <cyd@gnu.org>
9051
9052 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9053 mail-insert-file, not its obsolete alias mail-attach-file.
9054
9055 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9056
9057 * notifications.el (notifications-notify): Fix docstring.
9058
9059 2012-04-02 Glenn Morris <rgm@gnu.org>
9060
9061 * emacs-lisp/authors.el (authors-aliases): Another addition.
9062
9063 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9064
9065 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9066 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9067 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9068
9069 2012-04-01 Chong Yidong <cyd@gnu.org>
9070
9071 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9072 Handle root directory properly.
9073 (copy-directory): Caller changed.
9074
9075 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9076 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9077
9078 2012-03-31 Glenn Morris <rgm@gnu.org>
9079
9080 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9081
9082 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9083
9084 * calendar/calendar.el (calendar-window-list)
9085 (calendar-hide-window): Restore. (Bug#11140)
9086 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9087
9088 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9089
9090 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9091
9092 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9093 Check if file is a symlink (Bug#10489).
9094
9095 * files.el (copy-directory): Likewise.
9096
9097 2012-03-30 Chong Yidong <cyd@gnu.org>
9098
9099 * image.el (imagemagick-types-inhibit)
9100 (imagemagick-register-types): Doc fix.
9101
9102 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9103
9104 * textmodes/ispell.el (ispell-get-extended-character-mode):
9105 Disable extended-char-mode for hunspell. hunspell does not support it
9106 and treats ~word as ordinary words in pipe mode.
9107
9108 2012-03-30 Glenn Morris <rgm@gnu.org>
9109
9110 * tutorial.el (help-with-tutorial): Ensure local variables don't
9111 happen to make the buffer read-only. (Bug#11127)
9112
9113 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9116 (perl-calculate-indent): Return `noindent' in strings.
9117
9118 2012-03-28 Sam Steingold <sds@gnu.org>
9119
9120 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9121 instead of the broken adhockery which does not prevent calendar
9122 buffers from being displayed at random after exit.
9123 (calendar-window-list, calendar-hide-window): Remove the broken
9124 adhockery.
9125
9126 2012-03-28 Glenn Morris <rgm@gnu.org>
9127
9128 * replace.el (query-replace-map): Doc fix.
9129
9130 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9131
9132 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9133 contents. (Bug#11109)
9134
9135 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9136
9137 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9138 (bug#11077).
9139 (avl-tree--check, avl-tree--check-node): New funs.
9140
9141 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9142
9143 * window.el (switch-to-visible-buffer): New option.
9144 (switch-to-prev-buffer, switch-to-next-buffer):
9145 Observe switch-to-visible-buffer. Make sure that checking for a window
9146 showing a buffer already is done on the same frame.
9147
9148 2012-03-27 Glenn Morris <rgm@gnu.org>
9149
9150 * startup.el (mail-host-address): Doc fix.
9151
9152 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9155 than 197 variables.
9156
9157 2012-03-26 Ami Fischman <ami@fischman.org>
9158
9159 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9160
9161 2012-03-26 Glenn Morris <rgm@gnu.org>
9162
9163 * files.el (save-buffers-kill-emacs): Doc fix.
9164
9165 * startup.el (normal-top-level, command-line, command-line-1):
9166 Give them doc strings.
9167
9168 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9169
9170 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9171 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9172
9173 2012-03-25 Chong Yidong <cyd@gnu.org>
9174
9175 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9176 theme if it was previously enabled before (Bug#11031).
9177
9178 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9179 spec with custom-face-get-current-spec if its :shown-value is not
9180 determined yet (Bug#9337).
9181 (customize-create-theme, custom-theme-revert): Doc fixes.
9182
9183 * button.el (button-at): Minor addition to docstring.
9184
9185 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9186
9187 * vc/vc.el (vc-merge): Fix a prompt.
9188
9189 2012-03-24 Chong Yidong <cyd@gnu.org>
9190
9191 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9192 point (Bug#9623).
9193
9194 * button.el (button-at): Minor addition to docstring.
9195
9196 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * newcomment.el (comment-choose-indent): No space after BOL.
9199
9200 2012-03-22 Sam Steingold <sds@gnu.org>
9201
9202 * window.el (switch-to-prev-buffer): Revert last patch because the
9203 bug turned out to be an advertised feature (Elisp manual 28.14).
9204
9205 2012-03-22 Glenn Morris <rgm@gnu.org>
9206
9207 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9208 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9209
9210 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211
9212 * net/network-stream.el (network-stream-open-starttls): Make error
9213 message under Windows be less misleading.
9214
9215 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9216
9217 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9218 understands (bug#9942).
9219
9220 2012-03-22 Chong Yidong <cyd@gnu.org>
9221
9222 * simple.el (end-of-visible-line): Handle return value of
9223 next-single-property-change properly (Bug#9371).
9224
9225 2012-03-22 Kenichi Handa <handa@m17n.org>
9226
9227 * international/quail.el (quail-insert-kbd-layout): Fix previous
9228 change. To avoid unwanted bidi reordering, use
9229 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9230
9231 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9232
9233 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9234 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9235 (ruby-beginning-of-indent): Be more careful with the difference
9236 between word-boundary and symbol boundary.
9237 (ruby-mode-syntax-table): Make : a symbol constituent.
9238
9239 2012-03-21 Andreas Politz <politza@fh-trier.de>
9240
9241 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9242
9243 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 * progmodes/etags.el (tags-completion-at-point-function):
9246 Improve last fix.
9247
9248 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9249
9250 2012-03-21 Sam Steingold <sds@gnu.org>
9251
9252 * progmodes/etags.el (tags-completion-at-point-function):
9253 Avoid the error when point is inside the pattern.
9254
9255 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9256
9257 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9258 line (Bug#10855).
9259
9260 2012-03-21 Drew Adams <drew.adams@oracle.com>
9261
9262 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9263
9264 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9265
9266 * ido.el (ido-set-current-directory, ido-read-internal)
9267 (ido-choose-completion-string, ido-completion-help): Handle nil
9268 value of ido-completion-buffer (Bug#11008).
9269
9270 2012-03-21 Sam Steingold <sds@gnu.org>
9271
9272 * window.el (switch-to-prev-buffer): Do not switch to a visible
9273 window previous buffer, just like with the frame previous buffers.
9274
9275 2012-03-21 Chong Yidong <cyd@gnu.org>
9276
9277 * faces.el (make-face, make-empty-face, copy-face):
9278 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9279 Doc fixes.
9280
9281 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9282
9283 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9284 (widget-complete): Remove broken use of it.
9285
9286 2012-03-20 Chong Yidong <cyd@gnu.org>
9287
9288 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9289 Use string-width and truncate-string-width to handle arbitrary
9290 characters.
9291
9292 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9293
9294 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9295 to draw rectangles, not squares. (Regression introduced by revno
9296 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9297
9298 2012-03-18 Chong Yidong <cyd@gnu.org>
9299
9300 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9301 it is not yet defined (for temacs).
9302
9303 2012-03-18 Leo Liu <sdl.web@gmail.com>
9304
9305 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9306 prefix.
9307
9308 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9309
9310 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9311 (ispell-choices-win-default-height, ispell-silently-savep)
9312 (ispell-dictionary-alist, ispell-encoding8-command)
9313 (ispell-check-version, ispell-aspell-find-dictionary)
9314 (ispell-valid-dictionary-list, ispell-words-keyword)
9315 (ispell-get-word, ispell-internal-change-dictionary)
9316 (ispell-region, ispell-skip-region-list)
9317 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9318 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9319 (ispell-message-text-end, ispell-message)
9320 (ispell-buffer-local-parsing): Doc fix.
9321
9322 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9323
9324 * htmlfontify.el: Add support for code block fontification for ODT
9325 export (Bug #9914).
9326 (hfy-optimisations): Define new option
9327 `body-text-only'
9328 (hfy-fontify-buffer): Honor above setting.
9329 (hfy-begin-span, hfy-end-span): New routines factored out form
9330 `hfy-fontify-buffer'.
9331 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9332 that permit insertion of custom tags.
9333 (hfy-fontify-buffer): Use above handlers.
9334 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9335 (hfy-face-to-css): Re-defined to be a variable.
9336 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9337 over multiple runs. This is made possible by having the caller let
9338 bind a special variable `hfy-user-sheet-assoc'.
9339 (htmlfontify-string): New defun.
9340 (hfy-compile-face-map): Make sure that the last char in the
9341 buffer is correctly fontified.
9342 (hfy-face-resolve-face): Whitespace only change.
9343
9344 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9345
9346 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9347 message more clear.
9348
9349 2012-03-16 Leo Liu <sdl.web@gmail.com>
9350
9351 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9352
9353 2012-03-16 Alan Mackenzie <acm@muc.de>
9354
9355 Further optimise the handling of large macros.
9356
9357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9358 limit to a call of `c-literal-limits'.
9359 (c-determine-+ve-limit): New function.
9360 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9361 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9362 In CASE 5B, restrict a search limit to 500.
9363 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9364
9365 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9366 Restrict macro bounds to +-500 from after-change's BEG END.
9367
9368 2012-03-16 Leo Liu <sdl.web@gmail.com>
9369
9370 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9371
9372 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9373
9374 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9375 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9376
9377 2012-03-16 Glenn Morris <rgm@gnu.org>
9378
9379 * view.el (view-buffer, view-buffer-other-window)
9380 (view-buffer-other-frame): Doc fixes re special mode-class.
9381
9382 * subr.el (eval-after-load): If named feature is provided not from
9383 a file, run after-load forms. (Bug#10946)
9384
9385 * calendar/calendar.el (calendar-insert-at-column):
9386 Handle non-unit-width characters a bit better. (Bug#10978)
9387
9388 2012-03-15 Chong Yidong <cyd@gnu.org>
9389
9390 * emacs-lisp/ring.el (ring-extend): New function.
9391 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9392
9393 * comint.el (comint-read-input-ring)
9394 (comint-add-to-input-history): Grow comint-input-ring lazily.
9395
9396 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9399 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9400
9401 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9402 (imenu-add-to-menubar): Don't add a redundant index.
9403 (imenu-update-menubar): Handle a dynamically composed keymap.
9404
9405 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9406
9407 * mail/sendmail.el (mail-encode-header):
9408 Bind rfc2047-encode-encoded-words to nil.
9409
9410 2012-03-13 Glenn Morris <rgm@gnu.org>
9411
9412 * calendar/calendar.el (calendar-string-spread):
9413 Handle non-unit-width characters a bit better. (Bug#10978)
9414
9415 2012-03-13 Leo Liu <sdl.web@gmail.com>
9416
9417 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9418 directory and file as argument (Bug#10822).
9419
9420 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9421
9422 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9423 For dynamically generated code, follow $PC.
9424 (gdb-disassembly-handler-custom): Handle no function name case.
9425
9426 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9427
9428 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9429 * emulation/ws-mode.el (ws-query-replace):
9430 * sort.el (sort-regexp-fields):
9431 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9432
9433 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * dabbrev.el: Fix cycle completion order (bug#10963).
9436 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9437 (dabbrev-completion): Don't use an obarray; provide
9438 a cycle-sort-function.
9439
9440 2012-03-12 Leo Liu <sdl.web@gmail.com>
9441
9442 * simple.el (kill-new): Use equal-including-properties for comparison.
9443 (kill-do-not-save-duplicates): Doc fix.
9444
9445 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9446
9447 * dabbrev.el: Fix cycle completion (bug#10963).
9448 Use lexical binding and wrap to 80 columns.
9449 (dabbrev-completion): Delay computing the list of completions.
9450
9451 2012-03-12 Kenichi Handa <handa@m17n.org>
9452
9453 * international/quail.el (quail-insert-kbd-layout): Surround each
9454 row by LRO and PDF instead of inserting many LRMs. Pad the left
9455 and right of each non-spacing marks. Insert invisible space
9456 between lower and upper characters to prevent composition.
9457
9458 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * minibuffer.el (minibuffer-complete): Don't get confused when the
9461 function is run twice via different commands (bug#10958).
9462 (complete-with-action): Fix docstring.
9463
9464 2012-03-12 Chong Yidong <cyd@gnu.org>
9465
9466 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9467 (nxml-completion-at-point-function): New function.
9468 (nxml-mode): Use it.
9469 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9470
9471 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9472 Load generated autoloads file before byte compiling (Bug#10970).
9473 (package--make-autoloads-and-compile): New helper fun.
9474
9475 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9476
9477 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9478
9479 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * autorevert.el (auto-revert-handler): Ensure, that
9482 file-readable-p is applied only for local files or in
9483 auto-revert-tail-mode.
9484
9485 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9486
9487 * server.el (server-eval-at): Handle non-tcp connections.
9488 Decode result string.
9489
9490 * server.el (server-msg-size): New constant.
9491 (server-reply-print): New function.
9492 (server-eval-and-print): Use it.
9493 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9494 Handle -print-nonl.
9495
9496 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9497
9498 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9499 (Bug#10987).
9500
9501 2012-03-11 Chong Yidong <cyd@gnu.org>
9502
9503 * simple.el (goto-line): Doc fix (Bug#9938).
9504
9505 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9506
9507 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9508 when finished (Bug#10963).
9509
9510 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9511
9512 * window.el (split-window-below): Fix bug in case where
9513 split-window-keep-point is nil (Bug#10971).
9514
9515 2012-03-11 Juri Linkov <juri@jurta.org>
9516
9517 * replace.el (replace-highlight): Set isearch-word to nil
9518 unconditionally. (Bug#10887)
9519
9520 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9521
9522 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9523 mairix-replace-illegal-chars; all callers changed. Don't remove
9524 ^, ~, and = characters: they are meaningful in mairix search specs.
9525 (mairix-widget-create-query): Add usage information about mairix
9526 search forms: negating words, searching for substrings, etc.
9527
9528 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9529
9530 * international/fontset.el (font-encoding-alist): Add an entry for
9531 ksx1001 (Bug#5667).
9532
9533 2012-03-10 Richard Stallman <rms@gnu.org>
9534
9535 * mail/sendmail.el (mail-encode-header):
9536 Set rfc2047-encode-encoded-words.
9537
9538 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9539
9540 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9541 view buffer means not swapped.
9542 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9543 (rmail-write-region-annotate): Error if real text has disappeared.
9544
9545 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9546
9547 2012-03-10 Chong Yidong <cyd@gnu.org>
9548
9549 * emulation/cua-rect.el (cua--init-rectangles):
9550 * emulation/cua-base.el (cua--init-keymaps):
9551 Add delete-forward-char to remappings (Bug#9666).
9552
9553 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9554
9555 * speedbar.el (speedbar-unhighlight-one-tag-line):
9556 Avoid unhighlighting due to frame switching (Bug#10275).
9557
9558 2012-03-10 Chong Yidong <cyd@gnu.org>
9559
9560 * minibuffer.el (completion-in-region, completion-help-at-point):
9561 Give the completion field overlay a high priority (Bug#6830).
9562
9563 * dired.el (dired-goto-file): Recognize absolute file name
9564 listings (Bug#7126).
9565 (dired-goto-file-1): New helper function.
9566 (dired-toggle-read-only): Inhibit warnings.
9567
9568 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9569
9570 * net/dbus.el (dbus-property-handler): Return empty array if
9571 there are no properties.
9572
9573 2012-03-09 Leo Liu <sdl.web@gmail.com>
9574
9575 * savehist.el (savehist-printable): Stricter check for string
9576 value (Bug#10937).
9577
9578 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9579
9580 * mail/smtpmail.el (smtpmail-send-it):
9581 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9582 valid mbox format.
9583
9584 2012-03-09 Glenn Morris <rgm@gnu.org>
9585
9586 * files.el (dir-locals-find-file):
9587 Don't check result is regular, readable.
9588 (dir-locals-read-from-file): Demote errors.
9589
9590 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9591
9592 * international/quail.el (quail-insert-kbd-layout):
9593 Insert invisible LRM characters before each character in a keyboard
9594 layout cell, to prevent their reordering by bidi display engine.
9595 For details, see the discussion in
9596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9597
9598 2012-03-08 Alan Mackenzie <acm@muc.de>
9599
9600 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9601 the starting position; make it extend the marked region when
9602 invoked repeatedly - all under appropriate circumstances.
9603 Fixes bugs #5525, #10906.
9604
9605 2012-03-08 Glenn Morris <rgm@gnu.org>
9606
9607 * files.el (locate-dominating-file, dir-locals-find-file):
9608 Undo 2012-03-06 change.
9609
9610 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9611
9612 * international/quail.el (quail-help):
9613 Force bidi-paragraph-direction be left-to-right. See discussion in
9614 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9615 for the reason.
9616
9617 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9618
9619 Avoid superfluous registering of signals. (Bug#10807)
9620
9621 * notifications.el (notifications-on-action-object)
9622 (notifications-on-close-object): New defvars.
9623 (notifications-on-action-signal, notifications-on-closed-signal):
9624 Unregister the signal if not needed any longer.
9625 (notifications-notify): Register `notifications-action-signal' or
9626 `notifications-closed-signal', if :on-action or :on-close has been
9627 passed as argument.
9628
9629 2012-03-07 Chong Yidong <cyd@gnu.org>
9630
9631 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9632 non-X platforms.
9633
9634 2012-03-06 Glenn Morris <rgm@gnu.org>
9635
9636 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9637 (x-disown-selection-internal, x-get-selection-internal):
9638 Doc fix (add arglist signatures). (Bug#10783)
9639
9640 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9641
9642 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9643 Handle breakpoints with no "type".
9644
9645 2012-03-06 Glenn Morris <rgm@gnu.org>
9646
9647 * files.el (locate-dominating-file): Add optional predicate argument.
9648 (dir-locals-find-file): Make use of above change.
9649
9650 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9651
9652 * info.el (Info-insert-dir): Also try "dir.gz".
9653
9654 2012-03-06 Glenn Morris <rgm@gnu.org>
9655
9656 * files.el (dir-locals-find-file):
9657 Ignore non-readable or non-regular files. (Bug#10928)
9658
9659 * files.el (locate-dominating-file): Doc fix.
9660
9661 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9662
9663 * calendar/calendar.el (calendar-set-mode-line):
9664 `getenv' returns a string. (Bug#10951)
9665
9666 2012-03-05 Leo Liu <sdl.web@gmail.com>
9667
9668 * simple.el (backward-delete-char-untabify): Constrain point to
9669 field (Bug#10939).
9670
9671 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9672
9673 2012-03-05 Chong Yidong <cyd@gnu.org>
9674
9675 * simple.el (count-words): If called from Lisp, return the word
9676 count, for symmetry with `count-lines'. Arglist changed.
9677 (count-words--message): Args changed. Consolidate counting code
9678 from count-words and count-words-region.
9679 (count-words-region): Caller changed.
9680 (count-lines-region): Make it an obsolete alias.
9681
9682 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9683
9684 * saveplace.el (save-place-to-alist)
9685 (save-place-ignore-files-regexp): Allow value nil to disable this
9686 feature.
9687
9688 2012-03-04 Chong Yidong <cyd@gnu.org>
9689
9690 * faces.el (face-spec-reset-face): For the default face, reset the
9691 attributes to default values (Bug#10748).
9692
9693 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9696 previous patch: Check `message-send-mail-function', and not the
9697 default function (bug#10897).
9698
9699 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9700
9701 * notifications.el (notifications-on-action-signal)
9702 (notifications-on-closed-signal): Check for unique service name of
9703 incoming event. Fix error in removing entry.
9704 (top): Register for signals with wildcard service name.
9705 (notifications-notify): Use daemon unique service name for map entries.
9706
9707 2012-03-04 Chong Yidong <cyd@gnu.org>
9708
9709 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9710
9711 2012-03-04 Glenn Morris <rgm@gnu.org>
9712
9713 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9714 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9715 (expand-abbrev, define-abbrev-table): Doc fixes.
9716
9717 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9720 `message-default-send-mail-function' and not `send-mail-function'
9721 when doing the prompting for `sendmail-query-once' before sending
9722 in Message buffers (bug#10897).
9723
9724 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9725 This is inconsistent with all the other stream functions, which leave
9726 the setting up to the higher levels (if so wanted) (bug#10931).
9727
9728 2012-03-02 Alan Mackenzie <acm@muc.de>
9729
9730 Depessimize the handling of very large macros.
9731
9732 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9733 (c-macro-cache-syntactic): New variables to implement a one
9734 element macro cache.
9735 (c-invalidate-macro-cache): New function.
9736 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9737 Adapt to use the new cache.
9738 (c-state-safe-place): Use better the cache of safe positions.
9739 (c-state-semi-nonlit-pos-cache)
9740 (c-state-semi-nonlit-pos-cache-limit):
9741 New variables for...
9742 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9743 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9744 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9745 Use c-state-semi-safe-place.
9746
9747 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9748 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9749
9750 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9751
9752 * jka-compr.el (jka-compr-call-process):
9753 Apply `file-accessible-directory-p' only when the default directory is
9754 not remote.
9755
9756 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9759 access of FILE2, if FILE1 does not exist.
9760
9761 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9762 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9763
9764 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9765 Add "PAGER=" to `process-environment'.
9766
9767 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9768
9769 * progmodes/sql.el: Bug fix
9770 (sql-get-login-ext): Save login values in globals.
9771 (sql-get-login): Use new version of `sql-get-login-ext'.
9772 (sql-interactive-mode): Set global `sql-connection' to nil.
9773 (sql-connect): Set global values for connection.
9774 (sql-product-interactive): Save global values as buffer local.
9775
9776 2012-02-29 Leo Liu <sdl.web@gmail.com>
9777
9778 * abbrev.el (define-abbrevs): Reset sys to nil.
9779
9780 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9781
9782 * files.el (file-equal-p): Rename from `files-equal-p'.
9783 Return nil when one or both files don't exist.
9784 (file-subdir-of-p): Now only top directory must exists,
9785 return nil if it doesn't.
9786 (copy-directory): No need to test with `file-subdir-of-p' after
9787 creating dir.
9788 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9789 to `file-equal-p'.
9790
9791 2012-02-28 Glenn Morris <rgm@gnu.org>
9792
9793 * shell.el (shell-mode):
9794 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9795 * play/landmark.el (landmark-font-lock-face-O):
9796 * play/handwrite.el (handwrite):
9797 * play/gomoku.el (gomoku-O):
9798 * net/browse-url.el (browse-url-browser-display):
9799 * international/mule.el (define-charset):
9800 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9801 * filesets.el (filesets-find-file-delay):
9802 * eshell/em-xtra.el (eshell-xtra):
9803 * eshell/em-unix.el (eshell-grep):
9804 * emulation/viper.el (viper-mode):
9805 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9806 * emacs-lisp/easymenu.el (easy-menu-define):
9807 * calendar/timeclock.el (timeclock-use-display-time):
9808 * bs.el (bs-mode):
9809 * bookmark.el (bookmark-save-flag):
9810 Doc fix (standardize possessive apostrophe usage).
9811
9812 2012-02-27 Chong Yidong <cyd@gnu.org>
9813
9814 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9815 Fix key-binding lookup for ESC key (Bug#9146).
9816
9817 * font-lock.el (font-lock-specified-p): Rename from
9818 font-lock-spec-present. Callers changed.
9819
9820 2012-02-27 Daniel Hackney <dan@haxney.org>
9821
9822 * emacs-lisp/package.el (package-compute-transaction):
9823 Handle holding a package version to t in package-load-list.
9824
9825 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9826
9827 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9828 (tramp-get-inode, tramp-get-device): Use cached values.
9829
9830 2012-02-26 Alan Mackenzie <acm@muc.de>
9831
9832 Check there is a font-lock specification before doing initial
9833 fontification.
9834
9835 * font-core.el (font-lock-mode): Move the conditional from
9836 :after-hook to font-lock-initial-fontify.
9837 (font-lock-default-function): Move the check for a specification
9838 to font-lock-spec-present.
9839
9840 * font-lock.el (font-lock-initial-fontify): Call ...
9841 (font-lock-spec-present): New function.
9842
9843 2012-02-26 Jim Blandy <jimb@red-bean.com>
9844
9845 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9846 (gdb-send): Apply it to the operand of the '-interpreter-exec
9847 console' command, so that we can pass arguments with (say) quotes
9848 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9849
9850 2012-02-26 Chong Yidong <cyd@gnu.org>
9851
9852 * help-fns.el (describe-function-1): Clarify description of
9853 remapping (Bug#10844).
9854
9855 * files.el (files-equal-p): Doc fix.
9856 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9857 and quit the loop once a mismatch is found.
9858
9859 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9860
9861 * bs.el (bs--show-with-configuration): Don't throw an error
9862 if the window cannot be split; otherwise, subsequent calls to
9863 bs-show fail, restoring a stale window config. (Bug#10882)
9864
9865 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9866
9867 * term/ns-win.el (global-map): Bind ns-drag-file to
9868 ns-find-file (Bug#5855, Bug#10050).
9869
9870 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9871
9872 * calendar/parse-time.el (parse-time-string): Allow extractor to
9873 return nil.
9874
9875 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/tramp.el (tramp-file-name-for-operation):
9878 Add `files-equal-p' and `file-subdir-of-p'.
9879
9880 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9881 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9882 Add COPY-CONTENTS argument.
9883
9884 2012-02-25 Chong Yidong <cyd@gnu.org>
9885
9886 Add custom groups for VC backends, for consistency with vc-bzr.
9887
9888 * vc/vc-arch.el (vc-arch):
9889 * vc/vc-cvs.el (vc-cvs):
9890 * vc/vc-git.el (vc-git):
9891 * vc/vc-hg.el (vc-hg):
9892 * vc/vc-mtn.el (vc-mtn):
9893 * vc/vc-rcs.el (vc-rcs):
9894 * vc/vc-sccs.el (vc-sccs):
9895 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9896 All relevant defcustoms reassigned.
9897
9898 2012-02-25 Chong Yidong <cyd@gnu.org>
9899
9900 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9901
9902 * term/x-win.el (x-initialize-window-system): Reduce default for
9903 x-selection-timeout to 5 seconds (Bug#8869).
9904
9905 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9906
9907 * files.el (files-equal-p, file-subdir-of-p): New functions.
9908 (copy-directory): Error when trying to copy a directory on itself.
9909 Add missing copy-contents arg to tramp handler.
9910 * dired-aux.el (dired-copy-file-recursive): Same.
9911 (dired-create-files): Modify destination when source is equal to
9912 dest when copying files.
9913 Return also when dest is a subdir of source. (Bug#10489)
9914
9915 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9918 (Bug#10874)
9919
9920 2012-02-23 Alan Mackenzie <acm@muc.de>
9921
9922 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9923 parameter "after-hook:" to allow the expansion to run code after
9924 the execution of the mode hooks.
9925
9926 * font-lock.el (font-lock-initial-fontify): New function extracted
9927 from font-lock-mode-internal.
9928
9929 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9930 :after-hook.
9931
9932 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9935 (completion--cache-all-sorted-completions): New function.
9936 (completion-all-sorted-completions): Use it.
9937 (completion--do-completion, minibuffer-force-complete):
9938 Use it to re-instate the flush hook.
9939
9940 * icomplete.el (icomplete-completions): Replace last fix with a better
9941 one (bug#10850).
9942
9943 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9944
9945 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9946 when it might call us back infinitely (bug#10797).
9947
9948 2012-02-23 Glenn Morris <rgm@gnu.org>
9949
9950 * minibuffer.el (completion-category-overrides): Doc fix.
9951
9952 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9955 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9956
9957 2012-02-23 Glenn Morris <rgm@gnu.org>
9958
9959 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9960 (authors-obsolete-files-regexps, authors-ignored-files)
9961 (authors-ambiguous-files, authors-renamed-files-alist):
9962 Add more entries.
9963
9964 2012-02-23 Juri Linkov <juri@jurta.org>
9965
9966 * isearch.el (isearch-occur): Sync interactive spec with occur's
9967 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9968
9969 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9970
9971 2012-02-22 Juri Linkov <juri@jurta.org>
9972
9973 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9974 (ucs-insert): Doc fix. Check for hex digits in the string.
9975 Don't display `nil' in the error message. (Bug#10857)
9976
9977 2012-02-22 Alan Mackenzie <acm@muc.de>
9978
9979 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9980
9981 2012-02-22 Glenn Morris <rgm@gnu.org>
9982
9983 * ffap.el (ffap-c-path):
9984 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9985
9986 2012-02-22 Chong Yidong <cyd@gnu.org>
9987
9988 * custom.el (load-theme): Doc fix.
9989
9990 2012-02-22 Glenn Morris <rgm@gnu.org>
9991
9992 * dired-x.el (dired-guess-shell-alist-default):
9993 Remove escape sequences from nroff output. (Bug#172)
9994
9995 2012-02-21 Glenn Morris <rgm@gnu.org>
9996
9997 * vc/emerge.el (emerge-defvar-local):
9998 Set `permanent-local' property rather than unused `preserved'.
9999
10000 * textmodes/picture.el (picture-delete-char): New alias.
10001 (picture-mode-map): Use it. (Bug#10860)
10002 (picture-mode): Doc fix.
10003
10004 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * newcomment.el (uncomment-region-default): Remove unused binding.
10007
10008 2012-02-21 Glenn Morris <rgm@gnu.org>
10009
10010 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10011 (picture-self-insert, picture-tab-chars): Doc fix.
10012 (picture-mode-map): Fix C-a, C-e.
10013
10014 2012-02-20 Glenn Morris <rgm@gnu.org>
10015
10016 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10017
10018 2012-02-20 Leo Liu <sdl.web@gmail.com>
10019
10020 * icomplete.el (icomplete-completions): Check FROM arg before
10021 passing to substring (Bug#10850).
10022
10023 2012-02-19 Chong Yidong <cyd@gnu.org>
10024
10025 * comint.el: Require ansi-color.
10026 (comint-output-filter-functions): Add ansi-color-process-output.
10027
10028 * ansi-color.el: Don't set comint-output-filter-functions; it is
10029 now in the initial value defined in comint.el.
10030 (ansi-color-apply-face-function): New variable.
10031 (ansi-color-apply-on-region): Use it.
10032 (ansi-color-apply-overlay-face): New function.
10033
10034 * shell.el (shell): No need to require ansi-color.
10035 (shell-mode): Use ansi-color-apply-face-function to highlight
10036 color escapes using font-lock-face property (Bug#10835).
10037
10038 2012-02-19 Chong Yidong <cyd@gnu.org>
10039
10040 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10041 mode-line formats (Bug#10839).
10042
10043 2012-02-18 Glenn Morris <rgm@gnu.org>
10044
10045 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10046
10047 * mail/undigest.el (unforward-rmail-message): Doc fix.
10048
10049 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10050
10051 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10052
10053 * international/characters.el (script-list): Sync with the latest
10054 Unicode Character Database.
10055
10056 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10057
10058 * international/titdic-cnv.el: Remove duplicate coding tag.
10059 * language/cham.el: Likewise.
10060 * language/tai-viet.el: Likewise.
10061
10062 2012-02-18 Glenn Morris <rgm@gnu.org>
10063
10064 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10065 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10066 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10067 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10068 * calendar/holidays.el (holiday-bahai-holidays)
10069 (calendar-holidays, list-holidays):
10070 Use utf-8 Bahá'í in doc-strings, menus, etc.
10071
10072 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10073
10074 * saveplace.el (save-place-ignore-files-regexp): New variable
10075 allowing for excluding files from saving their location of point.
10076 The default value matches the temporary commit message editing
10077 files from Git, SVN, Bazaar, and Mercurial.
10078 (save-place-to-alist): Use it.
10079
10080 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10081 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * newcomment.el (uncomment-region-default): Don't leave extra space
10084 when an arg is provided (bug#8150).
10085
10086 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10087
10088 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10089
10090 2012-02-17 Glenn Morris <rgm@gnu.org>
10091
10092 * net/socks.el: Require network-stream. (Bug#10599)
10093
10094 2012-02-17 Kenichi Handa <handa@m17n.org>
10095
10096 * international/charprop.el:
10097 * international/uni-name.el:
10098 * international/uni-old-name.el:
10099 * international/uni-comment.el: Regenerate.
10100
10101 2012-02-16 Glenn Morris <rgm@gnu.org>
10102
10103 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10104 Interactively in calendar buffer, give an error if not on a date.
10105
10106 2012-02-15 Glenn Morris <rgm@gnu.org>
10107
10108 * shell.el (shell-delimiter-argument-list):
10109 Revert 2011-02-17 change. (Bug#8027)
10110
10111 2012-02-15 Chong Yidong <cyd@gnu.org>
10112
10113 * minibuffer.el (completion-at-point-functions): Doc fix.
10114
10115 * custom.el (defcustom): Doc fix; note use of defvar.
10116
10117 2012-02-15 Glenn Morris <rgm@gnu.org>
10118
10119 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10120 Doc fixes.
10121
10122 2012-02-14 Glenn Morris <rgm@gnu.org>
10123
10124 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10125
10126 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10127
10128 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10129 way the ports list is computed.
10130 (smtpmail-query-smtp-server): Prompt the user for a port number if
10131 we can't connect to any of the standard ports (bug#10810).
10132
10133 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10134
10135 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10136
10137 2012-02-13 Glenn Morris <rgm@gnu.org>
10138
10139 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10140
10141 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10142
10143 * net/gnutls.el (gnutls-trustfiles): New variable.
10144 (gnutls-negotiate): Use it.
10145
10146 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10147
10148 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10149 does its stuff if Gnus is running.
10150
10151 2012-02-13 Alan Mackenzie <acm@muc.de>
10152
10153 Fix a loop in c-set-fl-decl-start.
10154
10155 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10156 c-backward-syntactic-ws actually moves backwards.
10157
10158 2012-02-13 Leo Liu <sdl.web@gmail.com>
10159
10160 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10161 beginning so that all \C-o chars are removed.
10162
10163 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10164
10165 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10166
10167 2012-02-12 Alan Mackenzie <acm@muc.de>
10168
10169 Fix infinite loop with long macros.
10170 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10171
10172 2012-02-12 Chong Yidong <cyd@gnu.org>
10173
10174 * window.el (display-buffer): Doc fix (Bug#10785).
10175
10176 2012-02-12 Glenn Morris <rgm@gnu.org>
10177
10178 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10179 (x-disown-selection-internal, x-get-selection-internal):
10180 Sync docs with the xselect.c versions.
10181
10182 * allout-widgets.el: Add missing license notice.
10183
10184 2012-02-11 Glenn Morris <rgm@gnu.org>
10185
10186 * select.el (x-get-selection-internal, x-own-selection-internal)
10187 (x-disown-selection-internal):
10188 * x-dnd.el (x-get-selection-internal): Update declarations.
10189
10190 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10191
10192 * window.el (window-sides-slots):
10193 * tool-bar.el (tool-bar-position):
10194 * term/xterm.el (xterm-extra-capabilities):
10195 * ses.el (ses-self-reference-early-detection):
10196 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10197 (verilog-auto-wire-type)
10198 (verilog-auto-delete-trailing-whitespace)
10199 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10200 (verilog-auto-tieoff-declaration):
10201 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10202 (sql-oracle-statement-starters, sql-oracle-scan-on):
10203 * progmodes/prolog.el (prolog-align-comments-flag)
10204 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10205 (prolog-left-indent-regexp, prolog-paren-indent-p)
10206 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10207 (prolog-types, prolog-mode-specificators)
10208 (prolog-determinism-specificators, prolog-directives)
10209 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10210 (prolog-electric-dot-flag)
10211 (prolog-electric-dot-full-predicate-template)
10212 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10213 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10214 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10215 (prolog-program-switches, prolog-prompt-regexp)
10216 (prolog-debug-on-string, prolog-debug-off-string)
10217 (prolog-trace-on-string, prolog-trace-off-string)
10218 (prolog-zip-on-string, prolog-zip-off-string)
10219 (prolog-use-standard-consult-compile-method-flag)
10220 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10221 (prolog-imenu-max-lines, prolog-info-predicate-index)
10222 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10223 (prolog-char-quote-workaround):
10224 * progmodes/cc-vars.el (c-defun-tactic):
10225 * net/tramp.el (tramp-encoding-command-interactive)
10226 (tramp-local-end-of-line):
10227 * net/soap-client.el (soap-client):
10228 * net/netrc.el (netrc-file):
10229 * net/gnutls.el (gnutls):
10230 * minibuffer.el (completion-category-overrides)
10231 (completion-cycle-threshold)
10232 (completion-pcm-complete-word-inserts-delimiters):
10233 * man.el (Man-name-local-regexp):
10234 * mail/feedmail.el (feedmail-display-full-frame):
10235 * international/characters.el (glyphless-char-display-control):
10236 * eshell/em-ls.el (eshell-ls-date-format):
10237 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10238 (lisp-lambda-list-keyword-parameter-indentation)
10239 (lisp-lambda-list-keyword-parameter-alignment):
10240 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10241 * dired-x.el (dired-omit-verbose):
10242 * cus-theme.el (custom-theme-allow-multiple-selections):
10243 * calc/calc.el (calc-highlight-selections-with-faces)
10244 (calc-lu-field-reference, calc-lu-power-reference)
10245 (calc-note-threshold):
10246 * battery.el (battery-mode-line-limit):
10247 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10248 (archive-7z-update):
10249 * allout.el (allout-prefixed-keybindings)
10250 (allout-unprefixed-keybindings)
10251 (allout-inhibit-auto-fill-on-headline)
10252 (allout-flattened-numbering-abbreviation):
10253 * allout-widgets.el (allout-widgets-auto-activation)
10254 (allout-widgets-icons-dark-subdir)
10255 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10256 (allout-widgets-theme-dark-background)
10257 (allout-widgets-theme-light-background)
10258 (allout-widgets-item-image-properties-emacs)
10259 (allout-widgets-item-image-properties-xemacs)
10260 (allout-widgets-run-unit-tests-on-load)
10261 (allout-widgets-time-decoration-activity)
10262 (allout-widgets-hook-error-post-time)
10263 (allout-widgets-track-decoration):
10264 Add missing :version tags to new defcustoms and defgroups.
10265
10266 * progmodes/sql.el (sql-ansi-statement-starters)
10267 (sql-oracle-statement-starters): Add custom type.
10268
10269 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10270 (prolog-system-version): Give it a type.
10271
10272 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10273
10274 * term/pc-win.el (x-select-text, x-selection-owner-p)
10275 (x-own-selection-internal, x-disown-selection-internal)
10276 (x-get-selection-internal): Sync doc strings and argument lists
10277 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10278
10279 2012-02-11 Leo Liu <sdl.web@gmail.com>
10280
10281 * progmodes/python.el (python-end-of-statement): Fix infinite
10282 loop. (Bug#10788)
10283
10284 2012-02-10 Glenn Morris <rgm@gnu.org>
10285
10286 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10287 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10288
10289 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10290
10291 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10292 about SMTP before checking the From header.
10293
10294 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10295 into own function for reuse by emacsbug.el.
10296
10297 2012-02-10 Leo Liu <sdl.web@gmail.com>
10298
10299 * subr.el (condition-case-unless-debug): Rename from
10300 condition-case-no-debug. All callers changed.
10301 (with-demoted-errors): Fix caller.
10302
10303 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10304 * nxml/rng-valid.el (rng-do-some-validation):
10305 * emacs-lisp/package.el (package-refresh-contents)
10306 (package-menu-execute):
10307 * desktop.el (desktop-create-buffer):
10308 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10309
10310 2012-02-10 Glenn Morris <rgm@gnu.org>
10311
10312 * textmodes/bibtex.el:
10313 Add missing :version tags for new/changed defcustoms.
10314
10315 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10316
10317 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10318
10319 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10320 (smtpmail-via-smtp): Use it, or fall back on the From address.
10321 (smtpmail-send-it): Ditto.
10322
10323 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10326 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10327 (byte-compile-tmp-var): New const.
10328 (byte-compile-defvar): Use it to minimize .elc size.
10329 Just use `defvar' rather than simulate it (bug#10761).
10330
10331 2012-02-09 Glenn Morris <rgm@gnu.org>
10332
10333 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10334
10335 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10336 Add :version tags.
10337
10338 * progmodes/compile.el (compilation-error-screen-columns)
10339 (compilation-first-column, compilation-filter-start): Doc fixes.
10340
10341 * vc/log-view.el (log-view-toggle-entry-display):
10342 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10343
10344 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10345 (report-emacs-bug-can-use-xdg-email):
10346 (report-emacs-bug-insert-to-mailer): Doc fixes.
10347 (report-emacs-bug): Message fix.
10348
10349 * net/browse-url.el (browse-url-can-use-xdg-open)
10350 (browse-url-xdg-open): Doc fixes.
10351
10352 * electric.el (electric-indent-mode, electric-pair-mode)
10353 (electric-layout-rules, electric-layout-mode): Doc fixes.
10354 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10355
10356 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10357
10358 * server.el (server-unselect-display): Don't inadvertently kill
10359 the current buffer. (Bug#10729)
10360
10361 2012-02-08 Glenn Morris <rgm@gnu.org>
10362
10363 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10364 (sql-list-table): Doc fixes.
10365
10366 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10367 Comment out (does nothing).
10368
10369 * completion.el (dynamic-completion-mode):
10370 * dirtrack.el (dirtrack-debug-mode):
10371 * electric.el (electric-layout-mode):
10372 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10373 * face-remap.el (text-scale-mode, buffer-face-mode):
10374 * iimage.el (iimage-mode):
10375 * image-mode.el (image-transform-mode):
10376 * minibuffer.el (completion-in-region-mode):
10377 * scroll-lock.el (scroll-lock-mode):
10378 * simple.el (next-error-follow-minor-mode):
10379 * tar-mode.el (tar-subfile-mode):
10380 * tooltip.el (tooltip-mode):
10381 * vcursor.el (vcursor-use-vcursor-map):
10382 * wid-browse.el (widget-minor-mode):
10383 * emulation/tpu-edt.el (tpu-edt-mode):
10384 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10385 * international/iso-ascii.el (iso-ascii-mode):
10386 * language/thai-util.el (thai-word-mode):
10387 * mail/supercite.el (sc-minor-mode):
10388 * net/goto-addr.el (goto-address-mode):
10389 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10390 * progmodes/cwarn.el (cwarn-mode):
10391 * progmodes/flymake.el (flymake-mode):
10392 * progmodes/glasses.el (glasses-mode):
10393 * progmodes/hideshow.el (hs-minor-mode):
10394 * progmodes/pascal.el (pascal-outline-mode):
10395 * textmodes/enriched.el (enriched-mode):
10396 * vc/smerge-mode.el (smerge-mode):
10397 Doc fixes (minor mode argument).
10398
10399 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10400
10401 * ls-lisp.el (ls-lisp-sanitize): New function.
10402 (ls-lisp-insert-directory): Use it to fix or remove any elements
10403 in file-alist with missing attributes. (Bug#4673)
10404
10405 2012-02-07 Alan Mackenzie <acm@muc.de>
10406
10407 Fix spurious recognition of c-in-knr-argdecl.
10408
10409 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10410 putative K&R region.
10411
10412 2012-02-07 Alan Mackenzie <acm@muc.de>
10413
10414 * progmodes/cc-engine.el (c-forward-objc-directive):
10415 Prevent looping in "#pragma mark @implementation".
10416
10417 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10418
10419 * notifications.el (notifications-on-closed-signal): Make `reason'
10420 optional. (Bug#10744)
10421
10422 2012-02-07 Glenn Morris <rgm@gnu.org>
10423
10424 * emacs-lisp/easy-mmode.el (define-minor-mode):
10425 Doc fixes for the macro and the mode it defines.
10426
10427 * image.el (imagemagick-types-inhibit): Doc fix.
10428
10429 * cus-start.el (imagemagick-render-type): Add it.
10430
10431 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10432
10433 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10434 Set the default at load time, too, so that `font-lock-fontify-buffer'
10435 can be called without setting up the entire mode first. This fixes
10436 a bug in `mm-inline-text' with C MIME parts.
10437
10438 2012-02-06 Chong Yidong <cyd@gnu.org>
10439
10440 * simple.el (list-processes--refresh): Delete exited processes
10441 (Bug#8094).
10442
10443 * comint.el (comint-next-prompt): next-single-char-property-change
10444 and prev-single-char-property-change never return nil (Bug#8657).
10445
10446 * custom.el (defcustom): Doc fix (Bug#9711).
10447
10448 2012-02-05 Chong Yidong <cyd@gnu.org>
10449
10450 * cus-edit.el (custom-variable-reset-backup): Quote the value
10451 before storing it in the customized-value property (Bug#6712).
10452 (custom-display): Add a customization type tag.
10453 (custom-buffer-create-internal): Improve tooltip message.
10454
10455 * wid-edit.el (widget-field-value-get): New optional arg to
10456 suppress trailing whitespace truncation.
10457 (character): Use it (Bug#2689).
10458
10459 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10460
10461 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10462 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10463
10464 2012-02-05 Chong Yidong <cyd@gnu.org>
10465
10466 * cus-edit.el (custom-variable-value-create): For mismatched
10467 types, show the current value (Bug#7600).
10468
10469 * custom.el (defcustom): Doc fix.
10470
10471 2012-02-05 Glenn Morris <rgm@gnu.org>
10472
10473 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10474
10475 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10476
10477 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10478 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10479 (pp-last-sexp): Use `looking-at-p'.
10480
10481 2012-02-04 Glenn Morris <rgm@gnu.org>
10482
10483 * files.el (revert-buffer):
10484 Doc fix (mention revert-buffer-in-progress-p).
10485
10486 * emacs-lisp/ert-x.el (ert-simulate-command):
10487 Check deferred-action-list (which is obsolete) is bound.
10488
10489 * subr.el (with-wrapper-hook): Doc fixes.
10490
10491 * simple.el (filter-buffer-substring-functions)
10492 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10493
10494 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10495
10496 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10497 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10498
10499 2012-02-04 Leo Liu <sdl.web@gmail.com>
10500
10501 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10502
10503 2012-02-04 Glenn Morris <rgm@gnu.org>
10504
10505 * image.el (image-extension-data): Add obsolete alias.
10506
10507 * isearch.el (isearch-update): Doc fix.
10508
10509 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10510
10511 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10512
10513 2012-02-03 Glenn Morris <rgm@gnu.org>
10514
10515 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10516 (image-animate-timeout): Doc fix.
10517
10518 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10519
10520 2012-02-02 Glenn Morris <rgm@gnu.org>
10521
10522 * server.el (server-auth-dir): Doc fix.
10523 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10524
10525 * subr.el (run-mode-hooks): Doc fix.
10526
10527 2012-02-02 Juri Linkov <juri@jurta.org>
10528
10529 * image-mode.el (image-toggle-display-image): Remove tautological
10530 `major-mode' from the `derived-mode-p' test.
10531
10532 2012-02-02 Kenichi Handa <handa@m17n.org>
10533
10534 * composite.el (compose-region): Cancel previous change.
10535
10536 2012-02-02 Kenichi Handa <handa@m17n.org>
10537
10538 * composite.el (compose-region, compose-string): Signal error for
10539 a null string component (Bug#6988).
10540
10541 2012-02-01 Chong Yidong <cyd@gnu.org>
10542
10543 * view.el (view-buffer-other-window, view-buffer-other-frame):
10544 Handle special modes like view-buffer (Bug#10650).
10545 (view-buffer): Simplify.
10546
10547 * frame.el (set-frame-font): Tweak meaning of third argument.
10548
10549 * dynamic-setting.el (font-setting-change-default-font):
10550 Use set-frame-font (Bug#9982).
10551
10552 2012-02-01 Glenn Morris <rgm@gnu.org>
10553
10554 * progmodes/compile.el (compilation-internal-error-properties):
10555 Respect compilation-first-column in the "*compilation*" buffer.
10556
10557 * emacs-lisp/easy-mmode.el (define-minor-mode):
10558 Relax :variable's test for a named function.
10559
10560 2012-01-31 Alan Mackenzie <acm@muc.de>
10561
10562 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10563 off by one error.
10564
10565 2012-01-31 Chong Yidong <cyd@gnu.org>
10566
10567 * frame.el (set-frame-font): New arg ALL-FRAMES.
10568
10569 * menu-bar.el (menu-set-font): Use set-frame-font.
10570
10571 * faces.el (face-spec-reset-face): Don't apply unspecified
10572 attribute values to the default face.
10573
10574 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10575
10576 * progmodes/cwarn.el (cwarn): Remove dead link.
10577 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10578 Remove * from defcustom docstrings.
10579 (turn-on-cwarn-mode): Make obsolete.
10580 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10581 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10582
10583 2012-01-31 Glenn Morris <rgm@gnu.org>
10584
10585 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10586 Fix :variable handling of mode a symbol not equal to modefun.
10587 Allow named functions to be used as the cdr of :variable.
10588
10589 2012-01-30 Glenn Morris <rgm@gnu.org>
10590
10591 * emacs-lisp/authors.el (authors-fixed-entries):
10592 Remove reference to deleted file rnewspost.el.
10593
10594 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10595
10596 * window.el (window-with-parameter): Remove unused variable `windows'.
10597 (window--side-check): Remove unused variable `code'.
10598 (window--resize-siblings): Remove unused variable `first'.
10599 (adjust-window-trailing-edge): Remove unused variable `failed'.
10600 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10601 Use `let', not `let*'.
10602 (balance-windows-2): Remove unused variable `found'.
10603 (window--state-put-2): Remove unused variable `splits'.
10604 (window-state-put): Remove unused variable `selected'.
10605 (same-window-p): Use `string-match-p'.
10606 (display-buffer-assq-regexp): Remove unused variable `value'.
10607 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10608 Mark argument ALIST as ignored.
10609 (pop-to-buffer): Remove unused variable `old-window'.
10610
10611 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10612
10613 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10614 and .lzma compressed files.
10615
10616 2012-01-29 Chong Yidong <cyd@gnu.org>
10617
10618 * frame.el (window-system-default-frame-alist): Doc fix.
10619
10620 * dynamic-setting.el (font-setting-change-default-font): Don't
10621 change the default face if SET-FONT argument is non-nil (Bug#9982).
10622
10623 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10624
10625 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10626
10627 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10628
10629 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10630 breakpoints in files outside current directory (Bug#6098).
10631
10632 2012-01-29 Chong Yidong <cyd@gnu.org>
10633
10634 * progmodes/python.el: Require ansi-color at top-level.
10635
10636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10637 Define and use in Emacs Lisp mode (Bug#9360).
10638 (lisp-mode-abbrev-table): Add doc.
10639 (lisp-mode-variables): Don't set local-abbrev-table.
10640 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10641
10642 2012-01-28 Roland Winkler <winkler@gnu.org>
10643
10644 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10645
10646 2012-01-28 Roland Winkler <winkler@gnu.org>
10647
10648 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10649 (bibtex-set-dialect): Use it. Either set global values of
10650 dialect-dependent variables or bind these variables buffer-locally
10651 (Bug#10254).
10652 (bibtex-mode): Call bibtex-set-dialect via
10653 hack-local-variables-hook.
10654 (bibtex-dialect): Update docstring.
10655 Add safe-local-variable predicate.
10656 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10657 bibtex-set-dialect.
10658 (bibtex-mode-map): Define menu for each dialect.
10659 (bibtex-entry): Fix docstring.
10660
10661 2012-01-28 Chong Yidong <cyd@gnu.org>
10662
10663 * eshell/esh-arg.el (eshell-quote-argument): New function.
10664
10665 * eshell/esh-ext.el (eshell-invoke-batch-file):
10666 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10667 first arg to eshell-parse-command (Bug#10523).
10668
10669 2012-01-28 Drew Adams <drew.adams@oracle.com>
10670
10671 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10672 `default-directory' is non-nil.
10673
10674 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10675
10676 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10677 line that displays system-configuration-options. (Bug#9924)
10678
10679 2012-01-28 Drew Adams <drew.adams@oracle.com>
10680
10681 * descr-text.el (describe-char): Show information about POS, in
10682 addition to information about the character at POS. Improve and
10683 update the doc string. Change "code point" to "code point in
10684 charset", to avoid confusion with the character's Unicode code
10685 point shown above that. (Bug#10129)
10686
10687 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10688
10689 * descr-text.el (describe-char): Show the raw character, not only
10690 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10691 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10692 for the reasons.
10693
10694 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10695
10696 * emacs-lisp/package.el (package-install):
10697 Run package-refresh-contents if there is no archive yet (Bug#9798).
10698
10699 2012-01-28 Chong Yidong <cyd@gnu.org>
10700
10701 * emacs-lisp/package.el (package-maybe-load-descriptor):
10702 New function, split from package-maybe-load-descriptor.
10703 (package-maybe-load-descriptor): Use it.
10704 (package-download-transaction): Fully load required packages
10705 inside the loop, so that `require' calls work (Bug#10593).
10706 (package-install): No need to call package-initialize now.
10707
10708 2012-01-28 Chong Yidong <cyd@gnu.org>
10709
10710 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10711
10712 * tooltip.el (tooltip-mode): Doc fix.
10713 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10714
10715 * frame.el (set-cursor-color): Doc fix (Bug#352).
10716
10717 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10718 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10719
10720 * cus-edit.el (custom-buffer-create-internal): Fix search button
10721 action (Bug#10542).
10722 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10723
10724 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10725
10726 * dired.el (dired-mark-files-regexp):
10727 Include any subdirectory components. (Bug#10445)
10728
10729 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10730
10731 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10732 Handle [host]:port syntax. (Bug#10533)
10733
10734 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10735
10736 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10737
10738 2012-01-26 Glenn Morris <rgm@gnu.org>
10739
10740 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10741 * term.el (term-raw-escape-map): Use Control-X-prefix.
10742 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10743
10744 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10745
10746 * window.el (window-state-get, window--state-get-1): Don't deal
10747 with fixed-sizeness of windows. Simplify code.
10748
10749 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10750
10751 * window.el (window--state-get-1, window--state-put-2):
10752 Don't save and restore the mark.
10753
10754 2012-01-25 Chong Yidong <cyd@gnu.org>
10755
10756 * custom.el (custom-variable-p): Doc fix.
10757
10758 2012-01-25 Glenn Morris <rgm@gnu.org>
10759
10760 * dired.el (dired-goto-file): Handle some of the more common
10761 characters that `ls -b' escapes. (Bug#10596)
10762
10763 * progmodes/compile.el (compilation-next-error-function):
10764 Respect compilation-first-column in the "*compilation*" buffer.
10765 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10766
10767 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10768
10769 2012-01-24 Glenn Morris <rgm@gnu.org>
10770
10771 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10772
10773 2012-01-24 Julien Danjou <julien@danjou.info>
10774
10775 * color.el (color-rgb-to-hsl): Fix value computing.
10776 (color-hue-to-rgb): New function.
10777 (color-hsl-to-rgb): New function.
10778 (color-clamp, color-saturate-hsl, color-saturate-name)
10779 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10780 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10781
10782 2012-01-24 Glenn Morris <rgm@gnu.org>
10783
10784 * vc/vc-rcs.el (vc-rcs-create-tag):
10785 * vc/vc-sccs.el (vc-sccs-create-tag):
10786 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10787
10788 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10789
10790 * eshell/esh-util.el (eshell-read-hosts-file):
10791 Skip comment lines. (Bug#10549)
10792
10793 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10794
10795 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * subr.el (display-delayed-warnings): Doc fix.
10798 (collapse-delayed-warnings): New function to collapse identical
10799 adjacent warnings.
10800 (delayed-warnings-hook): Add it.
10801
10802 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10803
10804 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10805
10806 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10807 (tramp-default-user-alist): Don't add "pscp".
10808 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10809 property "login-as", if set. (Bug#10530)
10810
10811 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10812
10813 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10814 "plink1" and "psftp". (Bug#10530)
10815
10816 2012-01-21 Kenichi Handa <handa@m17n.org>
10817
10818 * international/mule-cmds.el (prefer-coding-system): Show a
10819 warning message if the default value of file-name-coding-system
10820 was not changed.
10821
10822 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10823
10824 * windmove.el (windmove-reference-loc):
10825 Fix windmove-reference-loc miscalculation.
10826
10827 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10828
10829 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10830 default unit.
10831
10832 2012-01-21 Glenn Morris <rgm@gnu.org>
10833
10834 * international/mule.el (auto-coding-alist): Add .tbz.
10835
10836 * files.el (local-enable-local-variables): Doc fix.
10837 (inhibit-local-variables-regexps): Rename from
10838 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10839 Doc fix. Add some extensions from auto-coding-alist.
10840 (inhibit-local-variables-suffixes):
10841 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10842 (inhibit-local-variables-p):
10843 New function, extracted from set-auto-mode-1.
10844 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10845 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10846 (hack-local-variables): Doc fix. Make the mode-only case
10847 respect enable-local-variables and friends.
10848 Respect inhibit-local-variables-regexps for file-locals, but
10849 not for directory-locals.
10850 (set-visited-file-name):
10851 Take account of inhibit-local-variables-regexps.
10852 Whether it applies may change as the file name is changed.
10853 * jka-cmpr-hook.el (jka-compr-install):
10854 * jka-compr.el (jka-compr-uninstall):
10855 Update for inhibit-first-line-modes-suffixes name change.
10856
10857 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10858
10859 * help-macro.el (make-help-screen): Temporarily restore original
10860 binding for minor-mode-map-alist (Bug#10454).
10861
10862 2012-01-19 Julien Danjou <julien@danjou.info>
10863
10864 * color.el (color-name-to-rgb): Use the white color to find the max
10865 color component value and return correctly computed values.
10866 (color-name-to-rgb): Add missing float conversion for max value.
10867
10868 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10869
10870 * window.el (window--state-get-1, window-state-get): Do not use
10871 special state value for window-persistent-parameters.
10872 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10873 (window--state-put-2): Reset all window parameters to nil before
10874 assigning values of persistent parameters.
10875
10876 2012-01-18 Alan Mackenzie <acm@muc.de>
10877
10878 Eliminate sluggishness and hangs in fontification of "semicolon
10879 deserts".
10880
10881 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10882 Change value 10000 -> 3000.
10883 (c-state-safe-place): Reformulate so it doesn't stack up an
10884 infinite number of wrong entries in c-state-nonlit-pos-cache.
10885 (c-determine-limit-get-base, c-determine-limit): New functions to
10886 determine backward search limits disregarding literals.
10887 (c-find-decl-spots): Amend commenting.
10888 (c-cheap-inside-bracelist-p): New function which detects "={".
10889
10890 * progmodes/cc-fonts.el
10891 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10892 backward search.
10893 (c-font-lock-declarations): Fix an occurrence of point being
10894 undefined. Check additionally for point being in a bracelist or
10895 near a macro invocation without a semicolon so as to avoid a
10896 fruitless time consuming search for a declarator. Give a more
10897 precise search limit for declarators using the new
10898 c-determine-limit.
10899
10900 2012-01-18 Glenn Morris <rgm@gnu.org>
10901
10902 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10903 (set-auto-mode): Doc fixes.
10904
10905 2012-01-17 Glenn Morris <rgm@gnu.org>
10906
10907 * isearch.el (search-nonincremental-instead): Fix doc typo.
10908
10909 * dired.el (dired-insert-directory): Handle newlines in directory name.
10910 (dired-build-subdir-alist): Unescape newlines in directory name.
10911
10912 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10915 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10916 (tramp-action-terminal): Use it. (Bug#10530)
10917
10918 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10921
10922 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10923
10924 * window.el (window-state-ignored-parameters): Remove variable.
10925 (window--state-get-1): Rename argument MARKERS to IGNORE.
10926 Handle persistent window parameters. Make copy of clone-of
10927 parameter only if requested. (Bug#10348)
10928 (window--state-put-2): Install a window parameter only if it has
10929 a non-nil value or an existing parameter shall be overwritten.
10930
10931 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10932
10933 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10934
10935 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10936
10937 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10938 don't pass the (nil) value of `upnode' to string-match.
10939
10940 2012-01-14 Chong Yidong <cyd@gnu.org>
10941
10942 * startup.el (command-line): Fix X resource class for cursorColor.
10943 Fix values recognized by the cursorBlink resource.
10944
10945 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10946
10947 * epg.el (epg--make-temp-file): Avoid permission race condition
10948 when running on old Emacs versions (bug#10403).
10949
10950 2012-01-14 Glenn Morris <rgm@gnu.org>
10951
10952 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10953
10954 2012-01-13 Alan Mackenzie <acm@muc.de>
10955
10956 Fix filling for when filladapt mode is enabled.
10957
10958 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10959 c-mask-paragraph, pass in `fill-paragraph' rather than
10960 `fill-region-as-paragraph'. (This is a reversion of a previous
10961 change.)
10962 * progmodes/cc-mode.el (c-basic-common-init):
10963 Make fill-paragraph-handle-comment buffer local and set it to nil.
10964
10965 2012-01-13 Glenn Morris <rgm@gnu.org>
10966
10967 * dired.el (dired-switches-escape-p): New function.
10968 (dired-insert-directory): Use dired-switches-escape-p.
10969 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10970
10971 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10972
10973 2012-01-12 Glenn Morris <rgm@gnu.org>
10974
10975 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10976 changes in adaptive-fill-regexp. (Bug#10276)
10977
10978 2012-01-11 Alan Mackenzie <acm@muc.de>
10979
10980 Fix Emacs bug #10463 - put `widen's around the critical spots.
10981
10982 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10983 widen around each invocation of c-state-pp-to-literal. Remove an
10984 unused let variable.
10985
10986 2012-01-11 Glenn Morris <rgm@gnu.org>
10987
10988 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10989 Doc fix.
10990
10991 2012-01-10 Chong Yidong <cyd@gnu.org>
10992
10993 * net/network-stream.el (network-stream-open-starttls):
10994 Avoid emitting a confusing error message when the server gives a bad
10995 response to the capability command.
10996
10997 2012-01-10 Glenn Morris <rgm@gnu.org>
10998
10999 * mail/unrmail.el (unrmail): Tweak previous change.
11000
11001 2012-01-09 Chong Yidong <cyd@gnu.org>
11002
11003 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11004
11005 2012-01-08 Alan Mackenzie <acm@muc.de>
11006
11007 Optimise font locking in long enum definitions.
11008
11009 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11010 arm to a cond form to handle enums.
11011 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11012 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11013
11014 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11015
11016 * files.el (move-file-to-trash): Preserve default file modes on error.
11017 (Bug#10401)
11018
11019 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11020
11021 * faces.el (set-face-attribute): Clarify the meaning of the nil
11022 frame (bug#10294).
11023
11024 * subr.el (with-selected-frame): Mention that the selected frame
11025 is restored (bug#9980).
11026
11027 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11028 (bug#9759).
11029
11030 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11031 (password-read): Don't autoload unused function.
11032
11033 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * progmodes/which-func.el (which-func-mode): Turn into a
11036 non-interactive function and mark as obsolete (bug#10428).
11037
11038 2012-01-06 Chong Yidong <cyd@gnu.org>
11039
11040 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11041 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11042 functions, along with 1 and -1.
11043
11044 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11045
11046 * time.el (display-time-load-average)
11047 (display-time-default-load-average): Doc fixes. See the thread
11048 starting at
11049 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11050 for the details.
11051
11052 2012-01-06 Glenn Morris <rgm@gnu.org>
11053
11054 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11055 has no messages. (Bug#10377)
11056
11057 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11058 than Info-edit. (Bug#10385)
11059
11060 * time.el (display-time-load-average, display-time-next-load-average):
11061 Doc fixes.
11062
11063 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11064 local setting of buffer-read-only to the input buffer. (Bug#10419)
11065
11066 * calendar/calendar.el (calendar-mode):
11067 Locally set scroll-margin to 0. (Bug#10379)
11068
11069 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11070
11071 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11072
11073 2012-01-05 Glenn Morris <rgm@gnu.org>
11074
11075 * eshell/em-unix.el (diff-no-select): Autoload it.
11076 (eshell/diff): Use diff-no-select. (Bug#10420)
11077
11078 2012-01-05 Chong Yidong <cyd@gnu.org>
11079
11080 * shell.el (shell-dynamic-complete-functions): Revert last change.
11081 (shell-command-completion-function): New function.
11082 (shell-completion-vars): Use it to implement
11083 shell-completion-execonly (Bug#10417).
11084
11085 * custom.el (enable-theme): Don't set custom-safe-themes.
11086
11087 * cus-theme.el (custom-theme-merge-theme):
11088 Ignore custom-enabled-themes and custom-safe-themes.
11089
11090 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11091
11092 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11093 first prompt in `sql-interacive-mode'.
11094 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11095 keywords.
11096 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11097 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11098 context of original buffer. Invoke `sql-login-hook'.
11099
11100 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11101
11102 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11103 letters in cite-prefix.
11104
11105 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11106
11107 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11108
11109 2012-01-03 Chong Yidong <cyd@gnu.org>
11110
11111 * shell.el (shell-dynamic-complete-functions):
11112 Put pcomplete-completions-at-point, so as to try
11113 comint-filename-completion first (Bug#10417).
11114
11115 2012-01-02 Richard Stallman <rms@gnu.org>
11116
11117 * battery.el (battery-status-function):
11118 Detect when to use battery-yeeloong-sysfs.
11119 (battery-echo-area-format): Add string for Yeeloong.
11120 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11121 (battery-yeeloong-sysfs): New function.
11122
11123 2012-01-02 Chong Yidong <cyd@gnu.org>
11124
11125 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11126 (dirtrack): Merge code for handling relative filenames in prompt
11127 from shell-dir-cookie-watcher.
11128 (dirtrack-debug-message): New arg to avoid excess format calls.
11129
11130 * shell.el (shell-dir-cookie-re): Variable deleted.
11131 (shell-dir-cookie-watcher): Function deleted.
11132 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11133 with dirtrack-mode.
11134
11135 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11136
11137 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11138 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11139 libgnutls-26.dll.
11140
11141 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11144
11145 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11146
11147 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11148 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11149
11150 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11151
11152 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11153 also for alternative shells.
11154 (tramp-open-connection-setup-interactive-shell): Check, whether
11155 the shell is a busybox.
11156 (tramp-send-command): Don't suppress multiple prompts for
11157 busyboxes, it hurts.
11158
11159 2011-12-28 Chong Yidong <cyd@gnu.org>
11160
11161 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11162 (gdb-get-source-file): Move mode line update to
11163 gdb-get-source-file (Bug#10087).
11164
11165 2011-12-25 Chong Yidong <cyd@gnu.org>
11166
11167 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11168 gud-gdb-marker-filter without taking it as an argument.
11169 (gud-gdb-run-command-fetch-lines): Caller changed.
11170 (gud-gdb-completion-function): New variable.
11171 (gud-gdb-completion-at-point): Use it.
11172 (gud-gdb-completions-1): Split from gud-gdb-completions.
11173
11174 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11175 function as separate arguments.
11176 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11177 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11178 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11179 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11180 (gdb-stopped, def-gdb-auto-update-trigger)
11181 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11182 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11183 Callers changed.
11184 (gud-gdbmi-completions): New function.
11185 (gdb): Use it for generating the completion table.
11186
11187 2011-12-24 Alan Mackenzie <acm@muc.de>
11188
11189 Introduce a mechanism to widen the region used in context font
11190 locking. Use this to protect declarations from losing their contexts.
11191
11192 * progmodes/cc-langs.el (c-before-font-lock-functions):
11193 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11194 (c-before-context-fontification-functions): New defvar, a list of
11195 functions to be run just before context (etc.) font locking.
11196
11197 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11198 New, functionality extracted from
11199 c-neutralize-syntax-in-and-mark-CPP.
11200 (c-in-after-change-fontification): New variable.
11201 (c-after-change): Set c-in-after-change-fontification.
11202 (c-set-fl-decl-start): Rejig its interface, so it can be called
11203 from both after-change and context fontifying.
11204 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11205 New functions.
11206 (c-standard-font-lock-fontify-region-function): New variable.
11207 (c-font-lock-fontify-region): New function.
11208
11209 2011-12-24 Juri Linkov <juri@jurta.org>
11210
11211 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11212 (Bug#10348)
11213
11214 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11215
11216 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11217 existence of source file. (Bug#10325)
11218
11219 2011-12-23 Alan Mackenzie <acm@muc.de>
11220
11221 Fix unstable fontification inside templates.
11222
11223 * progmodes/cc-langs.el (c-before-font-lock-functions):
11224 Newly created from the singular version. The (c c++ objc) entry now
11225 additionally has c-set-fl-decl-start. The other languages (apart
11226 from AWK) have that as a single entry.
11227
11228 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11229 The functionality for "local" declarations has been extracted to
11230 c-set-fl-decl-start.
11231
11232 * progmodes/cc-mode.el (c-common-init, c-after-change):
11233 Changes due to pluralisation of c-before-font-lock-functions.
11234 (c-set-fl-decl-start): New function, extracted from
11235 c-font-lock-enclosing-decls and enhanced.
11236
11237 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11238
11239 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11240
11241 2011-12-22 Juri Linkov <juri@jurta.org>
11242
11243 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11244
11245 2011-12-22 Chong Yidong <cyd@gnu.org>
11246
11247 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11248
11249 2011-12-21 Drew Adams <drew.adams@oracle.com>
11250
11251 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11252
11253 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11254
11255 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11256
11257 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11258
11259 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11260 highlighting and support. Fix up comments for capitalization.
11261 (cfengine-mode-debug): New var.
11262 (cfengine3-mode): Change the modeline indicator to "CFE3".
11263 (cfengine3-font-lock-keywords): Improve defun highlighting.
11264 (cfengine2-actions): Rename from `cfengine-actions'.
11265 (cfengine2-font-lock-keywords): Rename from
11266 `cfengine-font-lock-keywords'.
11267 (cfengine2-imenu-expression): Rename from
11268 `cfengine-imenu-expression'.
11269 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11270 (cfengine2-beginning-of-defun): Rename from
11271 `cfengine-beginning-of-defun'.
11272 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11273 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11274 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11275 modeline indicator to "CFE2".
11276 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11277 (cfengine-mode-abbrevs): Mark obsolete.
11278
11279 2011-12-21 Chong Yidong <cyd@gnu.org>
11280
11281 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11282 filename argument.
11283
11284 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11285
11286 * window.el (window-normalize-buffer-to-display): Remove.
11287 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11288
11289 2011-12-19 Chong Yidong <cyd@gnu.org>
11290
11291 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11292 Don't signal an error in a predicate function; return non-nil.
11293 (vc-dir-mark-file): Move the error here.
11294 (vc-dir-mark-unmark): If acting on the region, keep going if one
11295 of the entries cannot be marked/unmarked.
11296 (vc-dir-mark-all-files): If current entry is a directory, mark
11297 only child files, as documented.
11298
11299 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11300
11301 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11302 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11303 addition.
11304
11305 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11306
11307 * term/ns-win.el (ns-get-selection-internal)
11308 (ns-store-selection-internal): Declare.
11309 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11310 Declare as obsolete.
11311 (ns-get-pasteboard, ns-paste-secondary):
11312 Use ns-get-selection-internal.
11313 (ns-set-pasteboard, ns-copy-including-secondary):
11314 Use ns-store-selection-internal.
11315
11316 2011-12-17 Chong Yidong <cyd@gnu.org>
11317
11318 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11319 (vc-deduce-fileset): Doc fix.
11320
11321 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11322
11323 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11324
11325 2011-12-13 Sam Steingold <sds@gnu.org>
11326
11327 * man.el (Man-getpage-in-background): When running under a
11328 window-system, ignore $MANWIDTH and $COLUMNS.
11329
11330 2011-12-15 Kenichi Handa <handa@m17n.org>
11331
11332 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11333 (setup-ethiopic-environment-internal): Comment out key-binding for
11334 ethio-toggle-punctuation.
11335
11336 2011-12-13 Alan Mackenzie <acm@muc.de>
11337
11338 Add the switch statement to AWK Mode.
11339
11340 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11341 "default" to the keywords regexp.
11342
11343 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11344 expression as the rest.
11345 (c-nonlabel-token-key): Allow string literals for AWK.
11346 Refactor for the other modes.
11347
11348 Large brace-block initialisation makes CC Mode slow: Fix.
11349 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11350 routines. Limit backward searching in c-font-lock-enclosing.decl.
11351
11352 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11353 pp-state and literal type in addition to the limits.
11354 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11355 (c-state-literal-at): Use the above new defun.
11356 (c-slow-in-literal, c-fast-in-literal): Remove.
11357 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11358
11359 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11360 being in a literal. Add a limit for backward searching.
11361
11362 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11363 c-slow-in-literal.
11364
11365 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11368
11369 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11370
11371 * window.el (delete-other-windows): Use correct frame in call to
11372 window-with-parameter.
11373
11374 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11375
11376 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11377 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11378 (makefile-gmake-statements, makefile-makepp-statements):
11379 Use it and add new makepp keywords.
11380 (makefile-makepp-font-lock-keywords): Add new patterns.
11381 (makefile-match-function-end): Match new [...] and [[...]].
11382
11383 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * ses.el (ses-call-printer-return, ses-cell-property-get)
11386 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11387 (ses-create-cell-variable, ses-reset-header-string)
11388 (ses-cell-set-formula, ses-repair-cell-reference-all)
11389 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11390 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11391 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11392 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11393 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11394 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11395 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11396 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11397 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11398 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11399 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11400 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11401
11402 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11403
11404 * ses.el: The overall change is to add cell renaming, that is
11405 setting fancy names for cell symbols other than name matching
11406 "\\`[A-Z]+[0-9]+\\'" regexp .
11407 (ses-create-cell-variable): New defun.
11408 (ses-relocate-formula): Relocate formulas only for cells the
11409 symbols of which are not renamed, i.e. symbols whose names do not
11410 match regexp "\\`[A-Z]+[0-9]+\\'".
11411 (ses-relocate-all): Relocate values only for cells the symbols of
11412 which are not renamed.
11413 (ses-load): Create cells variables as the (ses-cell ...) are read,
11414 in order to check row col consistency with cell symbol name only
11415 for cells that are not renamed.
11416 (ses-replace-name-in-formula): New defun.
11417 (ses-rename-cell): New defun.
11418
11419 2011-12-11 Chong Yidong <cyd@gnu.org>
11420
11421 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11422 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11423
11424 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11425
11426 * window.el (other-window): Fix docstring.
11427
11428 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11429
11430 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11431 `from' or `to' address before taking its substring.
11432 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11433 encoded name is chopped in the middle of the encoded string, and
11434 thus displayed encoded.
11435
11436 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11437
11438 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11439
11440 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11441
11442 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11443 to use texinfo-update-node and commands that call it if the
11444 Texinfo file uses @node lines without next/prev/up pointers.
11445 Correct outdated description about texinfo-master-menu.
11446 (texinfo-all-menus-update, texinfo-master-menu)
11447 (texinfo-update-node, texinfo-every-node-update)
11448 (texinfo-multiple-files-update): Doc fix. Warn against updating
11449 all the @node lines.
11450 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11451 argument is numeric. Explain better in the doc string what the
11452 function really does.
11453 (texinfo-insert-master-menu-list): Improve the error message
11454 displayed if there's no menu in the Top node.
11455 (Bug#2975) See also this thread:
11456 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11457
11458 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11459
11460 * speedbar.el (speedbar-supported-extension-expressions):
11461 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11462
11463 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * printing.el (pr-mode-alist):
11466 * simple.el (filter-buffer-substring-functions)
11467 (completion-list-insert-choice-function):
11468 * window.el (window-with-parameter, window-atom-root)
11469 (window-sides-slots, window-size-fixed, window-min-delta)
11470 (window-max-delta, window--resize-mini-window)
11471 (window--resize-child-windows-normal, window-tree)
11472 (delete-other-windows, quit-window, split-window)
11473 (display-buffer-record-window, special-display-buffer-names)
11474 (special-display-regexps, special-display-popup-frame)
11475 (same-window-p, split-window-sensibly)
11476 (display-buffer-overriding-action, display-buffer-alist)
11477 (display-buffer-base-action, display-buffer, switch-to-buffer)
11478 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11479 (fit-window-to-buffer, recenter-positions)
11480 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11481 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11482 and remove unneeded backslashes in docstrings.
11483
11484 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11487
11488 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11489 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11490 end in ".mk".
11491 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11492 when reading the makefile (bug#10116).
11493
11494 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11495
11496 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11497 (bug#10116).
11498
11499 2011-12-06 Glenn Morris <rgm@gnu.org>
11500
11501 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11502
11503 2011-12-06 Chong Yidong <cyd@gnu.org>
11504
11505 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11506
11507 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11508
11509 * textmodes/table.el (table-shorten-cell): Fix typo.
11510
11511 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11512
11513 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11514
11515 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11516
11517 * descr-text.el (describe-char): Fix display of strong
11518 right-to-left characters and directional embeddings and overrides.
11519
11520 * simple.el (what-cursor-position): Fix display of codepoints of
11521 strong right-to-left characters.
11522
11523 2011-12-05 Chong Yidong <cyd@gnu.org>
11524
11525 * faces.el (read-color): Doc fix.
11526
11527 2011-12-05 Glenn Morris <rgm@gnu.org>
11528
11529 * align.el (align--set-marker): Add doc-string.
11530 Don't try to move something that is not a marker. (Bug#10216)
11531
11532 2011-12-04 Glenn Morris <rgm@gnu.org>
11533
11534 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11535 overly zealous deletion of trailing whitespace.
11536
11537 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * server.el (server-delete-client): On Windows, do not try to delete
11540 the only terminal.
11541 (server-process-filter): On Windows, treat requests for a tty frame as
11542 if they were for a GUI frame if the running server is in GUI mode.
11543
11544 2011-12-03 Glenn Morris <rgm@gnu.org>
11545
11546 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11547
11548 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11549
11550 * electric.el: Streamline electric-indent's hook.
11551 (electric-indent-chars): Revert to simple list.
11552 (electric-indent-functions): New var.
11553 (electric-indent-post-self-insert-function): Use it.
11554
11555 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11556 there's no inferior buffer (bug#10196).
11557 (prolog-consult-compile): Don't use toggle-read-only.
11558
11559 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11562 interrupt. (Bug#10187)
11563
11564 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11565
11566 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11567 (bug#9160).
11568
11569 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11570 (bug#10191).
11571
11572 2011-12-02 Juri Linkov <juri@jurta.org>
11573
11574 * info.el (Info-search): Display "end of manual" when Isearch
11575 reaches the end of single-file Info manual. (Bug#9918)
11576
11577 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11578
11579 * isearch.el (isearch-message-prefix): Run the input method part
11580 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11581
11582 2011-12-02 Juri Linkov <juri@jurta.org>
11583
11584 * isearch.el (isearch-occur): Use `word-search-regexp' for
11585 `isearch-word'.
11586 (isearch-search-and-update): Add condition for `isearch-word' and
11587 call `word-search-regexp'. (Bug#10145)
11588
11589 2011-12-01 Glenn Morris <rgm@gnu.org>
11590
11591 * eshell/em-hist.el (eshell-hist-initialize):
11592 Handle eshell-history-size nil and HISTSIZE set or unset.
11593 (eshell-history-file-name, eshell-history-size): Fix custom type.
11594
11595 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11598
11599 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11600
11601 * progmodes/verilog-mode.el (verilog-pretty-expr):
11602 Rework verilog-pretty-expr to handle new assignment operators in system
11603 verilog, such as += *= and the like.
11604 (verilog-assignment-operator-re): Regular expression to find the
11605 assigment operator in a verilog assignment.
11606 (verilog-assignment-operation-re): Regular expression to find an
11607 assignment statement for pretty-expr.
11608 (verilog-in-attribute-p): Query returns true if point is in an
11609 attribute context; used to skip these for expression line up from
11610 pretty-expr.
11611 (verilog-in-parameter-p): Query returns true if point is in an
11612 parameter definition context; used to skip these for expression
11613 line up from pretty-expr.
11614 (verilog-in-parenthesis-p): Query returns true if point is in a
11615 parenthetical expression, specifically ( ) but not [ ] or { };
11616 used by pretty-expr.
11617 (verilog-just-one-space): If there is no space, don't add one.
11618 (verilog-get-lineup-indent-2): Specifically skip just attribute
11619 contexts for expression lineup, rather than skipping all
11620 parenthetical expressions.
11621 (verilog-calculate-indent): Fix comment, and fix indent.
11622 (verilog-do-indent): Indent declarations in lists (suggested by
11623 Joachim Lechner).
11624 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11625 skeleton items.
11626 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11627 by Alain Mellan).
11628
11629 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11630
11631 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11632 parameters with embedded comments. Reported by Ray Stevens.
11633 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11634 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11635 Reported by Tim Holt.
11636 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11637 instantiated by upper module causing wrong expansion until AUTOed a
11638 second time. Reported by K C Buckenmaier.
11639 (verilog-diff-auto): Fix showing .* as a difference when
11640 `verilog-auto-star-save' off. Reported by Dan Dever.
11641 (verilog-auto-reset, verilog-read-always-signals)
11642 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11643 temporary signals in reset list if
11644 verilog-auto-reset-blocking-in-non is nil, and match assignment
11645 style to each signal's assignment type, bug381.
11646 Reported by Thomas Esposito.
11647 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11648 (verilog-uvm-statement-re): Support UVM indentation and
11649 highlighting, with old OVM keywords only.
11650 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11651 Support AUTOTIEOFF creating non-wire data types.
11652 Suggested by Jonathan Greenlaw.
11653 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11654 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11655 (verilog-inject-sense, verilog-read-inst-pins)
11656 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11657 Fix mismatching parenthesis inside commented out code when deleting
11658 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11659 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11660 non-numeric vector width. Reported by Alex Reed.
11661 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11662 detecting signals with parameter widths. Reported by Alex Reed.
11663 (verilog-auto-delete-trailing-whitespace):
11664 With `verilog-auto-delete-trailing-whitespace' remove trailing
11665 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11666 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11667 Fix verilog-scan-cache corruption when running user AUTO expansion
11668 hooks that call indentation routines.
11669 (verilog-simplify-range-expression): Fix typo ignoring lower case
11670 identifiers.
11671 (verilog-delete-auto): Fix delete-autos to also remove user created
11672 automatics, as long as they start with AUTO.
11673 (verilog-batch-diff-auto, verilog-diff-auto)
11674 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11675 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11676 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11677 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11678 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11679 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11680 is disabled and its cache will get corrupt, causing AUTOS not to
11681 expand. Instead use only -quick functions.
11682 (verilog-scan-region): Fix scanning over escaped quotes.
11683 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11684 (verilog-re-search-backward-quick)
11685 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11686 related functions now ignore strings, to fix misparsing of strings
11687 with magic comments embedded in them.
11688 (verilog-read-auto-template):
11689 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11690 Reported by Brad Dobbie.
11691 (verilog-read-auto-template):
11692 Fix 'verilog-auto-inst-template-numbers' with comments.
11693 Reported by Brad Dobbie.
11694 (verilog-auto-inst, verilog-auto-inst-param)
11695 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11696 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11697 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11698 debugging templates without merge conflicts, bug357.
11699 Reported by Brad Dobbie.
11700 (verilog-read-auto-template):
11701 Fix verilog-auto-inst-template-numbers with multiple templates.
11702 Reported by Brad Dobbie.
11703 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11704 abbrevs so user won't be asked to save.
11705 (verilog-read-auto-lisp-present): Fix to start at beginning of
11706 buffer in case called outside of verilog-auto.
11707 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11708 to "X-2". Reported by Matthew Myers.
11709 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11710 all inputs from module templates. Reported by Leith Johnson.
11711 (verilog-module-inside-filename-p): Fix locating programs as with
11712 modules.
11713 (verilog-auto-inst-port): Fix vl-width expressions when using
11714 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11715 (verilog-decls-get-regs, verilog-decls-get-signals,
11716 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11717 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11718 verilog-read-decls): Combine reg and wire structures into one var
11719 structure to represent SystemVerilog concepts.
11720 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11721 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11722 (verilog-auto-wire-type, verilog-insert-definition):
11723 Add verilog-auto-wire-type and AUTOLOGIC to support using
11724 SystemVerilog "logic" keyword instead of "wire"/"reg".
11725 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11726 to declares outputs that also have assignments (presumably in an
11727 ifdef or generate if so there's not a driver conflict).
11728 Reported by Matthew Myers.
11729 (verilog-auto-declare-nettype, verilog-insert-definition):
11730 Add verilog-auto-declare-nettype to fix declarations using
11731 `default_nettype none. Reported by Julian Gorfajn.
11732 (verilog-read-always-signals-recurse, verilog-read-decls)
11733 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11734 malformed end statement, bug325. Reported by Joshua Wise and
11735 Andrew Drake.
11736 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11737 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11738 when expanding .* in interfaces, bug320.
11739 Reported by Pierre-David Pfister.
11740 (verilog-read-module-name): Fix import statements between module
11741 name and open parenthesis, bug317.
11742 Reported by Pierre-David Pfister.
11743 (verilog-simplify-range-expression): Fix simplification of
11744 multiplications inside AUTOWIRE connections, bug303.
11745 (verilog-auto-inst-port): Support parameter expansion in
11746 multidimensional arrays.
11747 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11748 after "assert property". Reported by Julian Gorfajn.
11749 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11750 with multiplication, bug303.
11751 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11752 Reported by Jan Frode Lonnum.
11753
11754 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11757 (hfy-shell-file-name, hfy-shell):
11758 * international/fontset.el (x-decompose-font-name): Fix typos.
11759
11760 2011-11-29 Ken Brown <kbrown@cornell.edu>
11761
11762 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11763 (gdb-version): Remove defvar.
11764 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11765 (gdb-gud-context-command, gdb-non-stop-handler)
11766 (gdb-current-context-command, gdb-stopped): Use it.
11767 (gdb-init-1): Enable pretty printing here.
11768 (gdb-non-stop-handler): Don't enable pretty-printing here.
11769 Check to see if the target supports non-stop mode; if not, turn off
11770 non-stop mode. Use the following.
11771 (gdb-check-target-async): New defun.
11772 (gud-watch, gdb-stopped): Fix whitespace.
11773 (gdb-get-source-file): Don't try to display the source file if
11774 `gdb-main-file' is nil.
11775
11776 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * align.el: Try to generate fewer markers (bug#10047).
11779 (align--set-marker): New macro.
11780 (align-region): Use it.
11781
11782 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11785
11786 2011-11-29 Chong Yidong <cyd@gnu.org>
11787
11788 * indent.el (indent-for-tab-command, indent-according-to-mode):
11789 Doc fix.
11790 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11791
11792 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11793
11794 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11795 aware of remote file names. (Bug#10124)
11796
11797 2011-11-29 Chong Yidong <cyd@gnu.org>
11798
11799 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11800
11801 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * files.el (find-file): Don't use force-same-window (bug#10144).
11804 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11805 use pop-to-buffer if the selected window can't be used.
11806 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11807
11808 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11809
11810 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11811 special-mode-map.
11812
11813 2011-11-28 Chong Yidong <cyd@gnu.org>
11814
11815 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11816
11817 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11818
11819 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11820 gdb-get-source-file-list on gdb-create-source-file-list.
11821
11822 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11823
11824 * whitespace.el (whitespace-newline): Use a different foreground
11825 color for 16-color light-background displays.
11826
11827 2011-11-24 Chong Yidong <cyd@gnu.org>
11828
11829 * window.el (display-buffer--special-action): Doc fix.
11830
11831 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11832
11833 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11834 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11835 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11836 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11837 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11838 (avl-tree-stack-first):
11839 * emacs-lisp/cconv.el (cconv--analyse-use):
11840 * net/gnutls.el (gnutls-negotiate): Fix typos.
11841
11842 2011-11-24 Glenn Morris <rgm@gnu.org>
11843
11844 * lpr.el (lpr-windows-system, lpr-lp-system):
11845 * mail/binhex.el (binhex-begin-line):
11846 * progmodes/grep.el (grep-history, grep-find-history):
11847 * textmodes/flyspell.el:
11848 * vc/pcvs-defs.el (cvs-global-menu):
11849 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11850 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11851 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11852
11853 * net/tls.el: Fix case of "GnuTLS".
11854
11855 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11856
11857 * version.el (emacs-build-system): Give it a doc-string.
11858
11859 2011-11-24 Juri Linkov <juri@jurta.org>
11860
11861 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11862
11863 2011-11-24 Glenn Morris <rgm@gnu.org>
11864
11865 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11866 if called on a non-mime message just toggle the headers. (Bug#8006)
11867
11868 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11869
11870 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11871 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11872 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11873 (allout-rebullet-heading, allout-open-sibtopic)
11874 (allout-toggle-current-subtree-encryption)
11875 (allout-toggle-subtree-encryption, allout-encrypt-string)
11876 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11877 (allout-distinctive-bullets-string, allout-auto-activation):
11878 * window.el (window-normalize-buffer-to-display):
11879 * progmodes/verilog-mode.el (verilog-batch-indent):
11880 * textmodes/bibtex.el (bibtex-field-braces-opt)
11881 (bibtex-field-strings-opt):
11882 * vc/cvs-status.el (cvs-tree-merge):
11883 Fix typos.
11884
11885 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11888 `non-essential' to t, in order to avoid remote connections.
11889
11890 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11891
11892 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11893 On MS-DOS and MS-Windows, compare with loaddefs.el
11894 case-insensitively.
11895
11896 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11897
11898 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11899
11900 2011-11-23 Glenn Morris <rgm@gnu.org>
11901
11902 * paths.el (rmail-file-name): Reformat the doc-string so that it
11903 is picked up.
11904
11905 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11906 (rmail-auto-file): Ignore case in the "special" field names,
11907 as mail-fetch-field does for all others.
11908
11909 * mail/rmail.el (rmail-forward):
11910 * mail/rmailkwd.el (rmail-set-label):
11911 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11912 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11913
11914 * mail/rmail.el (rmail-current-message): Doc fix.
11915
11916 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11917
11918 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11921
11922 2011-11-22 Glenn Morris <rgm@gnu.org>
11923
11924 * mail/rmailmm.el (test-rmail-mime-handler)
11925 (test-rmail-mime-bulk-handler)
11926 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11927
11928 2011-11-21 Juri Linkov <juri@jurta.org>
11929
11930 * calc/calc.el (calc-read-key-sequence):
11931 Let-bind `input-method-function' to nil. (Bug#10018)
11932
11933 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11934
11935 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11936 Tell the caller that the next line needs recomputation, even
11937 though it doesn't start a sexp (bug#10094).
11938
11939 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11942
11943 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11946 Use force-same-window.
11947
11948 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11949
11950 * descr-text.el (describe-char-unicode-data):
11951 * json.el (json-string-escape):
11952 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11953 (Footnote-unicode, Footnote-style-p):
11954 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11955
11956 2011-11-20 Chong Yidong <cyd@gnu.org>
11957
11958 * window.el (replace-buffer-in-windows): Restore interactive spec.
11959
11960 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11963
11964 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11965 (byte-compile-global-not-obsolete-vars): New var.
11966 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11967 Use it.
11968 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11969
11970 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11973 * progmodes/pascal.el (electric-pascal-equal):
11974 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11975 * xml.el (xml-substitute-special): Fix typos.
11976
11977 2011-11-20 Glenn Morris <rgm@gnu.org>
11978
11979 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11980 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11981 Doc fixes.
11982 (rmail-decode-mime-charset): Mark as obsolete.
11983
11984 * mail/rmailsum.el (rmail-message-regexp-p-1):
11985 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11986 Before using mime functions, check they are set. (Bug#10077)
11987
11988 2011-11-19 Juri Linkov <juri@jurta.org>
11989
11990 * info.el (Info-finder-find-node): Use `package--builtins' instead
11991 of `package-alist'. Use node names formed by the pattern "Keyword "
11992 and the keyword name.
11993
11994 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11995
11996 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11997
11998 2011-11-19 Juri Linkov <juri@jurta.org>
11999
12000 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12001 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12002 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12003 `old-history', `old-history-forward'. Add let-binding
12004 `window-selected'. Remove calls to `kill-buffer',
12005 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12006 before calling `Info-find-node', so `Info-find-node-2' will reread
12007 the Info file. Restore window positions only when `window-selected'
12008 is non-nil.
12009
12010 2011-11-19 Juri Linkov <juri@jurta.org>
12011
12012 * isearch.el (isearch-lazy-highlight-new-loop):
12013 Remove condition `(not isearch-error)'. (Bug#9918)
12014
12015 * misearch.el (multi-isearch-search-fun): Add condition
12016 `(not bound)' to ignore lazy-highlighting search.
12017 Add the search-failed message "end of multi" when the end of
12018 multi-sequence is reached. Uncapitalize the search-failed
12019 message "Repeat for next buffer".
12020
12021 * info.el (Info-search): Add the search-failed message
12022 "end of the manual" when the end of the manual is reached
12023 in Isearch mode.
12024
12025 2011-11-19 Juri Linkov <juri@jurta.org>
12026
12027 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12028 Use non-destructive `remove' instead of `delete' because
12029 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12030 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12031
12032 2011-11-19 Juri Linkov <juri@jurta.org>
12033
12034 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12035 to nil instead of binding `search-ring' and `regexp-search-ring'.
12036 (Bug#9185)
12037
12038 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12039
12040 * simple.el (line-move): Force movement by logical lines for any
12041 hscrolled window, not only when auto-hscroll-mode is on.
12042 (line-move-visual): Update doc string to that effect. (Bug#10076)
12043
12044 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * language/european.el (macintosh): Define as alias for mac-roman.
12047
12048 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12049
12050 * mail/rmailmm.el (rmail-mime-display-header)
12051 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12052 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12053 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12054 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12055 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12056 of a raw aref.
12057 (rmail-mime-entity-segment): To get past the tagline, move forward
12058 2 more lines, to account for the 2 empty lines that precede and
12059 follow the line with the buttons.
12060 (rmail-mime-update-tagline): Move one more line, to get past the
12061 empty line that follows the buttons in the tagline. (Bug#9520)
12062
12063 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12064
12065 * window.el (window-max-delta-1, window-min-delta-1)
12066 (window-min-size-1, window-state-get-1, window-state-put-1)
12067 (window-state-put-2): Use "window--" prefix.
12068
12069 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12072 (smie-warning-count): New var.
12073 (smie-set-prec2tab): Use it.
12074 (smie-bnf->prec2): Improve warnings. Add docstring.
12075 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12076 (smie-bnf--set-class): New function.
12077 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12078 corner case.
12079
12080 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12081 (compilation-error-properties, compilation-move-to-column):
12082 Handle compilation-first-column while in the target buffer.
12083
12084 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12085 Don't hardcode point-min==1.
12086
12087 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12088 (eshell-rewrite-for-command): Remove workaround.
12089 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12090 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12091 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12092
12093 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12094
12095 2011-11-17 Glenn Morris <rgm@gnu.org>
12096
12097 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12098 Ignore buffer-local generated-autoload-file if it is the same
12099 as the global value. (Bug#10049)
12100
12101 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12102
12103 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12104 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12105 (reftex-toc-previous-heading, reftex-toc-max-level)
12106 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12107 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12108 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12109 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12110 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12111 (reftex-toc-rename-label, reftex-toc-visit-location)
12112 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12113 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12114 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12115 leaving "*toc*" only for references to the buffer.
12116
12117 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12118
12119 * window.el (window-resize, delete-window, split-window):
12120 Replace window-splits by window-combination-resize.
12121 * cus-start.el (window-splits): Replace by window-combination-resize.
12122
12123 2011-11-17 Glenn Morris <rgm@gnu.org>
12124
12125 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12126 Make bash entry derive from sh entry, not shell entry.
12127
12128 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12129
12130 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12131 local file name.
12132
12133 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12134
12135 * menu-bar.el (menu-bar-file-menu):
12136 * printing.el (pr-ps-utility):
12137 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12138 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12139 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12140 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12141 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12142 (icalendar--convert-cyclic-to-ical)
12143 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12144 (icalendar--convert-ical-to-diary)
12145 (icalendar--convert-recurring-to-diary)
12146 (icalendar--convert-non-recurring-all-day-to-diary)
12147 (icalendar-import-format-sample):
12148 * progmodes/idlw-shell.el (idlwave-shell-mode):
12149 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12150 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12151 (vhdl-ps-print-init): Fix typos.
12152
12153 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12154
12155 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12156 FSF and collapse date sequence, obscure author/maintainer email address
12157 better, remove extra version line, track relocation of author's webpage.
12158
12159 * progmodes/python.el (python-pdbtrack-input-prompt)
12160 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12161 regular python pdb prompts. Adjustments shamelessly taken exactly as
12162 suggested in EmacsWiki page (tiny change):
12163 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12164
12165 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12166
12167 * expand.el (expand-pos, expand-index, expand-point):
12168 Remove redundant info from docstring.
12169 (expand-add-abbrevs): Doc fix.
12170 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12171 (expand-sample-perl-mode-expand-list): Fix typos.
12172
12173 * net/dbus.el (dbus-event-member-name):
12174 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12175 * term/pc-win.el (msdos-create-frame-with-faces):
12176 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12177
12178 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12179
12180 * window.el (split-window, window-state-get-1)
12181 (window-state-put-1, window-state-put-2): Rename occurrences of
12182 window-nest to window-combination-limit.
12183 * cus-start.el (window-nest): Rename to window-combination-limit.
12184
12185 2011-11-16 Chong Yidong <cyd@gnu.org>
12186
12187 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12188 regexp (Bug#10033).
12189
12190 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12193 `completing-read' will remove *Completions* and will preserve
12194 current-buffer for us.
12195 (tmm-add-prompt): Users of *Completions* will always (re)set its
12196 major mode.
12197 (tmm-old-comp-map): Remove.
12198
12199 2011-11-16 Glenn Morris <rgm@gnu.org>
12200
12201 * mail/rmailedit.el: Require rmailmm when compiling.
12202 (rmail-old-mime-state): New declaration.
12203 (rmail-edit-current-message): If editing a mime message,
12204 edit the "raw" message from the mbox buffer.
12205 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12206
12207 2011-11-15 Glenn Morris <rgm@gnu.org>
12208
12209 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12210 which wasn't being used. Add optional arg to force given state.
12211 (rmail-mime): Add optional arg to force given state.
12212
12213 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12216 * frame.el (display-mm-dimensions-alist):
12217 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12218 (outline-move-subtree-down):
12219 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12220 (newsticker--treeview-do-get-node):
12221 * net/quickurl.el (quickurl-list-buffer-name):
12222 * progmodes/dcl-mode.el (dcl-mode):
12223 * progmodes/gdb-mi.el (gdb-mapcar*):
12224 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12225
12226 2011-11-15 Glenn Morris <rgm@gnu.org>
12227
12228 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12229 in a boolean sense, so just make it a boolean, and fix the doc.
12230 (rmail-show-mime-function, rmail-mime-feature)
12231 (rmail-require-mime-maybe): Doc fixes.
12232 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12233
12234 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12235
12236 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12239 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12240 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12241 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12242
12243 2011-11-15 Glenn Morris <rgm@gnu.org>
12244
12245 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12246 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12247 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12248 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12249 (rmail-mime, rmail-show-mime): Doc fixes.
12250
12251 * term/ns-win.el (mode-line-frame-identification):
12252 Leave it alone. (Bug#10051)
12253
12254 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12255
12256 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12257 Handle empty buffers. (Bug#9978)
12258
12259 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * international/mule.el (define-charset):
12262 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12263 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12264 * progmodes/verilog-mode.el (verilog-backward-token):
12265 * textmodes/ispell.el (lookup-words):
12266 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12267
12268 2011-11-14 Glenn Morris <rgm@gnu.org>
12269
12270 * progmodes/executable.el
12271 (executable-make-buffer-file-executable-if-script-p):
12272 Handle file-modes returning nil.
12273
12274 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12275 message - not necessary, and causes problems. (Bug#9831)
12276
12277 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12278
12279 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12280
12281 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12282 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12283 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12284
12285 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12286
12287 * window.el (window-resize, delete-window): Use window-splits
12288 variable instead of function.
12289 (window-state-get-1, window-state-put-2, window-state-put):
12290 Don't deal with windows' splits status.
12291
12292 2011-11-12 Glenn Morris <rgm@gnu.org>
12293
12294 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12295 (apropos-documentation): Doc fixes.
12296
12297 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12298
12299 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12300 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12301
12302 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * electric.el (electric-indent-post-self-insert-function): Make it
12305 possible for a char to only indent in some circumstances.
12306 (electric-indent-mode): Simplify.
12307
12308 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12309
12310 * window.el (windows-with-parameter): Remove unused function.
12311 (windows-at-side): Rename to window-at-side-list.
12312 (window-check, window-atom-check, window-atom-check-1)
12313 (window-side-check, window-size-ignore, window-size-fixed-1)
12314 (window-in-direction-2): Prefix with "window--".
12315 (window-tree-1): Rename to window--subtree, fix doc-string.
12316
12317 2011-11-11 Glenn Morris <rgm@gnu.org>
12318
12319 * subr.el (eval-after-load): If FILE is already loaded,
12320 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12321
12322 2011-11-10 Glenn Morris <rgm@gnu.org>
12323
12324 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12325 Call svn via vc-svn-command rather than vc-do-command.
12326 (vc-svn-command): Add --non-interactive. (Bug#9993)
12327 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12328
12329 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12330 Add toggle-read-only. (Bug#7292)
12331 * files.el (toggle-read-only): Mention that it should only
12332 be used interactively. (Bug#10006)
12333
12334 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12337 Adjust regexp for OCaml warnings.
12338
12339 * electric.el (electric-pair-post-self-insert-function): Let user
12340 turn it off buffer-locally (bug#9932).
12341
12342 * progmodes/python.el (python-beginning-of-statement):
12343 Rewrite (bug#2703).
12344
12345 * progmodes/compile.el: Better handle TABs (bug#9749).
12346 (compilation-internal-error-properties)
12347 (compilation-next-error-function): Obey the target buffer's
12348 compilation-error-screen-columns.
12349
12350 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12351
12352 * progmodes/meta-mode.el: Remove obsolete comments.
12353 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12354 Fix typos in docstrings.
12355
12356 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12357
12358 * window.el (window-size-fixed-p): Rewrite doc-string.
12359 (window-resizable-p): Rename to window--resizable-p. Update callers.
12360 (window--resizable): New function. Make all callers of
12361 window-resizable call window--resizable instead.
12362 (window-resizable): Rewrite in terms of window--resizable.
12363
12364 2011-11-08 Glenn Morris <rgm@gnu.org>
12365
12366 * progmodes/delphi.el (delphi-mode-syntax-table):
12367 Let define-derived-mode define a proper syntax table. (Bug#9994)
12368
12369 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * window.el: Stay away from defsubst.
12372 (window-list-no-nils): Remove.
12373 (window-state-get-1, window-state-get): Use backquote instead.
12374
12375 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12376
12377 * emacs-lisp/find-func.el (find-function-read):
12378 Fix incorrect use of default argument in `completing-read'.
12379
12380 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12381
12382 * window.el (display-buffer-function, special-display-function):
12383 Mention display-buffer-record-window but do not mention
12384 help-setup parameter in doc-strings.
12385 (window-min-delta): Fix doc-string typo.
12386
12387 2011-11-08 Chong Yidong <cyd@gnu.org>
12388
12389 * window.el (window-total-height, window-total-width): Doc fix.
12390 (window-body-size): Move from C.
12391 (window-body-height, window-body-width): Move to C.
12392
12393 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * window.el: Make special-display like display-buffer-alist (bug#9532).
12396 (display-buffer--special-action): New function, morphed
12397 from display-buffer--special.
12398 (display-buffer): Use it to handle special-display-buffers at higher
12399 priority (just after display-buffer-alist).
12400 (display-buffer-fallback-action, display-buffer--other-frame-action)
12401 (pop-to-buffer-same-window): Remove display-buffer--special.
12402
12403 2011-11-07 Glenn Morris <rgm@gnu.org>
12404
12405 * calendar/cal-menu.el (cal-menu-set-date-title):
12406 Do nothing if not in a calendar. (Bug#9976)
12407
12408 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * files.el (find-file): Always use selected-window.
12411
12412 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12413
12414 * window.el (window-combinations): Make WINDOW argument
12415 mandatory. Rewrite doc-string.
12416 (walk-window-subtree, window-atom-check, window-min-delta)
12417 (window-max-delta, window--resize-this-window)
12418 (window--resize-root-window-vertically, window-tree)
12419 (balance-windows, window-state-put): Rewrite doc-strings as to
12420 not mention the term "subwindow".
12421 (window--resize-subwindows-skip-p): Rename to
12422 window--resize-child-windows-skip-p.
12423 (window--resize-subwindows-normal): Rename to
12424 window--resize-child-windows-normal.
12425 (window--resize-subwindows): Rename to
12426 window--resize-child-windows.
12427 (window-or-subwindow-p): Rename to window--in-subtree-p.
12428
12429 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12430
12431 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12432 Ensure that mbox format messages end in two newlines (Bug#9974).
12433
12434 2011-11-06 Chong Yidong <cyd@gnu.org>
12435
12436 * window.el (window-combination-p): Function deleted; its
12437 side-effect is not used in any existing code.
12438 (window-combinations, window-combined-p): Call window-*-child
12439 directly.
12440
12441 2011-11-05 Chong Yidong <cyd@gnu.org>
12442
12443 * window.el (window-valid-p): Rename from window-any-p.
12444 (window-size-ignore, window-state-get): Callers changed.
12445 (window-normalize-window): Rename from window-normalize-any-window.
12446 New arg LIVE-ONLY, replacing window-normalize-live-window.
12447 (window-normalize-live-window): Delete.
12448 (window-combination-p, window-combined-p, window-combinations)
12449 (walk-window-subtree, window-atom-root, window-min-size)
12450 (window-sizable, window-sizable-p, window-size-fixed-p)
12451 (window-min-delta, window-max-delta, window-resizable)
12452 (window-resizable-p, window-full-height-p, window-full-width-p)
12453 (window-current-scroll-bars, window-point-1, set-window-point-1)
12454 (window-at-side-p, window-in-direction, window-resize)
12455 (adjust-window-trailing-edge, maximize-window, minimize-window)
12456 (window-deletable-p, delete-window, delete-other-windows)
12457 (record-window-buffer, unrecord-window-buffer)
12458 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12459 (quit-window, split-window, window-state-put)
12460 (set-window-text-height, fit-window-to-buffer)
12461 (shrink-window-if-larger-than-buffer): Callers changed.
12462
12463 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12464
12465 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12466 rfc2047-decode-string.
12467 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12468 warnings.
12469
12470 * window.el (window-body-height, window-body-width): Mention in
12471 the doc string that the return values are in frame's canonical
12472 units. (Bug#9949)
12473
12474 2011-11-03 Alan Mackenzie <acm@muc.de>
12475
12476 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12477 change in cc-engine.el.
12478
12479 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12482
12483 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12484
12485 * window.el (quit-window): Call unrecord-window-buffer after
12486 showing another buffer in the window. (Bug#9937)
12487 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12488
12489 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12490
12491 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12492 Accept status with more than 9 shelves. (Bug#9935)
12493 Reported by Colin D Bennett <colin@gibibit.com>.
12494
12495 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12496
12497 * help.el (with-help-window): Don't reference
12498 temp-buffer-show-specifiers in doc-string.
12499
12500 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12501
12502 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12503 menu-item.
12504
12505 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12506
12507 * whitespace.el: New version 13.2.2.
12508 (whitespace-newline-mode): Disable properly. Reported by Sarah
12509 <EmacsWiki>.
12510
12511 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12512
12513 * net/newst-treeview.el: Remove "Time-stamp".
12514 (newsticker--group-manage-orphan-feeds): Do not call
12515 newsticker--treeview-tree-update.
12516 (newsticker-treeview-update, newsticker-treeview):
12517 Call newsticker--treeview-tree-update if necessary.
12518
12519 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12520
12521 * window.el (window-iso-combination-p, window-iso-combined-p)
12522 (window-iso-combinations): Remove "iso-" infix.
12523 Suggested by Chong Yidong.
12524 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12525 (window-max-delta-1, window-resize, window--resize-siblings)
12526 (window--resize-this-window, adjust-window-trailing-edge)
12527 (split-window, balance-windows-1)
12528 (shrink-window-if-larger-than-buffer):
12529 * calendar/calendar.el (calendar-generate-window):
12530 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12531
12532 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12535 in place (bug#9907).
12536 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12537 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12538 (eshell-structure-basic-command, eshell-rewrite-while-command)
12539 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12540 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12541 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12542 (eshell-do-pipelines-synchronously, eshell-eval-command):
12543 Use backquotes and prefer setq to set.
12544 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12545 (eshell-macrop): Use functionp.
12546 (eshell-do-eval): Handle multiple expressions in `while' body.
12547
12548 2011-10-30 Chong Yidong <cyd@gnu.org>
12549
12550 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12551 instead of set-mark (Bug#9810).
12552
12553 2011-10-30 Chong Yidong <cyd@gnu.org>
12554
12555 * window.el (split-window-below, split-window-right): Rename from
12556 split-window-above-each-other and split-window-side-by-side
12557 respectively. All callers changed.
12558 (split-window-sensibly, split-window-sensibly): Use them.
12559 (split-window-keep-point): Doc fix.
12560
12561 * isearch.el: Add isearch-scroll property to split-window-below
12562 and split-window-right.
12563
12564 * follow.el (follow-mode):
12565 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12566 * progmodes/ada-xref.el (ada-gdb-application):
12567 * emulation/vip.el (vip-buffer-in-two-windows):
12568 * image-dired.el (image-dired-dired-with-window-configuration):
12569 * dired-x.el (dired-do-find-marked-files):
12570 * dired.el (dired-pop-to-buffer):
12571 * bs.el (bs--show-with-configuration):
12572 * vc/emerge.el (emerge-setup-windows):
12573 * textmodes/two-column.el (2C-two-columns):
12574 * textmodes/reftex-toc.el (reftex-toc):
12575 * progmodes/gdb-mi.el (gdb-setup-windows):
12576 * progmodes/fortran.el (fortran-window-create):
12577 * net/newst-treeview.el (newsticker--treeview-window-init):
12578 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12579 * emulation/tpu-edt.el (tpu-gold-map):
12580 * emulation/crisp.el (crisp-mode-map):
12581 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12582
12583 2011-10-29 Chong Yidong <cyd@gnu.org>
12584
12585 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12586
12587 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12588
12589 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12590 forged Ispell output (Bug#7904).
12591
12592 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12593
12594 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * doc-view.el: Avoid ugly errors about not finding nil.
12597 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12598 (doc-view-dvipdf-program, doc-view-unoconv-program)
12599 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12600 Avoid nil or absolute file name as default value.
12601 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12602
12603 2011-10-28 Alan Mackenzie <acm@muc.de>
12604
12605 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12606
12607 2011-10-28 Alan Mackenzie <acm@muc.de>
12608
12609 Amend the handling of c-beginning/end-of-defun in nested declaration
12610 scopes.
12611
12612 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12613 cc-langs.el. Change it to a defcustom.
12614
12615 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12616 cc-vars.el.
12617
12618 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12619 Prevent "class foo : bar" being spuriously recognized as a label.
12620
12621 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12622 Add parameter `inclusive' (to include enclosing braces in the region).
12623 (c-widen-to-enclosing-decl-scope): New function.
12624 (c-while-widening-to-decl-block): New macro.
12625 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12626 outward for defun boundaries, and correspondingly change symbol
12627 `respect-enclosure' to `go-outward'.
12628 (c-declaration-limits): Change algorithm to report only the "innermost"
12629 defun's boundaries.
12630
12631 2011-10-28 Deniz Dogan <deniz@dogan.se>
12632
12633 * net/rcirc.el (rcirc-mode): Use hard newlines.
12634
12635 2011-10-28 Alan Mackenzie <acm@muc.de>
12636
12637 Amend to indent and fontify macros "which include their own semicolon"
12638 correctly, using the "virtual semicolon" mechanism.
12639
12640 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12641
12642 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12643 Recode to scan one line at a time rather than having \n and \r
12644 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12645 (c-forward-label): Amend for virtual semicolons.
12646 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12647
12648 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12649 of the new C macros.
12650
12651 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12652 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12653 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12654 (c-opt-cpp-macro-define): Make into a full language variable.
12655 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12656 AWK Mode (including \n, \r) removed, no longer needed.
12657
12658 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12659 Invoke c-make-macro-with-semi-re.
12660
12661 * progmodes/cc-vars.el (c-macro-with-semi-re):
12662 (c-macro-names-with-semicolon): New variables.
12663 (c-make-macro-with-semi-re): New function.
12664
12665 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * vc/log-edit.el: Fill empty field rather than adding new one.
12668 (log-edit-add-field): New function.
12669 (log-edit-insert-changelog): Use it.
12670
12671 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12672
12673 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12674
12675 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12676
12677 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12678 (gdb--check-interpreter): New function.
12679 (gdb): Use it.
12680
12681 2011-10-27 Glenn Morris <rgm@gnu.org>
12682
12683 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12684 (least-positive-float, least-negative-float)
12685 (least-positive-normalized-float, least-negative-normalized-float)
12686 (float-epsilon, float-negative-epsilon):
12687 Remove unnecessary declarations.
12688
12689 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12690 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12691 (least-positive-float, least-negative-float)
12692 (least-positive-normalized-float, least-negative-normalized-float)
12693 (float-epsilon, float-negative-epsilon): Add doc-strings,
12694 based on those in cl.texi.
12695
12696 * files.el (set-visited-file-name): If the major-mode changed,
12697 reload the local variables. (Bug#9796)
12698
12699 2011-10-27 Chong Yidong <cyd@gnu.org>
12700
12701 * subr.el (change-major-mode-after-body-hook): New hook.
12702 (run-mode-hooks): Run it.
12703
12704 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12705 Use change-major-mode-before-body-hook.
12706
12707 * simple.el (fundamental-mode):
12708 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12709 change introducing fundamental-mode-hook.
12710
12711 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12712
12713 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12714
12715 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12716
12717 * ido.el (ido-file-name-all-completions-1): Do not require
12718 tramp.el explicitly. (Bug#7583)
12719
12720 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * progmodes/octave-mod.el:
12723 * progmodes/octave-inf.el: Update maintainer.
12724
12725 2011-10-26 Chong Yidong <cyd@gnu.org>
12726
12727 * subr.el (with-wrapper-hook): Rewrite doc.
12728
12729 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12730
12731 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12732 filenames "/method:foo:". (Bug#9793)
12733
12734 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12737 (bug#9865).
12738
12739 2011-10-24 Glenn Morris <rgm@gnu.org>
12740
12741 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12742
12743 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12744
12745 * notifications.el: Add the requirement of a running D-Bus session
12746 bus to the Commentary.
12747
12748 2011-10-24 Juri Linkov <juri@jurta.org>
12749
12750 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12751 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12752 (Bug#9364)
12753
12754 2011-10-24 Juri Linkov <juri@jurta.org>
12755
12756 * info.el (Info-following-node-name-re): Add newline to the list
12757 of allowed characters for leading space. (Bug#9824)
12758
12759 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * progmodes/octave-inf.el (inferior-octave-mode-map):
12762 Fix C-c C-h binding.
12763 * progmodes/octave-mod.el (octave-help): Remove.
12764
12765 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12766
12767 Sync with Tramp 2.2.3.
12768
12769 * net/tramp-cache.el (top): Pacify byte-compiler using
12770 `init-file-user' and `site-run-file'.
12771
12772 * net/trampver.el: Update release number.
12773
12774 2011-10-23 Chong Yidong <cyd@gnu.org>
12775
12776 * files.el (toggle-read-only): Remove obsolete comment about
12777 version control.
12778
12779 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12780 for toggle-read-only. Note that this hasn't called vc-next-action
12781 since 2008-05-02, though it wasn't documented at the time.
12782
12783 * vc/ediff-init.el (ediff-toggle-read-only-function):
12784 Use toggle-read-only.
12785
12786 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12787
12788 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12789 of c-parse-state.
12790
12791 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12792 correct faulty logical expression.
12793 (c-parse-state-state, c-record-parse-state-state):
12794 (c-replay-parse-state-state): New defvar/defuns.
12795 (c-debug-parse-state): Use new functions.
12796
12797 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12798
12799 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12800 last fix. Use window-in-direction correctly.
12801
12802 2011-10-21 Chong Yidong <cyd@gnu.org>
12803
12804 * progmodes/idlwave.el (idlwave-mode):
12805 * progmodes/vera-mode.el (vera-mode): No need to set
12806 require-final-newline; that's done in prog-mode.
12807 Suggested by Stefan Monnier.
12808
12809 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12810
12811 * mouse.el (mouse-drag-window-above)
12812 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12813 (mouse-drag-mode-line-1, mouse-drag-header-line)
12814 (mouse-drag-vertical-line-rightward-window): Remove.
12815 (mouse-drag-line): New function.
12816 (mouse-drag-mode-line, mouse-drag-header-line)
12817 (mouse-drag-vertical-line): Call mouse-drag-line.
12818 * window.el (window-at-side-p, windows-at-side): New functions.
12819
12820 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12821
12822 * tar-mode.el (tar-grind-file-mode):
12823 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12824
12825 2011-10-21 Chong Yidong <cyd@gnu.org>
12826
12827 * progmodes/idlwave.el (idlwave-mode):
12828 * progmodes/vera-mode.el (vera-mode):
12829 Use mode-require-final-newline.
12830
12831 2011-10-20 Glenn Morris <rgm@gnu.org>
12832
12833 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12834
12835 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12836
12837 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12838
12839 2011-10-20 Chong Yidong <cyd@gnu.org>
12840
12841 * emulation/cua-base.el (cua-mode):
12842 * mail/footnote.el (footnote-mode):
12843 * mail/mailabbrev.el (mail-abbrevs-mode):
12844 * net/xesam.el (xesam-minor-mode):
12845 * progmodes/bug-reference.el (bug-reference-mode):
12846 * progmodes/cap-words.el (capitalized-words-mode):
12847 * progmodes/compile.el (compilation-minor-mode)
12848 (compilation-shell-minor-mode):
12849 * progmodes/gud.el (gud-tooltip-mode):
12850 * progmodes/hideif.el (hide-ifdef-mode):
12851 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12852 * progmodes/subword.el (subword-mode):
12853 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12854 * progmodes/which-func.el (which-function-mode):
12855 * term/tvi970.el (tvi970-set-keypad-mode):
12856 * term/vt100.el (vt100-wide-mode):
12857 * textmodes/flyspell.el (flyspell-mode):
12858 * textmodes/ispell.el (ispell-minor-mode):
12859 * textmodes/nroff-mode.el (nroff-electric-mode):
12860 * textmodes/paragraphs.el (use-hard-newlines):
12861 * textmodes/refill.el (refill-mode):
12862 * textmodes/reftex.el (reftex-mode):
12863 * textmodes/rst.el (rst-minor-mode):
12864 * textmodes/sgml-mode.el (html-autoview-mode)
12865 (sgml-electric-tag-pair-mode):
12866 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12867 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12868 * emulation/crisp.el (crisp-mode):
12869 * emacs-lisp/eldoc.el (eldoc-mode):
12870 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12871 minor mode behavior.
12872
12873 2011-10-19 Juri Linkov <juri@jurta.org>
12874
12875 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12876 the list of hard-coded chars with escape-glyph face.
12877
12878 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12881
12882 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12883
12884 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12885 running process.
12886
12887 2011-10-19 Glenn Morris <rgm@gnu.org>
12888
12889 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12890 Ignore ignored files. (Bug#9726)
12891
12892 2011-10-19 Chong Yidong <cyd@gnu.org>
12893
12894 Doc fix for minor modes, stating that an omitted argument enables
12895 the mode unconditionally when called from Lisp.
12896
12897 * abbrev.el (abbrev-mode):
12898 * allout.el (allout-mode):
12899 * autoinsert.el (auto-insert-mode):
12900 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12902 (global-auto-revert-mode):
12903 * battery.el (display-battery-mode):
12904 * composite.el (global-auto-composition-mode)
12905 (auto-composition-mode):
12906 * delsel.el (delete-selection-mode):
12907 * desktop.el (desktop-save-mode):
12908 * dired-x.el (dired-omit-mode):
12909 * dirtrack.el (dirtrack-mode):
12910 * doc-view.el (doc-view-minor-mode):
12911 * double.el (double-mode):
12912 * electric.el (electric-indent-mode, electric-pair-mode):
12913 * emacs-lock.el (emacs-lock-mode):
12914 * epa-hook.el (auto-encryption-mode):
12915 * follow.el (follow-mode):
12916 * font-core.el (font-lock-mode):
12917 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12918 * help.el (temp-buffer-resize-mode):
12919 * hilit-chg.el (highlight-changes-mode)
12920 (highlight-changes-visible-mode):
12921 * hi-lock.el (hi-lock-mode):
12922 * hl-line.el (hl-line-mode, global-hl-line-mode):
12923 * icomplete.el (icomplete-mode):
12924 * ido.el (ido-everywhere):
12925 * image-file.el (auto-image-file-mode):
12926 * image-mode.el (image-minor-mode):
12927 * iswitchb.el (iswitchb-mode):
12928 * jka-cmpr-hook.el (auto-compression-mode):
12929 * linum.el (linum-mode):
12930 * longlines.el (longlines-mode):
12931 * master.el (master-mode):
12932 * mb-depth.el (minibuffer-depth-indicate-mode):
12933 * menu-bar.el (menu-bar-mode):
12934 * minibuf-eldef.el (minibuffer-electric-default-mode):
12935 * mouse-sel.el (mouse-sel-mode):
12936 * msb.el (msb-mode):
12937 * mwheel.el (mouse-wheel-mode):
12938 * outline.el (outline-minor-mode):
12939 * paren.el (show-paren-mode):
12940 * recentf.el (recentf-mode):
12941 * reveal.el (reveal-mode, global-reveal-mode):
12942 * rfn-eshadow.el (file-name-shadow-mode):
12943 * ruler-mode.el (ruler-mode):
12944 * savehist.el (savehist-mode):
12945 * scroll-all.el (scroll-all-mode):
12946 * scroll-bar.el (scroll-bar-mode):
12947 * server.el (server-mode):
12948 * shell.el (shell-dirtrack-mode):
12949 * simple.el (auto-fill-mode, transient-mark-mode)
12950 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12951 (line-number-mode, column-number-mode, size-indication-mode)
12952 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12953 * strokes.el (strokes-mode):
12954 * time.el (display-time-mode):
12955 * t-mouse.el (gpm-mouse-mode):
12956 * tool-bar.el (tool-bar-mode):
12957 * tooltip.el (tooltip-mode):
12958 * type-break.el (type-break-mode-line-message-mode)
12959 (type-break-query-mode):
12960 * view.el (view-mode):
12961 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12962 (global-whitespace-mode, global-whitespace-newline-mode):
12963 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12964
12965 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12966 Fix autogenerated docstring.
12967
12968 2011-10-19 Juri Linkov <juri@jurta.org>
12969
12970 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12971 by checking environment variables "DESKTOP_SESSION" and
12972 "XDG_CURRENT_DESKTOP". (Bug#9779)
12973
12974 2011-10-19 Juri Linkov <juri@jurta.org>
12975
12976 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12977 (browse-url-chromium-program, browse-url-chromium-arguments):
12978 New defcustoms.
12979 (browse-url-default-browser): Check for `browse-url-chromium' and
12980 call `browse-url-chromium-program'.
12981 (browse-url-chromium): New command. (Bug#9779)
12982
12983 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12984
12985 * facemenu.el (list-colors-duplicates): On Windows, detect more
12986 duplicates by assuming that only colors matching "^System" are
12987 special "system colors". (Bug#9722)
12988
12989 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12992 to distinguish the author from the committer.
12993
12994 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12995
12996 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12997
12998 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12999
13000 * international/mule.el (sgml-html-meta-auto-coding-function):
13001 Add support for detecting encoding in HTML5 specified only as
13002 <meta charset="UTF-8">. Implementation just makes http-equiv and
13003 content-type parts from HTML4 encoding string optional. (Bug#9716)
13004
13005 2011-10-18 Glenn Morris <rgm@gnu.org>
13006
13007 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13008
13009 2011-10-18 Chong Yidong <cyd@gnu.org>
13010
13011 * faces.el (cursor): Doc fix.
13012
13013 2011-10-17 Chong Yidong <cyd@gnu.org>
13014
13015 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13016
13017 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13018
13019 * dirtrack.el (dirtrack): Support shell buffers with path
13020 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13021
13022 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13023
13024 * json.el: Bump version to 1.3 and note change in History.
13025 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13026
13027 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 * comint.el (comint-insert-input, comint-send-input)
13030 (comint-get-old-input-default, comint-backward-matching-input)
13031 (comint-next-prompt): Use nil instead of `input' for field property of
13032 past user input (bug#114).
13033
13034 * minibuffer.el (completion--replace): Inherit surrounding properties
13035 (bug#114).
13036 (minibuffer-complete-and-exit): Use it.
13037
13038 * comint.el (comint--table-subvert): Quote the all-completions output
13039 (bug#9160).
13040
13041 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13042
13043 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13044
13045 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13046 window on right of selected. (Bug#9350) Reword other window
13047 entries and separate them from frame entries.
13048
13049 2011-10-15 Glenn Morris <rgm@gnu.org>
13050
13051 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13052 Doc fixes.
13053
13054 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13055
13056 * net/network-stream.el (network-stream-open-starttls):
13057 Improve detection of failure due to lack of TLS support.
13058
13059 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13060 putting the input text in front and in bold.
13061
13062 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13065
13066 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13067 empty buffer.
13068
13069 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13070 unread-command-events rather than pushing yet-another event.
13071
13072 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13073
13074 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13075 the explanation of the possible choices. Make the options passed
13076 to completing-read shorter.
13077
13078 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13079
13080 * textmodes/flyspell.el (flyspell-large-region): Make sure
13081 extended character mode is used if defined (Bug#1339).
13082
13083 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13084
13085 * simple.el (what-cursor-position): Fix the display of the
13086 character info for LRE, LRO, RLE, and RLO characters by appending
13087 an invisible PDF.
13088
13089 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13092 even in case of error; add debug spec; simplify data flow.
13093 (with-timeout-handler): Remove.
13094
13095 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13096
13097 Fix Bug#6019, Bug#9315.
13098
13099 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13100 complete `buffer-file-name', the local file name part could look
13101 remotely (for example on VMS).
13102
13103 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13104 `tramp-run-real-handler'.
13105 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13106 already quoted by '"'.
13107
13108 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13109 Let `file-name-handler-alist' be nil, the local file name part
13110 could look remotely (for example on VMS).
13111
13112 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13115 from here...
13116 (flyspell-post-command-hook): ...to here.
13117
13118 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13121 if not needed.
13122 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13123 using completion. Protect against "slow" callers.
13124 Remove the "message hack".
13125
13126 2011-10-11 Juri Linkov <juri@jurta.org>
13127
13128 * isearch.el (isearch-lazy-highlight-word): New variable.
13129 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13130 Use it. (Bug#9727)
13131
13132 2011-10-11 Glenn Morris <rgm@gnu.org>
13133
13134 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13135 like f90-previous-statement does.
13136
13137 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13138
13139 * eshell/eshell.el (eshell-command): History should be saved
13140 only in interactive use, to avoid error.
13141
13142 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * minibuffer.el (completion-file-name-table): Fix last change,
13145 i.e. ignore normal errors but not the other ones.
13146
13147 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13148
13149 * window.el (special-display-buffer-names)
13150 (special-display-regexps): Remove some remnants of earlier
13151 changes from doc-strings.
13152 (quit-windows-on): New function.
13153
13154 * vc/vc.el (vc-revert, vc-rollback):
13155 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13156 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13157 (Bug#6183) (Bug#7074) (Bug#7447)
13158
13159 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13160
13161 * window.el (frame-auto-hide-function): Add version tag.
13162 (Bug#9699)
13163
13164 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13165
13166 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13167 condition.
13168
13169 2011-10-09 Leo Liu <sdl.web@gmail.com>
13170
13171 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13172 (Bug#9701)
13173
13174 2011-10-08 Glenn Morris <rgm@gnu.org>
13175
13176 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13177 before the first code statement zero indent. (Bug#9690)
13178
13179 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13180
13181 * simple.el (count-words-region): Always count in the region.
13182 Report the number of lines and characters too.
13183 (count-words): New command, which counts in the buffer if the
13184 region is inactive, as count-words-region used to.
13185 (count-words--message): New function. Handle plurals.
13186 (count-lines-region): Make it an alias for count-words-region.
13187
13188 * bindings.el (esc-map): Replace count-lines-region with
13189 count-words-region.
13190
13191 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13192
13193 * window.el (window--delete): Delete dedicated frame
13194 unconditionally when argument KILL is non-nil. (Bug#9699)
13195 (switch-to-buffer): Fix doc-string typo.
13196
13197 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13198
13199 * eshell/eshell.el (eshell-command): Avoid using hooks.
13200
13201 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13202
13203 * bindings.el ([M-left],[M-right]): Bind to left-word and
13204 right-word respectively.
13205
13206 2011-10-07 Glenn Morris <rgm@gnu.org>
13207
13208 * cus-start.el (debug-on-quit): Fix custom type.
13209
13210 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
13212 * subr.el (define-key-after): Clarify that the function is not
13213 useful for non-menu keymaps.
13214
13215 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13216
13217 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13218
13219 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13220 in current minibuffer (Fix bug with recursive minibuffers).
13221
13222 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13223
13224 * progmodes/gdb-mi.el (gdb): Doc fix.
13225
13226 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (frame-auto-hide-function): New option replacing
13229 frame-auto-delete. Suggested by Stefan Monnier.
13230 (window--delete): Call frame-auto-hide-function instead of
13231 investigating frame-auto-delete.
13232 (window-point-1, set-window-point-1): New functions.
13233 (window-in-direction, record-window-buffer, window-state-get-1)
13234 (display-buffer-record-window): Use window-point-1 instead of
13235 window-point.
13236 (set-window-buffer-start-and-point): Use set-window-point-1.
13237
13238 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13241
13242 2011-10-05 Glenn Morris <rgm@gnu.org>
13243
13244 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13245 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13246
13247 2011-10-05 Leo Liu <sdl.web@gmail.com>
13248
13249 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13250 works with buffer object.
13251
13252 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * mpc.el (mpc-tool-bar-map): Add labels.
13255
13256 2011-10-04 Glenn Morris <rgm@gnu.org>
13257
13258 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13259
13260 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13261
13262 * window.el (window--delete): New function.
13263 (frame-auto-delete): Resuscitate option.
13264 (bury-buffer, replace-buffer-in-windows)
13265 (quit-window): Rewrite using window--delete.
13266 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13267 Pass display-buffer-mark-dedicated to window--display-buffer-2
13268 (Bug#9639).
13269
13270 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13273 returns a list (bug#9554). Add remote file name completion.
13274 * comint.el (comint--table-subvert): Curry and get quote&unquote
13275 functions as arguments.
13276 (comint--complete-file-name-data): Adjust call accordingly.
13277 * pcomplete.el (pcomplete--table-subvert): Remove.
13278 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13279
13280 * minibuffer.el (completion-table-case-fold): Use currying.
13281 (completion--styles-type, completion--cycling-threshold-type):
13282 New constants.
13283 (completion-styles, completion-category-overrides)
13284 (completion-cycle-threshold): Use them.
13285 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13286 completion-table-case-fold.
13287
13288 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13289
13290 * minibuffer.el (completion-category-overrides): Fix type of styles
13291 and add more user friendly tags (bug#9660).
13292
13293 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13296 (mule-input-method-string): New widget.
13297 (default-input-method, language-info-custom-alist): Use it.
13298
13299 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * pcomplete.el: Require comint.
13302 (pcomplete--common-suffix): Remove.
13303 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13304 (pcomplete--table-subvert): Sync with comint--table-subvert.
13305 (pcomplete--entries): Use comint-completion-file-name-table.
13306 * comint.el (comint-unquote-filename): Simplify.
13307 (comint-completion-file-name-table): New function (bug#9616).
13308 (comint--complete-file-name-data): Use it.
13309
13310 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13311 (pcmpl-gnu-tar-buffer): Remove.
13312 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13313 around. Make sure pcomplete-suffix-list is only changed temporarily.
13314 Don't look inside the tar's file if it's too large.
13315
13316 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13317
13318 * cus-edit.el (custom-mode-map):
13319 * epa.el (epa-key-list-mode-map):
13320 * man.el (Man-mode-map):
13321 * startup.el (splash-screen-keymap):
13322 * simple.el (special-mode-map): Use scroll-up-command and
13323 scroll-down-command.
13324
13325 * progmodes/idlw-help.el (idlwave-help-mode-map):
13326 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13327 * net/newst-plainview.el (newsticker-mode-map):
13328 * emulation/ws-mode.el (wordstar-mode-map):
13329 * emulation/vi.el (vi-com-map):
13330 * calc/calc-graph.el (calc-graph-show-dumb):
13331 * term/sun.el (terminal-init-sun):
13332 * term/ns-win.el (global-map):
13333 * progmodes/grep.el (grep-mode-map):
13334 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13335 * mail/rmail.el (rmail-mode-map):
13336 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13337
13338 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13339 custom-safe-themes as special.
13340
13341 2011-10-01 Julien Danjou <julien@danjou.info>
13342
13343 * notifications.el (notifications-notify): Fix docstring.
13344
13345 2011-10-01 Per Starbäck <per@starback.se>
13346
13347 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13348
13349 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13350
13351 * startup.el (command-line-1): Fix last fix by inserting
13352 initial-scratch-message into *scratch* before displaying it.
13353 (Bug#9605) and (Bug#9636)
13354
13355 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13356
13357 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13358 window is hscrolled, move by logical lines. (Bug#9607)
13359 (line-move-visual): Update the doc string to the above effect.
13360
13361 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13362
13363 * window.el (display-buffer-record-window): When WINDOW is the
13364 selected window use `point' instead of `window-point'. (Bug#9626)
13365
13366 * startup.el (command-line-1): Use insert-before-markers when
13367 inserting initial-scratch-message. (Bug#9605)
13368
13369 * help.el (help-window): Remove variable.
13370
13371 2011-09-29 Glenn Morris <rgm@gnu.org>
13372
13373 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13374
13375 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13376
13377 * descr-text.el (describe-char-categories): Accept category
13378 descriptions more than one line long.
13379
13380 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * simple.el (delete-trailing-whitespace): Fix last change.
13383
13384 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13385 Don't confuse "y => 3" as the beginning of a `y' operation.
13386
13387 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13388 object has more than 4 slots (bug#9613).
13389
13390 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13391
13392 * subr.el (with-output-to-temp-buffer):
13393 * net/quickurl.el (quickurl, quickurl-browse-url):
13394 Fix typos in docstrings.
13395
13396 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13397
13398 * minibuffer.el (completion-styles)
13399 (completion-category-overrides): Cross reference each other in doc
13400 strings.
13401
13402 2011-09-27 Glenn Morris <rgm@gnu.org>
13403
13404 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13405 to split-string. (Bug#9606)
13406
13407 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13408
13409 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13410 (bug#9615).
13411
13412 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13413
13414 * emacs-lisp/package.el (list-packages): Fix echo area message.
13415
13416 2011-09-27 Leo Liu <sdl.web@gmail.com>
13417
13418 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13419
13420 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13421
13422 * net/dbus.el (dbus-unregister-object): Don't release services for
13423 registered signals. (Bug#9581)
13424
13425 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13426
13427 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13428 function that picks between cfengine 2 and 3 support
13429 automatically. Update docs accordingly.
13430
13431 2011-09-22 Kenichi Handa <handa@m17n.org>
13432
13433 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13434 ZERO.
13435 (indian-itrans-v5-table-for-tamil): New variable.
13436 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13437
13438 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13439
13440 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13441 that's true if the current command involved collapsing of text.
13442 It's reset to false at the beginning of the next command.
13443 (allout-post-command-business): Move the cursor to the beginning
13444 of entry if the cursor is hidden and collapsing activity just
13445 happened.
13446
13447 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13448
13449 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13450 tracking (Bug#9541).
13451
13452 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13453
13454 * net/newst-reader.el (newsticker-html-renderer)
13455 (newsticker-show-news): Automatically load html rendering package
13456 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13457 because w3m-fill-column is let-bound" and the error "Symbol's value
13458 as variable is void: w3m-fill-column".
13459
13460 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13461
13462 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13463 Release services only if they are defined. (Bug#9581)
13464
13465 2011-09-23 Richard Stallman <rms@gnu.org>
13466
13467 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13468 distinguish start of paragraph from start of its text.
13469
13470 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13471
13472 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13473 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13474 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13475
13476 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13477
13478 * international/mule-diag.el (mule-diag): Insert a newline after
13479 each fontset description.
13480
13481 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * simple.el (delete-trailing-whitespace):
13484 Document last change; simplify.
13485
13486 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13487
13488 * simple.el (delete-trailing-whitespace): Also delete
13489 extra newlines at the end of the buffer.
13490
13491 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13492 (picture-newline): Use forward-line so as to ignore fields.
13493
13494 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * subr.el (with-wrapper-hook): Fix edebug spec.
13497
13498 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13499
13500 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13501 (bug#4538).
13502
13503 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13504
13505 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13506 Fix nasty bug using wrong cached values.
13507
13508 2011-09-23 Alan Mackenzie <acm@muc.de>
13509
13510 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13511
13512 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13513
13514 * window.el (pop-to-buffer): Ensure right window is selected if we
13515 chose another frame.
13516
13517 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13518
13519 * simple.el (what-cursor-position): Use get-char-property-change
13520 and next-single-char-property-change, to be able to show display
13521 properties that come from overlays as well as text properties.
13522
13523 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13524
13525 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13526
13527 * cmuscheme.el (run-scheme, switch-to-scheme):
13528 * cus-edit.el (customize-group, custom-buffer-create)
13529 (customize-browse):
13530 * info.el (info):
13531 * shell.el (shell):
13532 * mail/sendmail.el (mail):
13533 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13534
13535 2011-09-22 Richard Stallman <rms@gnu.org>
13536
13537 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13538 move back only to line beg, don't move back over blank lines.
13539
13540 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13541
13542 * files.el (copy-directory): Set directory attributes only in case
13543 they could be retrieved from the source directory. (Bug#9565)
13544
13545 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13546
13547 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13548 (hs-find-block-beginning, hs-hide-level-recursive):
13549 Ignore strings as well as comments. (Bug#9502)
13550
13551 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13552
13553 * progmodes/sql.el (sql-comint-postgres):
13554 Convert port number to a string. (Bug#9566)
13555
13556 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13557
13558 * window.el (quit-window): Undedicate window when switching to
13559 previous buffer. Reported by Thierry Volpiatto
13560 <thierry.volpiatto@gmail.com>.
13561 (special-display-popup-frame): When popping up a new frame reset
13562 its previous buffers to nil. Simplify code.
13563
13564 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13565
13566 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13567 and process filter, as done also in `shell-command'.
13568
13569 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13570
13571 * window.el (set-window-buffer-start-and-point):
13572 Call set-window-start with NOFORCE argument t.
13573 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13574 (quit-window): Reword doc-string. Handle new format of
13575 quit-restore parameter. Don't delete window if it has a
13576 previous buffer we can show instead of the present one.
13577 (display-buffer-record-window): Rewrite using a new format for
13578 the quit-restore window parameter
13579 (special-display-popup-frame, display-buffer-same-window)
13580 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13581 (display-buffer-pop-up-window, display-buffer-use-some-window):
13582 Adapt symbol passed to display-buffer-record-window.
13583 * help.el (help-window-setup): Handle new format of quit-restore
13584 parameter.
13585
13586 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * faces.el (face-list): Fix docstring (bug#9564).
13589
13590 * window.el (display-buffer--action-function-custom-type):
13591 Don't include internal functions in the Custom interface.
13592
13593 2011-09-20 Juri Linkov <juri@jurta.org>
13594
13595 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13596 (Info-forward-node, Info-backward-node, Info-next-preorder)
13597 (Info-last-preorder): Use it. (Bug#9528)
13598
13599 2011-09-20 Juri Linkov <juri@jurta.org>
13600
13601 * info.el (Info-last-preorder): Visit last menu item only when
13602 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13603
13604 2011-09-20 Julien Danjou <julien@danjou.info>
13605
13606 * password-cache.el (password-cache-remove): Remove entries even if the
13607 value is nil, so that password with a nil value (negative caching) is
13608 possible to invalidate.
13609
13610 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13611
13612 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13613 all whitespace around breakpoint. (Bug#9553)
13614 (f90-find-breakpoint): Only break at whitespace inside a comment.
13615
13616 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13617
13618 * minibuffer.el (completion-file-name-table): Keep track of errors.
13619 (completion-table-with-predicate): Handle the case where pred1 is nil.
13620 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13621
13622 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13625 (debugger-return-value): Signal an error if the debugging context does
13626 not await any return value.
13627
13628 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13629 * image-mode.el (image-toggle-display-text)
13630 (image-toggle-display-image): Stay away from evil `intangible'.
13631
13632 2011-09-19 Leo Liu <sdl.web@gmail.com>
13633
13634 * replace.el (occur-revert-arguments): Make it permanent-local.
13635 (occur-mode): Don't call font-lock-defontify.
13636
13637 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13638
13639 * net/ldap.el (ldap-search-internal): Don't push empty search
13640 result (Bug#9508).
13641
13642 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13643
13644 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13645
13646 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13647
13648 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13649 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13650
13651 2011-09-18 Juri Linkov <juri@jurta.org>
13652
13653 * buff-menu.el (Buffer-menu-mode-map):
13654 * dired.el (dired-mode-map):
13655 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13656 (lisp-interaction-mode-map):
13657 * emacs-lisp/package.el (package-menu-mode-map):
13658 * epa.el (epa-key-list-mode-map):
13659 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13660 (menu-bar-options-menu):
13661 * outline.el (outline-mode-menu-bar-map):
13662 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13663 * vc/vc-dir.el (vc-dir-menu-map):
13664 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13665 Capitalize non-function content words in menu item strings.
13666
13667 * dired.el (dired-mode-map): Add menu item for
13668 `image-dired-dired-toggle-marked-thumbs'.
13669
13670 2011-09-18 Juri Linkov <juri@jurta.org>
13671
13672 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13673 to `isearch-case-fold-search' and restore its original value
13674 after the `isearch-mode' call.
13675
13676 2011-09-18 Juri Linkov <juri@jurta.org>
13677
13678 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13679 because `zgrep' returns 1 for successful matches (bug#9226).
13680
13681 2011-09-18 Juri Linkov <juri@jurta.org>
13682
13683 * info.el (Info-extract-menu-node-name): Check the second match
13684 for empty string (second test-case of bug#9528).
13685 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13686 intermediate nodes to the history (first test-case of bug#9528).
13687
13688 2011-09-18 Juri Linkov <juri@jurta.org>
13689
13690 * info.el (Info-mode-syntax-table): New variable.
13691 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13692
13693 2011-09-18 Juri Linkov <juri@jurta.org>
13694
13695 * info.el (Info-file-supports-index-cookies):
13696 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13697 outputs one more line for long file names (bug#4142).
13698
13699 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13700
13701 * newcomment.el (comment-normalize-vars): If prompting for
13702 comment-start, set comment-start-skip too (Bug#8424).
13703
13704 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13705
13706 * icomplete.el: Fix previous fix of Bug#5849.
13707 (icomplete-mode): Don't set completion-show-inline-help.
13708 (icomplete-minibuffer-setup): Set completion-show-inline-help
13709 locally during icompletion.
13710
13711 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13712
13713 * woman.el (woman2-process-escapes): Don't delete unrecognized
13714 escapes (Bug#7843).
13715
13716 * files.el (inhibit-first-line-modes-regexps): Add image files.
13717 (hack-local-variables-prop-line): Return nil for malformed
13718 prop-lines (Bug#9044).
13719
13720 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13721
13722 * net/tramp.el (top): Don't require 'shell.
13723 (tramp-methods): Fix docstring.
13724 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13725 Return complete remote file name. Handle "smb" case.
13726 Use `tramp-tmpdir', if defined for the respective method.
13727 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13728
13729 * net/tramp-compat.el (top): Require 'shell.
13730
13731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13732 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13733 `tramp-current-host'.
13734 (tramp-get-remote-tmpdir): Remove.
13735
13736 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13737 `tramp-tmpdir' entries.
13738 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13739 (tramp-smb-handle-file-attributes): Ignore errors.
13740 (tramp-smb-wait-for-output): Check also for process end.
13741
13742 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13743
13744 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13745 when sending QUIT (bug#9312).
13746
13747 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13750 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13751 occur-mode-display-occurrence.
13752 (occur-edit-mode): Add usage message.
13753 (occur-cease-edit): New command.
13754 (occur-after-change-function): Use text properties to find the
13755 position of the prefix text.
13756 (occur-engine): Set stickiness of prefix text properties.
13757
13758 2011-09-17 Glenn Morris <rgm@gnu.org>
13759
13760 * progmodes/etags.el (complete-tag):
13761 Fix call to completion-in-region. (Bug#9526)
13762
13763 2011-09-17 Juri Linkov <juri@jurta.org>
13764
13765 * textmodes/ispell.el (ispell-word): Add to the error message
13766 the word, ispell program name and current dictionary (bug#9121).
13767 (ispell-tex-arg-end): Capitalize "error" in the error message.
13768
13769 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13772 check. (Bug#4251)
13773
13774 2011-09-17 Juri Linkov <juri@jurta.org>
13775
13776 * window.el (window-safe-min-height, window-safe-min-width):
13777 Fix typos (followup to bug#9522).
13778
13779 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13780
13781 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13782
13783 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13784
13785 * simple.el (line-move): If goal-column is set, move by logical
13786 lines, not by display lines. (Bug#971)
13787 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13788 to reflect the above change.
13789
13790 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * image.el (imagemagick-register-types): Use regexp-opt.
13793
13794 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13795
13796 * window.el (display-buffer-base-action): Rename from
13797 display-buffer-default-action. Make default value empty.
13798 (display-buffer-overriding-action): Convert to defvar.
13799 (display-buffer-fallback-action): New var.
13800
13801 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13802
13803 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13804 declaration.
13805 (package--add-to-archive-contents): If there is a duplicate entry
13806 with an older version, remove it.
13807 (package-menu-mark-delete, package-menu-mark-install)
13808 (package-menu-mark-unmark): Make unused args optional.
13809 (package-menu-mark-obsolete-for-deletion):
13810 Use package-menu-get-status instead of a regexp search.
13811 (package-menu-get-status): Use tabulated-list-entry.
13812 (package-menu-mark-upgrades): New command.
13813 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13814 (package-menu-execute): Do installation before deletion.
13815 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13816 instead of checking major-mode.
13817 (package-menu--find-upgrades): New function.
13818
13819 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13820
13821 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13822 passwords in the log buffer.
13823 (smtpmail-process-filter): Update the process marker so that the
13824 "broken by peer" status message is inserted in the right place.
13825
13826 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13827
13828 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13829 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13830 bibtex-completion-at-point-function.
13831 (bibtex-completion-at-point-function): Use them.
13832
13833 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13834
13835 * mpc.el (mpc-constraints-tag-lookup): New function.
13836 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13837 also to browser "album|playlist".
13838
13839 2011-09-14 Juri Linkov <juri@jurta.org>
13840
13841 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13842 (isearch-edit-string): Use length of `isearch-string' when
13843 `isearch-fail-pos' returns nil.
13844 (isearch-message): Remove duplicate code and call
13845 `isearch-fail-pos' with arg `t'.
13846
13847 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13848
13849 * replace.el (occur-mode-goto-occurrence): Don't force using other
13850 window (Bug#9499).
13851
13852 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13853
13854 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13855
13856 * window.el (display-buffer-window): Remove.
13857 (display-buffer-record-window): Use help-setup window parameter
13858 instead of variable display-buffer-window.
13859 (display-buffer-function, special-display-buffer-names)
13860 (special-display-function): Mention help-setup parameter instead
13861 of display-buffer-window in doc-string.
13862 * help.el (help-window-setup): New argument help-window.
13863 Use help-window-setup parameter instead of display-buffer-window.
13864 Reword some messages.
13865 (with-help-window): Pass window used for displaying the buffer
13866 to help-window-setup. Don't set display-buffer-window.
13867
13868 2011-09-13 Glenn Morris <rgm@gnu.org>
13869
13870 * emacs-lisp/debug.el (debugger-make-xrefs):
13871 Preserve point. (Bug#9462)
13872
13873 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13874
13875 * window.el (window-deletable-p): Use next-frame.
13876
13877 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (window-auto-delete): Remove.
13880 (window-deletable-p): Remove argument FORCE. Don't deal with
13881 dedication and previous buffers.
13882 (switch-to-prev-buffer): Don't delete window.
13883 (delete-windows-on): Delete a window's frame if and only if the
13884 window is dedicated.
13885 (replace-buffer-in-windows): Delete buffer's window or frame if
13886 and only if window is dedicated.
13887 (quit-window): Handle quit-restore as before last change.
13888 (bury-buffer): Delete window only if window-deletable-p returns t.
13889
13890 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13891
13892 * window.el (window-deletable-p): Never delete the last frame on a
13893 given terminal.
13894
13895 2011-09-13 Glenn Morris <rgm@gnu.org>
13896
13897 * help.el (describe-key-briefly): Copy previous standard-output change.
13898
13899 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13900
13901 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13902
13903 2011-09-13 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13906 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13907
13908 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13909
13910 * dired-aux.el (dired-mark-read-string): Don't return default
13911 value on empty input (Bug#9361).
13912 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13913 Omit initial minibuffer contents.
13914 (dired-do-chmod): Signal an error on empty input.
13915 (dired-mark-read-string): Don't return default on empty input.
13916
13917 * files.el (file-modes-symbolic-to-number): Doc fix.
13918
13919 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * international/mule-cmds.el (ucs-completions): Remove.
13922 (read-char-by-name): Use complete-with-action instead; add metadata.
13923
13924 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13925
13926 * window.el (display-buffer--action-function-custom-type)
13927 (display-buffer--action-custom-type): New vars.
13928 (display-buffer-alist, display-buffer-default-action)
13929 (display-buffer-overriding-action): Add defcustom types.
13930
13931 * frame.el (delete-other-frames): Doc fix (Bug#276).
13932
13933 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13934
13935 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13936
13937 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13938
13939 Change modes that used same-window-* vars to use switch-to-buffer.
13940
13941 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13942 Use switch-to-buffer.
13943
13944 * cus-edit.el (customize-group, custom-buffer-create)
13945 (customize-browse, custom-buffer-create-other-window):
13946 Use switch-to-buffer or switch-to-buffer-other-window.
13947
13948 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13949 (Info-prev, Info-up, Info-speedbar-goto-node)
13950 (info-display-manual): Use switch-to-buffer.
13951 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13952
13953 * mail/sendmail.el (mail): Use switch-to-buffer.
13954 (mail-recover): Use switch-to-buffer-other-window.
13955
13956 * cmuscheme.el (run-scheme, switch-to-scheme):
13957 * ielm.el (ielm):
13958 * shell.el (shell):
13959 * net/rlogin.el (rlogin):
13960 * net/telnet.el (telnet, rsh):
13961 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13962
13963 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13964
13965 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13966
13967 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13968
13969 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13970 so don't mention it (bug#9301).
13971 (dired-sort-toggle-or-edit): Clarify string further.
13972
13973 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13974 match `x', `w32' and `ns', like the manual says (bug#9029).
13975
13976 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13977 (process-kill-buffer-query-function): Mention the buffer name in
13978 the query.
13979
13980 * image-mode.el (image-next-line): The line parameter is mandatory
13981 (bug#9258).
13982
13983 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13984 which can be useful (bug#9301).
13985
13986 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13987
13988 * subr.el (match-string): Mention that the current buffer should
13989 be the same as the search was done in (bug#9282).
13990
13991 * facemenu.el: Disable the remove-* commands if the mark isn't
13992 active (bug#9162).
13993
13994 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13997 of display-buffer.
13998 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13999
14000 * replace.el (occur-mode-goto-occurrence)
14001 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14002 and display-buffer.
14003
14004 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14005 display-buffer.
14006
14007 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14008 special-display and same-window variables.
14009 (mail-other-window): Use switch-to-buffer-other-window.
14010 (mail-other-frame): USe switch-to-buffer-other-frame.
14011
14012 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14013 Use display-buffer-other-frame.
14014 (gdb-display-gdb-buffer): Use pop-to-buffer.
14015
14016 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14017
14018 * progmodes/python.el: Don't set same-window-buffer-names.
14019
14020 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14021
14022 * window.el (display-buffer-alist): Add *Python*.
14023
14024 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14025
14026 * window.el (display-buffer-alist): Add entry for buffers
14027 previously handled same-window-*.
14028 (display-buffer-alist, display-buffer-default-action)
14029 (display-buffer-overriding-action): Mark as risky.
14030 (display-buffer-alist): Document action function changes.
14031 (display-buffer--same-window-action)
14032 (display-buffer--other-frame-action): New variables.
14033 (switch-to-buffer, display-buffer-other-frame): Use them.
14034 (display-buffer): Rename reuse-frame entry to reusable-frames.
14035 (display-buffer-reuse-selected-window): Function deleted.
14036 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14037 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14038 (display-buffer-special): New function.
14039 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14040 display-buffer-reuse-or-pop-window. Split off special-display
14041 part into display-buffer-special.
14042 (display-buffer-use-some-window): Don't perform any special
14043 pop-up-frames handling.
14044 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14045 (display-buffer--maybe-same-window): Rename from
14046 display-buffer-maybe-same-window.
14047
14048 * info.el: Don't set same-window-regexps.
14049 (info-setup): New function.
14050 (info-other-window, info): Call it.
14051
14052 * cus-edit.el: Don't set same-window-regexps.
14053 (customize-group): New argument.
14054 (customize-group-other-window): Use it.
14055 (customize-face, customize-face-other-window): Likewise.
14056 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14057
14058 * net/rlogin.el:
14059 * net/telnet.el:
14060 * progmodes/gud.el: Don't set same-window-regexps.
14061
14062 * cmuscheme.el:
14063 * ielm.el:
14064 * shell.el:
14065 * mail/sendmail.el:
14066 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14067
14068 2011-09-10 Juri Linkov <juri@jurta.org>
14069
14070 * isearch.el (isearch-edit-string): Remove obsolete mention of
14071 `C-w' (`isearch-yank-word-or-char') from docstring.
14072 (isearch-query-replace): Fix typo in docstring (bug#9466).
14073
14074 2011-09-10 Juri Linkov <juri@jurta.org>
14075
14076 * paren.el (show-paren-function): Don't show escaped parens.
14077 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14078
14079 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14080
14081 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14082 (mm-default-file-encoding): Remove autoload forms, they are
14083 replaced with autoload cookies in mml.el and mm-encode.el.
14084 (mail-add-attachment): New command.
14085 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14086 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14087 the doc string.
14088 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14089
14090 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14091
14092 * simple.el (count-words-region): Use buffer if there's no region
14093 (bug#9429).
14094
14095 2011-09-09 Juri Linkov <juri@jurta.org>
14096
14097 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14098 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14099 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14100
14101 2011-09-09 Alan Mackenzie <acm@muc.de>
14102
14103 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14104 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14105
14106 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14107
14108 Fix for Savannah bug#9392.
14109 * simple.el (mail-encode-mml): New defvar.
14110
14111 * mail/rmail.el (mail-encode-mml): Add a defvar.
14112 (rmail-enable-mime-composing): Default to t.
14113 (rmail-forward): Use MIME method of forwarding only if both
14114 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14115 Set mail-encode-mml non-nil if the MIME method was used.
14116
14117 * mail/sendmail.el (mml-to-mime): Add autoload form.
14118 (mail-encode-mml): Add a defvar.
14119 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14120 to nil.
14121 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14122 message through mml-to-mime, and reset mail-encode-mml to nil.
14123
14124 2011-09-09 Glenn Morris <rgm@gnu.org>
14125
14126 * woman.el (woman-if-body): When processing an .el block,
14127 do not delete the next .el block as well. (Bug#9447)
14128 (woman-special-characters): Add oq, cq, and hy characters.
14129
14130 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14131
14132 * window.el (window-deletable-p): Make sure window is live before
14133 invoking window-prev-buffers.
14134
14135 2011-09-08 Leo Liu <sdl.web@gmail.com>
14136
14137 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14138
14139 2011-09-08 Juri Linkov <juri@jurta.org>
14140
14141 * progmodes/compile.el (compilation-environment): Make it
14142 a defcustom (bug#8340).
14143
14144 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14145
14146 * window.el (frame-auto-delete): Rename to window-auto-delete.
14147 Make it control auto-deletion of windows and/or frames.
14148 (window-deletable-p): New argument FORCE. Rewrite conditions
14149 for deleting window/frame. (Bug#9419)
14150 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14151 Rewrite handling of case when window/frame can be deleted.
14152 (delete-windows-on): Call window-deletable-p with new FORCE
14153 argument t. (Bug#9456)
14154
14155 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14156
14157 * help-mode.el (help-mode): Restore autoload.
14158
14159 2011-09-07 Juri Linkov <juri@jurta.org>
14160
14161 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14162 `compilation-environment'. Set buffer-local
14163 `compilation-environment' to `thisenv' later after (funcall mode).
14164 (Bug#8340)
14165
14166 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14167 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14168 instead of replacing its value. (Bug#8340)
14169
14170 2011-09-07 Juri Linkov <juri@jurta.org>
14171
14172 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14173 based on text properties put by `grep-filter' instead of matching
14174 escape sequences.
14175 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14176 to the value of `grep-error-screen-columns' (bug#9438).
14177
14178 2011-09-07 Juri Linkov <juri@jurta.org>
14179
14180 * simple.el (next-error-highlight, next-error-highlight-no-select):
14181 Doc fix (bug#9432).
14182
14183 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14184
14185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14186 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14187
14188 2011-09-07 Leo Liu <sdl.web@gmail.com>
14189
14190 * net/rcirc.el (rcirc-mode): Conditionally initialize
14191 rcirc-input-ring.
14192
14193 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * emacs-lisp/find-func.el (find-function-C-source): Only set
14196 find-function-C-source-directory after checking that we found a source
14197 file there (bug#9440).
14198
14199 2011-09-06 Alan Mackenzie <acm@muc.de>
14200
14201 * isearch.el (isearch-other-meta-char): Wherever a key list is
14202 unread, "unread" the prefix arg, too. This fixes bug #8901.
14203
14204 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14205
14206 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14207
14208 2011-09-05 Juri Linkov <juri@jurta.org>
14209
14210 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14211
14212 2011-09-05 Juri Linkov <juri@jurta.org>
14213
14214 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14215 keeping point where processing of grep matches begins, and
14216 continue to delete remaining escape sequences from the same point.
14217 (grep-filter): Make leading zero optional in "0?1;31m" because
14218 git-grep emits "\033[1;31m" escape sequences unlike expected
14219 "\033[01;31m" as GNU Grep does (bug#9408).
14220 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14221
14222 2011-09-05 Juri Linkov <juri@jurta.org>
14223
14224 * subr.el (y-or-n-p): Capitalize "yes".
14225
14226 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14227
14228 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14229 `tramp-cache-unload-hook' where appropriate.
14230 (tramp-methods): Rename `tramp-remote-sh' to
14231 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14232 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14233
14234 * net/tramp-sh.el (top): Don't require 'shell.
14235 (tramp-methods): Add `tramp-remote-shell' and
14236 `tramp-remote-shell-args' entries.
14237 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14238 (tramp-sh-handle-shell-command): Remove.
14239 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14240 Use `tramp-remote-shell'.
14241
14242 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14243
14244 * mail/sendmail.el (sendmail-query-once-function): Delete.
14245 (sendmail-query-once): Save directly to send-mail-function.
14246 Update message-send-mail-function too.
14247
14248 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14249
14250 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14251
14252 * progmodes/python.el (python-mode-map): Use correct function to
14253 start python interpreter from menu-bar (as reported by Geert
14254 Kloosterman).
14255 (inferior-python-mode-map): Fix typo.
14256 (python-shell-map): Remove.
14257
14258 2011-09-03 Deniz Dogan <deniz@dogan.se>
14259
14260 * net/rcirc.el (rcirc-print): Simplify code for
14261 rcirc-scroll-show-maximum-output. There is no need to walk
14262 through all windows to find the right one.
14263
14264 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14265
14266 * help.el (help-return-method): Doc fix.
14267
14268 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14269
14270 * window.el (window-deletable-p): Don't return a non-nil value
14271 when there's a buffer that was shown in the window before.
14272 (Bug#9419)
14273 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14274 Set window's previous buffers to nil.
14275
14276 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14277
14278 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14279 newline before and after the tag line, so it doesn't interfere
14280 with determining the paragraph direction of bidirectional text.
14281
14282 2011-09-03 Leo Liu <sdl.web@gmail.com>
14283
14284 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14285
14286 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14287
14288 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14289 (pop-to-buffer): Change interactive spec. Pass second argument
14290 directly to display-buffer.
14291 (display-buffer): Fix interactive spec. Use functionp to
14292 distinguish between a function and a list of functions.
14293
14294 * abbrev.el (edit-abbrevs):
14295 * arc-mode.el (archive-extract):
14296 * autoinsert.el (auto-insert):
14297 * bookmark.el (bookmark-bmenu-list):
14298 * files.el (find-file):
14299 * view.el (view-buffer):
14300 * progmodes/compile.el (compilation-goto-locus):
14301 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14302
14303 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * window.el (display-buffer-alist): Doc fix.
14306 (display-buffer): Add docstring. Don't treat
14307 display-buffer-default specially.
14308 (display-buffer-reuse-selected-window)
14309 (display-buffer-same-window, display-buffer-maybe-same-window)
14310 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14311 (display-buffer-pop-up-window)
14312 (display-buffer-reuse-or-pop-window)
14313 (display-buffer-use-some-window): New functions.
14314 (display-buffer-default-action): Use them.
14315 (display-buffer-default): Delete.
14316 (pop-to-buffer-1): Fix choice of actions.
14317
14318 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * minibuffer.el (completion--insert-strings): Don't get confused by
14321 completion entries that end with an LF char.
14322
14323 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14324
14325 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14326
14327 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * window.el (display-buffer): Restore interactive spec.
14330 (display-buffer-same-window, display-buffer-other-window):
14331 New functions.
14332 (pop-to-buffer-1): New function. Use the above.
14333 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14334 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14335
14336 * view.el (view-buffer-other-window, view-buffer-other-frame):
14337 Just use pop-to-buffer.
14338
14339 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14340
14341 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14342
14343 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14344
14345 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14346
14347 2011-08-31 Richard Stallman <rms@gnu.org>
14348
14349 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14350 of the separation of rmail-view-buffer from rmail-buffer.
14351 If you say no to "replace original", the decrypt is in the
14352 view buffer. If you say yes, the decrypt goes into the
14353 rmail buffer also.
14354
14355 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14356
14357 * window.el (display-buffer-window): Rewrite doc-string.
14358 (display-buffer-record-window): New function.
14359 (display-buffer-macro-specifiers)
14360 (display-buffer-even-window-sizes, display-buffer-set-height)
14361 (display-buffer-set-width, display-buffer-in-window)
14362 (display-buffer-reuse-window, display-buffer-split-specifiers)
14363 (display-buffer-side-specifiers, display-buffer-split-window-1)
14364 (display-buffer-split-window, display-buffer-split-atom-window)
14365 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14366 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14367 (display-buffer-other-window-means-other-frame)
14368 (display-buffer-normalize-special)
14369 (display-buffer-normalize-default)
14370 (display-buffer-normalize-argument)
14371 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14372 (display-buffer-normalize-specifiers, display-buffer-frame)
14373 (display-buffer-same-window, display-buffer-same-frame)
14374 (display-buffer-other-window)
14375 (display-buffer-same-frame-other-window)
14376 (display-buffer-other-frame, pop-to-buffer-same-window)
14377 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14378 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14379 (switch-to-buffer-same-frame)
14380 (switch-to-buffer-other-window-same-frame)
14381 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14382 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14383 (display-buffer-alist-set): Remove.
14384 (display-buffer-function, special-display-buffer-names)
14385 (special-display-regexps, special-display-function):
14386 In doc-string refer to display-buffer-window and quit-restore
14387 parameter.
14388 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14389 (special-display-frame-alist, special-display-popup-frame)
14390 (same-window-buffer-names, same-window-regexps, same-window-p)
14391 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14392 (split-window-preferred-function, split-height-threshold)
14393 (split-width-threshold, window-splittable-p)
14394 (split-window-sensibly, window--try-to-split-window)
14395 (window--frame-usable-p, even-window-heights)
14396 (window--even-window-heights, window--display-buffer-1)
14397 (window--display-buffer-2, display-buffer-other-frame):
14398 Restore old Emacs 23 code, order and doc-strings where applicable.
14399 (display-buffer-default, display-buffer-assq-regexp): New functions.
14400 (display-buffer-alist): Rewrite doc-string.
14401 (display-buffer-default-action)
14402 (display-buffer-overriding-action): New variables.
14403 (display-buffer, switch-to-buffer): Rewrite.
14404 (pop-to-buffer): Restore Emacs 23 behavior but use
14405 window-normalize-buffer-to-display.
14406 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14407 Restore Emacs 23 behavior but use
14408 window-normalize-buffer-to-switch-to.
14409 (pop-to-buffer-same-window): Rewrite.
14410 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14411 Rewrite using Emacs 23 options.
14412
14413 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14414
14415 * net/tramp.el (tramp-root-regexp): Remove.
14416 (tramp-completion-file-name-regexp-unified)
14417 (tramp-completion-file-name-regexp-separate)
14418 (tramp-completion-file-name-regexp-url): Don't use leading volume
14419 letter on w32 systems. (Bug#5303, Bug#9311)
14420 (tramp-drop-volume-letter): Simplify definition.
14421 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14422
14423 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14426 (bug#9356).
14427
14428 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14429
14430 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14431
14432 2011-08-29 Juri Linkov <juri@jurta.org>
14433
14434 * isearch.el (isearch-done): Don't display message "Mark saved"
14435 when arg `edit' is non-nil to prevent its flicker in the echo area.
14436
14437 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14438
14439 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14440 obsolete packages for deletion.
14441
14442 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14443
14444 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14445 (help-mode): Derive help-mode from special-mode. Don't invoke
14446 view-mode from help-mode.
14447 (help-xref-override-view-map): Remove.
14448 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14449 view-mode is not used anymore.
14450
14451 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * server.el (server-port): Doc fix.
14454
14455 * cus-theme.el (custom-theme-choose-mode): Inherit from
14456 special-mode (Bug#9124).
14457 (custom-theme-choose-mode-map): Add special-mode to parent.
14458
14459 2011-08-28 Alan Mackenzie <acm@muc.de>
14460
14461 * progmodes/cc-fonts.el
14462 (c-make-font-lock-BO-decl-search-function): New function.
14463 (c-basic-matchers-after - "Fontify the clauses after various
14464 keywords"): Extract the three keyword lists for the 3 erroneous
14465 constructs from the list of four, and use the new function above
14466 in place of an old one.
14467
14468 2011-08-28 Deniz Dogan <deniz@dogan.se>
14469
14470 * net/rcirc.el (rcirc-insert-prev-input)
14471 (rcirc-insert-next-input): Remove unused argument.
14472
14473 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14476
14477 2011-08-27 Alan Mackenzie <acm@muc.de>
14478
14479 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14480 handle function pointer parameters properly.
14481
14482 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14483
14484 * window.el (display-buffer-reuse-window): Fix case where
14485 selected window was reused with non-nil OTHER-WINDOW argument.
14486 (Bug#9381)
14487
14488 2011-08-27 Deniz Dogan <deniz@dogan.se>
14489
14490 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14491 oftc's NickServ messages.
14492
14493 2011-08-27 Glenn Morris <rgm@gnu.org>
14494
14495 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14496
14497 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14498
14499 * emacs-lisp/package.el (package-install): Call package-initialize
14500 if called interactively.
14501
14502 2011-08-26 Leo Liu <sdl.web@gmail.com>
14503
14504 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14505
14506 2011-08-25 Juri Linkov <juri@jurta.org>
14507
14508 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14509 `search-whitespace-regexp' (bug#9364).
14510
14511 2011-08-25 Juri Linkov <juri@jurta.org>
14512
14513 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14514 `regexp-search-ring' to their global values to protect from
14515 updating by `read-from-minibuffer' (bug#9185).
14516
14517 2011-08-25 Juri Linkov <juri@jurta.org>
14518
14519 * textmodes/ispell.el (ispell-command-loop): Add newline
14520 at the end of the "Use option `i'..." line.
14521
14522 2011-08-25 Juri Linkov <juri@jurta.org>
14523
14524 * battery.el (display-battery-mode): If `battery-status-function'
14525 or `battery-mode-line-format' is nil, display the message and set
14526 `display-battery-mode' to nil (bug#9363).
14527
14528 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14529
14530 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14531 bidi-string-mark-left-to-right; they are unnecessary now.
14532
14533 2011-08-25 Deniz Dogan <deniz@dogan.se>
14534
14535 * net/quickurl.el: Documentation typo fixes.
14536
14537 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14538
14539 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14540
14541 2011-08-25 Glenn Morris <rgm@gnu.org>
14542
14543 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14544
14545 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14546 (smtpmail-via-smtp): Handle nil response from smtp.
14547
14548 2011-08-24 Juri Linkov <juri@jurta.org>
14549
14550 * proced.el (proced-marked): Inherit from `error' instead of
14551 `font-lock-warning-face'.
14552
14553 * ibuffer.el (ibuffer-marked-face): Change default face from
14554 `font-lock-warning-face' to `warning'.
14555 (ibuffer-deletion-face): Change default face from
14556 `font-lock-type-face' to `error'.
14557
14558 * battery.el (battery-update): Use the face `error' instead of
14559 `font-lock-warning-face' (bug#6117).
14560
14561 2011-08-24 Juri Linkov <juri@jurta.org>
14562
14563 * faces.el (success): Change face color from "Green3" to
14564 "ForestGreen" on light background (bug#9353).
14565
14566 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14567
14568 * window.el (quit-window): Rename from quit-restore-window.
14569 Use same arglist as old quit-window.
14570 (frame-auto-delete): Doc fix.
14571
14572 * view.el (view-mode-exit): Use quit-window.
14573
14574 2011-08-24 Juri Linkov <juri@jurta.org>
14575
14576 * isearch.el (isearch-ring-adjust1): Start visiting previous
14577 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14578 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14579 for empty search string (when the last search string is reused
14580 automatically) to adjust the isearch ring to the last element and
14581 prepare the correct index for further M-p commands (bug#9185).
14582
14583 2011-08-24 Kenichi Handa <handa@m17n.org>
14584
14585 * international/ucs-normalize.el: If decomposition property of
14586 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14587 nil.
14588 (nfd, nfkd): Likewise.
14589
14590 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14593 from process filters aren't reliably transmitted to the surrounding
14594 accept-process-output.
14595 (mpc-proc-check): New function.
14596 (mpc-proc-sync): Use it (bug#8293)
14597
14598 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14601 Add compatibility functions (bug#9313).
14602
14603 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14604
14605 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14606
14607 * international/uni-bidi.el: Regenerate.
14608
14609 2011-08-23 Kenichi Handa <handa@m17n.org>
14610
14611 * international/charprop.el:
14612 * international/uni-bidi.el:
14613 * international/uni-category.el:
14614 * international/uni-combining.el:
14615 * international/uni-comment.el:
14616 * international/uni-decimal.el:
14617 * international/uni-decomposition.el:
14618 * international/uni-digit.el:
14619 * international/uni-lowercase.el:
14620 * international/uni-mirrored.el:
14621 * international/uni-name.el:
14622 * international/uni-numeric.el:
14623 * international/uni-old-name.el:
14624 * international/uni-titlecase.el:
14625 * international/uni-uppercase.el: Regenerate.
14626
14627 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14628
14629 * help.el (help-window-setup): Fix message displayed when other
14630 window is reused. (Bug#9341)
14631
14632 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14635 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14636
14637 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14638 Mark obsolete.
14639 * shell.el (shell-parse-pcomplete-arguments): New function.
14640 (shell-completion-vars): Use it instead (bug#9160).
14641
14642 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14643
14644 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14645 strings and comments (bug#9333).
14646
14647 * emacs-lisp/debug.el (debug-arglist): New function.
14648 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14649 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14650
14651 2011-08-22 Juri Linkov <juri@jurta.org>
14652
14653 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14654 Revert regexp that highlights output switches to its old
14655 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14656
14657 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14658 to check for empty output (bug#9226).
14659
14660 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14661
14662 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14663 symbol-constituent as the default, as that stops font-lock from
14664 working properly (Bug#8843).
14665
14666 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14667
14668 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14669 `coding-system-for-*' around the process open call to avoid
14670 auth-source side effects.
14671 (smtpmail-try-auth-methods): Expand the secret password.
14672 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14673 probe hangs.
14674
14675 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14676
14677 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14678
14679 * emacs-lisp/find-func.el (find-function-noselect): New arg
14680 lisp-only.
14681
14682 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14683 signal an error for built-in functions (Bug#6664).
14684
14685 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
14687 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14688 (smtpmail-try-auth-methods): Use it.
14689
14690 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14691
14692 * font-lock.el (font-lock-fontify-region)
14693 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14694 (font-lock-default-unfontify-buffer)
14695 (font-lock-default-fontify-region)
14696 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14697
14698 * progmodes/compile.el (compilation-error-properties):
14699 Fix confusion between file struct and message struct (Bug#9319).
14700 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14701 `ant' regexp.
14702
14703 * net/browse-url.el (browse-url-firefox): Don't call
14704 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14705
14706 2011-08-20 Glenn Morris <rgm@gnu.org>
14707
14708 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14709
14710 * tutorial.el (tutorial--default-keys): Update some default bindings.
14711
14712 * files.el (hack-local-variables): Fully ignore case for "mode:".
14713
14714 2011-08-20 Alan Mackenzie <acm@muc.de>
14715
14716 Resolve invalid use of a regexp in regexp-opt.
14717
14718 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14719 detection for a java annotation.
14720
14721 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14722 detection for a java annotation.
14723
14724 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14725 handling for java.
14726 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14727
14728 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14729
14730 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14731 (Bug#9274).
14732
14733 2011-08-20 Alan Mackenzie <acm@muc.de>
14734
14735 Fontify CPP expressions correctly when starting in the middle of
14736 such a construct. Mainly for when jit-lock etc. starts a chunk
14737 here.
14738
14739 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14740 variable.
14741 (c-make-font-lock-search-form): New function, extracted from
14742 c-make-font-lock-search-function.
14743 (c-make-font-lock-search-function): Use the above function.
14744 (c-make-font-lock-context-search-function): New function.
14745 (c-cpp-matchers): Enhance the preprocessor expression case with
14746 the above function
14747 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14748 which takes an expression.
14749
14750 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14751
14752 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14753
14754 * window.el (display-buffer-reuse-window)
14755 (display-buffer-pop-up-window): Don't reuse or split a side
14756 window.
14757
14758 2011-08-19 Glenn Morris <rgm@gnu.org>
14759
14760 * files.el (hack-local-variables-prop-line, hack-local-variables):
14761 Downcase "Mode:". (Bug#9331)
14762
14763 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14764
14765 * international/characters.el: Add L and R categories.
14766
14767 * subr.el (bidi-string-mark-left-to-right): Rename from
14768 string-mark-left-to-right. Use category search.
14769
14770 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14771
14772 2011-08-18 Juri Linkov <juri@jurta.org>
14773
14774 * faces.el (error, warning, success): New faces with definitions
14775 copied from old default values of `font-lock-warning-face',
14776 `compilation-warning', `compilation-info' (bug#6117).
14777
14778 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14779
14780 * progmodes/compile.el (compilation-error): Inherit from `error'.
14781 (compilation-warning): Inherit from `warning'.
14782 (compilation-info): Inherit from `success'.
14783
14784 * dired.el (dired-marked): Inherit from `warning'.
14785 (dired-flagged): Inherit from `error'.
14786
14787 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14788
14789 * mail/smtpmail.el (auth-source): Require to avoid problems with
14790 binding variables (bug#9298). Also clean up some unused
14791 autoloads.
14792
14793 * net/network-stream.el (network-stream-open-starttls):
14794 Support using starttls.el without using gnutls-cli.
14795
14796 2011-08-17 Juri Linkov <juri@jurta.org>
14797
14798 * progmodes/grep.el (rgrep): Handle the case when
14799 `grep-find-command' is a cons cell (bug#9278).
14800
14801 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (display-buffer-pop-up-frame): Run frame creation
14804 function with BUFFER current (as special-display-popup-frame
14805 does). Reported by Drew Adams.
14806
14807 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14808
14809 * epa-mail.el: Simplify GnuPG group expansion using
14810 epg-expand-group.
14811 (epa-mail-group-alist, epa-mail-group-modtime)
14812 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14813 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14814 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14815 Remove.
14816
14817 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14818
14819 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14820
14821 2011-08-16 Alan Mackenzie <acm@muc.de>
14822
14823 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14824 Correct, to avoid the inside of macros.
14825
14826 2011-08-16 Richard Stallman <rms@gnu.org>
14827
14828 * epa-mail.el: Handle GnuPG group definitions.
14829 (epa-mail-group-alist, epa-mail-group-modtime)
14830 (epa-mail-gnupg-conf-file): New variables.
14831 (epa-mail-parse-groups, epa-mail-sync-groups)
14832 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14833 (epa-mail-expand-recipients): New functions.
14834 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14835
14836 * mail/rmail.el (rmail-epa-decrypt): New command.
14837
14838 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14839 Don't bind buffer-read-only, just inhibit-read-only.
14840 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14841 (epa-decrypt-armor-in-region): Make error message clearer.
14842
14843 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14846 and "a2b" to "ab" for `prefix'.
14847
14848 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14849
14850 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14851 filter groups.
14852 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14853 Fourquet (Bug#8804).
14854
14855 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14856
14857 * startup.el (argi): Declare as global variable (bug#9275).
14858
14859 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14860
14861 * subr.el (string-mark-left-to-right): Search the entire string
14862 for RTL script, not just the terminating character. Doc fix.
14863
14864 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14865
14866 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14867 New function.
14868 (js--regexp-literal, js-syntax-propertize-function): Remove.
14869 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14870 (js-mode-map): Don't rebind electric keys.
14871 (js-insert-and-indent): Remove.
14872 (js-mode): Setup electric-layout and electric-indent instead.
14873
14874 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14875
14876 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14877
14878 * epa.el (epa-progress-callback-function): Fix the logic of
14879 displaying progress.
14880 * epa-file.el (epa-file-insert-file-contents): Make progress
14881 display more user-friendly.
14882 (epa-file-write-region): Ditto.
14883
14884 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14885
14886 * subr.el (string-mark-left-to-right): New function.
14887
14888 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14889 Use string-mark-left-to-right.
14890 (list-buffers-noselect): Caller changed.
14891
14892 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14893 Use string-mark-left-to-right.
14894 (tabulated-list-print): Recenter after moving point.
14895
14896 2011-08-10 Juri Linkov <juri@jurta.org>
14897
14898 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14899 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14900 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14901
14902 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14903
14904 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14905 (Bug#7554).
14906
14907 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14908
14909 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14910 character. (Bug#6594)
14911
14912 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14913
14914 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14915 (image-dired--with-db-file): New macro.
14916 (image-dired-write-tags, image-dired-remove-tag)
14917 (image-dired-create-gallery-lists, image-dired-write-comments)
14918 (image-dired-get-comment, image-dired-mark-tagged-files)
14919 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14920 (image-dired-gallery-generate): Use insert-file-contents.
14921
14922 * time.el (display-time-world-list, display-time-world-display):
14923 * time-stamp.el (time-stamp-string):
14924 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14925 set-time-zone-rule (Bug#7337).
14926
14927 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14928
14929 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14930 (epg-error-to-string, epg-errors-to-string): New function.
14931 (epg-wait-for-completion): Reverse errors list.
14932 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14933 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14934 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14935 (epg-sign-keys, epg-generate-key-from-file)
14936 (epg-generate-key-from-string): Format errors by using
14937 epg-errors-to-string (bug#9255).
14938 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14939
14940 2011-08-07 Juri Linkov <juri@jurta.org>
14941
14942 * faces.el (list-faces-display): Remove extra angle bracket
14943 from `help-mode-map'.
14944
14945 * info.el (Info-history-toc-nodes): Doc fix.
14946
14947 * longlines.el (longlines-mode): Doc fix.
14948
14949 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14950
14951 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14952 of statements and in a few more cases (bug#9183).
14953
14954 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14955 New functions.
14956 (cl-transform-lambda): Use them (bug#9239).
14957
14958 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14959
14960 * window.el (display-buffer-same-window)
14961 (display-buffer-same-frame, display-buffer-other-window)
14962 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14963 (pop-to-buffer-other-window)
14964 (pop-to-buffer-same-frame-other-window)
14965 (pop-to-buffer-other-frame): Make them defuns.
14966 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14967
14968 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14969
14970 * subr.el (make-composed-keymap): Move from C. Change calling
14971 convention, and improve docstring to bring attention to a subtle point.
14972 * minibuffer.el (completing-read-default): Adjust accordingly.
14973
14974 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14975
14976 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14977 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14978
14979 * net/trampver.el: Update release number.
14980
14981 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14984 "in" (bug#9190).
14985
14986 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14987
14988 * mail/sendmail.el (sendmail-query-once): Restore the current
14989 buffer after querying (bug#9074).
14990
14991 * dired.el (dired-flagged): Use different faces for marked and
14992 flagged files (bug#6117).
14993
14994 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14995 (bug#4433).
14996
14997 * ido.el (ido-mode): Switch off the message if called
14998 non-interactively.
14999
15000 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15001 before 587, since it appears that that's more likely to work for
15002 more people.
15003
15004 * cus-edit.el (custom-file): When running under emacs -q, always
15005 refuse to save the customizations, even if the .emacs file doesn't
15006 exist.
15007
15008 * info.el: Remove the `Info-beginning-of-buffer' function
15009 (bug#8325).
15010
15011 * net/network-stream.el (network-stream-open-starttls):
15012 Use `starttls-available-p' to see whether starttls.el can be used.
15013
15014 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15015
15016 * window.el (display-buffer-in-window): Don't set dedicated status
15017 of window here (Bug#9215).
15018 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15019 (display-buffer-pop-up-side-window)
15020 (display-buffer-in-side-window): Set dedicated status of window here.
15021
15022 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15025 before binding generated-autoload-file.
15026
15027 2011-08-01 Deniz Dogan <deniz@dogan.se>
15028
15029 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15030
15031 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15032
15033 Sync with Tramp 2.2.2.
15034
15035 * net/trampver.el: Update release number.
15036
15037 2011-07-30 Juri Linkov <juri@jurta.org>
15038
15039 * dired-aux.el (dired-touch-initial): Remove function.
15040 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15041 current time, and `default' to the last modification time of the
15042 current marked file (bug#6887).
15043
15044 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15045
15046 * simple.el (goto-line): Use string-to-number to provide a
15047 numeric argument to read-number (bug#9163).
15048
15049 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15050
15051 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15052 connection process, it could be nil.
15053
15054 2011-07-27 Leo Liu <sdl.web@gmail.com>
15055
15056 Simplify url handling in rcirc-mode.
15057
15058 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15059 (rcirc-browse-url-at-mouse): Remove.
15060 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15061
15062 2011-07-26 Alan Mackenzie <acm@muc.de>
15063
15064 Fontify bitfield declarations properly.
15065
15066 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15067 (c-symbol-chars): Now exported as a lang variable.
15068 (c-not-primitive-type-keywords): New lang variable.
15069
15070 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15071 QT keyword "more" to prevent "more slots: ...." being spuriously
15072 parsed as a bitfield declaration.
15073
15074 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15075 Refactor and enhance to handle bitfield declarations.
15076 (c-punctuation-in): New function.
15077 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15078 declarations properly.
15079
15080 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15081
15082 * calendar/icalendar.el (icalendar--all-events): Take care of
15083 multiple vcalendars in a single file.
15084 (icalendar--convert-float-to-ical): Checkdoc fixes.
15085
15086 2011-07-25 Deniz Dogan <deniz@dogan.se>
15087
15088 * image.el (insert-image): Clarifying docstring.
15089
15090 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15091
15092 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15093 `tramp-send-command-and-check' if there is no error.
15094 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15095
15096 2011-07-22 Alan Mackenzie <acm@muc.de>
15097
15098 Prevent cc-langs.elc being loaded at run time.
15099
15100 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15101 cc-langs.
15102
15103 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15104 "(require 'cc-langs)". Quote a form so it will evaluate at
15105 (cc-mode's) compilation time.
15106
15107 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15108
15109 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15110 loading. (Bug#9114)
15111
15112 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15113
15114 * window.el (display-buffer-pop-up-window)
15115 (display-buffer-pop-up-side-window)
15116 (display-buffer-in-side-window): Call display-buffer-set-height
15117 and display-buffer-set-width after setting the new window's
15118 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15119
15120 2011-07-20 Sam Steingold <sds@gnu.org>
15121
15122 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15123 (etags-tags-included-tables): Call `convert-standard-filename' on
15124 the file names contained in TAGS so that windows Emacs can handle
15125 TAGS files created by cygwin ctags.
15126
15127 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15128
15129 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15130 which apparently didn't work.
15131
15132 2011-07-19 Roland Winkler <winkler@gnu.org>
15133
15134 * proced.el (proced-send-signal): For *Marked Processes* buffer
15135 put point at beginning of buffer.
15136
15137 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15138
15139 * proced.el (proced-format): Make header lines align with the text
15140 (bug#1779).
15141
15142 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15143
15144 * view.el (view-buffer): Allow running in `special' modes if we're
15145 visiting a file (bug#8615).
15146
15147 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15148
15149 * window.el (display-buffer-alist-of-strings-p)
15150 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15151 New functions.
15152 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15153 more accurately.
15154
15155 2011-07-18 Alan Mackenzie <acm@muc.de>
15156
15157 Fontify declarators properly when, e.g., a jit-lock chunk begins
15158 inside a declaration.
15159
15160 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15161
15162 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15163 New function.
15164 (c-complex-decl-matchers): Insert reference to
15165 c-font-lock-enclosing-decls.
15166
15167 * progmodes/cc-engine.el (c-backward-single-comment):
15168 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15169 to nil around calls to (forward-comment -1).
15170
15171 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172
15173 * image.el (put-image): Doc typo fix.
15174
15175 * progmodes/etags.el (tags-search): Doc typo fix.
15176
15177 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15178 password if we get errors 550 to 554.
15179
15180 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15181
15182 * net/gnutls.el (gnutls-log-level): Remove.
15183
15184 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15185 indentation character (bug#6380).
15186
15187 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15188
15189 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15190 to clarify what the problem is (bug#4291).
15191
15192 * simple.el (current-kill): Clarify what
15193 `interprogram-paste-function' does (bug#7500).
15194 (auto-fill-mode): Document `auto-fill-function' in relation to
15195 `auto-fill-mode' (bug#2470).
15196
15197 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15198
15199 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15200 method if slot is read-only (bug#9035).
15201
15202 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15203
15204 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15205 * window.el (pop-to-buffer): Select window used even if it was
15206 selected before, see discussion of (Bug#8615), (Bug#6954).
15207 Pass argument NORECORD on to select-frame-set-input-focus.
15208
15209 2011-07-15 Glenn Morris <rgm@gnu.org>
15210
15211 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15212 Respect help-form.
15213
15214 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15215
15216 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15217 (gnutls-negotiate): Use it.
15218
15219 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
15221 * net/gnutls.el (gnutls-negotiate):
15222 Upcase `gnutls-algorithm-priority'.
15223
15224 2011-07-15 Glenn Morris <rgm@gnu.org>
15225
15226 * jka-compr.el (jka-compr-verbose): Move from here...
15227 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15228 Add missing :version tag.
15229 * info.el: No need to require jka-compr when compiling.
15230
15231 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15232
15233 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15234 (gnutls-negotiate): Use it.
15235
15236 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15237
15238 * info.el (Info-beginning-of-buffer): New command.
15239 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15240 announcing `b' as the key (bug#8325).
15241 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15242
15243 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15244
15245 * international/mule-cmds.el
15246 (describe-specified-language-support): Make the error message
15247 clearer (bug#8905).
15248
15249 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15250
15251 * isearch.el (isearch-barrier): Add a doc string, since it's
15252 mentioned in a function doc string (bug#8678).
15253
15254 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15255
15256 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15257 buffer argument (Bug#9083) and self-identifying label argument.
15258
15259 2011-07-15 Glenn Morris <rgm@gnu.org>
15260
15261 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15262
15263 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15264
15265 * man.el (Man-fontify-manpage): Fix message when formatting the
15266 man page (bug#7929).
15267
15268 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15269
15270 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15271 argument LRM; if non-nil, append an invisible LRM character to the
15272 buffer name.
15273 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15274 last argument non-nil, when formatting buffer names.
15275 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15276 paragraph direction.
15277
15278 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279
15280 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15281 the man page name (bug#7929).
15282
15283 * image.el (put-image): Mention the `put-image' overlay property
15284 (bug#7834).
15285
15286 * scroll-bar.el (set-scroll-bar-mode): Mention that
15287 `scroll-bar-mode' lists the values (bug#7772).
15288
15289 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15290 command (bug#7729).
15291
15292 * rect.el (apply-on-rectangle): Return the point after the last
15293 operation.
15294 (string-rectangle): Go to the point after the last operation
15295 (bug#7522).
15296
15297 * printing.el (pr-toggle-region): Clarify the documentation
15298 slightly (bug#7493).
15299
15300 * time.el (display-time-update):
15301 Allow `display-time-mail-function' to return nil (bug#7158).
15302 Fix suggested by Detlev Zundel.
15303
15304 * vc/diff.el (diff): Clarify the order the file names are read
15305 (bug#7111).
15306
15307 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15308 the doc string (bug#7015).
15309
15310 * font-lock.el (font-lock-maximum-decoration): Mention what
15311 numeric levels mean (bug#6935).
15312
15313 * startup.el (initial-buffer-choice): Don't mention the `none'
15314 selection, which is against policy.
15315
15316 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15317
15318 * window.el (display-buffer-normalize-special):
15319 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15320
15321 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15322
15323 * subr.el (version<, version<=, version=): Mention "-CVS" and
15324 "-12345" alpha version numbers.
15325
15326 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15327
15328 * bindings.el: Add advertised binding for set-mark-command
15329 (Bug#5772).
15330
15331 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15332
15333 * bindings.el (mode-line-other-buffer):
15334 * bookmark.el (bookmark-bmenu-2-window):
15335 * bs.el (bs-cycle-next, bs-cycle-previous):
15336 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15337 switch-to-buffer.
15338
15339 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15340 Delete.
15341
15342 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15343
15344 * follow.el (follow-debug-message, follow-redisplay):
15345 * jka-cmpr-hook.el (with-auto-compression-mode):
15346 Fix typos in docstrings.
15347
15348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15349
15350 * subr.el (with-silent-modifications): Clarify somewhat what the
15351 macro inhibits (bug#6525).
15352
15353 * simple.el (eval-expression): Note what it does if called
15354 interactively (bug#6495).
15355
15356 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15357
15358 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15359 Use pop-to-buffer buffer-or-name if it is nil.
15360
15361 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15362 Remove switch-to-buffer.
15363
15364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15365
15366 * files.el (make-directory): Clarify that an error will be raised
15367 if there's an error (bug#6397).
15368
15369 * startup.el (initial-buffer-choice): Add `none' as a choice
15370 (bug#6234).
15371
15372 * subr.el (add-hook): Clarify section about buffer-local hooks
15373 (bug#6218).
15374
15375 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15376
15377 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15378
15379 * tabify.el (untabify): Preserve the current column so that point
15380 doesn't move (bug#6032).
15381
15382 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15383
15384 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15385 Rewrite to avoid awkward possessive "s" (bug#5986).
15386
15387 2011-07-13 Glenn Morris <rgm@gnu.org>
15388
15389 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15390 (dired-insert-directory): Give a message the first time
15391 if ls is found not to support --dired.
15392
15393 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15394
15395 * simple.el (toggle-truncate-lines): Clarify what is toggled
15396 (bug#5580). Text by Drew Adams.
15397
15398 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15399
15400 * simple.el (blink-matching-open): Make the error message from the
15401 last change less verbose.
15402
15403 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15404
15405 * font-lock.el (font-lock-comment-face): Use the high contrast
15406 "yellow" color for font-lock-comment-face on low color terminals
15407 using a dark background color (bug#4221).
15408
15409 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15410
15411 * dired.el (dired-insert-set-properties): Make the doc string
15412 reflect what it does now (bug#5325).
15413
15414 * simple.el (blink-matching-open): Say that we were unable to find
15415 the match within the limit, if we're limited (bug#5122).
15416
15417 * international/mule-cmds.el (prefer-coding-system): Add an
15418 example (bug#4869).
15419
15420 * progmodes/etags.el (tags-search): Document `file-list-form'
15421 (bug#4731).
15422
15423 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15424
15425 * net/browse-url.el (browse-url-default-browser)
15426 (browse-url-browser-function): Make the default browser choice a
15427 bit more logical (bug#4300). Also clean up the doc string.
15428
15429 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15430
15431 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15432 binary endings (bug#4440).
15433
15434 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15435
15436 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15437 which can be pretty annoying (bug#8971).
15438
15439 * jka-compr.el (jka-compr-verbose): New variable, and use
15440 throughout (bug#8971).
15441
15442 * info.el (Info-find-file): Fall back on the installation
15443 directory if we can't find the info node anywhere else.
15444
15445 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15446
15447 * vc/vc.el (vc-revert-file):
15448 Don't set file time-stamp in the past. (Bug#5181)
15449
15450 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15451
15452 * files.el (after-find-file): Give a better error message when
15453 trying to find a symlink that points to a file that doesn't exist
15454 (bug#4398).
15455
15456 * progmodes/cc-vars.el: Remove (probably) misleading comment
15457 (bug#4396).
15458
15459 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15460
15461 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15462
15463 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15464
15465 * mouse-sel.el: Hack restoring functionality, while keeping
15466 compatibility with 2010-07-03 changes to mouse selection.
15467 (mouse-sel-primary-overlay): New var.
15468 (mouse-sel-selection-alist): Use it.
15469 (mouse-sel-mode): Doc fix; remove points that are default features
15470 of mouse.el.
15471
15472 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15473
15474 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15475 Fix previous fix (bug#2490).
15476
15477 2011-07-12 Roland Winkler <winkler@gnu.org>
15478
15479 * textmodes/bibtex.el (bibtex-initialize):
15480 Use pop-to-buffer-same-window.
15481 (bibtex-search-entries): Fix interactive call.
15482
15483 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
15485 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15486 Fontise bytecomp Error lines more correctly (bug#2490).
15487 Fix suggested by Johan Bockgård.
15488
15489 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15490
15491 * dired-x.el (dired-guess-default): Use `delete-dups'.
15492
15493 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15494
15495 * dired.el (dired-mark-prompt):
15496 * dired-aux.el (dired-read-shell-command): Doc fix.
15497
15498 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15499
15500 * mail/sendmail.el (sendmail-query-once):
15501 Use `customize-save-variable' unconditionally, now that it works under
15502 emacs -Q.
15503
15504 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15505
15506 * cus-edit.el (custom-file): Take an optional no-error variable.
15507 (customize-save-variable): Set the variable, and give a warning if
15508 running under "emacs -q".
15509
15510 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15511
15512 * loadhist.el (unload-feature-special-hooks):
15513 Add `auto-coding-functions', `fill-nobreak-predicate' and
15514 `find-directory-functions' (bug#5327).
15515
15516 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15517
15518 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15519
15520 * cus-edit.el (custom-guess-name-alist): -alist variables should
15521 use the `alist' type (bug#3120). Suggested by Drew Adams.
15522
15523 * printing.el: Add documentation to all the `pr-toggle-' commands.
15524
15525 2011-07-11 Leo Liu <sdl.web@gmail.com>
15526
15527 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15528 backends where it makes sense (bug#2623).
15529
15530 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15531
15532 * dired-x.el (dired-guess-default): Remove duplicate shell command
15533 entries (bug#2028).
15534 (dired-guess-default): Fix grammar in doc string (bug#2028).
15535 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15536
15537 * subr.el (remove-duplicates): New conveniency function.
15538
15539 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
15541 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15542 (bug#1526).
15543
15544 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15545
15546 * window.el (display-buffer-normalize-default): Don't invert
15547 meaning of even-window-heights. Reported by Eli Zaretskii
15548 <eliz@gnu.org>.
15549
15550 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15551
15552 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15553
15554 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * window.el (display-buffer): Fix arguments to
15557 display-buffer-reuse-window in last change.
15558
15559 * faces.el (link): Use a less saturated blue on light backgrounds.
15560
15561 * startup.el (fancy-startup-text, fancy-about-text)
15562 (fancy-startup-tail): Use font-lock faces, for background safety.
15563
15564 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15565
15566 * emulation/viper-cmd.el (viper-change-state-to-vi):
15567 Limit triggering of abbrev expansion (Bug#9038).
15568
15569 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15570
15571 * window.el (display-buffer-default-specifiers): Remove.
15572 (display-buffer-macro-specifiers): Remove default specifiers.
15573 (display-buffer-alist): Default to nil.
15574 (display-buffer-reuse-window): New optional argument other-window.
15575 (display-buffer-pop-up-window): Allow splitting internal
15576 windows. Check whether a live window was created.
15577 (display-buffer-other-window-means-other-frame)
15578 (display-buffer-normalize-arguments): Rename to
15579 display-buffer-normalize-argument and rewrite. Set the
15580 other-window specifier.
15581 (display-buffer-normalize-special): New function.
15582 (display-buffer-normalize-options): Rename to
15583 display-buffer-normalize-default and rewrite.
15584 (display-buffer-normalize-options-inhibit): Remove.
15585 (display-buffer-normalize-specifiers): Rewrite.
15586 (display-buffer): Process other-window specifier and call
15587 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15588 more faithfully.
15589 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15590 (display-buffer-alist-set): Don't handle 'unset default values.
15591 (display-buffer-in-window, display-buffer-alist-set):
15592 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15593 <tassilo@member.fsf.org>.
15594
15595 2011-07-09 Leo Liu <sdl.web@gmail.com>
15596
15597 * register.el (insert-register): Restore accidental change on
15598 2011-06-26. (Bug#9028)
15599
15600 2011-07-09 Glenn Morris <rgm@gnu.org>
15601
15602 * subr.el (remq): Handle the empty list. (Bug#9024)
15603
15604 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15605
15606 * mail/sendmail.el (send-mail-function): No longer delay custom
15607 initialization.
15608 * custom.el (custom-initialize-delay): Doc fix.
15609
15610 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15613
15614 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15615
15616 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15617 human-friendly prompt.
15618
15619 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15622 provided by a particular plugin.
15623
15624 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15625
15626 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15627 save customizations (with "emacs -Q"), just set the variable
15628 instead of erroring out.
15629
15630 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15631
15632 2011-07-08 Juri Linkov <juri@jurta.org>
15633
15634 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15635 (archive-zip-update-case): Use 7z if found by `executable-find'.
15636 The order of searching the available programs is the same as in
15637 `archive-zip-extract' (bug#8968).
15638
15639 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15640
15641 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15642 (menu-bar-options-menu): Tweak descriptions.
15643
15644 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15645
15646 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15647 menu items into verb phrases (bug#1421). Also refill to fit under
15648 80 columns.
15649
15650 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15651
15652 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15653 (Info-read-node-name): Doc fix (Bug#1084).
15654
15655 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15656 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15657 (end-of-sexp, beginning-of-sexp)
15658 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15659 (forward-symbol, forward-same-syntax, word-at-point)
15660 (sentence-at-point): Doc fix (Bug#1144).
15661
15662 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15663
15664 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15665 should cover it (bug#1281).
15666
15667 * cus-edit.el (custom-show): Mark as obsolete.
15668
15669 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15670 negotiation fails, then possibly try again with a non-encrypted
15671 connection (bug#9017).
15672
15673 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15674 be used.
15675
15676 2011-07-07 Richard Stallman <rms@gnu.org>
15677
15678 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15679 property, and handle its changed format.
15680 Look for the correct line number.
15681 Use file's line contents (but not past first =) to find
15682 correct line in message.
15683
15684 2011-07-07 Kenichi Handa <handa@m17n.org>
15685
15686 * international/characters.el (build-unicode-category-table):
15687 Delete it.
15688 (unicode-category-table): Set it by unicode-property-table-internal.
15689
15690 * international/mule-cmds.el (char-code-property-alist): Move to
15691 to src/chartab.c.
15692 (get-char-code-property): Call unicode-property-table-internal to
15693 load a file. Call get-unicode-property-internal where necessary.
15694 (put-char-code-property): Call unicode-property-table-internal to
15695 load a file. Call put-unicode-property-internal where necessary.
15696 put-unicode-property-internal where necessary.
15697 (char-code-property-description):
15698 Call unicode-property-table-internal to load a file.
15699
15700 * international/charprop.el:
15701 * international/uni-bidi.el:
15702 * international/uni-category.el:
15703 * international/uni-combining.el:
15704 * international/uni-comment.el:
15705 * international/uni-decimal.el:
15706 * international/uni-decomposition.el:
15707 * international/uni-digit.el:
15708 * international/uni-lowercase.el:
15709 * international/uni-mirrored.el:
15710 * international/uni-name.el:
15711 * international/uni-numeric.el:
15712 * international/uni-old-name.el:
15713 * international/uni-titlecase.el:
15714 * international/uni-uppercase.el: Regenerate.
15715
15716 * loadup.el: Load international/charprop.el before
15717 international/characters.
15718
15719 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15720
15721 * window.el (next-buffer, previous-buffer): Signal an error if
15722 called from a minibuffer window.
15723
15724 * bindings.el: Revert 2011-07-04 change.
15725
15726 2011-07-06 Richard Stallman <rms@gnu.org>
15727
15728 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15729 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15730 Treat markers like ints.
15731 (rmail-mime-entity): Doc fix.
15732
15733 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15736 defcustom again for backwards compatibility.
15737
15738 * simple.el (shell-command-on-region): Fill.
15739
15740 * dired-aux.el (dired-kill-line): Add a doc string.
15741
15742 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15743 to "\\sw\\|\\s_" (bug#358).
15744
15745 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15746 (dired-unmark-backward): Ditto.
15747 (dired-flag-backup-files): Ditto.
15748
15749 * dired-x.el (dired-mark-sexp): Ditto.
15750
15751 2011-07-06 Richard Stallman <rms@gnu.org>
15752
15753 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15754 (rmail-mime-entity): New arg TRUNCATED.
15755 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15756 New functions.
15757 (rmail-mime-save): Warn if entity is truncated.
15758 (rmail-mime-toggle-hidden): Likewise, for showing.
15759 (rmail-mime-process-multipart): Record when an entity is truncated.
15760
15761 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15762 if ENTITY is a string.
15763
15764 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15765
15766 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15767 of faces when `M-C-x'-ing their definitions (bug#8378).
15768 Also clean up the code slightly.
15769
15770 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15771 because that makes the colors go away.
15772
15773 * mail/sendmail.el (send-mail-function): Change the default to
15774 `sendmail-query-once'.
15775 (sendmail-query-once): Add an autoload cookie.
15776
15777 * net/network-stream.el (network-stream-open-starttls): Try using
15778 a plain connection even if the server offered STARTTLS, and we
15779 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15780 capability. This should make smtpmail.el work in slightly more
15781 configurations.
15782
15783 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15784
15785 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15786 New defun.
15787 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15788
15789 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15790
15791 * progmodes/sql.el: Version 3.0
15792 (sql-product-alist): Add product :completion-object,
15793 :completion-column, and :statement attributes.
15794 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15795 (sql-mode-syntax-table): Mark all punctuation.
15796 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15797 ansi keywords.
15798 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15799 (sql-mode-oracle-font-lock-keywords): Improve.
15800 (sql-oracle-show-reserved-words): New function for development.
15801 (sql-product-font-lock): Simplify for source code buffers.
15802 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15803 New functions.
15804 (sql-highlight-product): Set product specific syntax table.
15805 (sql-mode-map): Add statement movement functions.
15806 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15807 New variable.
15808 (sql-statement-regexp, sql-beginning-of-statement)
15809 (sql-end-of-statement, sql-signum): New functions.
15810 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15811 (sql-show-sqli-buffer): Bug fix.
15812 (sql-interactive-mode): Store connection data as buffer local.
15813 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15814 with sql-interactive-mode.
15815 (sql-save-connection): Save buffer local settings.
15816 (sql-connection-menu-filter): Change menu entry name.
15817 (sql-product-interactive): Bug fix.
15818 (sql-preoutput-hold): New variable.
15819 (sql-interactive-remove-continuation-prompt): Bug fixes.
15820 (sql-debug-redirect): New variable.
15821 (sql-str-literal): New function.
15822 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15823 Redesign.
15824 (sql-oracle-save-settings, sql-oracle-restore-settings)
15825 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15826 (sql-completion-object, sql-completion-column)
15827 (sql-completion-sqlbuf): New variables.
15828 (sql-build-completions-1, sql-build-completions)
15829 (sql-try-completion): New functions.
15830 (sql-read-table-name): Use them.
15831 (sql-contains-names): New buffer local variable.
15832 (sql-list-all, sql-list-table): Use it.
15833 (sql-oracle-completion-types): New variable.
15834 (sql-oracle-completion-object, sql-sqlite-completion-object)
15835 (sql-postgres-completion-object): New functions.
15836
15837 2011-07-06 Glenn Morris <rgm@gnu.org>
15838
15839 * window.el (pop-to-buffer): Doc fix.
15840
15841 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15842
15843 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15844
15845 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15846
15847 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15848
15849 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15850
15851 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15852
15853 * button.el (button): Inherit from link face. Suggested by Dan
15854 Nicolaescu.
15855
15856 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15857
15858 * progmodes/gdb-mi.el: Fit in 80 columns.
15859 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15860 switch-to-buffer.
15861
15862 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15863 if imenu is simply not configured (bug#8941).
15864
15865 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15866
15867 * allout.el (allout-post-undo-hook): New allout outline-change
15868 event hook to signal undo activity.
15869 (allout-post-command-business): Run allout-post-undo-hook if an
15870 undo just occurred.
15871 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15872 * allout-widgets.el (allout-widgets-after-undo-function):
15873 Ensure the integrity of the current item's decoration after it has been
15874 in the vicinity of an undo.
15875 (allout-widgets-mode): Include allout-widgets-after-undo-function
15876 on the new allout-post-undo-hook.
15877
15878 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15881 Let define-derived-mode define it.
15882 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15883 cycles of abbrev-table inheritance (bug#8998).
15884
15885 2011-07-05 Roland Winkler <winkler@gnu.org>
15886
15887 * textmodes/bibtex.el: Add support for biblatex.
15888 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15889 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15890 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15891 (bibtex-entry-alist, bibtex-field-alist): New variables.
15892 (bibtex-entry-field-alist): Obsolete alias for
15893 bibtex-BibTeX-entry-alist.
15894 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15895 (bibtex-set-dialect): New command.
15896 (bibtex-entry-type, bibtex-entry-head)
15897 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15898 Bind via bibtex-set-dialect.
15899 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15900 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15901 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15902 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15903 Define via bibtex-set-dialect.
15904 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15905 Obey bibtex-no-opt-remove-re.
15906 (bibtex-vec-push, bibtex-vec-incr): New functions.
15907 (bibtex-format-entry, bibtex-field-list)
15908 (bibtex-print-help-message, bibtex-validate)
15909 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15910
15911 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * progmodes/compile.el (compilation-goto-locus):
15914 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15915 * bs.el (bs-cycle-next, bs-cycle-previous):
15916 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15917 * bindings.el (mode-line-other-buffer):
15918 * autoinsert.el (auto-insert):
15919 * arc-mode.el (archive-extract):
15920 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15921
15922 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15923
15924 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15925 Fix check of `emacs-lock-unlockable-modes'.
15926 Coerce true values of `emacs-lock--try-unlocking' to t.
15927
15928 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15929
15930 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15931 * emacs-lock.el: New file.
15932
15933 2011-07-05 Julien Danjou <julien@danjou.info>
15934
15935 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15936 than `boundp' to check if face is set.
15937
15938 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15939
15940 * register.el (registerv-make):
15941 * window.el (window-min-height): Fix typos in docstrings.
15942
15943 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15944
15945 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15946 Update doc string.
15947
15948 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15949
15950 * server.el (server-execute): Catch quit and call
15951 `server-return-error' to pass the error back to emacsclient and
15952 close the connection (bug#8942).
15953
15954 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15955
15956 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15957 insecure exception for current topic. Also note that auto-saves
15958 are handled differently.
15959
15960 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15961 State variables for tracking auto-save inhibition situation.
15962
15963 (allout-write-contents-hook-handler): Rename from
15964 'allout-write-file-hook-handler', and describe how it depends on
15965 write-contents-functions sensitivity to non-nil value to prevent
15966 file write.
15967
15968 (allout-auto-save-hook-handler): Remove. auto-save does not check
15969 this in individual buffers, only in the starting buffer, so this
15970 is not the right way for us to inhibit auto-save in a buffer
15971 according to its condition.
15972
15973 (allout-mode): Use new allout-write-contents-hook-handler, and
15974 only with write-contents-functions. Remove auto-save provisions -
15975 they're implemented elsewhere.
15976
15977 (allout-before-change-handler): If undo is in progress, note that
15978 for attention of allout-post-command-business.
15979
15980 (allout-post-command-business): If the command we're following was
15981 an undo, check for change in the status of encrypted items and
15982 adjust auto-save inhibitions accordingly.
15983
15984 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15985 according to whether there are or aren't any plain-text topics
15986 pending encryption.
15987
15988 (allout-inhibit-auto-save-info-for-decryption):
15989 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15990 if there are plain-text topics pending encryption.
15991
15992 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15993 buffer-saved-size and some allout state to not inhibit auto-saves
15994 if there are no longer any plain-text topics pending encryption.
15995
15996 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15997 No longer provide for exemption of the current topic.
15998
15999 2011-07-04 Juri Linkov <juri@jurta.org>
16000
16001 Add 7z operations to delete and save changed members (bug#8968).
16002 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16003 New defcustoms.
16004 (archive-7z-write-file-member): New function.
16005 (archive-7z-summarize): Fix the number of dashes in the
16006 listing output.
16007
16008 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16011 (bug#8958).
16012
16013 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16014
16015 * bindings.el: Ignore next-buffer and previous-buffer in
16016 minibuffer-local-map.
16017
16018 * font-lock.el (font-lock-builtin-face): Change light background
16019 color to dark slate blue (Bug#6693).
16020
16021 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16022
16023 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16024
16025 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16029 Add switch-to-buffer.
16030
16031 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16032
16033 * isearch.el (isearch-search-fun-function): Clarify further the
16034 meaning of the function returned.
16035
16036 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16037
16038 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16039
16040 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16041 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16042 Use it.
16043 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16044 `tramp-default-remote-path' does not exist.
16045 (tramp-send-command-and-read): New optional argument NOERROR.
16046 (tramp-open-connection-setup-interactive-shell)
16047 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16048 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16049 (tramp-process-sentinel): Flush also process' connection property.
16050 (tramp-sh-handle-start-file-process): Do not set process
16051 sentinel. It is done now ...
16052 (tramp-maybe-open-connection): ... here. (Bug#8929)
16053
16054 2011-07-04 MON KEY <monkey@sandpframing.com>
16055
16056 * play/animate.el (animate-string): Doc fixes and allow changing
16057 the buffer name (bug#5417).
16058
16059 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16060
16061 * play/animate.el (animation-buffer-name): Rename from *animate*.
16062
16063 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16064
16065 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16066 This is simpler and helps future-proof the code.
16067 (timer-until): Use time-subtract and float-time.
16068 (timer--time-less-p): Use time-less-p.
16069
16070 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16071
16072 * type-break.el (timep): Use the value of `float-time' to avoid a
16073 byte-compiler warning.
16074
16075 * server.el (server-eval-and-print): Return any result, even nil.
16076
16077 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16078
16079 * type-break.el: Accept time formats that the builtins accept.
16080 (timep, type-break-time-difference): Accept any format that
16081 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16082 This is simpler and helps future-proof the code.
16083 (type-break-time-difference): Round rather than ignoring
16084 subseconds components.
16085
16086 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16087
16088 * info.el (Info-apropos-matches): Make non-interactive, since it
16089 doesn't seem to do anything useful as a command (bug#8829).
16090
16091 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16092
16093 * frame.el (frame-background-mode, frame-set-background-mode):
16094 Move from faces.el.
16095 (frame-default-terminal-background): New function.
16096
16097 * custom.el (custom-push-theme): Don't record faces in `changed'
16098 theme; this doesn't work correctly for per-frame face settings.
16099 (disable-theme): Use face-set-after-frame-default to reset faces.
16100 (custom--frame-color-default): New function.
16101
16102 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16103
16104 * dired.el (dired-flagging-regexp): Remove unused variable
16105 (bug#8769).
16106
16107 2011-03-29 Kevin Ryde <user42@zip.com.au>
16108
16109 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16110 `perl-Test2' extend to match possible "fail #N" rep count
16111 (bug#8377).
16112
16113 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16114
16115 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16116 `smtpmail-via-smtp' now returns the error instead of nil.
16117
16118 * isearch.el (isearch-search-fun-function): Clarify the doc string
16119 (bug#8101).
16120
16121 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16122
16123 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16124 unnecessary spaces (bug#8987).
16125
16126 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16127
16128 * net/network-stream.el (open-network-stream): Use the
16129 :end-of-capability command thoughout.
16130
16131 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16132
16133 * net/network-stream.el (open-network-stream): Add the
16134 :end-of-capability command parameter, used by pop3.el.
16135
16136 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16137
16138 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16139
16140 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16141 for list)" (bug#6475).
16142
16143 * files.el (file-expand-wildcards): Ignore non-readable
16144 sub-directories while trying to find matches instead of signaling
16145 an error (bug#6297).
16146
16147 * man.el (Man-reference-regexp): Allow matching possible
16148 word-wrapped references (bug#6289).
16149
16150 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16151 for consistency with the other vc buffers (bug#6197).
16152 (vc-checkin): Ditto.
16153
16154 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16155
16156 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16157
16158 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16159
16160 * custom.el (defcustom): Clarify that :set is only used in the
16161 Customize user interface (bug#6089).
16162
16163 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16164 associated with a file, refuse to run instead of erroring out
16165 (bug#6084).
16166
16167 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16168 the doc string, since it appears that using `fill-column' always
16169 controls the width (bug#7845).
16170
16171 * simple.el (shell-command-on-region): Say where the error output
16172 went if `shell-command-default-error-buffer' is set (bug#6857).
16173
16174 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16175
16176 * allout.el (allout-yank-processing): Adjust cursor position for
16177 backwards-deleted space.
16178
16179 (allout-rebullet-heading): Register changes with
16180 allout-exposure-changed-hook, so the modified topic is properly
16181 decorated.
16182
16183 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16184
16185 * minibuffer.el (completion-in-region): Document PREDICATE
16186 (bug#7136).
16187
16188 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16189 of keyword/argument pairs (bug#6904).
16190
16191 * replace.el (multi-occur):
16192 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16193
16194 2011-07-02 Drew Adams <drew.adams@oracle.com>
16195
16196 * dired.el (dired-mark-if): Make the message about whether it's
16197 marking or unmarking clearer (bug#8523).
16198
16199 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16200
16201 * disp-table.el (display-table-print-array): New function.
16202 (describe-display-table): Use it to print the vectors more pretty
16203 (Bug#8859).
16204
16205 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16206
16207 * window.el (window-state-get-1): Don't assign clone numbers.
16208 Add clone-of item to list of window parameters.
16209 (window-state-put-2): Don't process clone numbers.
16210 (display-buffer-alist): Fix doc-string.
16211
16212 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * subr.el (remq): Don't allocate if it's not needed.
16215 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16216 (keymap--merge-bindings): New functions.
16217 (keymap-canonicalize): Use them to refine the canonicalization.
16218 * minibuffer.el (minibuffer-local-completion-map)
16219 (minibuffer-local-must-match-map): Move initialization from C.
16220 (minibuffer-local-filename-completion-map): Move initialization from C;
16221 don't inherit from anything here.
16222 (minibuffer-local-filename-must-match-map): Make obsolete.
16223 (completing-read-default): Use make-composed-keymap to combine
16224 minibuffer-local-filename-completion-map with either
16225 minibuffer-local-must-match-map or
16226 minibuffer-local-filename-completion-map.
16227
16228 2011-07-01 Glenn Morris <rgm@gnu.org>
16229
16230 * type-break.el (type-break-time-sum): Use dolist.
16231
16232 * textmodes/flyspell.el (flyspell-word-search-backward):
16233 Replace CL function.
16234
16235 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16236
16237 * mouse.el (mouse--strip-first-event): New function.
16238 (function-key-map): Use it to map fringe clicks to normal clicks
16239 by default.
16240
16241 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16242 (vc-bzr-revision-completion-table): Add support for annotate and date.
16243
16244 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16245 inherit from parent.
16246
16247 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16248
16249 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16250 (dired-show-file-type): Doc fixup (bug#8818).
16251
16252 * dired.el (dired-mode): Fix up the doc string as suggested by
16253 Drew Adams (bug#8817).
16254
16255 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16256 cookie, since the manual says that it should be possible to add
16257 this function to `find-file-hook' (bug#8709).
16258
16259 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16260
16261 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16262 here. Noted Ted Zlatanov as the maintainer.
16263 (cfengine-common-settings, cfengine-common-syntax): New functions
16264 to set up common things between `cfengine-mode' and
16265 `cfengine3-mode'.
16266 (cfengine3-mode): New mode.
16267 (cfengine3-defuns cfengine3-defuns-regex
16268 (cfengine3-class-selector-regex cfengine3-category-regex)
16269 (cfengine3-vartypes cfengine3-font-lock-keywords)
16270 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16271 (cfengine3-indent-line): Add from cfengine3.el.
16272
16273 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16274
16275 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16276
16277 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16278
16279 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16280
16281 * window.el (same-window-buffer-names, same-window-regexps)
16282 (same-window-p, special-display-frame-alist)
16283 (special-display-popup-frame, special-display-function)
16284 (special-display-buffer-names, special-display-regexps)
16285 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16286 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16287 (split-window-preferred-function, split-height-threshold)
16288 (split-width-threshold, even-window-heights)
16289 (display-buffer-mark-dedicated, window-splittable-p)
16290 (split-window-sensibly, window-safely-shrinkable-p):
16291 Un-obsolete.
16292 (display-buffer): Don't spread args with function specifier
16293 because special-display-popup-frame won't like it.
16294
16295 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16296
16297 Time-stamp simplifications and fixes.
16298 These improve accuracy slightly, and future-proof the code
16299 against some potential changes to current-time format.
16300
16301 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16302 by using time-since and float-time.
16303
16304 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16305 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16306 + NNN microseconds".
16307
16308 * type-break.el (type-break-time-sum): Rewrite using time-add.
16309
16310 * play/hanoi.el (hanoi-current-time-float): Remove.
16311 All uses replaced by float-time.
16312
16313 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16314 This yields a more-accurate answer.
16315 (rng-time-to-float): Remove; no longer needed.
16316
16317 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16318
16319 * calendar/timeclock.el (timeclock-seconds-to-time):
16320 Defalias to seconds-to-time, since they're the same thing.
16321
16322 * emacs-lisp/elp.el (elp-elapsed-time):
16323 * emacs-lisp/benchmark.el (benchmark-elapse):
16324 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16325
16326 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16327
16328 * window.el (bury-buffer): Don't iconify the only frame.
16329 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16330 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16331
16332 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16333
16334 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16335 Add mouse-yank-primary.
16336
16337 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16338
16339 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16340
16341 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16342
16343 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16344 (find-library-name): Use it to find relative load names when provided
16345 absolute file name (bug#8803).
16346
16347 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16348
16349 * textmodes/flyspell.el (flyspell-word): Consider words that
16350 differ only in case as potential doublons (bug#5687).
16351
16352 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16353 Remove two rather uninteresting debugging-like messages to make
16354 debbugs.el more silent.
16355
16356 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16357 a password-like phrase.
16358
16359 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16360
16361 * progmodes/cc-guess.el: New file.
16362
16363 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16364
16365 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16366 derived from `c-basic-common-init'.
16367
16368 * progmodes/cc-mode.el (top-level): Require cc-guess.
16369 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16370
16371 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16372
16373 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16374
16375 2011-06-30 Alan Mackenzie <acm@muc.de>
16376
16377 * progmodes/cc-engine.el (c-guess-continued-construct):
16378 Correct the handling of template-args-cont, particularly for when font
16379 lock is disabled. Name this case as "CASE G".
16380
16381 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16382
16383 * allout.el (allout-yank-processing): Fix injection of extra space
16384 between bullet and non-whitespace character in first topic when
16385 pasting, ensuring that the actual spacing in the pasted topic
16386 following the bullet char is preserved. This extra space was
16387 causing pasted encrypted topics to get a decrypted status even
16388 when the content was actually still encrypted. Now the decryption
16389 status from before the paste is preserved.
16390
16391 (allout-flag-region): Set all allout overlays so they evaporate
16392 when reduced to zero length (evanescent), to prevent overlay
16393 leakage.
16394
16395 2011-06-30 Glenn Morris <rgm@gnu.org>
16396
16397 * w32-fns.el (w32-charset-info-alist): Declare.
16398
16399 * find-dired.el (find-grep-options): Simplify.
16400
16401 * term/ns-win.el (ns-set-resource): Declare.
16402
16403 * ses.el (row, col): Declare dynamic variables honestly.
16404
16405 * textmodes/reftex-parse.el (index-tags): Declare.
16406
16407 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16408
16409 * cus-edit.el (customize-push-and-save): New function.
16410
16411 * files.el (hack-local-variables-confirm): Use it.
16412
16413 * custom.el (load-theme): New arg NO-CONFIRM.
16414 Use customize-push-and-save (Bug#8720).
16415 (custom-enabled-themes): Doc fix.
16416
16417 * cus-theme.el (customize-create-theme)
16418 (custom-theme-merge-theme): Callers to load-theme changed.
16419
16420 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16421
16422 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16423 short URLs have at least one dot in them (bug #7614).
16424
16425 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16426 nil, because using a pty is apparently too slow (bug #895).
16427
16428 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16429
16430 * mail/sendmail.el (sendmail-query-once): New function.
16431 (sendmail-query-once-function): New variable.
16432
16433 2011-06-29 Glenn Morris <rgm@gnu.org>
16434
16435 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16436
16437 * ses.el (top-level): Require cl when compiling.
16438 (ses-set-localvars): Fix error statement.
16439 Call it at compile time to silence a storm of warnings.
16440
16441 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16442
16443 * window.el (normalize-live-buffer): Rename to
16444 window-normalize-buffer.
16445 (normalize-live-frame): Rename to window-normalize-frame.
16446 (normalize-any-window): Rename to window-normalize-any-window.
16447 (normalize-live-window): Rename to window-normalize-live-window.
16448 (make-window-atom): Rename to window-make-atom.
16449 (window-resize-reset): Rename to window--resize-reset.
16450 (window-resize-reset-1): Rename to window--resize-reset-1.
16451 (resize-mini-window): Rename to window--resize-mini-window.
16452 (resize-subwindows-skip-p): Rename to
16453 window--resize-subwindows-skip-p.
16454 (resize-subwindows-normal): Rename to
16455 window--resize-subwindows-normal.
16456 (resize-subwindows): Rename to window--resize-subwindows.
16457 (resize-other-windows): Rename to window--resize-siblings.
16458 (resize-this-window): Rename to window--resize-this-window.
16459 (resize-root-window): Rename to window--resize-root-window.
16460 (resize-root-window-vertically): Rename to
16461 window--resize-root-window-vertically.
16462 (normalize-buffer-to-display): Rename to
16463 window-normalize-buffer-to-display.
16464 (normalize-buffer-to-switch-to): Rename to
16465 window-normalize-buffer-to-switch-to.
16466 Correspondingly update all callers of the functions listed
16467 above.
16468 (display-buffer-alist, display-buffer-normalize-arguments)
16469 (display-buffer-normalize-options, display-buffer)
16470 (display-buffer-alist-set): Use "function" instead of
16471 "fun-with-args".
16472
16473 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16476 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16477 debbugs.gnu.org. Mention acknowledgment email.
16478
16479 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16480
16481 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16482 buffer multibyteness, since it shouldn't matter.
16483
16484 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16485
16486 * window.el (display-buffer-in-side-window): Handle dedicated
16487 windows as in display-buffer-reuse-window.
16488 (display-buffer-normalize-alist): Use value of override
16489 specifier.
16490 (display-buffer-normalize-specifiers): Use value of
16491 other-window-means-other-frame specifier.
16492 (display-buffer-alist): Rewrite some texts in widgets.
16493 (display-buffer): Spread arguments when calling function
16494 specified by fun-with-args.
16495
16496 2011-06-28 Deniz Dogan <deniz@dogan.se>
16497
16498 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16499 Unnest `let'.
16500
16501 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16502 selectors (Bug#5732).
16503 (css-proprietary-nmstart-re): Use `regexp-opt'.
16504
16505 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16506
16507 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16508 (eshell-ls-date-format): New defcustom.
16509 (eshell-ls-file): Use it.
16510
16511 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16512
16513 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16514
16515 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16516
16517 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16518 (ange-ftp-make-tmp-name): New arg.
16519 (ange-ftp-file-local-copy): Use it.
16520
16521 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16522
16523 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16524 no-conversion (Bug#8870).
16525
16526 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16527
16528 * window.el (window-right, window-left, window-child)
16529 (window-child-count, window-last-child)
16530 (window-iso-combination-p, walk-window-tree-1)
16531 (window-atom-check-1, window-tree-1, delete-window)
16532 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16533 new naming conventions - window-vchild, window-hchild,
16534 window-next and window-prev are now called window-top-child,
16535 window-left-child, window-next-sibling and window-prev-sibling
16536 respectively.
16537 (resize-window-reset): Rename to window-resize-reset.
16538 (resize-window-reset-1): Rename to window-resize-reset-1.
16539 (resize-window): Rename to window-resize.
16540 (window-min-height, window-min-width)
16541 (resize-mini-window, resize-this-window, resize-root-window)
16542 (resize-root-window-vertically, adjust-window-trailing-edge)
16543 (enlarge-window, shrink-window, maximize-window)
16544 (minimize-window, delete-window, quit-restore-window)
16545 (split-window, balance-windows, balance-windows-area-adjust)
16546 (balance-windows-area, window-state-put-2)
16547 (display-buffer-even-window-sizes, display-buffer-set-height)
16548 (display-buffer-set-width, set-window-text-height)
16549 (fit-window-to-buffer): Rename all "resize-window" prefixed
16550 calls to use the "window-resize" prefix convention.
16551 (display-buffer-alist): Fix symbol for label specifier.
16552 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16553 corresponding specifier.
16554 Reported by Juanma Barranquero <lekktu@gmail.com>.
16555
16556 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16557
16558 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16559 convention.
16560 (ses-call-printer): Does not pass an empty string to formatter when the
16561 cell is empty to keep from barking printer Calc math-format-value.
16562
16563 2011-06-27 Richard Stallman <rms@gnu.org>
16564
16565 * battery.el (battery-mode-line-limit): New variable.
16566 (battery-update): Handle it.
16567
16568 * mail/rmailmm.el (rmail-mime-process-multipart):
16569 Handle truncated messages.
16570
16571 2011-06-27 Glenn Morris <rgm@gnu.org>
16572
16573 * progmodes/flymake.el (flymake-err-line-patterns):
16574 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16575
16576 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16577
16578 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16579 (ses--clean-!, ses--clean-_): New functions.
16580 (ses-range): Add configurability of readout order, and conversion
16581 to Calc vector.
16582
16583 * ses.el (ses-repair-cell-reference-all): New function.
16584 (ses-cell-symbol): Set macro as safe, so that it can be used in
16585 formulas.
16586
16587 * ses.el: Update cycle detection algorithm.
16588 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16589 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16590 (ses-set-localvars): New function.
16591 (ses-make-cell): Add property-list as a cell element.
16592 (ses-cell-property-get-fun, ses-cell-property-get)
16593 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16594 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16595 New functions.
16596 (ses-cell-property-set, ses-cell-property-pop)
16597 (ses-cell-property-get-handle): New macro.
16598 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16599 New aliases, used for code readability.
16600 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16601 cycle detection.
16602 (ses-self-reference-early-detection): New defcustom.
16603 (ses-formula-references): Robustify against self-referring cells.
16604 (ses-mode): Use ses-set-localvars.
16605 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16606 before lauching the update processing.
16607 (ses-initialize-Dijkstra-attempt): New function.
16608 (ses-recalculate-cell): Update for cycle detection based on
16609 Dijkstra algorithm.
16610
16611 * ses.el: Fix commenting and indenting convention.
16612
16613 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16614
16615 * bs.el (bs-cycle-next): Complete last change.
16616
16617 2011-06-27 Drew Adams <drew.adams@oracle.com>
16618
16619 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16620
16621 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16622
16623 * net/network-stream.el (network-stream-open-starttls):
16624 Don't re-get capabilities unless we've reestablished connection.
16625 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16626
16627 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16628 to binary to possibly avoid line encoding issues on Windows (among
16629 other things).
16630
16631 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16632
16633 * net/network-stream.el (open-network-stream): Return an :error
16634 saying what the problem was, if possible.
16635
16636 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16637 server.
16638
16639 * net/network-stream.el (network-stream-open-starttls): If we
16640 wanted to use STARTTLS, and the server offered it, but we weren't
16641 able to because we had no STARTTLS support, then close the connection.
16642 (open-network-stream): Return an :error element, if present.
16643
16644 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16645
16646 * hl-line.el (hl-line-sticky-flag): Doc fix.
16647 (global-hl-line-sticky-flag): New option (Bug#8323).
16648 (global-hl-line-highlight): Obey it.
16649
16650 * vc/vc.el (vc-revert-show-diff): Default to t.
16651
16652 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16653
16654 * allout-widgets.el (allout-widgets-post-command-business):
16655 Stop decorating intermediate isearch matches. They're not being
16656 undecorated when an isearch is continued past, and isearch
16657 automatically collapses them. This leads to "widget leaks", where
16658 decorated items accumulate in collapsed areas. Lines with lots of
16659 hidden widgets can slow down cursor travel, substantially.
16660 Too much complicated machinery would be needed to ensure undecoration,
16661 so we're doing without this nicety.
16662
16663 (allout-widgets-tally-string): Don't try to do a hash-table-count
16664 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16665 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16666 *Messages* when allout-widgets-maintain-tally is t.
16667
16668 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16669
16670 * window.el (display-buffer-normalize-argument): Rename to
16671 display-buffer-normalize-arguments. Handle special meaning of
16672 LABEL argument. Respect special-display-function when popping up
16673 a new frame. Fix code searching for a window showing the buffer
16674 on another frame.
16675 (display-buffer-normalize-specifiers):
16676 Call display-buffer-normalize-arguments.
16677 (display-buffer-in-window): Don't undedicate the window if its
16678 buffer remains the same.
16679 Reported by Drew Adams <drew.adams@oracle.com>.
16680 (display-buffer-alist): Add choice for same-window macro
16681 specfier.
16682 (display-buffer): Mention special meaning of LABEL argument in
16683 doc-string. Fix quoting. Don't pop up a new frame even as
16684 fallback.
16685
16686 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16687
16688 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16689 avoid deleting the current window in some cases (bug#8911).
16690
16691 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16692
16693 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16694 (Bug#8934)
16695
16696 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16697
16698 * net/network-stream.el (network-stream-open-starttls):
16699 Use built-in TLS support if `gnutls-available-p' is true.
16700 (network-stream-open-tls): Ditto.
16701
16702 2011-06-26 Leo Liu <sdl.web@gmail.com>
16703
16704 * register.el (registerv): New struct.
16705 (registerv-make): New function.
16706 (jump-to-register, describe-register-1, insert-register):
16707 Support the jump-func, print-func and insert-func slot of a registerv
16708 struct. (Bug#8415)
16709
16710 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16711
16712 * vc/vc.el (vc-revert-show-diff): New defcustom.
16713 (vc-diff-internal): New arg specifying diff buffer.
16714 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16715 reuse an existing *vc-diff* buffer (Bug#8927).
16716
16717 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16718
16719 2011-06-26 Glenn Morris <rgm@gnu.org>
16720
16721 * progmodes/f90.el (f90-critical-indent): New option.
16722 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16723 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16724 (f90-mode): Doc fix.
16725 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16726 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16727 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16728 (f90-match-end): Handle block, critical.
16729
16730 2011-06-25 Glenn Morris <rgm@gnu.org>
16731
16732 * calendar/diary-lib.el (diary-included-files): Doc fix.
16733 (diary-include-files): New function, extracted from
16734 diary-include-other-diary-files and diary-mark-included-diary-files.
16735 (diary-include-other-diary-files, diary-mark-included-diary-files):
16736 Just call diary-include-files.
16737 (diary-mark-entries): Reset diary-included-files on first call.
16738
16739 * calendar/diary-lib.el (diary-mark-entries)
16740 (diary-mark-included-diary-files):
16741 Visit included diary-files in temp buffers.
16742
16743 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16744 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16745 (f90-start-block-re, f90-imenu-generic-expression)
16746 (f90-looking-at-program-block-start, f90-no-block-limit):
16747 Add support for submodules.
16748
16749 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16750 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16751
16752 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16753
16754 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16755 buffer-file-type before setting its value, to avoid disastrous
16756 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16757
16758 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16759
16760 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16761
16762 * ses.el (ses-unload-function):
16763 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16764
16765 * proced.el (proced-unload-function):
16766 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16767
16768 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16769
16770 * server.el (server-create-window-system-frame): Add parameters arg.
16771 (server-process-filter): Doc fix. Handle frame-parameters.
16772
16773 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16774
16775 Fix bug#8730, bug#8781.
16776
16777 * loadhist.el (unload--set-major-mode): New function.
16778 (unload-feature): Use it.
16779
16780 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16781 (python-unload-function): New function.
16782
16783 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16784
16785 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16786
16787 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16788
16789 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16790 the candidates list.
16791
16792 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16793
16794 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16795
16796 2011-06-23 Richard Stallman <rms@gnu.org>
16797
16798 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16799 (rmail-variables): Set next-error-move-function.
16800 (rmail-what-message): Take argument POS.
16801 (rmail-next-error-move): New function.
16802
16803 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16804
16805 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16806 messages for adjacent non-terminals.
16807
16808 2011-06-23 Richard Stallman <rms@gnu.org>
16809
16810 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16811 (rmail-show-message-1): Preserve buffer modified flag.
16812 (rmail-start-mail): Don't specify use of rmail-mail-return;
16813 that's done by mail-bury now.
16814 (rmail-mail-return): Handle arg NEWBUF.
16815
16816 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16817
16818 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16819 SIZE is a number.
16820
16821 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16822
16823 * window.el (get-lru-window, get-mru-window)
16824 (get-largest-window): Never return a minibuffer window.
16825 (display-buffer-pop-up-window): Fix a bug that could lead to
16826 reusing the minibuffer window.
16827 (display-buffer): Pass original specifier argument to
16828 display-buffer-function instead of the normalized one.
16829 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16830
16831 2011-06-22 Leo Liu <sdl.web@gmail.com>
16832
16833 * minibuffer.el (completing-read-function)
16834 (completing-read-default): Move from minibuf.c.
16835
16836 2011-06-22 Richard Stallman <rms@gnu.org>
16837
16838 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16839 to Rmail even if not started by a special Rmail command.
16840
16841 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16842 Copy the buffer currently showing just one message.
16843
16844 2011-06-22 Roland Winkler <winkler@gnu.org>
16845
16846 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16847 (bibtex-clean-entry): First delete the old key so that a
16848 customized algorithm for generating the new key does not get
16849 confused by the old key.
16850 (bibtex-url): Obey regexp of first step.
16851 (bibtex-search-entries): Do not use add-to-list with local
16852 list-var.
16853
16854 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16855
16856 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16857 stored a user name, then query for the password first, instead of
16858 waiting for SMTP to give an error message and the trying again.
16859
16860 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16861
16862 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16863 BUFFER in call-process.
16864
16865 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16866
16867 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16868 QUIT twice.
16869 (smtpmail-try-auth-methods): Require user name and password from
16870 auth-source.
16871
16872 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (display-buffer-default-specifiers)
16875 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16876 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16877 (split-window): Normalize SIDE argument (Bug#8916).
16878
16879 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16880 (special-display-frame-alist, special-display-popup-frame):
16881 Remove duplicate declarations. These are now in window.el.
16882
16883 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16884
16885 * mail/smtpmail.el (smtpmail-via-smtp):
16886 Set :use-starttls-if-possible so that we always use STARTTLS if the
16887 server supports it. SMTP servers that support STARTTLS commonly
16888 require it.
16889
16890 * net/network-stream.el (network-stream-open-starttls): Support
16891 upgrading to STARTTLS always, even if we don't have built-in support.
16892 (open-network-stream): Add the :always-query-capabilities keyword.
16893
16894 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16895 upgrades with `open-network-stream', and rely solely on
16896 auth-source for all credentials. Big changes throughout the file,
16897 but in particular:
16898 (smtpmail-auth-credentials): Remove.
16899 (smtpmail-starttls-credentials): Remove.
16900 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16901 MAIL FROM, too.
16902
16903 * net/network-stream.el (network-stream-open-starttls):
16904 Provide support for client certificates both for external and built-in
16905 STARTTLS.
16906 (auth-source): Require.
16907 (open-network-stream): Document the :client-certificate keyword.
16908 (network-stream-certificate): Change cert-cert to cert and
16909 cert-key to key.
16910
16911 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16912
16913 * net/tramp-cache.el (top): Don't load the persistency file when
16914 "emacs -Q" has been called.
16915
16916 2011-06-21 Tim Harper <timcharper@gmail.com>
16917
16918 * term/ns-win.el (ns-initialize-window-system):
16919 Set application-specific `ApplePressAndHoldEnabled' system
16920 resource to NO as it is not yet supported by the NS port.
16921
16922 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16923
16924 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16925 (list-dynamic-libraries): ...not here.
16926
16927 2011-06-21 Leo Liu <sdl.web@gmail.com>
16928
16929 * subr.el (sha1): Implement sha1 using secure-hash.
16930
16931 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16932
16933 * window.el (display-buffer-alist): In default value do not
16934 enforce searching a window on any but the selected frame.
16935 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16936 (display-buffer-select-window): Remove function.
16937 (display-buffer-in-window): When a window on another frame gets
16938 reused, do not select it any more but just raise its frame if
16939 necessary (Bug#8851) and (Bug#8856).
16940 (display-buffer-normalize-options): Handle pop-up-frames related
16941 options more faithfully.
16942 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16943 window if it is on another frame.
16944 (display-buffer-alist, display-buffer-default-specifiers):
16945 Don't make new frame unsplittable by default.
16946 (display-buffer-normalize-argument): Fix doc-string typo and use
16947 'same-frame-other-window instead of 'other-window when associating
16948 with display-buffer-macro-specifiers.
16949
16950 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16951
16952 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16953 New functions.
16954 (5x5-mode-map, 5x5-mode-menu): Bind them.
16955 (5x5-draw-grid): Tweak the solver's rendering.
16956
16957 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16958
16959 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16960 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16961
16962 2011-06-21 Drew Adams <drew.adams@oracle.com>
16963
16964 * menu-bar.el: Use function variable instead of switch-to-buffer.
16965 (menu-bar-select-buffer-function): New variable.
16966 (menu-bar-update-buffers): Use it (bug#8876).
16967
16968 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16971 variable's status.
16972
16973 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16974
16975 * x-dnd.el (x-dnd-version-from-flags)
16976 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16977 and long as number (Bug#8899).
16978 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16979
16980 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16981
16982 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16983 (completion-try-completion, completion-all-completions): Compute the
16984 metadata argument if it's missing; make it optional (bug#8795).
16985
16986 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16987 (widget-complete): Use new :completion-function property.
16988 (widget-completions-at-point): New function.
16989 (default): Use :completion-function instead of :complete.
16990 (widget-default-completions): Rename from widget-default-complete;
16991 Rewrite.
16992 (widget-string-complete, widget-file-complete, widget-color-complete):
16993 Remove functions.
16994 (file, symbol, function, variable, coding-system, color):
16995 * international/mule-cmds.el (default-input-method, charset)
16996 (language-info-custom-alist):
16997 * cus-edit.el (face): Use new property :completions.
16998
16999 * progmodes/pascal.el (pascal-completions-at-point): New function.
17000 (pascal-mode): Use it.
17001 (pascal-mode-map): Use completion-at-point.
17002 (pascal-toggle-completions): Make obsolete.
17003 (pascal-complete-word, pascal-show-completions):
17004 * progmodes/octave-mod.el (octave-complete-symbol):
17005 Redefine as obsolete alias.
17006 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17007 Signal absence of completion info for old Octave,
17008 (inferior-octave-complete): Redefine as obsolete alias.
17009 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17010 (meta-completions-at-point): Rename from meta-complete-symbol and
17011 adapt it for use on completion-at-point-functions.
17012 (meta-common-mode): Use it.
17013 (meta-looking-at-backward, meta-match-buffer): Remove.
17014 (meta-complete-symbol): Redefine as obsolete alias.
17015 (meta-common-mode-map): Use completion-at-point.
17016 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17017 (makefile-mode-map): Use completion-at-point.
17018 (makefile-completions-at-point): Rename from makefile-complete and
17019 adapt it for use on completion-at-point-functions.
17020 (makefile-mode): Use it.
17021 (makefile-complete): Redefine as obsolete alias.
17022
17023 2011-06-20 Deniz Dogan <deniz@dogan.se>
17024
17025 * net/rcirc.el: Delete trailing whitespaces once and for all.
17026
17027 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17028
17029 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17030
17031 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17032
17033 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17034
17035 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17036
17037 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17038
17039 * window.el (display-buffer-other-window-means-other-frame):
17040 Call display-buffer-normalize-alist.
17041 (display-buffer-normalize-specifiers-1): Rename to
17042 display-buffer-normalize-argument. New argument other-frame.
17043 Rewrite.
17044 (display-buffer-normalize-specifiers-2): Rename to
17045 display-buffer-normalize-options.
17046 (display-buffer-normalize-alist-1): New function.
17047 (display-buffer-normalize-specifiers-3): Rename to
17048 display-buffer-normalize-alist.
17049 Call display-buffer-normalize-alist-1.
17050 (display-buffer-normalize-options-inhibit): New variable.
17051 (display-buffer-normalize-specifiers): Rewrite calling
17052 display-buffer-normalize-alist,
17053 display-buffer-normalize-argument, and
17054 display-buffer-normalize-options. Don't call the latter if
17055 display-buffer-normalize-options-inhibit is non-nil.
17056 (frame-auto-delete): New option.
17057 (window-deletable-p): Use frame-auto-delete.
17058 (window-list-no-nils, window-state-ignored-parameters)
17059 (window-state-get-1, window-state-get, window-state-put-list)
17060 (window-state-put-1, window-state-put-2, window-state-put):
17061 New functions.
17062 (display-buffer-normalize-options): Move special-display-p group
17063 after pop-up-frame group (Bug#8851) and (Bug#8856).
17064
17065 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17066
17067 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17068 groups (Bug#8776).
17069 (rx-submatch-n): New function.
17070 (rx): Document it.
17071
17072 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17073 (Bug#8768).
17074
17075 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17076
17077 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17078
17079 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17080 anytime existing face settings are present (Bug#8889).
17081
17082 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17083 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17084 Remove unused argument.
17085
17086 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17087
17088 * window.el (display-buffer-default-specifiers):
17089 Remove pop-up-frame. Add pop-up-window-min-height,
17090 pop-up-window-min-width, and another reuse-window specifier
17091 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17092 (display-buffer-normalize-specifiers-2):
17093 Handle split-height-threshold and split-width-threshold also when
17094 pop-up-windows is unset. Add a reuse-window specifier for the
17095 case popping up a new window fails.
17096 (special-display-popup-frame): Remove double quoting.
17097 (display-buffer-normalize-specifiers-1): Fix thinko.
17098
17099 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17102 according to comint-completion-addsuffix.
17103
17104 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17105 (pcomplete-suffix-list): Mark as obsolete.
17106 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17107 pcomplete-seen in the closure.
17108 (pcomplete-comint-setup): Setup completion-at-point as well.
17109 (pcomplete--entries): New function.
17110 (pcomplete--env-regexp): New var.
17111 (pcomplete-entries): Rewrite to work with partial-completion and
17112 without relying on pcomplete-suffix-list.
17113 (pcomplete-pare-list): Remove, unused.
17114
17115 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17116
17117 * window.el (display-buffer-alist): Set pop-up-window-min-height
17118 and pop-up-window-min-width in default value. Reported by
17119 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17120 other-window-means-other-frame.
17121 (display-buffer-macro-specifiers): Comment out entry for
17122 other-window specifier.
17123 (display-buffer-other-window-means-other-frame): New function.
17124 (display-buffer-normalize-specifiers-1): New arguments
17125 buffer-name and label. Treat other-window case specially.
17126 (display-buffer-normalize-specifiers-2): Treat other-window case
17127 specially.
17128 (display-buffer-normalize-specifiers-3): New function.
17129 (display-buffer-normalize-specifiers):
17130 Call display-buffer-normalize-specifiers-3.
17131
17132 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17133
17134 * window.el (same-window-p): Fix two typos introduced when
17135 adding with-no-warnings.
17136 (display-buffer-normalize-specifiers-1): Don't check
17137 pop-up-frames for 'unset initialization.
17138 (display-buffer-normalize-specifiers-2): Major rewrite using
17139 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17140 (pop-up-frames, display-buffer-reuse-frames)
17141 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17142 Suggested by David Engster <deng@randomsample.de>.
17143 (even-window-heights): Initialize to 'unset.
17144 (display-buffer-alist-set): Handle new 'unset initializations.
17145 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17146 other window case.
17147
17148 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17149
17150 * window.el (display-buffer-normalize-specifiers-1):
17151 Respect current value of pop-up-frames for most reasonable values of
17152 second argument of display-buffer (Bug#8865).
17153 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17154 (switch-to-buffer-other-window-same-frame)
17155 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17156 Adams (Bug#8875).
17157 (display-buffer): Don't check noninteractive when calling
17158 display-buffer-pop-up-frame.
17159 (display-buffer-pop-up-frame): Never pop up a frame in
17160 noninteractive mode (Bug#8857).
17161 (enlarge-window, shrink-window): Don't report an error when the
17162 window can't be resized as requested (Bug#8862).
17163
17164 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17165
17166 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17167
17168 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17169
17170 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17171
17172 2011-06-15 Alan Mackenzie <acm@muc.de>
17173
17174 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17175 for declarators, disable knr checking to speed up for normal files.
17176 2: Refactor, replacing a sequence of nested if forms by a cond form.
17177
17178 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17179
17180 * net/network-stream.el (open-network-stream): Add the keyword
17181 :always-query-capabilities for the case where you want to force a
17182 `plain' network connection, but the protocol still requires the
17183 capabilitiy command (i.e., SMTP and EHLO).
17184
17185 * subr.el (process-live-p): Rename from `process-alive-p' for
17186 consistency with other `-live-p' functions.
17187
17188 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17189
17190 * window.el (same-window-buffer-names, same-window-regexps)
17191 (special-display-frame-alist, special-display-popup-frame)
17192 (special-display-function, special-display-buffer-names)
17193 (special-display-regexps, pop-up-frame-alist)
17194 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17195 (pop-up-windows, split-window-preferred-function)
17196 (split-height-threshold, split-width-threshold, even-window-heights)
17197 (display-buffer-mark-dedicated): Don't encourage the use of
17198 display-buffer-alist from Elisp code.
17199
17200 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17201
17202 * progmodes/python.el (python-mode): Derive from prog-mode.
17203 * progmodes/ps-mode.el (ps-mode):
17204 * progmodes/mixal-mode.el (mixal-mode):
17205 * progmodes/cfengine.el (cfengine-mode):
17206 * progmodes/ld-script.el (ld-script-mode): Likewise.
17207
17208 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17209
17210 * window.el (display-buffer-alist): Trim default value to avoid
17211 popping up a new frame (Bug#8857) or reusing an arbitrary window
17212 on another frame.
17213 (display-buffer): Do not fall back on popping up a new frame in
17214 batch mode (Bug#8857).
17215
17216 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17219 (custom-theme-summary): New function.
17220 (customize-themes): Use it.
17221
17222 2011-06-13 Glenn Morris <rgm@gnu.org>
17223
17224 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17225
17226 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17227
17228 * help.el (help-window): Remove variable.
17229 (help-window-point-marker, temp-buffer-max-height)
17230 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17231 (help-print-return-message): Don't set help-window.
17232 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17233 (help-window-setup-finish): Remove.
17234 (help-window-display-message, help-window-setup)
17235 (with-help-window): Major rewrite based on new
17236 display-buffer-window variable.
17237
17238 * help-mode.el (help-mode-finish): Remove help-window related
17239 code.
17240
17241 * view.el (view-exits-all-viewing-windows): Remove reference to
17242 view-return-to-alist in doc-string.
17243 (view-return-to-alist): Make obsolete.
17244 (view-buffer): Call pop-to-buffer-same-window and remove
17245 undo-window code.
17246 (view-buffer-other-window): Call pop-to-buffer-other-window and
17247 simplify code. Ignore second argument.
17248 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17249 simplify code. Ignore second argument.
17250 (view-return-to-alist-update): Make obsolete.
17251 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17252 Rewrite using quit-restore window parameters.
17253 (view-mode-exit): Rename second argument to EXIT-ONLY.
17254 Rewrite using quit-restore-window.
17255 (View-exit, View-exit-and-edit, View-leave, View-quit)
17256 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17257 appropriate arguments.
17258 (view-end-message): Use quit-restore window parameter.
17259
17260 * window.el (display-buffer-function): Rewrite doc-string.
17261 (display-buffer-window, display-buffer-alist): New variables.
17262 (display-buffer-split-specifiers)
17263 (display-buffer-side-specifiers)
17264 (display-buffer-macro-specifiers): New constants.
17265 (display-buffer-even-window-sizes, display-buffer-set-height)
17266 (display-buffer-set-width, display-buffer-select-window)
17267 (display-buffer-in-window, display-buffer-reuse-window)
17268 (display-buffer-split-window-1, display-buffer-split-window)
17269 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17270 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17271 (display-buffer-in-side-window, normalize-buffer-to-display)
17272 (display-buffer-normalize-specifiers-1)
17273 (display-buffer-normalize-specifiers-2)
17274 (display-buffer-normalize-specifiers, display-buffer-frame):
17275 New functions.
17276 (display-buffer): Major rewrite.
17277 (display-buffer-other-window, display-buffer-other-frame)
17278 (pop-to-buffer, switch-to-buffer-other-window)
17279 (switch-to-buffer-other-frame): Rewrite.
17280 (display-buffer-same-window, display-buffer-same-frame)
17281 (display-buffer-same-frame-other-window)
17282 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17283 (pop-to-buffer-other-window)
17284 (pop-to-buffer-same-frame-other-window)
17285 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17286 (switch-to-buffer-other-window-same-frame): New functions.
17287 (same-window-p, special-display-p): Rewrite disabling warnings.
17288 Make obsolete.
17289 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17290 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17291 Make obsolete
17292 (same-window-buffer-names, same-window-regexps)
17293 (special-display-frame-alist, special-display-popup-frame)
17294 (special-display-function, special-display-buffer-names)
17295 (special-display-regexps, pop-up-frame-alist)
17296 (pop-up-frame-function, split-window-preferred-function)
17297 (split-height-threshold, split-width-threshold)
17298 (even-window-heights): Make obsolete.
17299
17300 2011-06-12 Glenn Morris <rgm@gnu.org>
17301
17302 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17303 Misc simplifications.
17304
17305 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17306
17307 * window.el (window-safely-shrinkable-p): Restore function which
17308 was inadvertently removed in change from 2011-06-11. Declare as
17309 obsolete.
17310
17311 * calendar/calendar.el (calendar-generate-window):
17312 Use window-iso-combined-p instead of combination of one-window-p and
17313 window-safely-shrinkable-p.
17314
17315 2011-06-12 Glenn Morris <rgm@gnu.org>
17316
17317 * progmodes/fortran.el (fortran-mode-syntax-table):
17318 * progmodes/f90.el (f90-mode-syntax-table):
17319 Set % to punctuation. (Bug#8820)
17320 (f90-find-tag-default): Remove, no longer needed.
17321
17322 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17323
17324 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17325
17326 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * image.el (image-animated-p): Return animation delay in seconds.
17329 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17330 (image-animate-timeout): Remove DELAY argument. Don't assume
17331 every subimage has the same delay; get it from image-animated-p.
17332 (image-animate): Caller changed.
17333
17334 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17335
17336 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17337 to ignored backtrace functions.
17338
17339 2011-06-11 Glenn Morris <rgm@gnu.org>
17340
17341 * calendar/appt.el (appt-disp-window-function): Doc fix.
17342 (appt-check): Handle overlapping appointments. (Bug#8337)
17343
17344 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17345
17346 * window.el (window-tree-1, window-tree): New functions, moving
17347 the latter to window.el.
17348 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17349 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17350 (bw-refresh-edges): Remove.
17351 (balance-windows-1, balance-windows-2): New functions.
17352 (balance-windows): Rewrite in terms of window tree functions,
17353 balance-windows-1 and balance-windows-2.
17354 (bw-adjust-window): Remove.
17355 (balance-windows-area-adjust): New function with functionality of
17356 bw-adjust-window but using resize-window.
17357 (set-window-text-height): Rewrite doc-string.
17358 Use normalize-live-window and resize-window.
17359 (enlarge-window-horizontally, shrink-window-horizontally):
17360 Rename argument to DELTA.
17361 (window-buffer-height): New function.
17362 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17363 Rewrite using new window resize routines.
17364 (kill-buffer-and-window, mouse-autoselect-window-select):
17365 Use ignore-errors instead of condition-case.
17366 (quit-window): Call delete-frame instead of delete-windows-on
17367 for the only buffer on frame.
17368
17369 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17370
17371 * loadup.el (top-level): Load window before files for the sake
17372 of replace-buffer-in-windows.
17373
17374 * files.el (read-buffer-to-switch)
17375 (switch-to-buffer-other-window)
17376 (switch-to-buffer-other-frame, display-buffer-other-frame):
17377 Move to window.el.
17378
17379 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17380 (previous-buffer): Move to window.el.
17381
17382 * bindings.el (unbury-buffer): Move to window.el.
17383
17384 * window.el (delete-other-windows-vertically): Move after
17385 definition of delete-other-windows.
17386 (other-window, delete-windows-on, replace-buffer-in-windows):
17387 Move here from window.c.
17388 (record-window-buffer, unrecord-window-buffer)
17389 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17390 (switch-to-next-buffer): New functions.
17391 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17392 from simple.el. Call switch-to-next-buffer.
17393 (previous-buffer): Move here from simple.el.
17394 Call switch-to-prev-buffer.
17395 (bury-buffer): Move here from buffer.c. Switch to previous
17396 buffer when window cannot be deleted.
17397 (unbury-buffer): Move here from bindings.el.
17398 (ctl-x-map): Move binding for other-window from window.c to
17399 here.
17400 (read-buffer-to-switch, switch-to-buffer-other-window)
17401 (switch-to-buffer-other-frame): Move here from files.el.
17402 (normalize-buffer-to-switch-to): New functions.
17403 (switch-to-buffer): Move here from buffer.c.
17404 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17405
17406 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17407
17408 * window.el (window-min-height, window-min-width): Move here
17409 from window.c. Add defcustoms and rewrite doc-strings.
17410 (resize-mini-window, resize-window): New functions.
17411 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17412 Move here from window.c.
17413 (maximize-window, minimize-window): New functions.
17414 (delete-window, delete-other-windows, split-window): Move here
17415 from window.c.
17416 (window-split-min-size): New function.
17417 (split-window-keep-point): Mention split-window-above-each-other
17418 instead of split-window-vertically.
17419 (split-window-above-each-other, split-window-vertically):
17420 Rename split-window-vertically to split-window-above-each-other
17421 and provide defalias for old definition.
17422 (split-window-side-by-side, split-window-horizontally):
17423 Rename split-window-horizontally to split-window-side-by-side
17424 and provide defalias for the old definition.
17425 (ctl-x-map): Move bindings for delete-window,
17426 delete-other-windows and enlarge-window here from window.c.
17427 Replace bindings for split-window-vertically and
17428 split-window-horizontally by bindings for
17429 split-window-above-each-other and split-window-side-by-side.
17430
17431 * cus-start.el (all): Remove entries for window-min-height and
17432 window-min-width. Add entries for window-splits and
17433 window-nest.
17434
17435 2011-06-09 Glenn Morris <rgm@gnu.org>
17436
17437 * calendar/appt.el (appt-mode-line): New function.
17438 (appt-check, appt-disp-window): Use it.
17439
17440 * files.el (hack-one-local-variable-eval-safep):
17441 Allow minor-modes with explicit +/-1 arguments.
17442
17443 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17444
17445 * term/xterm.el (xterm): Add defgroup.
17446 (xterm-extra-capabilities): Add defcustom to supply known xterm
17447 capabilities, skip querying them, or query them (default).
17448 (terminal-init-xterm): Use it.
17449 (terminal-init-xterm-modify-other-keys): New function to set up
17450 modifyOtherKeys support to simplify `terminal-init-xterm'.
17451
17452 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17453
17454 * window.el (resize-window-reset, resize-window-reset-1)
17455 (resize-subwindows-skip-p, resize-subwindows-normal)
17456 (resize-subwindows, resize-other-windows, resize-this-window)
17457 (resize-root-window, resize-root-window-vertically)
17458 (window-deletable-p, window-or-subwindow-p)
17459 (frame-root-window-p): New functions.
17460
17461 2011-06-09 Glenn Morris <rgm@gnu.org>
17462
17463 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17464 (ange-ftp-get-files): Use it.
17465
17466 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17467
17468 * mail/sendmail.el (mail-recover-1, mail-recover):
17469 * files.el (recover-file, recover-session):
17470 Handle dired-listing-switches not being just a single short option.
17471
17472 2011-06-09 Glenn Morris <rgm@gnu.org>
17473
17474 * calendar/appt.el (appt-display-message, appt-disp-window):
17475 Handle lists of appointments.
17476
17477 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17478
17479 * window.el (one-window-p): Move down in code.
17480 Rewrite doc-string.
17481 (window-current-scroll-bars): Rewrite doc-string.
17482 Normalize live window argument.
17483 (walk-windows, get-window-with-predicate, count-windows):
17484 Rewrite doc-string. Use window-list-1.
17485 (window-in-direction-2, window-in-direction, get-mru-window):
17486 New functions.
17487
17488 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17489
17490 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17491 Doc fix (Bug#8713).
17492
17493 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17494
17495 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17496
17497 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17498
17499 * loadhist.el (unload-feature-special-hooks):
17500 Add `comint-output-filter-functions'.
17501
17502 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17503
17504 * calendar/appt.el (appt-check): Move some initializations into the let.
17505
17506 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17507
17508 * window.el (window-height): Defalias to window-total-height.
17509 (window-width): Defalias to window-body-width.
17510
17511 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17512
17513 * image-mode.el (image-toggle-animation): New command.
17514 (image-mode-map): Bind it to RET.
17515 (image-mode): Update message.
17516 (image-toggle-display-image): Avoid a spurious cache flush.
17517 (image-transform-rotation): Doc fix.
17518 (image-transform-properties): Return quickly in the normal case.
17519 (image-animate-loop): Rename from image-animate-max-time.
17520
17521 * image.el (image-animate-max-time): Move to image-mode.el.
17522 (create-animated-image): Remove unnecessary function.
17523 (image-animate): Rename from image-animate-start. New arg.
17524 (image-animate-stop): Remove; just use image-animate-timer.
17525 (image-animate-timer): Use car-safe.
17526 (image-animate-timeout): Rename argument.
17527
17528 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17529
17530 * window.el (get-lru-window, get-largest-window): Move here from
17531 window.c. Rename first argument to ALL-FRAMES.
17532 Rephrase doc-strings.
17533 (get-buffer-window-list): Rewrite using window-list-1.
17534 Rephrase doc-string.
17535 (window-safe-min-height, window-safe-min-width): New constants.
17536 (window-size-ignore, window-min-size, window-min-size-1)
17537 (window-sizable, window-sizable-p, window-size-fixed-1)
17538 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17539 (window-max-delta-1, window-max-delta, window-resizable)
17540 (window-resizable-p, window-total-height, window-total-width)
17541 (window-body-width): New functions.
17542 (window-full-height-p, window-full-width-p): Rewrite using
17543 window-total-size.
17544 (window-body-height): Rewrite using window-body-size.
17545
17546 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17547
17548 * window.el (window-right, window-left, window-child)
17549 (window-child-count, window-last-child, window-any-p)
17550 (normalize-live-buffer, normalize-live-frame)
17551 (normalize-any-window, normalize-live-window)
17552 (window-iso-combination-p, window-iso-combined-p)
17553 (window-iso-combinations)
17554 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17555 (windows-with-parameter, window-with-parameter)
17556 (window-atom-root, make-window-atom, window-atom-check-1)
17557 (window-atom-check, window-side-check, window-check):
17558 New functions.
17559 (ignore-window-parameters, window-sides, window-sides-vertical)
17560 (window-sides-slots): New variables.
17561 (window-size-fixed): Move down in code. Minor doc-string fix.
17562
17563 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17564
17565 * comint.el (comint-dynamic-complete-as-filename)
17566 (comint-dynamic-complete-filename): Correctly call
17567 completion-in-region.
17568
17569 2011-06-05 Deniz Dogan <deniz@dogan.se>
17570
17571 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17572 in last change.
17573
17574 2011-06-05 Deniz Dogan <deniz@dogan.se>
17575
17576 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17577 (rcirc): Use it to prompt for encryption.
17578
17579 2011-06-05 Roland Winkler <winkler@gnu.org>
17580
17581 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17582 (bibtex-search-entries): New command bound to C-c C-a.
17583 (bibtex-display-entries): New function.
17584
17585 2011-06-05 Roland Winkler <winkler@gnu.org>
17586
17587 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17588 (bibtex-insert-kill): After yanking insert newline if necessary.
17589 (bibtex-initialize): Call bibtex-string-files-init only once.
17590 (bibtex-mode): Do not call easy-menu-add.
17591 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17592 (bibtex-yank): Set arg properly if nil.
17593
17594 2011-06-05 Roland Winkler <winkler@gnu.org>
17595
17596 * textmodes/bibtex.el (bibtex-search-entry-globally):
17597 New variable.
17598 (bibtex-search-entry): Use it.
17599
17600 2011-06-05 Roland Winkler <winkler@gnu.org>
17601
17602 * textmodes/bibtex.el (bibtex-entry-format): New option
17603 sort-fields.
17604 (bibtex-format-entry, bibtex-reformat): Honor this option.
17605 (bibtex-parse-entry): Return fields in proper order.
17606
17607 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17608
17609 * doc-view.el (doc-view-remove-if): Move computation of result out
17610 of `dolist' to silence misleading lexical-binding warning.
17611
17612 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17613
17614 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17615 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17616
17617 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17618
17619 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17620 "SunOS 5.10".
17621
17622 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17623
17624 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17625 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17626 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17627 (tramp-parse-putty):
17628 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17629 (tramp-completion-function-alist-ssh)
17630 (tramp-completion-function-alist-telnet)
17631 (tramp-completion-function-alist-su)
17632 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17633 cookie.
17634
17635 * net/tramp-ftp.el:
17636 * net/tramp-sh.el:
17637 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17638 load "tramp.el" `tramp-set-completion-function'.
17639
17640 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17641
17642 * shell.el: Require and use pcomplete.
17643 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17644 (shell-completion-vars): Set pcomplete-default-completion-function.
17645
17646 2011-06-04 Deniz Dogan <deniz@dogan.se>
17647
17648 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17649 `memq' (Bug#8799).
17650
17651 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17652
17653 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17654
17655 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17656
17657 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17658 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17659 * vc/log-view.el (log-view-beginning-of-defun):
17660 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17661 (smerge-refine-forward, smerge-refine-chopup-region):
17662 Silence warning for unused `dotimes' counter variables.
17663
17664 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17665
17666 * net/tramp.el (tramp-with-progress-reporter): Rename from
17667 with-progress-reporter. Use `declare'.
17668 * net/tramp-smb.el:
17669 * net/tramp-sh.el:
17670 * net/tramp-gvfs.el: Update all uses.
17671
17672 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17673
17674 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17675 buffer isn't killed before making it current.
17676
17677 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 Silence various byte-compiler warnings.
17680 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17681 `access-type' and new obsolescence format.
17682 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17683 new format.
17684 (byte-compile-check-variable): New `access-type' argument.
17685 Only warn if the access-type is obsolete.
17686 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17687 (byte-compile-variable-set): Adjust callers.
17688 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17689 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17690 setting it as obsolete.
17691 * simple.el (minibuffer-completing-symbol):
17692 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17693 access as obsolete.
17694 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17695 obsolete yet.
17696 * international/quail.el (quail-mouse-choose-completion): Remove unused
17697 code referring to obsolete var.
17698 (quail-choose-completion-string): Remove.
17699 * server.el (server-clients-with, server-kill-buffer-query-function)
17700 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17701 * proced.el (proced-send-signal):
17702 * emacs-lisp/lisp.el (lisp-complete-symbol):
17703 Replace completion-annotate-function with completion-extra-properties.
17704
17705 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17706
17707 * simple.el (goto-line): Use read-number.
17708 (overriding-map-is-bound): Remove.
17709 (saved-overriding-map): Change default.
17710 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17711 Take the map as argument.
17712 (universal-argument, negative-argument, digit-argument): Use it.
17713 (restore-overriding-map): Adjust.
17714 (do-auto-fill): Use fill-forward-paragraph.
17715 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17716
17717 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17718 (minibuffer-inactive-mode): New major mode.
17719 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17720 the *Messages* buffer" hack.
17721 (mouse-popup-menubar): Don't burp if the event is a normal key.
17722
17723 Miscellaneous tweaks.
17724 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17725 lexical scoping as in subr.el's dolist and dotimes.
17726 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17727 Silence compiler warning.
17728 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17729 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17730 * international/ccl.el (ccl-compile): Trivial simplification.
17731 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17732 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17733 `printflag' argument.
17734 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17735 Purecopy the whole obsolescence data.
17736
17737 2011-06-01 Leo Liu <sdl.web@gmail.com>
17738
17739 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17740 improve doc-string as suggested by Marco Pessotto
17741 <melmothx@gmail.com>.
17742 (rcirc-print): Fix last change.
17743
17744 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17745
17746 * minibuffer.el (complete-with-action): Return nil for the metadata and
17747 boundaries of non-functional tables.
17748 (completion-table-dynamic): Return nil for the metadata.
17749 (completion-table-with-terminator): Add default case, using
17750 complete-with-action.
17751 (completion--metadata): New function.
17752 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17753 to try and avoid pathological performance problems.
17754 (completion--embedded-envvar-table): Return `category' metadata.
17755
17756 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17757
17758 * subr.el (process-alive-p): New tiny convenience function.
17759
17760 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17761
17762 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17763 content but also its previous major mode.
17764
17765 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17766
17767 * emacs-lisp/debug.el (debug): Restore the previous content of the
17768 *Backtrace* buffer when we exit with C-M-c.
17769
17770 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17771
17772 * minibuffer.el: Add metadata method to completion tables.
17773 (completion-category-overrides): New defcustom.
17774 (completion-metadata, completion--field-metadata)
17775 (completion-metadata-get, completion--styles)
17776 (completion--cycle-threshold): New functions.
17777 (completion-try-completion, completion-all-completions):
17778 Add `metadata' argument to choose completion-styles.
17779 (completion--do-completion): Use metadata to choose cycling.
17780 (completion-all-sorted-completions): Use metadata for sorting.
17781 Remove :completion-cycle-penalty which is not needed any more.
17782 (completion--try-word-completion): Add `metadata' argument.
17783 (minibuffer-completion-help): Check metadata for annotation function
17784 and sorting.
17785 (completion-file-name-table): Return `category' metadata.
17786 (minibuffer-completing-file-name): Make obsolete.
17787 * simple.el (minibuffer-completing-symbol): Make obsolete.
17788 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17789 completion-try-completion.
17790
17791 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17792
17793 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17794
17795 2011-05-30 Leo Liu <sdl.web@gmail.com>
17796
17797 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17798 (rcirc-print): Decode all incoming messages (bug#8744).
17799 (rcirc-decode-coding-system): Allow value nil for automatic coding
17800 system detection.
17801
17802 2011-06-01 Glenn Morris <rgm@gnu.org>
17803
17804 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17805
17806 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17807
17808 * image.el (image-animate-max-time): Allow nil and t values.
17809 Default to nil.
17810 (create-animated-image): Doc fix.
17811 (image-animate-start): Remove second arg; just use
17812 image-animate-max-time.
17813 (image-animate-timeout): Doc fix. Args changed.
17814
17815 * image-mode.el (image-toggle-display-image): Ensure that the
17816 image spec passed to the animate timer is the same object as in
17817 the buffer's display property (Bug#6981).
17818 (image-transform-properties): Doc fix.
17819
17820 * image.el (image-animate-max-time): Default to nil.
17821
17822 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17823
17824 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17825 entire buffer list (Bug#8184).
17826
17827 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * image.el (imagemagick-types-inhibit)
17830 (imagemagick-register-types): Doc fix.
17831
17832 2011-05-29 Deniz Dogan <deniz@dogan.se>
17833
17834 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17835 default.
17836
17837 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17838
17839 * select.el: Don't perform clipboard-manager saving in hooks;
17840 leave the hooks empty.
17841
17842 2011-05-28 Leo Liu <sdl.web@gmail.com>
17843
17844 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17845 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17846 (occur-edit-mode): New major mode (Bug#8463).
17847 (occur-after-change-function): New function.
17848 (occur-engine): Give Occur tags a read-only property.
17849
17850 2011-05-28 Kevin Ryde <user42@zip.com.au>
17851
17852 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17853
17854 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17855
17856 * bindings.el (help-echo): Make the initial non-indicator dash
17857 empty on graphical terminals (Bug#7295).
17858
17859 * files.el (auto-mode-alist): Move config rule after the
17860 in-stripping one (Bug#8547).
17861
17862 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17863
17864 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17865 setting (Bug#8740).
17866
17867 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17868
17869 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17870 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17871 (Bug#8539).
17872
17873 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17874
17875 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17876
17877 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17878
17879 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17880 (hs-hide-block-at-point, hs-find-block-beginning)
17881 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17882 (Bug#8279).
17883
17884 2011-05-28 Glenn Morris <rgm@gnu.org>
17885
17886 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17887
17888 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17889
17890 * help-fns.el (describe-function-1): If the function is a derived
17891 major mode, print the parent mode.
17892
17893 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17894 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17895
17896 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17897
17898 * minibuffer.el (completion--capf-wrapper): Check applicability before
17899 returning non-nil for non-exclusive completion data.
17900 * progmodes/etags.el (tags-completion-at-point-function):
17901 * info-look.el (info-lookup-completions-at-point): Mark as
17902 non-exclusive.
17903 (info-complete): Adjust accordingly.
17904
17905 * info-look.el: Convert to lexical-binding and completion-at-point.
17906 (info-lookup-completions-at-point): New function.
17907 (info-complete): Use it and completion-in-region.
17908
17909 2011-05-28 Drew Adams <drew.adams@oracle.com>
17910
17911 * isearch.el: Let M-e start with point at the first mismatched char.
17912 (isearch-fail-pos): New function.
17913 (isearch-edit-string): Use it.
17914
17915 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17916
17917 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17918
17919 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17920
17921 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17922 traversal functions for avl-trees.
17923 (avl-tree--stack): New struct.
17924 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17925 (avl-tree-enter): Add optional `updatefun' arg.
17926 (avl-tree--do-enter): Add optional `updatefun' arg.
17927 Change return value.
17928 (avl-tree-delete): Add optional `test' and `nilflag' args.
17929 (avl-tree--do-delete): Add `test' and `nilflag' args.
17930 Change return value.
17931 (avl-tree-member): Add optional `nilflag'
17932 (avl-tree-member-p): New function.
17933 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17934 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17935 (avl-tree-stack-empty-p): New functions.
17936
17937 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17938 avl-tree--del-balance1 and make it work both ways.
17939 (avl-tree--del-balance2): Remove.
17940 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17941 make it work both ways.
17942 (avl-tree--enter-balance2): Remove.
17943 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17944 New macros.
17945 (avl-tree--mapc, avl-tree-map): Add direction argument.
17946
17947 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17948
17949 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17950
17951 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17952
17953 * select.el: Support clipboard managers with built-in function
17954 x-clipboard-manager-save, via delete-frame-functions and
17955 kill-emacs-hook.
17956 (xselect-convert-to-targets): Add MULTIPLE target to list.
17957 (xselect-convert-to-save-targets): New function.
17958
17959 2011-05-27 Kenichi Handa <handa@m17n.org>
17960
17961 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17962 let-binding rfc2047-encode-encoded-words to nil.
17963
17964 2011-05-27 Glenn Morris <rgm@gnu.org>
17965
17966 * mail/emacsbug.el: Don't require url-util.
17967
17968 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17969
17970 * files.el (set-auto-mode):
17971 Also respect mode: entries at the end of the file. (Bug#8586)
17972
17973 2011-05-26 Glenn Morris <rgm@gnu.org>
17974
17975 * files.el (hack-local-variables-prop-line, hack-local-variables):
17976 Downcase mode names, as seems to be traditional.
17977 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17978
17979 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17980 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17981
17982 2011-05-25 Julien Danjou <julien@danjou.info>
17983
17984 * textmodes/rst.el (rst-define-level-faces): Do not define face
17985 symbol if it is already defined.
17986
17987 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17988
17989 * play/5x5.el (5x5-new-game, 5x5-randomize):
17990 Reset 5x5-solver-output to nil when a new grid is cast.
17991 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17992 these debugging traces, as defmacro breaks the compiled code.
17993
17994 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17995
17996 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17997
17998 2011-05-24 Leo Liu <sdl.web@gmail.com>
17999
18000 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18001 (vc-bzr-sha1): Adapt.
18002
18003 * sha1.el: Remove. Function `sha1' is now builtin.
18004
18005 * bindings.el: Provide sha1 feature.
18006
18007 2011-05-24 Kenichi Handa <handa@m17n.org>
18008
18009 * mail/sendmail.el: Require `rfc2047'.
18010 (mail-insert-from-field): Do not perform RFC2047 encoding.
18011 (mail-encode-header): New function.
18012 (sendmail-send-it): Set buffer-file-coding-system of the work
18013 buffer to the return value of select-message-coding-system.
18014 Call mail-encode-header.
18015
18016 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18017
18018 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18019
18020 * mail/supercite.el (sc-default-cite-frame):
18021 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18022
18023 2011-05-24 Glenn Morris <rgm@gnu.org>
18024
18025 * progmodes/python.el (brm-menu): Declare.
18026
18027 * emulation/viper.el (viper-set-hooks): Declare.
18028
18029 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18030 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18031 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18032 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18033 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18034 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18035
18036 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18037
18038 Add an :exit-function for completion-at-point.
18039
18040 * minibuffer.el (completion--done): New fun.
18041 (completion--do-completion): Use it. New arg `expect-exact'.
18042 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18043 since completion--do-completion does it for us now.
18044 (minibuffer-force-complete): Use completion--done and
18045 completion--replace. Handle sole-completion case with more care.
18046 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18047 (completion-extra-properties): New var.
18048 (completion-annotate-function): Make obsolete.
18049 (minibuffer-completion-help): Adjust accordingly.
18050 Use completion-list-insert-choice-function.
18051 (completion-at-point, completion-help-at-point):
18052 Bind completion-extra-properties.
18053 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18054 * simple.el (completion-list-insert-choice-function): New var.
18055 (completion-setup-function): Preserve it.
18056 (choose-completion): Pay attention to it, shuffle the code a bit.
18057 (choose-completion-string): New arg `insert-function'.
18058
18059 * textmodes/bibtex.el: Convert to lexical binding.
18060 (bibtex-mode-map): Use completion-at-point.
18061 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18062 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18063 (bibtex-complete): Define as obsolete alias.
18064 (bibtex-complete-internal): Remove.
18065 (bibtex-format-entry): Remove unused sub-group in regexp.
18066 * shell.el (shell--command-completion-data)
18067 (shell-environment-variable-completion):
18068 * pcomplete.el (pcomplete-completions-at-point):
18069 * comint.el (comint--complete-file-name-data): Use :exit-function
18070 instead of completion-table-with-terminator so it also works for
18071 choose-completion.
18072
18073 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18074
18075 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18076
18077 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18078 (bug#8710).
18079
18080 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18081
18082 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18083
18084 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18085 customization variable and implement: If non-nil, auto-fill will
18086 be inhibited while on topic's header line.
18087
18088 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18089
18090 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18091 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18092 always have a solution in grid size = 5 cases.
18093 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18094 (5x5-solver-output, 5x5-log-buffer): New vars.
18095 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18096 Make these variables buffer local to achieve 5x5 multi-session-ness.
18097 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18098 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18099 (5x5-solve-suggest): New funs.
18100 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18101 randomize a grid so that we ensure that there is always a solution.
18102 (5x5-make-random-grid): Allow other movement than flipping.
18103
18104 2011-05-23 Kevin Ryde <user42@zip.com.au>
18105
18106 * emacs-lisp/advice.el (ad-read-advised-function):
18107 Use `function-called-at-point' as the default, if it has
18108 advice and passes PREDICATE.
18109
18110 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18111
18112 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18113 byte-compile-lambda if it's actually a lambda.
18114
18115 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18116 Fix function quoting. Use backquote better.
18117
18118 2011-05-22 Yuanle Song <sylecn@gmail.com>
18119
18120 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18121 matching (Bug#8516).
18122
18123 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18124
18125 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18126 different face (Bug#8178).
18127
18128 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18129
18130 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18131 defface (Bug#8144).
18132
18133 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18134
18135 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18136 funcall as well (bug#8712). Warn when performing those conversions.
18137 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18138
18139 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18140
18141 2011-05-22 Glenn Morris <rgm@gnu.org>
18142
18143 * files.el (hack-local-variables-prop-line): Small simplifications.
18144 (hack-local-variables, hack-local-variables-prop-line):
18145 If MODE-ONLY, return the mode, rather than just `t'.
18146
18147 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18150
18151 2011-05-21 Glenn Morris <rgm@gnu.org>
18152
18153 * files.el (hack-local-variables-prop-line, hack-local-variables):
18154 If only interested in the mode, don't bother doing the other stuff.
18155
18156 * image-mode.el (image-after-revert-hook):
18157 Redraw all frames on which the image is visible. (Bug#8567)
18158
18159 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18160
18161 * wid-edit.el (widget-checklist-match-inline):
18162 Fix 2011-04-19 change. (Bug#8649)
18163
18164 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18165
18166 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18167 Also allow singlespace after single-letter capitals followed by a dot.
18168
18169 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18170 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18171
18172 2011-05-20 Nix <nix@esperi.org.uk>
18173
18174 * files.el (basic-save-buffer-2):
18175 Fix handling of break-hardlink-on-save with non-existent files.
18176
18177 2011-05-19 Deniz Dogan <deniz@dogan.se>
18178
18179 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18180 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18181
18182 2011-05-19 Glenn Morris <rgm@gnu.org>
18183
18184 * progmodes/f90.el (f90-type-def-re):
18185 Handle "type, bind(c)". (Bug#8691)
18186
18187 * emacs-lisp/autoload.el (batch-update-autoloads):
18188 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18189
18190 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18191
18192 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18193 property for the correct connection in case of multihops.
18194
18195 2011-05-18 Glenn Morris <rgm@gnu.org>
18196
18197 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18198 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18199
18200 Rationalize calendar handling of day and month abbrev-arrays.
18201 * calendar/calendar.el (calendar-customized-p): New function.
18202 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18203 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18204 Add :set function.
18205 (calendar-abbrev-length, calendar-day-abbrev-array)
18206 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18207 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18208 Elements may no longer be nil.
18209 (calendar-day-name, calendar-month-name):
18210 Update for changed nature of abbrev arrays.
18211 * calendar/diary-lib.el (diary-name-pattern):
18212 Update for changed nature of abbrev arrays.
18213 (diary-mark-entries-1): Update calendar-make-alist calls.
18214 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18215 * calendar/cal-html.el (cal-html-day-abbrev-array):
18216 Simply inherit from calendar-day-abbrev-array.
18217
18218 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * progmodes/grep.el (grep-mode): Disable default
18221 compilation-directory-matcher setting (bug#8684).
18222
18223 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18224
18225 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18226 instead of "head" and "tail". There were problems with SunOS 5.9,
18227 and it performs better.
18228
18229 2011-05-17 Glenn Morris <rgm@gnu.org>
18230
18231 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18232
18233 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18234 Replace obsolete function.
18235
18236 * shell.el (pcomplete-parse-arguments-function): Declare.
18237
18238 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18239 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18240 (appt-check): Doc fixes.
18241 (appt-disp-window-function, appt-delete-window-function):
18242 Remove needless special case in custom :type.
18243 (appt-display-count): Default to 0, not nil.
18244 (appt-check): Reset appt-display-count to 0, not nil.
18245
18246 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18247
18248 * progmodes/python.el (python-font-lock-keywords):
18249 Add the Python 3.X keyword "nonlocal" (bug#8639).
18250
18251 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18252
18253 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18254
18255 2011-05-16 Kevin Ryde <user42@zip.com.au>
18256
18257 * info-look.el (makefile-automake-mode): New setups, looking in
18258 automake manual, then makefile-mode.
18259 (makefile-mode): Remove automake manual, have it just in
18260 makefile-automake-mode since there's various things different or
18261 not relevant to plain make.
18262 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18263 believe a hypothetical automake-mode would go to makefile-mode,
18264 not the other way around.
18265
18266 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18267
18268 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18269 hunk-end tags (Bug#8672).
18270
18271 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18272 vc-annotate-show-diff-revision-at-line (Bug#8671).
18273
18274 2011-05-14 Glenn Morris <rgm@gnu.org>
18275
18276 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18277 in the middle of an existing one with multiple authors. (Bug#8645)
18278 (change-log-font-lock-keywords): Also handle multiple author lines
18279 with leading tabs. (Bug#8644)
18280
18281 * calendar/appt.el (appt-check): Rename some local variables.
18282 Some simplification/reordering.
18283
18284 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18285 (feedmail-sendmail-f-doesnt-sell-me-out)
18286 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18287 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18288 (feedmail-queue-runner-message-sender): Set :version.
18289 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18290 (bbdb-dwim-net-address, vm-mail): Declare.
18291 (feedmail-binmail-gnulinuxish-template):
18292 Rename from feedmail-binmail-linuxish-template.
18293 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18294 Use insert-buffer-substring.
18295
18296 2011-05-14 Bill Carpenter <bill@carpenter.org>
18297
18298 * mail/feedmail.el (feedmail-patch-level): Increase.
18299 (feedmail-debug): New custom group.
18300 (feedmail-confirm-outgoing-timeout)
18301 (feedmail-sendmail-f-doesnt-sell-me-out)
18302 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18303 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18304 (feedmail-sender-line, feedmail-from-line)
18305 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18306 (feedmail-spray-this-address)
18307 (feedmail-spray-address-fiddle-plex-list)
18308 (feedmail-queue-use-send-time-for-date)
18309 (feedmail-queue-use-send-time-for-message-id)
18310 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18311 (feedmail-buffer-eating-function):
18312 Doc fixes.
18313 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18314 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18315 (feedmail-message-action-scroll-down): New functions.
18316 (feedmail-queue-directory, feedmail-queue-draft-directory):
18317 Use expand-file-name.
18318 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18319 Remove C-v help entry.
18320 (feedmail-queue-buffer-file-name): New variable.
18321 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18322 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18323 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18324 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18325 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18326 (feedmail-message-action-toggle-spray)
18327 (feedmail-run-the-queue-no-prompts)
18328 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18329 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18330 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18331 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18332 (feedmail-envelope-deducer, feedmail-fiddle-from)
18333 (feedmail-fiddle-sender, feedmail-default-date-generator)
18334 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18335 (feedmail-fiddle-spray-address)
18336 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18337 (feedmail-fiddle-list-of-fiddle-plexes)
18338 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18339 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18340 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18341 Change default. Doc fix.
18342 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18343 (feedmail-binmail-linuxish-template): New constant.
18344 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18345 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18346 (feedmail-send-it): Add debug call.
18347 Use feedmail-queue-buffer-file-name, and
18348 feedmail-send-it-immediately-wrapper.
18349 (feedmail-message-action-send): Add debug call.
18350 Use feedmail-send-it-immediately-wrapper.
18351 (feedmail-queue-express-to-queue): Add debug call.
18352 Run feedmail-queue-express-hook.
18353 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18354 (feedmail-message-action-help-blat):
18355 Rename from feedmail-queue-send-edit-prompt-help-first.
18356 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18357 Check line-endings. Handle errors better.
18358 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18359 Doc fix. Add debug call.
18360 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18361 Use feedmail-queue-send-edit-prompt-inner.
18362 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18363 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18364 from feedmail-queue-send-edit-prompt.
18365 (feedmail-queue-send-edit-prompt-help)
18366 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18367 (feedmail-tidy-up-slug): Add debug call.
18368 Respect feedmail-queue-slug-suspect-regexp.
18369 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18370 (feedmail-dump-message-to-queue): Add debug call.
18371 Expand queue-directory.
18372 (feedmail-dump-message-to-queue): Change message slightly.
18373 Use feedmail-say-chatter.
18374 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18375 (feedmail-send-it-immediately-wrapper): New function.
18376 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18377 Insert empty string rather than newline. Handle full-frame case.
18378 Use catch/throw. Use feedmail-say-chatter.
18379 (feedmail-fiddle-from): Try mail-host-address.
18380 (feedmail-default-message-id-generator): Doc fix.
18381 Bind system-time-locale. Handle missing end.
18382 (feedmail-fiddle-x-mailer): Add debug call.
18383 Handle feedmail-x-mailer-line being nil.
18384 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18385 Add debug call. Use buffer-substring-no-properties.
18386 (feedmail-say-debug, feedmail-say-chatter): New functions.
18387 (feedmail-find-eoh): Give an explicit error.
18388
18389 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18390
18391 * net/newst-treeview.el (newsticker-treeview-face): Change default
18392 family from helvetica to sans.
18393 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18394 etc/images/newsticker.
18395
18396 * net/newst-reader.el (newsticker-feed-face): Change default
18397 family from helvetica to sans.
18398
18399 * net/newst-plainview.el (newsticker-new-item-face)
18400 (newsticker-old-item-face, newsticker-immortal-item-face)
18401 (newsticker-obsolete-item-face, newsticker-date-face)
18402 (newsticker-statistics-face): Change default family from
18403 helvetica to sans.
18404 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18405 etc/images/newsticker.
18406
18407 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18408 (newsticker--process-auto-mark-filter-match): Tell user about
18409 auto-marking.
18410
18411 2011-05-13 Didier Verna <didier@xemacs.org>
18412
18413 Common Lisp indentation improvements on defmethod and lambda-lists.
18414 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18415 TODO entries.
18416 (lisp-lambda-list-keyword-parameter-indentation)
18417 (lisp-lambda-list-keyword-parameter-alignment)
18418 (lisp-lambda-list-keyword-alignment): New customizable user options.
18419 (lisp-indent-defun-method): Improve docstring.
18420 (extended-loop-p): Fix comment.
18421 (lisp-indent-lambda-list-keywords-regexp): New variable.
18422 (lisp-indent-lambda-list): New function.
18423 (lisp-indent-259): Use it.
18424 (lisp-indent-defmethod): Support for more than one
18425 method qualifier and properly indent methods lambda-lists.
18426 (defgeneric): Provide a missing common-lisp-indent-function property.
18427
18428 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18431 bounds for the empty string (bug#8667).
18432
18433 2011-05-13 Glenn Morris <rgm@gnu.org>
18434
18435 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18436
18437 * mail/sendmail.el (sendmail-program): Try executable-find first.
18438 (sendmail-send-it): `sendmail-program' cannot be unbound.
18439
18440 * calendar/appt.el (appt-make-list): Simplify.
18441 (appt-time-msg-list): Doc fix.
18442 (appt-check): Change mode-line message at the time of the appointment.
18443
18444 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18445
18446 * progmodes/ld-script.el (ld-script-keywords)
18447 (ld-script-builtins): Update keywords list.
18448
18449 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18452
18453 * shell.el (shell-completion-vars): New function.
18454 (shell-mode):
18455 * simple.el (read-shell-command): Use it.
18456 (blink-matching-open): No need for " [...]" in minibuffer-message.
18457
18458 2011-05-12 Glenn Morris <rgm@gnu.org>
18459
18460 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18461 (appt-check): Simplify.
18462
18463 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18464
18465 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18466 literal "/dev/null".
18467
18468 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18469
18470 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18471 Fix typo.
18472
18473 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18474
18475 * progmodes/which-func.el (which-function):
18476 Use add-log-current-defun instead of add-log-current-defun-function,
18477 which might not be defined (Bug#8260).
18478
18479 2011-05-12 Glenn Morris <rgm@gnu.org>
18480
18481 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18482 Let byte-compile-initial-macro-environment always take precedence.
18483
18484 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18485
18486 * net/rcirc.el: Add support for SSL/TLS connections.
18487 (rcirc-server-alist): New field `encryption'.
18488 (rcirc): Check `encryption' settings.
18489 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18490 Merge make-local-variable into `set'.
18491 (rcirc--connection-open-p): New function.
18492 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18493 the process is not a network process (e.g. running gnutls-cli).
18494 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18495 Make rcirc-(en|de)code-coding-system local here.
18496 (rcirc-mode): Merge make-local-variable into `set'.
18497 (rcirc-parent-buffer): Make permanent buffer-local.
18498 (rcirc-multiline-minor-mode): Don't do it here.
18499 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18500 there's no server buffer.
18501
18502 2011-05-11 Glenn Morris <rgm@gnu.org>
18503
18504 * newcomment.el (comment-kill): Prefix "unused" local.
18505
18506 * term/w32console.el (get-screen-color): Declare.
18507
18508 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18509 Handle symbol elements of byte-compile-initial-macro-environment.
18510
18511 2011-05-10 Leo Liu <sdl.web@gmail.com>
18512
18513 * bookmark.el (bookmark-bmenu-mode-map):
18514 Bind bookmark-bmenu-search to `/'.
18515
18516 * mail/footnote.el: Convert to utf-8 encoding.
18517 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18518 (Footnote-unicode): New function.
18519 (footnote-style-alist): Add unicode style to the list.
18520 (footnote-style): Doc fix.
18521
18522 2011-05-10 Jim Meyering <meyering@redhat.com>
18523
18524 Fix doubled-word typos.
18525 * international/quail.el (quail-insert-kbd-layout): and and -> and
18526 * kermit.el: and and -> and
18527 * net/ldap.el (ldap-search-internal): to to -> to
18528 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18529 * progmodes/js.el (js-mode): and and -> and
18530 * textmodes/artist.el (artist-move-to-xy): at at -> at
18531 (artist-draw-region-trim-line-endings): if if -> if
18532 And Safetyc -> Safety.
18533 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18534
18535 2011-05-10 Glenn Morris <rgm@gnu.org>
18536 Stefan Monnier <monnier@iro.umontreal.ca>
18537
18538 * files.el (hack-one-local-variable-eval-safep):
18539 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18540
18541 2011-05-10 Glenn Morris <rgm@gnu.org>
18542
18543 * calendar/diary-lib.el (diary-list-entries-hook)
18544 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18545 (diary-nongregorian-marking-hook, diary-list-entries)
18546 (diary-include-other-diary-files, diary-mark-entries)
18547 (diary-mark-included-diary-files): Doc fixes.
18548
18549 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18550
18551 * misc.el: Require tabulated-list.el during compilation.
18552
18553 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18554
18555 * progmodes/compile.el (compilation-start):
18556 Run compilation-filter-hook for the async case too.
18557 (compilation-filter-hook): Doc fix.
18558
18559 2011-05-09 Deniz Dogan <deniz@dogan.se>
18560
18561 * wdired.el: Remove outdated installation comment. Fix usage
18562 comment.
18563
18564 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18565
18566 * misc.el: Implement new command `list-dynamic-libraries'.
18567 (list-dynamic-libraries--loaded-only-p): New variable.
18568 (list-dynamic-libraries--refresh): New function.
18569 (list-dynamic-libraries): New command.
18570
18571 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18572
18573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18574 Fix the ant regexp to handle end-line and end-column info from jikes.
18575 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18576 higher priority to avoid clobbering by gnu.
18577
18578 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18579
18580 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18581 if the face has existing theme settings (Bug#8454).
18582
18583 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18584
18585 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18586 Only match variables declared via `my' or `our' (Bug#8261).
18587
18588 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18589 special file names `.' and `..' (Bug#8259).
18590
18591 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18592
18593 * progmodes/grep.el (grep-mode-font-lock-keywords):
18594 Remove buffer-changing entries.
18595 (grep-filter): New function.
18596 (grep-mode): Add it to compilation-filter-hook.
18597
18598 * progmodes/compile.el (compilation-filter-hook)
18599 (compilation-filter-start): New defvars.
18600 (compilation-filter): Call compilation-filter-hook prior to
18601 updating the process mark.
18602
18603 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18604
18605 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18606
18607 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18608
18609 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18610 mailclient-send-it even if window-system is nil. (Bug#8595)
18611
18612 * term/w32console.el (terminal-init-w32console):
18613 Call get-screen-color and use its output to set the frame
18614 background-mode. (Bug#8597)
18615
18616 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18619 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18620 New functions.
18621 (defgeneric, eieio--defmethod): Use them.
18622 (eieio-defgeneric): Remove.
18623 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18624
18625 2011-05-07 Glenn Morris <rgm@gnu.org>
18626
18627 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18628 Use let rather than let*.
18629 (timeclock-find-discrep): Remove unused local.
18630
18631 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18632
18633 * calendar/appt.el (appt-time-msg-list): Doc fix.
18634
18635 2011-05-06 Noah Friedman <friedman@splode.com>
18636
18637 * apropos.el (apropos-print-doc): Only use
18638 emacs-lisp-docstring-fill-column when it is bound to an integer,
18639 per that variable's documentation.
18640
18641 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18644 and warnings are not silently discarded (e.g. use -d instead of -P).
18645
18646 2011-05-06 Glenn Morris <rgm@gnu.org>
18647
18648 * calendar/appt.el (appt-message-warning-time): Doc fix.
18649 (appt-warning-time-regexp): New option.
18650 (appt-make-list): Respect appt-message-warning-time.
18651
18652 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18653 New options.
18654 (diary-add-to-list): Strip comments from the displayed string.
18655 (diary-mode): Set comment-start and comment-end.
18656
18657 * vc/diff-mode.el (smerge-refine-subst): Declare.
18658 (diff-refine-hunk): Don't require smerge-mode when compiling.
18659
18660 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18661
18662 * simple.el (list-processes): Return nil as the docstring says.
18663
18664 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18665
18666 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18667 to "".
18668 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18669 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18670 determining of binary transfer. (Bug#7383)
18671
18672 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18673
18674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18675 Fix port computation bug. (Bug#8618)
18676
18677 2011-05-05 Glenn Morris <rgm@gnu.org>
18678
18679 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18680
18681 * simple.el (shell-dynamic-complete-functions)
18682 (comint-dynamic-complete-functions): Declare.
18683
18684 * net/network-stream.el (gnutls-negotiate):
18685 * simple.el (tabulated-list-print): Fix declarations.
18686
18687 * progmodes/gud.el (syntax-symbol, syntax-point):
18688 Remove unnecessary and incorrect declarations.
18689
18690 * emacs-lisp/check-declare.el (check-declare-scan):
18691 Handle byte-compile-initial-macro-environment in bytecomp.el.
18692
18693 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 Fix earlier half-done eieio-defmethod change (bug#8338).
18696 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18697 Streamline and change calling convention.
18698 (defmethod): Adjust accordingly and simplify.
18699 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18700 new eieio--defmethod.
18701 (slot-boundp): Minor CSE simplification.
18702
18703 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18704
18705 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18706 (glasses-make-readable): Use glasses-separate-capital-groups.
18707
18708 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18709
18710 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18711 (warning-series): Doc fix.
18712 (display-warning): Don't try to create the buffer if we just found it.
18713
18714 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18715
18716 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18717 (autoload-find-generated-file): New function.
18718 (generate-file-autoloads): Bind generated-autoload-file to
18719 buffer-file-name.
18720 (update-file-autoloads, update-directory-autoloads):
18721 Use autoload-find-generated-file. If called interactively, prompt for
18722 output file (Bug#7989).
18723 (batch-update-autoloads): Doc fix.
18724
18725 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18726
18727 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18728
18729 2011-05-04 Glenn Morris <rgm@gnu.org>
18730
18731 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18732 function, so it follows changes in calendar-date-style.
18733 (diary-fancy-date-matcher): New function.
18734 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18735 (diary-fancy-font-lock-fontify-region-function):
18736 Use diary-fancy-date-pattern as a function.
18737
18738 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18739 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18740
18741 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18742
18743 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18744 instead of positional arguments. Allow :keylist and :crlfiles
18745 arguments.
18746 (open-gnutls-stream): Call it.
18747
18748 * net/network-stream.el (network-stream-open-starttls): Adjust to
18749 call `gnutls-negotiate' with :process and :hostname arguments.
18750
18751 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18752
18753 * minibuffer.el (completion--message): New function.
18754 (completion--do-completion, minibuffer-complete)
18755 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18756 (completion--do-completion): Don't ignore completion-auto-help when in
18757 icomplete-mode.
18758
18759 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18760 internal encoding (e.g. tibetan zero is not whitespace).
18761 (global-whitespace-mode): Prefer save-current-buffer.
18762 (whitespace-trailing-regexp): Remove useless save-match-data.
18763 (whitespace-empty-at-bob-regexp): Minor simplification.
18764
18765 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18766
18767 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18768
18769 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18770
18771 * textmodes/ispell.el (ispell-add-per-file-word-list):
18772 Use `concat' to create string for insertion.
18773
18774 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18775
18776 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18777 Avoid open-line which runs post-self-insert-hook.
18778 (bibtex-fill-entry): Remove unused `end' var.
18779
18780 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18781
18782 * textmodes/ispell.el (ispell-add-per-file-word-list):
18783 Protect against `nil' value of `comment-start' (Bug#8579).
18784
18785 2011-05-03 Leo Liu <sdl.web@gmail.com>
18786
18787 * isearch.el (isearch-yank-pop): New command.
18788 (isearch-mode-map): Bind it to `M-y'.
18789 (isearch-forward): Mention it.
18790
18791 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18792
18793 * simple.el (minibuffer-complete-shell-command): Remove.
18794 (minibuffer-local-shell-command-map): Use completion-at-point.
18795 (read-shell-command): Setup completion vars here instead.
18796 (read-expression-map): Bind TAB to symbol completion.
18797
18798 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18799 error directly rather via storing it into `results'.
18800
18801 2011-05-02 Leo Liu <sdl.web@gmail.com>
18802
18803 * vc/diff.el: Fix description.
18804
18805 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18806
18807 * server.el (server-eval-at): New function.
18808
18809 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18810
18811 * net/network-stream.el (open-network-stream): Take a :nowait
18812 parameter and pass it on to `make-network-process'.
18813 (network-stream-open-plain): Ditto.
18814
18815 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18816
18817 * faces.el (face-spec-set-match-display): Don't match toolkit
18818 options on terminal frames.
18819
18820 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18821
18822 * progmodes/pascal.el: Use lexical binding.
18823 (pascal-mode-map): Remove author preferences.
18824
18825 * pcomplete.el (pcomplete-std-complete): Don't abuse
18826 completion-at-point.
18827
18828 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18829
18830 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18831 removing code that has been dead since 1991 or so.
18832
18833 * startup.el (command-line): When warning about "_emacs", use a
18834 delayed warning to allow the user to filter it out.
18835
18836 2011-04-28 Deniz Dogan <deniz@dogan.se>
18837
18838 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18839 user has not joined.
18840
18841 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18844 aren't any completions at point.
18845
18846 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18847
18848 * subr.el (display-delayed-warnings): New function.
18849 (delayed-warnings-hook): New variable.
18850
18851 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18852
18853 * minibuffer.el (completion-at-point, completion-help-at-point):
18854 Don't presume that a given completion-at-point-function will always
18855 use the same calling convention.
18856
18857 * pcomplete.el (pcomplete-completions-at-point):
18858 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18859 pcomplete-seen is non-nil.
18860 (pcomplete-comint-setup): Also recognize the new comint/shell
18861 completion functions.
18862 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18863 pcomplete-seen is non-nil.
18864
18865 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18866
18867 * calendar/icalendar.el (diary-lib): Add require statement.
18868 (icalendar--create-uid): Read out a uid from a text-property on
18869 the first character in the entry. This allows for code to add its
18870 own uid to the entry.
18871 (icalendar--convert-float-to-ical): Add export of
18872 `diary-float'-entries save for those with the optional DAY
18873 argument.
18874
18875 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18876
18877 * subr.el (shell-quote-argument): Use alternate escaping strategy
18878 when we spot a variable reference in a string.
18879
18880 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18881
18882 * cus-start.el (all): Define customization for debug-on-event.
18883
18884 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18885
18886 * subr.el (shell-quote-argument): Escape correctly under Windows.
18887
18888 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18891
18892 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18893
18894 * net/tramp.el (tramp-process-actions): Add POS argument.
18895 Delete region between POS and (pos).
18896
18897 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18898 Use `nil' position in `tramp-process-actions' call.
18899 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18900
18901 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18902 position in `tramp-process-actions' call.
18903
18904 * net/trampver.el: Update release number.
18905
18906 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18907
18908 * custom.el (defcustom): Obey lexical-binding.
18909
18910 Fix octave-inf completion problems reported by Alexander Klimov.
18911 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18912 Inherit from octave-mode-syntax-table.
18913 (inferior-octave-mode): Set info-lookup-mode.
18914 (inferior-octave-completion-at-point): New function.
18915 (inferior-octave-complete): Use it and completion-in-region.
18916 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18917 comint-filename-completion.
18918 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18919 symbol elements which shouldn't be word elements.
18920 (octave-font-lock-keywords, octave-beginning-of-defun)
18921 (octave-function-header-regexp): Adjust regexps accordingly.
18922 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18923
18924 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18925
18926 * net/gnutls.el (gnutls-errorp): Declare before first use.
18927
18928 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18929
18930 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18931 verify-error, and verify-hostname-error parameters. Check whether
18932 default trustfile exists before going to use it. Add missing
18933 argument to gnutls-message-maybe call. Return value.
18934 Reported by Claudio Bley <claudio.bley@gmail.com>.
18935 (open-gnutls-stream): Add usage example.
18936
18937 * net/network-stream.el (network-stream-open-starttls): Give host
18938 parameter to `gnutls-negotiate'.
18939 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18940 * subr.el (shell-quote-argument): Escape correctly under Windows.
18941
18942 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18943
18944 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18945 Use correct match group (bug#8438).
18946
18947 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18948
18949 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18950 (package-menu--generate): New arg specifying packages to show.
18951 (package-menu-refresh, package-menu-execute, list-packages):
18952 Callers changed.
18953 (package-show-package-list): New function, replacing deleted
18954 package--list-packages (renamed because it is non-internal).
18955
18956 * finder.el (finder-list-matches): Use package-show-package-list
18957 instead of deleted package--list-packages.
18958
18959 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18960 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18961 (vc-annotate-mode-map): Bind it to RET.
18962
18963 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18964
18965 * progmodes/etags.el (next-file): Don't use set-buffer to change
18966 buffers (Bug#8478).
18967
18968 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18969
18970 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18971
18972 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18973 (apropos-accumulator): Doc fix.
18974 (apropos-function, apropos-macro, apropos-command)
18975 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18976 (apropos-plist): Add face property.
18977 (apropos-symbols-internal): Fix indentation.
18978 (apropos-print): Simplify help, and recognize apropos-multi-type.
18979 (apropos-print-doc): Use button-type-get to extract the button's
18980 face property. Fill docstring (Bug#8352).
18981
18982 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18983
18984 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18985
18986 * play/mpuz.el (mpuz-silent): Doc fix.
18987 (mpuz-mode-map): Use mapc.
18988 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18989 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18990 Fix typos in docstrings.
18991
18992 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18993 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18994
18995 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18996
18997 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18998
18999 * minibuffer.el (completion--do-completion): Avoid the "Next char
19000 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19001
19002 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19003 mouse-2 into unread-command-events, it is interpreted correctly.
19004
19005 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19006 (image-toggle-display): Doc fix.
19007
19008 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19009
19010 * textmodes/page.el (what-page): Use line-number-at-pos to
19011 calculate line number (Bug#6825).
19012
19013 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19014
19015 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19016 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19017 Pass argument NO-DEFAULT to `find-tag-interactive'.
19018
19019 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19020
19021 Lexical-binding cleanup.
19022
19023 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19024 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19025 * progmodes/ada-prj.el (ada-prj-initialize-values)
19026 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19027 (ada-prj-show-value):
19028 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19029 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19030 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19031 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19032 * progmodes/bug-reference.el (bug-reference-push-button):
19033 * progmodes/fortran.el (fortran-line-length):
19034 * progmodes/glasses.el (glasses-change):
19035 * progmodes/octave-mod.el (octave-fill-paragraph):
19036 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19037 (python-pdbtrack-grub-for-buffer, python-sentinel):
19038 * progmodes/sql.el (sql-save-connection):
19039 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19040 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19041 Mark unused parameters.
19042
19043 * progmodes/compile.el (compilation--flush-directory-cache)
19044 (compilation--flush-parse, compile-internal): Mark unused parameters.
19045 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19046 (compilation-next-error-function): Remove unused variable `timestamp'.
19047
19048 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19049 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19050
19051 * progmodes/dcl-mode.el (dcl-end-of-command):
19052 Remove unused variable `start'.
19053 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19054 (dcl-option-value-basic, dcl-option-value-offset)
19055 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19056 Mark unused parameters.
19057 (dcl-save-local-variable): Remove unused variable `val'.
19058 (mode): Declare.
19059
19060 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19061 Mark unused parameters.
19062 (delphi-ignore-changes): Move before first use.
19063 (delphi-charset-token-at): Remove unused variable `start'.
19064 (delphi-else-start): Remove unused variable `if-count'.
19065 (delphi-comment-block-start, delphi-comment-block-end):
19066 Remove unused variable `kind'.
19067 (delphi-indent-line): Remove unused variable `new-point'.
19068
19069 * progmodes/ebrowse.el (ebrowse-files-list)
19070 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19071 Mark unused parameters. Don't quote `lambda'.
19072 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19073 Don't quote `lambda'.
19074 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19075 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19076 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19077 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19078 Use `ignore-errors'.
19079 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19080 (ebrowse-view/find-file-and-search-pattern)
19081 (ebrowse-view/find-member-declaration/definition):
19082 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19083 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19084 Rename parameter PREFIX-ARG to PREFIX.
19085 (ebrowse-tags-read-name): Remove unused variables `start' and
19086 `member-info'.
19087 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19088 to `tags-file'.
19089
19090 * progmodes/etags.el (local-find-tag-hook): Declare.
19091 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19092 Mark unused parameters.
19093
19094 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19095 (executable-interpret): Mark unused parameter.
19096
19097 * progmodes/flymake.el (flymake-process-sentinel)
19098 (flymake-after-change-function)
19099 (flymake-create-temp-with-folder-structure)
19100 (flymake-get-include-dirs-dot): Mark unused parameters.
19101 (flymake-safe-delete-directory): Remove unused variable `err'.
19102
19103 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19104 (speedbar-timer-fn, speedbar-line-text)
19105 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19106 (speedbar-center-buffer-smartly): Declare functions.
19107 (gdb-find-watch-expression): Remove unused variable `array'.
19108 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19109 (gdb-starting): Mark unused parameters.
19110 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19111 (gdb-table-string): Remove unused variable `res'.
19112 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19113 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19114 (gdb-display-buffer): Remove unused variable `cur-size'.
19115
19116 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19117 allow lexical-binding compilation.
19118 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19119 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19120 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19121 Mark unused parameters.
19122 (gud-gdb-marker-filter): Remove unused variable `match'.
19123 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19124 lambda expressions and funcall them, instead of using `fset'.
19125
19126 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19127 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19128
19129 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19130 variable `header-beg'; use `let'.
19131
19132 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19133 `restart', `last-sexp' and `at-do'.
19134
19135 * progmodes/js.el (js--debug): Mark unused parameter.
19136 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19137 (js--splice-into-items): Remove unused variable `item'.
19138 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19139
19140 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19141 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19142 (makefile-complete): Remove unused variable `try'.
19143 (makefile-fill-paragraph, makefile-match-function-end):
19144 Mark unused parameters.
19145
19146 * progmodes/octave-inf.el (inferior-octave-complete):
19147 Remove unused variable `proc'.
19148 (inferior-octave-output-digest): Mark unused parameter.
19149
19150 * progmodes/perl-mode.el (perl-calculate-indent):
19151 Remove unused variable `err'.
19152
19153 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19154 (prolog-indent-line): Mark unused parameters.
19155 (prolog-indent-line): Remove unused variable `beg'.
19156
19157 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19158 (reporter-dont-compact-list): Declare.
19159
19160 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19161 Remove unused variable `char'.
19162 (sh-debug): Mark unused parameter.
19163 (sh-get-indent-info): Remove unused variable `start'.
19164 (sh-calculate-indent): Remove unused variable `var'.
19165
19166 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19167 (simula-electric-keyword): Remove unused variable `null'.
19168 (simula-search-backward, simula-search-forward): Remove unused
19169 variables `begin' and `end'.
19170
19171 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19172 Remove unused variable `pos'.
19173 (vera-electric-tab, vera-comment-uncomment-region):
19174 Mark unused parameters.
19175 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19176
19177 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * emacs-lisp/package.el (package--builtins, package-alist)
19180 (package-load-descriptor, package-built-in-p, package-activate)
19181 (define-package, package-installed-p)
19182 (package-compute-transaction, package-buffer-info)
19183 (package--push): Doc fix. Distinguish more clearly between
19184 version strings and version lists.
19185
19186 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19187
19188 Lexical-binding cleanup.
19189
19190 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19191 (5x5-make-mutate-best):
19192 * play/fortune.el (fortune-in-buffer):
19193 * play/gomoku.el (gomoku-init-display):
19194 * play/solitaire.el (solitaire, solitaire-do-check):
19195 * play/tetris.el (tetris-default-update-speed-function):
19196 Mark unused parameters.
19197
19198 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19199 (bubbles--shift): Remove unused variable `char-org'.
19200 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19201 (bubbles--show-images): Remove unused variable `char'.
19202
19203 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19204 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19205 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19206 (decipher-analyze-buffer): Use ?\s.
19207 (decipher-make-checkpoint): Remove unused variable `mapping'.
19208
19209 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19210
19211 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19212 Remove unused variable `result'; use `let'.
19213
19214 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19215 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19216 (gametree-children-shown-p, gametree-compute-reduced-score):
19217 Use `ignore-errors'.
19218
19219 * play/handwrite.el (ps-lpr-switches): Declare.
19220 (handwrite): Remove unused variables `pmin' and `lastp'.
19221
19222 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19223
19224 * play/landmark.el (landmark-init-display)
19225 (landmark-update-naught-weights): Mark unused parameters.
19226 (landmark-y): Remove unused variable `noise'. Simplify.
19227 (landmark-human-plays): Remove unused variable `score'.
19228
19229 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19230 (mpuz-try-proposal): Remove unused variable `game'.
19231
19232 * play/zone.el (life-patterns): Declare.
19233
19234 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19235
19236 * vc/vc.el (ediff-vc-internal): Declare function.
19237
19238 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19239
19240 * shell.el: Use lexical-binding and std completion UI.
19241 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19242 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19243 comint-preoutput-filter-functions rather than on
19244 comint-output-filter-functions.
19245 (shell-command-completion, shell--command-completion-data)
19246 (shell-filename-completion, shell-environment-variable-completion)
19247 (shell-c-a-p-replace-by-expanded-directory): New functions.
19248 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19249 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19250 (shell-dynamic-complete-environment-variable): Use them.
19251 (shell-dynamic-complete-as-environment-variable)
19252 (shell-dynamic-complete-as-command): Remove.
19253 (shell-match-partial-variable): Match past point.
19254 * comint.el: Clean up use of completion-at-point-functions.
19255 (comint-completion-at-point): New function.
19256 (comint-mode): Use it completion-at-point-functions.
19257 (comint-dynamic-complete): Make it obsolete.
19258 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19259 (comint-c-a-p-replace-by-expanded-history): New function.
19260 (comint-dynamic-complete-functions)
19261 (comint-replace-by-expanded-history): Use it.
19262 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19263 termination strings. Try harder to avoid second try-completion.
19264 (completion-in-region-mode-map): Disable bindings that don't work yet.
19265
19266 * comint.el: Use lexical-binding. Require CL.
19267 (comint-dynamic-complete-functions): Use comint-filename-completion.
19268 (comint-completion-addsuffix): Tweak custom type.
19269 (comint-filename-completion, comint--common-suffix)
19270 (comint--common-quoted-suffix, comint--table-subvert)
19271 (comint--complete-file-name-data): New functions.
19272 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19273 (comint-dynamic-list-filename-completions): Use them.
19274 (comint-dynamic-simple-complete): Make obsolete.
19275
19276 * minibuffer.el (completion-in-region-mode):
19277 Keep completion-in-region-mode--predicate global.
19278 (completion-in-region--postch):
19279 Assume completion-in-region-mode--predicate is not null.
19280
19281 * progmodes/flymake.el (flymake-start-syntax-check-process):
19282 Obey `dir'. Simplify.
19283
19284 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19285 we're in VC after all.
19286
19287 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19288
19289 * vc/vc.el (vc-diff-build-argument-list-internal)
19290 (vc-version-ediff, vc-ediff): New commands.
19291 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19292
19293 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19296 add sanity check.
19297
19298 * obsolete/erc-hecomplete.el: Make obsolete.
19299 * obsolete/: Standardize obsolescence info in the header.
19300
19301 2011-04-20 Glenn Morris <rgm@gnu.org>
19302
19303 * calendar/solar.el (solar-horizontal-coordinates):
19304 Use the longitude argument rather than `calendar-longitude'.
19305 (solar-date-next-longitude): Remove unused locals.
19306
19307 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19308
19309 * whitespace.el: New version 13.2.1.
19310
19311 2011-04-20 felix <EmacsWiki> (tiny change)
19312
19313 * whitespace.el (global-whitespace-mode): Keep highlight when
19314 switching between major modes on a file.
19315
19316 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19317
19318 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19319 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19320 multi-line comments as well.
19321
19322 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19323
19324 Lexical-binding cleanup.
19325
19326 * arc-mode.el (archive-mode-revert):
19327 * cmuscheme.el (scheme-interactively-start-process):
19328 * custom.el (custom-initialize-delay):
19329 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19330 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19331 * emacs-lock.el (emacs-lock-clear-sentinel):
19332 * ezimage.el (defezimage):
19333 * follow.el (follow-avoid-tail-recenter):
19334 * fringe.el (set-fringe-mode-1):
19335 * generic-x.el (bat-generic-mode-compile):
19336 * help-mode.el (help-info-variable, help-do-xref)
19337 (help-mode-revert-buffer):
19338 * help.el (view-emacs-todo):
19339 * iswitchb.el (iswitchb-completion-help):
19340 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19341 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19342 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19343 * locate.el (locate-update):
19344 * longlines.el (longlines-encode-region)
19345 (longlines-after-change-function):
19346 * outline.el (outline-isearch-open-invisible):
19347 * ps-def.el (declare-function, charset-dimension, char-width)
19348 (encode-char):
19349 * ps-mule.el (ps-mule-plot-string):
19350 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19351 (recentf-edit-list-select, recentf-edit-list-validate)
19352 (recentf-open-files-action):
19353 * rect.el (delete-whitespace-rectangle-line)
19354 (rectangle-number-line-callback):
19355 * register.el (window-configuration-to-register)
19356 (frame-configuration-to-register):
19357 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19358 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19359 (xselect-convert-to-targets, xselect-convert-to-delete)
19360 (xselect-convert-to-filename, xselect-convert-to-charpos)
19361 (xselect-convert-to-lineno, xselect-convert-to-colno)
19362 (xselect-convert-to-os, xselect-convert-to-host)
19363 (xselect-convert-to-user, xselect-convert-to-class)
19364 (xselect-convert-to-name, xselect-convert-to-integer)
19365 (xselect-convert-to-atom, xselect-convert-to-identity):
19366 * subr.el (declare, ignore, process-kill-without-query)
19367 (text-clone-maintain):
19368 * terminal.el (te-get-char, te-tic-sentinel):
19369 * tool-bar.el (tool-bar-make-keymap):
19370 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19371 * type-break.el (type-break-mode, type-break-noninteractive-query):
19372 * view.el (View-back-to-mark):
19373 * wid-browse.el (widget-browse-action, widget-browse-widget)
19374 (widget-browse-widgets, widget-browse-sexp):
19375 * widget.el (define-widget-keywords):
19376 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19377 Mark unused parameters.
19378
19379 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19380 (align-areas): Remove unused variable `look'.
19381 (align-region): Remove unused variables `real-end' and `pos-list'.
19382
19383 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19384
19385 * bindings.el (mode-line-modified, mode-line-remote):
19386 Mark unused parameters.
19387 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19388
19389 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19390 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19391
19392 * comint.el (comint-history-isearch-pop-state)
19393 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19394 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19395 (comint-substitute-in-file-name): Doc fix.
19396
19397 * completion.el (cmpl-statistics-block): Mark unused parameter.
19398 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19399 (save-completions-to-file, load-completions-from-file):
19400 Remove unused local variable `e'.
19401
19402 * composite.el (compose-chars): Remove unused variable `len'.
19403 (lgstring-insert-glyph): Remove unused variable `g'.
19404 (compose-glyph-string): Remove unused variables `ascent',
19405 `descent', `lbearing' and `rbearing'.
19406 (compose-glyph-string-relative): Remove unused variables
19407 `lbearing', `rbearing' and `wadjust'.
19408 (compose-gstring-for-graphic): Remove unused variables `header',
19409 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19410 (compose-gstring-for-terminal): Remove unused variables `header'
19411 and `nchars'. Use `let', not `let*'.
19412
19413 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19414 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19415 (Custom-buffer-done, custom-buffer-create-internal)
19416 (custom-browse-visibility-action, custom-browse-group-tag-action)
19417 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19418 (widget-magic-mouse-down-action, custom-toggle-parent)
19419 (custom-add-parent-links, custom-toggle-hide-variable)
19420 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19421 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19422 (custom-face-menu-create, custom-variable-menu-create, get)
19423 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19424 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19425 (customize-apropos): Remove unused variable `tests'.
19426 (custom-group-value-create): Remove unused variable `hidden-p'.
19427 (sort-fold-case): Declare.
19428
19429 * cus-theme.el (custom-reset-standard-faces-list)
19430 (custom-reset-standard-variables-list): Declare.
19431 (customize-create-theme, custom-theme-revert, custom-theme-write)
19432 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19433 Mark unused parameters.
19434
19435 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19436
19437 * delim-col.el (delimit-columns-max): Move defvar before first use.
19438
19439 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19440 (describe-char): Don't quote `lambda'. Mark unused parameter.
19441
19442 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19443 (auto-insert): Declare.
19444 (desktop-restore-file-buffer): Rename desktop-* parameters;
19445 mark unused ones.
19446 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19447 (desktop-buffer): Rename desktop-* parameters.
19448
19449 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19450 (dframe-reposition-frame-xemacs, dframe-help-echo)
19451 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19452 Mark unused parameters.
19453
19454 * dired-aux.el (backup-extract-version-start, overwrite-query)
19455 (overwrite-backup-query, rename-regexp-query)
19456 (rename-non-directory-query): Declare.
19457 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19458 (dired-add-entry): Remove unused variable `orig-file-name'.
19459 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19460 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19461 `dired-copy-preserve-time' directly.
19462 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19463 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19464
19465 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19466 (dired-virtual-revert, dired-make-relative-symlink):
19467 Mark unused parameters.
19468 (manual-program): Declare.
19469 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19470 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19471 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19472
19473 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19474
19475 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19476
19477 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19478 Declare.
19479
19480 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19481
19482 * electric.el (Electric-command-loop): Rename parameter
19483 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19484
19485 * expand.el (expand-in-literal): Remove unused variable `here'.
19486
19487 * facemenu.el (facemenu-add-new-color):
19488 Remove unused variable `docstring'.
19489
19490 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19491 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19492 (face-attr-construct): Mark unused parameter. Doc fix.
19493 (read-color): Remove unused variable `hex-string'.
19494
19495 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19496 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19497 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19498 (display-buffer-other-frame): Remove unused variable `old-window'.
19499 (kill-buffer-hook): Declare.
19500 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19501 Mark unused parameters.
19502 (after-find-file): Pass 1 to `auto-save-mode', not t.
19503
19504 * files-x.el (auto-insert): Declare.
19505 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19506
19507 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19508 variable `buf'. Mark unused parameter.
19509 (find-lisp-insert-directory): Mark unused parameter.
19510
19511 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19512 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19513 (format-common-tail): Remove, unused.
19514 (format-deannotate-region): Remove unused variable `loc'.
19515 (format-annotate-region): Remove unused variable `p'.
19516 (format-annotate-single-property-change): Remove unused variables
19517 `default' and `tail'.
19518
19519 * forms.el (read-file-filter): Declare.
19520 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19521
19522 * frame.el (frame-creation-function-alist): Mark unused parameter.
19523 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19524
19525 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19526 Remove unused parameters.
19527 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19528 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19529
19530 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19531 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19532 (hfy-prepare-tag-map): Mark unused parameters.
19533 (htmlfontify-buffer): Use `called-interactively-p'.
19534
19535 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19536 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19537 (ibuffer-do-occur): Mark unused parameters.
19538 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19539 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19540
19541 * ibuffer.el: Don't quote `lambda'.
19542 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19543 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19544 Mark unused parameters.
19545
19546 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19547 (ido-completing-read): Mark unused parameters.
19548 (ido-copy-current-word): Mark unused parameters;
19549 remove unused variable `name'.
19550 (ido-sort-merged-list): Remove unused parameter `dirs'.
19551
19552 * ielm.el (ielm-input-sender): Mark unused parameter.
19553 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19554 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19555 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19556 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19557 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19558
19559 * image-dired.el (image-dired-display-thumbs): Remove unused
19560 variables `curr-file' and `count'.
19561 (image-dired-remove-tag): Remove unused variable `start'.
19562 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19563 variable `curr-file'
19564 (image-dired-rotate-original): Remove unused variable `temp-file'.
19565 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19566 Remove unused variable `file'.
19567 (image-dired-gallery-generate): Remove unused variable `curr'.
19568 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19569
19570 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19571
19572 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19573
19574 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19575
19576 * isearch.el (minibuffer-history-symbol): Declare.
19577 (isearch-edit-string): Remove unused variable `err'.
19578 (isearch-message-prefix, isearch-message-suffix):
19579 Mark unused parameters.
19580
19581 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19582
19583 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19584
19585 * makesum.el (double-column): Remove unused variable `cnt'.
19586
19587 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19588 (ido-ignore-item-temp-list): Declare.
19589
19590 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19591 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19592 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19593 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19594 `mouse-col-delta'.
19595
19596 * mouse-sel.el (mouse-extend-internal):
19597 Remove unused variable `orig-window-frame'.
19598
19599 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19600 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19601 Move declarations before first use.
19602 (pcomplete-opt): Mark unused parameters; doc fix.
19603
19604 * proced.el (proced-revert): Mark unused parameter.
19605 (proced-send-signal): Remove unused variable `err'.
19606
19607 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19608 Rename parameter PREFIX-ARG to ARG.
19609 (ps-basic-plot-string, ps-basic-plot-whitespace):
19610 Mark unused parameters.
19611
19612 * replace.el (replace-count): Define.
19613 (occur-revert-function): Mark unused parameters.
19614 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19615 (isearch-case-fold-search, isearch-string): Declare.
19616 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19617 bind `case-fold-search'. Remove unused variables `beg' and `end',
19618 and simplify.
19619 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19620 COUNT and bind `replace-count'.
19621 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19622 to COUNT.
19623
19624 * savehist.el (print-readably, print-string-length): Declare.
19625
19626 * shadowfile.el (shadow-expand-cluster-in-file-name):
19627 Remove unused variable `cluster'.
19628 (shadow-copy-file): Remove unused variable `i'.
19629 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19630 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19631 (shadow-define-literal-group, shadow-define-regexp-group)
19632 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19633
19634 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19635 (shell): Use `called-interactively-p'.
19636 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19637
19638 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19639 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19640 (delete-backward-char): Remove unused variable `ocol'.
19641 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19642 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19643 (event-apply-hyper-modifier, event-apply-shift-modifier)
19644 (event-apply-control-modifier, event-apply-meta-modifier):
19645 Mark unused parameters.
19646 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19647 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19648
19649 * speedbar.el (speedbar-ignored-directory-expressions)
19650 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19651 (speedbar-find-file, speedbar-dir-follow)
19652 (speedbar-directory-buttons-follow, speedbar-tag-find)
19653 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19654 (speedbar-buffers-line-directory, speedbar-buffer-click):
19655 Mark unused parameters.
19656 (speedbar-tag-file): Remove unused variable `mode'.
19657 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19658
19659 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19660
19661 * talk.el (talk): Remove unused variable `display'.
19662
19663 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19664 (tar-write-region-annotate): Mark unused parameter.
19665
19666 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19667 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19668 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19669 warning by another.
19670
19671 * time-stamp.el (time-stamp-string-preprocess):
19672 Remove unused variable `require-padding'.
19673
19674 * tree-widget.el (widget-glyph-enable): Declare.
19675 (tree-widget-action): Mark unused parameter.
19676
19677 * w32-fns.el (x-get-selection): Mark unused parameter.
19678 (autoload-make-program, generated-autoload-file): Declare.
19679
19680 * wdired.el (wdired-revert): Mark unused parameters.
19681 (wdired-xcase-word): Remove unused variable `err'.
19682
19683 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19684 (whitespace-help-scroll): Remove unused variable `data-help'.
19685
19686 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19687 (widget-image-insert, widget-after-change, default)
19688 (widget-default-format-handler, widget-default-notify)
19689 (widget-default-prompt-value, widget-info-link-action)
19690 (widget-url-link-action, widget-function-link-action)
19691 (widget-variable-link-action, widget-file-link-action)
19692 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19693 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19694 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19695 (widget-insert-button-action, widget-delete-button-action, visibility)
19696 (widget-documentation-link-action, widget-documentation-string-action)
19697 (widget-const-prompt-value, widget-regexp-match, symbol)
19698 (widget-coding-system-prompt-value)
19699 (widget-key-sequence-value-to-external, sexp)
19700 (widget-sexp-value-to-internal, character, vector, cons)
19701 (widget-choice-prompt-value, widget-boolean-prompt-value)
19702 (widget-color--choose-action): Mark unused parameters.
19703 (widget-item-match-inline, widget-choice-match-inline)
19704 (widget-checklist-match, widget-checklist-match-inline)
19705 (widget-group-match): Rename parameter VALUES to VALS.
19706 (widget-field-value-set): Remove unused variable `size'.
19707 (widget-color-action): Remove unused variables `value' and `start'.
19708
19709 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19710 variable `dir'. Doc fix.
19711 (windmove-find-other-window): Don't pass it.
19712
19713 * window.el (count-windows): Mark unused parameter.
19714 (bw-adjust-window): Remove unused variable `err'.
19715
19716 * woman.el (woman-file-name): Remove unused variable `default'.
19717 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19718 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19719 (global-font-lock-mode): Declare.
19720 (woman-decode-region): Mark unused parameter.
19721 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19722
19723 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19724 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19725 (x-dnd-handle-moz-url): Remove unused variable `title'.
19726 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19727
19728 * xml.el (xml-parse-tag, xml-parse-attlist):
19729 Remove unused variable `pos'.
19730
19731 2011-04-19 Glenn Morris <rgm@gnu.org>
19732
19733 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19734 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19735 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19736 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19737 * calendar/cal-html.el (cal-html-insert-minical):
19738 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19739 (calendar-mark-date-pattern):
19740 Prefix "unused" locals.
19741
19742 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19743 optional argument `style'.
19744
19745 * calendar/appt.el (appt-make-list):
19746 * calendar/cal-china.el (calendar-chinese-date-string):
19747 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19748 (diary-hebrew-yahrzeit):
19749 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19750 * calendar/calendar.el (calendar-generate-window):
19751 * calendar/time-date.el (time-to-days):
19752 Remove unused local variables.
19753
19754 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19755
19756 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19757 glyphless-char-display table.
19758 (tabulated-list-glyphless-char-display): New var.
19759
19760 2011-04-18 Sam Steingold <sds@gnu.org>
19761
19762 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19763 to acknowledgments.
19764
19765 2011-04-17 Glenn Morris <rgm@gnu.org>
19766
19767 * calendar/diary-lib.el (diary-sexp-entry):
19768 * calendar/holidays.el (holiday-sexp):
19769 Set debug-on-error rather than the removed stack-trace-on-error.
19770
19771 2011-04-16 Glenn Morris <rgm@gnu.org>
19772
19773 * progmodes/f90.el: Use lexical-binding.
19774 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19775
19776 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19777
19778 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19779 (mail-mode): Setup mailalias completion here instead.
19780 * mail/mailalias.el: Use lexical-binding.
19781 (pattern, mailalias-done): Declare dynamic.
19782 (mail-completion-at-point-function): New function, from mail-complete.
19783 (mail-complete): Use it.
19784 (mail-completion-expand): New function.
19785 (mail-get-names): Use it.
19786 (mail-directory, mail-directory-process, mail-directory-stream):
19787 Don't use `pattern' for lexically bound arg.
19788
19789 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19790
19791 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19792 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19793 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19794
19795 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19796 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19797 (byte-interactive-p): Define them again, for use when inlining
19798 old code.
19799
19800 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19801
19802 * loadup.el: Use `string-to-number', not `string-to-int'.
19803
19804 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19805
19806 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19807 gud-gdb-complete-command.
19808 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19809 (gud-gdb-completion-at-point): New function.
19810 (gud-gdb-completions): Remove.
19811
19812 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19813
19814 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19815 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19816 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19817 whether `executable-find' is bound.
19818
19819 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19820
19821 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * minibuffer.el (completion-in-region-mode-predicate)
19824 (completion-in-region-mode--predicate): New vars.
19825 (completion-in-region, completion-in-region--postch)
19826 (completion-in-region-mode): Use them.
19827 (completion--capf-wrapper): Also return the hook function.
19828 (completion-at-point, completion-help-at-point):
19829 Adjust and provide a predicate.
19830
19831 Preserve arg names for advice of subr and lexical functions (bug#8457).
19832 * help-fns.el (help-function-arglist): Consolidate the subr and
19833 new-byte-code cases. Add argument `preserve-names' to extract names
19834 from the docstring when needed.
19835 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19836 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19837 (ad-arglist): Use help-function-arglist's new arg.
19838 (ad-definition-type): Use cond.
19839
19840 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19841
19842 * autorevert.el (auto-revert-handler):
19843 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19844 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19845 Don't quote lambda.
19846
19847 * image-mode.el (image-transform-set-scale):
19848 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19849
19850 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19851
19852 * net/network-stream.el (network-stream-open-starttls): Only do
19853 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19854 Upgrades via gnutls-cli are too slow to be done opportunistically.
19855
19856 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19857
19858 * dframe.el (dframe-current-frame): Remove spurious quote.
19859
19860 2011-04-12 Glenn Morris <rgm@gnu.org>
19861
19862 * calendar/cal-tex.el (cal-tex-end-document):
19863 Try to automatically use latin1 input if needed.
19864
19865 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19866 Don't try to cons a mark onto an empty element.
19867
19868 2011-04-11 Leo Liu <sdl.web@gmail.com>
19869
19870 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19871 buffers.
19872 (ido-kill-buffer-at-head): Support killing virtual buffers.
19873
19874 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19875
19876 * minibuffer.el (completion-show-inline-help): New var.
19877 (completion--do-completion, minibuffer-complete)
19878 (minibuffer-force-complete, minibuffer-complete-word):
19879 Inhibit minibuffer messages if completion-show-inline-help is nil.
19880
19881 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19882 to avoid interference from inline help (Bug#5849).
19883
19884 2011-04-10 Leo Liu <sdl.web@gmail.com>
19885
19886 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19887 Fix typo.
19888
19889 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19890
19891 * image-mode.el (image-toggle-display-image): Signal an error if
19892 not in Image mode.
19893 (image-transform-mode, image-transform-resize)
19894 (image-transform-set-rotation): Doc fix.
19895 (image-transform-set-resize): Delete.
19896 (image-transform-set-scale, image-transform-fit-to-height)
19897 (image-transform-fit-to-width): Handle image-toggle-display-image
19898 and image-transform-resize directly.
19899
19900 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19901
19902 * doc-view.el (doc-view-fit-width-to-window)
19903 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19904 New functions for fitting the shown image to the Emacs window size.
19905 (doc-view-mode-map): Add bindings for the new functions.
19906
19907 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19908
19909 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19910 Fix typo in docstring.
19911
19912 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19913
19914 * files.el (file-size-human-readable): Produce one digit after
19915 decimal, like "ls -lh" does.
19916
19917 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19918 the file size representation.
19919
19920 * simple.el (list-processes): If async subprocesses are not
19921 available, error out with a clear error message.
19922
19923 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19924
19925 * help.el (help-form-show): New function, to be called from C.
19926 Put help-form output in a buffer named differently than *Help*.
19927
19928 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19929
19930 * files.el (file-size-human-readable): New function.
19931
19932 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19933 computing the representation inline. Don't require `cl'.
19934
19935 2011-04-08 Glenn Morris <rgm@gnu.org>
19936
19937 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19938
19939 * net/browse-url.el (browse-url-firefox):
19940 Test system-type, not system-configuration.
19941
19942 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19943 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19944 Use log-edit-empty-buffer-p. (Bug#7598)
19945
19946 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19947 (rlogin-mode-map): Initialize in the defvar.
19948 (rlogin): Use ignore-errors.
19949
19950 * replace.el (occur-mode-map): Some fixes for menu items.
19951
19952 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19953
19954 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19955
19956 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19957
19958 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19959 issuing unused warnings.
19960
19961 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19962 macro directly.
19963
19964 * simple.el: Lisp reimplement of list-processes. Based on an
19965 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19966 (process-menu-mode): New major mode.
19967 (list-processes--refresh, list-processes):
19968 (process-menu-visit-buffer): New functions.
19969
19970 * files.el (save-buffers-kill-emacs): Don't assume any return
19971 value of list-processes, which is undocumented anyway.
19972
19973 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19974
19975 * emacs-lisp/tabulated-list.el: New file.
19976
19977 * emacs-lisp/package.el: Use Tabulated List mode.
19978 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19979 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19980 table format using Tabulated List mode variables.
19981 (package--push): New macro, replacing package-list-maybe-add.
19982 (package-menu--generate): Use package--push. Renamed from
19983 package--generate-package-list.
19984 (package-menu-refresh, list-packages): Use it.
19985 (package-menu--print-info): Rename from package-print-package.
19986 Return insertion data instead of inserting it directly.
19987 (package-menu-describe-package, package-menu-execute):
19988 Use tabulated-list-get-id.
19989 (package-menu-mark-delete, package-menu-mark-install)
19990 (package-menu-mark-unmark, package-menu-backup-unmark)
19991 (package-menu-mark-obsolete-for-deletion):
19992 Use tabulated-list-put-tag.
19993 (package--list-packages, package-menu-revert)
19994 (package-menu-get-package, package-menu-get-version)
19995 (package-menu-sort-by-column): Functions deleted.
19996 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19997 (package-menu--status-predicate, package-menu--version-predicate)
19998 (package-menu--name-predicate)
19999 (package-menu--description-predicate): Handle arguments in the
20000 Tabulated List format.
20001 (package-list-packages-no-fetch): Call list-packages.
20002
20003 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20004
20005 * files.el (after-find-file-from-revert-buffer): Remove variable.
20006 (after-find-file): Don't bind it.
20007 (revert-buffer-in-progress-p): New variable.
20008 (revert-buffer): Bind it.
20009 Pass nil for `after-find-file-from-revert-buffer'.
20010
20011 * saveplace.el (save-place-find-file-hook): Use new variable
20012 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20013
20014 2011-04-06 Glenn Morris <rgm@gnu.org>
20015
20016 * Makefile.in (AUTOGEN_VCS): New variable.
20017 (autoloads): Use $AUTOGEN_VCS.
20018
20019 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20020 * calendar/calendar.el (calendar-mode-map):
20021 Check for toolkit scroll bars. (Bug#8305)
20022
20023 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20024
20025 * minibuffer.el (completion-in-region--postch)
20026 (completion-in-region-mode): Remove unnecessary messages.
20027
20028 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20029
20030 * font-lock.el (font-lock-refresh-defaults):
20031 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20032 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20033
20034 * info.el (Info-directory-list, Info-read-node-name-2)
20035 (Info-split-parameter-string): Doc fixes.
20036 (Info-virtual-nodes): Reflow docstring.
20037 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20038 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20039 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20040 Fix typos in docstrings.
20041 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20042 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20043 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20044 (Info-restore-desktop-buffer): Mark unused parameters.
20045 (Info-directory-find-file, Info-directory-find-node)
20046 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20047 (Info-virtual-index-find-node, Info-apropos-find-file)
20048 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20049 Mark unused parameters; fix typos in docstrings.
20050 (Info-virtual-index): Remove unused local variable `nodename'.
20051
20052 2011-04-05 Deniz Dogan <deniz@dogan.se>
20053
20054 * net/rcirc.el: Update my e-mail address.
20055 (rcirc-mode-map): Remove M-o binding.
20056
20057 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20058
20059 * startup.el (command-line): Save the cursor's theme-face
20060 directly, instead of using face-override-spec.
20061
20062 * custom.el (load-theme): Minor optimization in assigning faces.
20063
20064 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20065
20066 * help-fns.el (describe-variable): Complete all variables having
20067 documentation, including keywords.
20068 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20069
20070 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20071
20072 Convert to lexical-binding.
20073
20074 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20075 (bs--get-marked-string, bs--get-modified-string)
20076 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20077 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20078 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20079
20080 * ehelp.el (electric-help-execute-extended)
20081 (electric-help-ctrl-x-prefix):
20082 * hexl.el (hexl-revert-buffer-function):
20083 * linum.el (linum-after-change, linum-after-scroll):
20084 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20085
20086 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20087
20088 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20089
20090 * epa-dired.el:
20091 * epa-mail.el:
20092 * epa-hook.el:
20093 * epa-file.el:
20094 * epa.el:
20095 * epg.el: Use lexical binding.
20096
20097 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20098
20099 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20100
20101 * textmodes/flyspell.el (flyspell-word): Recognize default
20102 dictionary case for flyspell-mark-duplications-exceptions.
20103 Use regexp matching for languages.
20104 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20105 default dictionary (Bug#7926).
20106
20107 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20108
20109 * emacs-lisp/package.el (package--with-work-buffer):
20110 Recognize https URLs.
20111
20112 * net/network-stream.el: Move from gnus/proto-stream.el.
20113 Change prefix to network-stream throughout.
20114 (open-protocol-stream): Merge into open-network-stream, leaving
20115 open-protocol-stream as an alias. Handle nil BUFFER args.
20116
20117 * subr.el (open-network-stream): Move to net/network-stream.el.
20118
20119 2011-04-02 Glenn Morris <rgm@gnu.org>
20120
20121 * find-dired.el (find-exec-terminator): New option.
20122 (find-ls-option): Test for -ls support.
20123 (find-ls-subdir-switches): Test for -b in find-ls-option.
20124 (find-dired, find-grep-dired): Doc fixes.
20125 (find-dired): Use find-exec-terminator.
20126
20127 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20128 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20129 (find-name-arg): Remove purecopy.
20130
20131 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20132 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20133 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20134 accordingly. Don't add the null-device if not needed.
20135
20136 * files.el (save-some-buffers): Doc fix.
20137
20138 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20139
20140 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20141
20142 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20143
20144 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20145 Use `dolist' rather than `mapcar'.
20146
20147 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20148
20149 Add lexical binding.
20150
20151 * subr.el (apply-partially): Use new closures rather than CL.
20152 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20153 (dolist, dotimes): Use slightly different expansion for lexical code.
20154 (functionp): Move to C.
20155 (letrec): New macro.
20156 (with-wrapper-hook): Use it and apply-partially instead of CL.
20157 (eval-after-load): Preserve lexical-binding.
20158 (save-window-excursion, with-output-to-temp-buffer): Turn them
20159 into macros.
20160
20161 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20162
20163 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20164 than the arglist.
20165 (help-add-fundoc-usage): Don't add `Not documented'.
20166 (help-function-arglist): Handle closures, subroutines, and new
20167 byte-code-functions.
20168 (help-make-usage): Remove leading underscores.
20169 (describe-function-1): Handle closures.
20170 (describe-variable): Use special-variable-p for completion.
20171
20172 * files.el (lexical-binding): Declare safe.
20173
20174 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20175 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20176 (pcase): Add `let' pattern.
20177 Change memoization so it actually works.
20178 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20179 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20180 <let>: New case.
20181
20182 * emacs-lisp/macroexp.el: Use lexical binding.
20183 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20184 Don't convert ' to #' without checking that it's indeed quoting
20185 a lambda.
20186
20187 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20188 Use eval-sexp-add-defvars.
20189 (eval-sexp-add-defvars): New fun.
20190
20191 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20192
20193 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20194 Don't autoload.
20195 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20196 than the internal `byte-compile-lambda'.
20197 (defmethod): Don't hide code under quotes.
20198 (eieio-defmethod): New `code' argument.
20199
20200 * emacs-lisp/eieio-comp.el: Remove.
20201
20202 * emacs-lisp/edebug.el (edebug-eval-defun)
20203 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20204 (edebug-toggle): Avoid `eval'.
20205
20206 * emacs-lisp/disass.el (disassemble-internal): Handle new
20207 `closure' objects.
20208 (disassemble-1): Handle new byte codes.
20209
20210 * emacs-lisp/cl.el (pushnew): Silence warning.
20211
20212 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20213 (cl-byte-compile-throw): Remove.
20214 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20215
20216 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20217 closures.
20218
20219 * emacs-lisp/cconv.el: New file.
20220
20221 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20222 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20223 (byte-compile-initial-macro-environment):
20224 Handle declare-function here.
20225 (byte-compile--lexical-environment): New var.
20226 (byte-stack-ref, byte-stack-set, byte-discardN)
20227 (byte-discardN-preserve-tos): New lap codes.
20228 (byte-interactive-p): Don't use any more.
20229 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20230 New macros.
20231 (byte-compile-lapcode): Use them and handle new lap codes.
20232 (byte-compile-obsolete): Remove.
20233 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20234 (byte-compile-arglist-warn): Check late def of inlinable funs.
20235 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20236 since they should have been expanded by now.
20237 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20238 (byte-compile-from-buffer): Remove unused second arg.
20239 (byte-compile-preprocess): New function.
20240 (byte-compile-toplevel-file-form): New function to distinguish
20241 file-form calls from outside from file-form calls from hunk-handlers.
20242 (byte-compile-file-form): Simplify.
20243 (byte-compile-file-form-defsubst): Remove.
20244 (byte-compile-file-form-defmumble): Simplify now that
20245 byte-compile-lambda always returns a byte-code-function.
20246 (byte-compile): Preprocess.
20247 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20248 Remove, not used any more.
20249 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20250 (byte-compile-make-args-desc): New funs.
20251 (byte-compile-lambda): Handle lexical functions. Always return
20252 a byte-code-function.
20253 (byte-compile-reserved-constants): New var, to make up room for
20254 closed-over variables.
20255 (byte-compile-constants-vector): Obey it.
20256 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20257 (byte-compile-macroexpand-declare-function): New function.
20258 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20259 byte-code-functions.
20260 (byte-compile-form): Check obsolescence here.
20261 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20262 (byte-compile-variable-ref): Remove.
20263 (byte-compile-dynamic-variable-op): New fun.
20264 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20265 (byte-compile-variable-set): New funs.
20266 (byte-compile-discard): Add 2 args.
20267 (byte-compile-stack-ref, byte-compile-stack-set)
20268 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20269 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20270 macroexpand-all instead.
20271 (byte-compile-quote-form): Remove.
20272 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20273 (byte-compile-bind, byte-compile-unbind): New funs.
20274 (byte-compile-let): Handle let* and lexical binding.
20275 (byte-compile-let*): Remove.
20276 (byte-compile-catch, byte-compile-unwind-protect)
20277 (byte-compile-track-mouse, byte-compile-condition-case):
20278 Handle a new :fun-body form, used for lexical scoping.
20279 (byte-compile-save-window-excursion)
20280 (byte-compile-with-output-to-temp-buffer): Remove.
20281 (byte-compile-defun): Simplify.
20282 (byte-compile-stack-adjustment): New fun.
20283 (byte-compile-out): Use it.
20284 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20285
20286 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20287 handler any more.
20288
20289 * emacs-lisp/byte-opt.el: Use lexical binding.
20290 (byte-inline-lapcode): Remove (to bytecomp).
20291 (byte-compile-inline-expand): Pay attention to inlining to/from
20292 lexically bound code.
20293 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20294 any more.
20295 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20296 any more and don't call compiler-macros.
20297 (byte-compile-splice-in-already-compiled-code): Remove.
20298 (byte-code): Don't inline any more.
20299 (disassemble-offset): Receive `bytes' as argument rather than via
20300 dynamic scoping.
20301 (byte-compile-tag-number): Declare before first use.
20302 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20303 `return' even if make-spliceable.
20304 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20305 obsolete interactive-p.
20306 (byte-optimize-lapcode): Optimize new lap-codes.
20307 Don't trip up on new form of `byte-constant' lap code.
20308
20309 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20310
20311 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20312
20313 * custom.el (custom-initialize-default, custom-declare-variable):
20314 Use `defvar'.
20315
20316 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20317 New variables.
20318 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20319 (COMPILE_FIRST): Add macroexp and cconv.
20320 * makefile.w32-in: Mirror changes in Makefile.in.
20321
20322 * vc/cvs-status.el:
20323 * vc/diff-mode.el:
20324 * vc/log-edit.el:
20325 * vc/log-view.el:
20326 * vc/smerge-mode.el:
20327 * textmodes/bibtex-style.el:
20328 * textmodes/css-mode.el:
20329 * startup.el:
20330 * uniquify.el:
20331 * minibuffer.el:
20332 * newcomment.el:
20333 * reveal.el:
20334 * server.el:
20335 * mpc.el:
20336 * emacs-lisp/smie.el:
20337 * doc-view.el:
20338 * dired.el:
20339 * abbrev.el: Use lexical binding.
20340
20341 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20342
20343 * info.el (info-display-manual): New function.
20344
20345 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20346
20347 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20348
20349 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20350
20351 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20352 an entry for that server in rcirc-authinfo. (Bug#8385)
20353
20354 2011-03-31 Glenn Morris <rgm@gnu.org>
20355
20356 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20357
20358 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20359
20360 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20361
20362 * progmodes/python.el (python-default-interpreter)
20363 (python-python-command-args, python-jython-command-args)
20364 (python-which-shell, python-which-args, python-which-bufname)
20365 (python-file-queue, python-comint-output-filter-function)
20366 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20367 variables and functions.
20368
20369 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20370
20371 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20372 (completion-in-region-mode): New minor mode.
20373 (completion-in-region): Use it.
20374 (completion-in-region--data, completion-in-region-mode-map): New vars.
20375 (completion-in-region--postch): New function.
20376 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20377 New vars.
20378 (completion--capf-wrapper): New function.
20379 (completion-at-point): Use it to track well-behavedness of
20380 hook functions.
20381 (completion-help-at-point): New command.
20382
20383 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20384
20385 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20386 syntax class to search for whitespace on a single line
20387 (Message-ID: <4D938140.4030905@redhat.com>).
20388
20389 2011-03-30 Leo Liu <sdl.web@gmail.com>
20390
20391 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20392 New commands.
20393 (edit-abbrevs-map): Bind them here.
20394 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20395
20396 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20397
20398 * allout.el (allout-hide-by-annotation, allout-flag-region):
20399 Reduce possibility of overlay leakage by making them volatile.
20400
20401 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20402 hash is not shared between buffers. Mode initialization is
20403 responsible for giving it a useful starting value.
20404 (allout-item-span): Reduce possibility of overlay leakage by
20405 making them volatile.
20406 (allout-widgets-count-buttons-in-region): Add diagnostic function
20407 for tracking down button overlay leaks.
20408
20409 2011-03-29 Leo Liu <sdl.web@gmail.com>
20410
20411 * ido.el (ido-read-internal): Use the default history var
20412 minibuffer-history if no HISTORY is specified.
20413
20414 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20415
20416 * net/imap.el (imap-shell-open, imap-process-connection-type):
20417 Use imap-process-connection-type for 'shell' streams as well as
20418 Kerberos, SSL, other subprocesses.
20419
20420 2011-03-28 Leo Liu <sdl.web@gmail.com>
20421
20422 * abbrev.el (abbrev-table-empty-p): New function.
20423 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20424 nonempty ones. (Bug#5937)
20425
20426 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20427
20428 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20429
20430 2011-03-27 Leo Liu <sdl.web@gmail.com>
20431
20432 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20433 for foreground and background colors.
20434 (ansi-color-make-color-map): Adapt.
20435
20436 2011-03-25 Leo Liu <sdl.web@gmail.com>
20437
20438 * midnight.el (midnight-time-float): Remove. Note it calculates
20439 the microsecond component incorrectly and seconds-to-time does the
20440 same job.
20441 Remove redundant (require 'timer).
20442
20443 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20444 (ido-completions): Remove unused arguments. (Bug#8329)
20445
20446 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20447
20448 * minibuffer.el (completion--flush-all-sorted-completions):
20449 Remove itself from hook.
20450 (completion-at-point): Let the functions perform the completion
20451 immediately and return nil or t.
20452 * comint.el (comint-dynamic-complete-functions): Now identical to
20453 completion-at-point-functions.
20454 (comint-dynamic-list-input-ring): Remove unused var `index'.
20455 (comint--match-partial-filename, comint--unquote&expand-filename):
20456 New funs, split from comint-match-partial-filename.
20457 (comint-dynamic-complete): Use completion-at-point.
20458 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20459
20460 2011-03-24 Drew Adams <drew.adams@oracle.com>
20461
20462 * thingatpt.el: Support `defun'.
20463
20464 2011-03-23 Leo Liu <sdl.web@gmail.com>
20465
20466 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20467
20468 * help-mode.el (help-mode-finish): Tweak regexp.
20469
20470 2011-03-23 Glenn Morris <rgm@gnu.org>
20471
20472 * eshell/esh-opt.el (eshell-eval-using-options):
20473 Do not bind unused local variable `eshell-option-stub'.
20474
20475 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20476
20477 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20478
20479 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20480 keymap variable in `with-no-warnings' to avoid a warning when the
20481 keymap has been already `defconst'ed.
20482
20483 2011-03-22 Leo Liu <sdl.web@gmail.com>
20484
20485 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20486 encode all chars in abbrevs; otherwise use emacs-mule or
20487 utf-8-emacs. (Bug#8308)
20488
20489 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20490
20491 * simple.el (backward-delete-char-untabify):
20492 Avoid warning about using `delete-backward-char'.
20493
20494 * image.el (image-type-file-name-regexps): Make it variable.
20495 `imagemagick-register-types' modifies it, and the user may want
20496 to add new extensions for known image types.
20497 (imagemagick-register-types): Throw error if not using ImageMagick.
20498
20499 2011-03-22 Leo Liu <sdl.web@gmail.com>
20500
20501 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20502 located before rcirc-prompt-end-marker.
20503 (rcirc-complete): Error if point is not after rcirc prompt.
20504 Handle the case when table is nil.
20505 (rcirc-user-authenticated): Define to fix compiler warning.
20506
20507 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20508
20509 * custom.el (custom--inhibit-theme-enable): Make it affect only
20510 custom-theme-set-variables and custom-theme-set-faces.
20511 (provide-theme): Ignore custom--inhibit-theme-enable.
20512 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20513 (custom-enabling-themes): Delete variable.
20514 (enable-theme): Accept only loaded themes as arguments.
20515 Ignore the special custom-enabled-themes variable.
20516 (custom-enabled-themes): Forbid themes from setting this.
20517 Eliminate use of custom-enabling-themes.
20518 (custom-push-theme): Quote "changed" custom var entry.
20519
20520 2011-03-21 Leo Liu <sdl.web@gmail.com>
20521
20522 * ido.el (ido-read-internal): Add ido-selected to history instead
20523 of user input.
20524
20525 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20526
20527 * subr.el (deferred-action-list, deferred-action-function):
20528 Mark obsolete.
20529
20530 2011-03-21 Leo Liu <sdl.web@gmail.com>
20531
20532 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20533 change on 2011-02-13 (bug#8309).
20534
20535 * minibuffer.el (read-file-name-function): Change default value.
20536 (read-file-name--defaults): Rename from read-file-name-defaults.
20537 (read-file-name-default): Rename from read-file-name.
20538 (read-file-name): Call read-file-name-function.
20539
20540 2011-03-21 Glenn Morris <rgm@gnu.org>
20541
20542 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20543 Doc fixes.
20544
20545 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20546
20547 * cus-theme.el: Add missing provide statement.
20548 (customize-create-theme): Extract theme value correctly.
20549 (custom-theme-visit-theme): Autoload.
20550 (customize-create-theme): Prompt before inserting default faces.
20551
20552 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20553
20554 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20555 units and musical notes.
20556
20557 2011-03-20 Leo Liu <sdl.web@gmail.com>
20558
20559 * ido.el (ido-read-internal): Use completing-read-default.
20560 (ido-completing-read): Fix compatibility with completing-read.
20561
20562 2011-03-20 Christian Ohler <ohler@gnu.org>
20563
20564 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20565 (ert-delete-all-tests): Use `called-interactively-p' rather than
20566 `interactive-p'.
20567 (ert--make-xrefs-region): Respect END.
20568
20569 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20570
20571 * dired-aux.el (dired-create-directory): Signal an error if the
20572 directory already exists (Bug#8246).
20573
20574 * facemenu.el (list-colors-display): Call list-faces-display
20575 inside with-help-window.
20576 (list-colors-print): Use display property to align the final
20577 column, instead of checking window-width.
20578
20579 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20580
20581 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20582 windows-nt systems.
20583 (emerge-protect-metachars): Quote correctly for ms-dos and
20584 windows-nt systems.
20585
20586 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20587
20588 * info.el (info-initialize): Replace all uses of `:' with
20589 path-separator for compatibility with non-Unix systems.
20590 Cache quoting of path-separator. (Bug#8258)
20591
20592 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20593
20594 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20595 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20596 (mouse-avoidance-mode): Fix typos in docstrings.
20597
20598 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * startup.el (package-subdirectory-regexp): Move from package.el.
20601 Omit \\` and \\', and let callers add them.
20602
20603 * emacs-lisp/package.el (package-strip-version)
20604 (package-load-all-descriptors): Add \\` and \\' to
20605 package-subdirectory-regexp before using it.
20606 (package-untar-buffer): New arg DIR; ensure that file untars only
20607 into this expected directory. Remove superfluous delete-region.
20608 (package-unpack): Caller changed.
20609 (package-tar-file-info): Use package-subdirectory-regexp.
20610
20611 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20612
20613 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20614 diff-mode-shared-map (bug#8284).
20615 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20616
20617 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20618
20619 * calendar/time-date.el (format-seconds): Use assoc instead of
20620 assoc-string, since assoc-string doesn't exist in XEmacs.
20621
20622 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20623
20624 * custom.el (custom-known-themes): Reflow docstring.
20625 (custom-theme-load-path): Fix typo in docstring.
20626 (load-theme): Fix typo in error message.
20627 (custom-available-themes, custom-variable-theme-value):
20628 Use `let', not `let*'.
20629
20630 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20631
20632 * calc/README: Mention inclusion of musical notes.
20633
20634 * calc/calc-units.el (calc-lu-quant): Rename from
20635 `calc-logunits-quantity'.
20636 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20637 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20638 (calc-db): Rename from `calc-dblevel'.
20639 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20640 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20641 (calc-np): Rename from `calc-nplevel'.
20642 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20643 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20644 (calc-lu-plus): Rename from `calc-logunits-add'.
20645 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20646 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20647 (calc-lu-minus): Rename from `calc-logunits-sub'.
20648 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20649 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20650 (calc-lu-times): Rename from `calc-logunits-mul'.
20651 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20652 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20653 (calc-lu-divide): Rename from `calc-logunits-div'.
20654 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20655 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20656
20657 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20658 functions being autoloaded.
20659
20660 * calc/calc.el (calc-lu-power-reference): Rename from
20661 `calc-logunits-power-reference'.
20662 (calc-lu-field-reference): Rename from
20663 `calc-logunits-field-reference'.
20664
20665 * calc/calc-help.el (calc-l-prefix-help):
20666 Mention musical note functions.
20667
20668 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 * minibuffer.el (completion-all-sorted-completions):
20671 Use :completion-cycle-penalty text property if present.
20672
20673 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20674
20675 * allout.el (allout-yank-processing): Adjust for new rebulleting
20676 regime so bullet being yanked is used without prompting the user
20677 for a choice.
20678
20679 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20680
20681 * startup.el (command-line): Warn the user that _emacs is deprecated.
20682
20683 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20684
20685 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20686 (delphi-verbose, delphi-comment-face, delphi-string-face)
20687 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20688 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20689 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20690 (delphi-new-comment-line, delphi-font-lock-defaults)
20691 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20692 Fix typos in docstrings.
20693
20694 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20695
20696 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20697 Invert the roles of character and string values for INSTEAD, so a
20698 string is used for the more common case of a defaulting prompt.
20699
20700 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20701
20702 * progmodes/ruby-mode.el (ruby-backward-sexp):
20703 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20704 * play/gamegrid.el (gamegrid-make-face):
20705 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20706 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20707 * notifications.el (notifications-notify):
20708 * net/xesam.el (xesam-search-engines):
20709 * net/quickurl.el (quickurl-list-insert):
20710 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20711
20712 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20713
20714 * startup.el (command-line): Update package subdirectory regexp.
20715
20716 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20717
20718 * allout.el (allout-abbreviate-flattened-numbering)
20719 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20720
20721 * subr.el (read-char-choice): Only show the cursor after the prompt,
20722 not after the answer.
20723
20724 2011-03-15 Kevin Ryde <user42@zip.com.au>
20725
20726 * help-fns.el (variable-at-point): Skip leading quotes, if any
20727 (bug#8253).
20728
20729 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20730
20731 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20732 warning message.
20733
20734 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20735
20736 * shell.el (shell): When called interactively, offer to change the
20737 shell file name on remote hosts.
20738
20739 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20740
20741 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20742 integration for LDAP parameters. The host, base, user or binddn,
20743 and secret tokens can be specified in a netrc file, for instance.
20744 This is optional because an `auth-source' parameter must be
20745 specified in the search attributes.
20746
20747 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20748
20749 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20750
20751 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20752
20753 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20754 into declaration. Remove redundant and harmful binding.
20755
20756 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20757
20758 * files.el (file-ownership-preserved-p): Pass `integer' as an
20759 explicit 2nd argument to `file-attributes'. If the file's owner
20760 is the Administrators group on Windows, and the current user is
20761 Administrator, consider that a match.
20762
20763 * server.el (server-ensure-safe-dir): Consider server directory
20764 safe on MS-Windows if its owner is the Administrators group while
20765 the current Emacs user is Administrator. Use `=' to compare
20766 numerical UIDs, since they could be integers or floats.
20767
20768 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20769
20770 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20771
20772 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20773
20774 Sync with Tramp 2.2.1.
20775
20776 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20777
20778 * net/trampver.el: Update release number.
20779
20780 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20781
20782 * progmodes/compile.el (compilation--previous-directory): Fix up
20783 various nil/dead-marker mismatches (bug#8014).
20784 (compilation-directory-properties, compilation-error-properties):
20785 Don't call it at a position past the one we're about to change.
20786
20787 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20788 Disable obsolescence warnings in the file that declares it.
20789
20790 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20791
20792 * allout-widgets.el (allout-widgets-tally):
20793 Initialize allout-widgets-tally as a hash table rather than nil to
20794 prevent mode-line redisplay warnings. Also, clarify the module
20795 description and fix a comment typo.
20796
20797 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20798
20799 * help-fns.el (describe-variable): Don't complete keywords.
20800 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20801
20802 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20803
20804 * emacs-lisp/package.el (package-version-join): Impose a standard
20805 string representation for pre/alpha/beta version lists.
20806 (package-unpack-single): Standardize the directory name by passing
20807 it through package-version-join.
20808 (package-strip-rcs-id): Accept any version string that does not
20809 signal an error in version-to-list.
20810
20811 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20812
20813 * simple.el (delete-trailing-whitespace): Return nil for the
20814 benefit of `write-file-functions'.
20815
20816 2011-03-10 Glenn Morris <rgm@gnu.org>
20817
20818 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20819
20820 * vc/vc-git.el (vc-git-program): New option.
20821 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20822 (vc-git--call): Use it.
20823
20824 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20825
20826 * cus-edit.el (Custom-newline): If no button at point, look
20827 for a subgroup button at start-of-line. (Bug#2298)
20828
20829 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20830
20831 2011-03-10 Julien Danjou <julien@danjou.info>
20832
20833 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20834 `cursor-type' is nil.
20835
20836 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20837
20838 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20839
20840 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20841
20842 * allout.el: Change so yank of distinctive-bullet items
20843 preserves the existing header prefix, rebulleting it if necessary,
20844 rather than replacing it. This is necessary for proper operation
20845 of cooperative addons like allout-widgets.
20846 (allout-make-topic-prefix, allout-rebullet-heading):
20847 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20848 value as alternate bullet to be used, instead of prompting the user
20849 for a bullet character.
20850
20851 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20852
20853 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20854 Do not use `tramp-file-name-port', because this returns also
20855 `tramp-default-port'.
20856
20857 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20858
20859 * net/rcirc.el (rcirc-handler-001): Remove useless
20860 with-rcirc-process-buffer.
20861 (rcirc-check-auth-status): Swap arguments to string-match.
20862
20863 2011-03-09 Glenn Morris <rgm@gnu.org>
20864
20865 * shell.el (shell-mode):
20866 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20867
20868 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20869 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20870
20871 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20872
20873 * emacs-lisp/package.el (package-refresh-contents)
20874 (package-menu-execute): Use condition-case-no-debug.
20875
20876 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20877
20878 * simple.el (shell-command-to-string): Use `process-file'.
20879
20880 * emacs-lisp/package.el (package-tar-file-info): Handle also
20881 remote files.
20882
20883 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20884 Use `equal' for upload base check.
20885
20886 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20887
20888 * textmodes/texinfo.el (texinfo-environments):
20889 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20890
20891 2011-03-08 Glenn Morris <rgm@gnu.org>
20892
20893 * cus-start.el (cursor-in-non-selected-windows):
20894 Fix :set quoting oddness. (Bug#8192)
20895
20896 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20897 in some setf expressions. (Bug#2159)
20898
20899 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20900
20901 * custom.el (custom-available-themes): Return themes in
20902 alphabetical order.
20903
20904 See ChangeLog.15 for earlier changes.
20905
20906 ;; Local Variables:
20907 ;; coding: utf-8
20908 ;; End:
20909
20910 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20911
20912 This file is part of GNU Emacs.
20913
20914 GNU Emacs is free software: you can redistribute it and/or modify
20915 it under the terms of the GNU General Public License as published by
20916 the Free Software Foundation, either version 3 of the License, or
20917 (at your option) any later version.
20918
20919 GNU Emacs is distributed in the hope that it will be useful,
20920 but WITHOUT ANY WARRANTY; without even the implied warranty of
20921 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20922 GNU General Public License for more details.
20923
20924 You should have received a copy of the GNU General Public License
20925 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.