textmodes/ispell.el: Experimental support for support debugging.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2
3 * textmodes/ispell.el (ispell-region): Standard re-indent for better
4 readability.
5
6 * textmodes/ispell.el: Experimental support for support debugging.
7 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
8 buffer for ispell.
9 (ispell-print-if-debug): New function to print stuff to
10 `ispell-debug-buffer' if debugging is enabled.
11 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
12 show some debugging info.
13 (ispell-buffer-with-debug): New function that creates a debugging
14 buffer and calls `ispell-buffer' with debugging enabled.
15
16 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
17
18 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
19 frame-first-window, frame-root-window, frame-selected-window,
20 minibuffer-selected-window, minibuffer-window,
21 window-absolute-pixel-edges, window-at, window-body-height,
22 window-body-width, window-display-table, window-combination-limit,
23 window-frame, window-fringes, window-inside-absolute-pixel-edges,
24 window-inside-edges, window-inside-pixel-edges, window-left-child,
25 window-left-column, window-margins, window-next-buffers,
26 window-next-sibling, window-new-normal, window-new-total,
27 window-normal-size, window-parameter, window-parameters, window-parent,
28 window-pixel-edges, window-point, window-prev-buffers,
29 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
30 window-start, window-text-height, window-top-child, window-top-line,
31 window-total-height, window-total-width and window-use-time to the list
32 of functions without side-effects.
33 (toplevel): Add window-valid-p to the list of error-free functions
34 without side-effects.
35
36 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
37
38 * textmodes/ispell.el (ispell-program-name): Update
39 spellchecker parameters when customized.
40
41 2012-11-04 Glenn Morris <rgm@gnu.org>
42
43 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
44
45 2012-11-04 Chong Yidong <cyd@gnu.org>
46
47 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
48 same-window-* variables.
49
50 2012-11-04 Juri Linkov <juri@jurta.org>
51
52 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
53 (isearch-describe-key, isearch-describe-mode): Use a display
54 action instead of binding same-window-* variables (Bug#10040).
55
56 2012-11-03 Glenn Morris <rgm@gnu.org>
57
58 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
59 Rename handler properties back from cl-- to cl-. (Bug#12788)
60
61 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
62
63 2012-11-03 Eli Zaretskii <eliz@gnu.org>
64
65 * term/pc-win.el: Don't load term/internal from here.
66
67 * loadup.el: Load term/internal from here.
68
69 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
70
71 * progmodes/python.el (inferior-python-mode): Fix hang in
72 jit-lock (Bug#12645).
73
74 2012-11-03 Martin Rudalics <rudalics@gmx.at>
75
76 * window.el (switch-to-visible-buffer)
77 (switch-to-buffer-preserve-window-point): Fix doc-strings.
78
79 2012-11-03 Glenn Morris <rgm@gnu.org>
80
81 * emacs-lisp/cl-lib.el (cl--random-time):
82 Rename from cl-random-time. (Bug#12773)
83 (cl--gensym-counter, cl--random-state): Update callers.
84 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
85
86 2012-11-03 Chong Yidong <cyd@gnu.org>
87
88 * cus-start.el: Make cursor-type customizable (Bug#11633).
89
90 2012-11-02 Glenn Morris <rgm@gnu.org>
91
92 * filecache.el: No need to load find-lisp when compiling.
93 (find-lisp-find-files): Autoload it.
94 (file-cache-add-directory-recursively): Don't require find-lisp.
95
96 * image.el (image-type-from-file-name): Trivial simplification.
97
98 * emacs-lisp/bytecomp.el (byte-compile-eval):
99 Decouple "noruntime" and "cl-functions" warnings.
100
101 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
102
103 * play/gomoku.el (gomoku-display-statistics): Update mode line
104 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
105
106 2012-10-31 Martin Rudalics <rudalics@gmx.at>
107
108 * window.el (quit-restore-window): If the window has been
109 created on an existing frame and ended up as the sole window on
110 that frame, do not delete it (Bug#12764).
111
112 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * progmodes/sh-script.el (sh--inside-noncommand-expression):
115 Rename from sh--inside-arithmetic-expression, handle more cases
116 (bug#11263).
117
118 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
119 (sh-font-lock-open-heredoc): Use it (bug#12770).
120
121 2012-10-30 Glenn Morris <rgm@gnu.org>
122
123 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
124
125 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
126
127 2012-10-29 Chong Yidong <cyd@gnu.org>
128
129 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
130 function key is stored in a keyboard macro (Bug#4894).
131
132 * thingatpt.el (number-at-point): Apply a thing-at-point property.
133
134 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
137 header comments".
138 (diff-unified->context, diff-context->unified)
139 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
140
141 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
142
143 * files.el (find-alternate-file): Only ask one question (bug#12487).
144
145 2012-10-29 Chong Yidong <cyd@gnu.org>
146
147 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
148 Suggested by Dan Nicolaescu (Bug#6326).
149
150 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
151
152 * startup.el (fancy-about-screen): Don't message (Bug#12680).
153
154 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
155
156 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
157
158 * face-remap.el (face-remap-add-relative): Handle the case where a
159 face-remapping-alist entry is a cons cell (Bug#12762).
160
161 2012-10-29 Kevin Ryde <user42@zip.com.au>
162
163 * woman.el (woman-parse-numeric-value): Handle picas correctly
164 (Bug#12639).
165
166 2012-10-29 Glenn Morris <rgm@gnu.org>
167
168 * emacs-lisp/cl.el (defsetf): Doc fix.
169
170 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
173 syntax to the matching opener, if any (bug#12547).
174 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
175 matching open as a "case-(".
176 (sh-smie-rc-grammar): Add a corresponding rule for it.
177
178 2012-10-28 Daniel Hackney <dan@haxney.org>
179
180 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
181 "PKGNAME-autoloads.el" in case we created it.
182
183 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
186 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
187 (completion--twq-all): Disable too-strict assertions.
188
189 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
190
191 2012-10-27 Eli Zaretskii <eliz@gnu.org>
192
193 * profiler.el (profiler-report-make-entry-part): Fix help-echo
194 text to match the real keybindings.
195
196 2012-10-27 Juri Linkov <juri@jurta.org>
197
198 * wdired.el (wdired-keep-marker-rename): New defcustom.
199 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
200 (Bug#11795)
201
202 * dired.el (dired-keep-marker-rename): Add reference to
203 `wdired-keep-marker-rename' in the docstring.
204 Add default character value ?R to display initially in
205 Customization UI instead of ?@.
206
207 2012-10-27 Martin Rudalics <rudalics@gmx.at>
208
209 * window.el (display-buffer): In doc-string describe
210 window-height and window-width alist entries.
211
212 * time.el (display-time-world): Restore fit-window-to-buffer
213 behavior.
214
215 2012-10-27 Chong Yidong <cyd@gnu.org>
216
217 * subr.el (insert-buffer-substring-as-yank): Doc fix.
218
219 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
220
221 * minibuffer.el (completion-category-overrides): New completion
222 category `bookmark' (bug#11131).
223
224 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * emacs-lisp/advice.el (ad-assemble-advised-definition):
227 Silence bogus compiler warnings for ad-do-it.
228
229 * bookmark.el (bookmark-completing-read): Set the completion category
230 to `bookmark' (bug#11131).
231
232 2012-10-26 Bastien <bzg@altern.org>
233 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * face-remap.el: Use lexical-binding.
236 (text-scale-adjust): Improve docstring. Use itself for the temporary
237 overlay-map bindings, so as to repeat the "Use..." message each time.
238
239 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * emacs-lisp/macroexp.el (macroexp--expand-all):
242 Obey byte-compile-warning-enabled-p (bug#12486).
243
244 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
245 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
246
247 2012-10-26 Martin Rudalics <rudalics@gmx.at>
248
249 * mouse.el (mouse-drag-line): Move last form into preceding when
250 clause (Bug#12731).
251
252 * help.el (resize-temp-buffer-window): Fix doc-string.
253
254 2012-10-25 David Engster <deng@randomsample.de>
255
256 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
257 Remove. This feature is already integrated in imenu.
258
259 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
260 always loaded. Require `speedbar' unconditionally.
261
262 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
265
266 * minibuffer.el (minibuffer-force-complete): Fix thinko.
267
268 * net/ldap.el (ldap-search-internal): The official ldif format starts
269 with a "version: 1" header (bug#12724).
270
271 * emacs-lisp/package.el (package-installed-p): Warn if not ready
272 (bug#12721).
273
274 2012-10-25 Glenn Morris <rgm@gnu.org>
275
276 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
277
278 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * minibuffer.el (minibuffer-force-complete): Use one more marker
281 for the temporary-overlay-map command (bug#12619).
282
283 2012-10-24 Chong Yidong <cyd@gnu.org>
284
285 * time.el (display-time-world-mode): Derive from special-mode.
286 (display-time-world): Use display-buffer (Bug#12708).
287 (display-time-world-mode-map): Variable deleted.
288 (display-time-world-display): Wrap the final delete-char inside
289 inhibit-read-only.
290
291 2012-10-24 Chong Yidong <cyd@gnu.org>
292
293 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
294 Doc fix.
295
296 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
297
298 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * minibuffer.el (completion--all-sorted-completions-location): New var.
301 (completion--cache-all-sorted-completions)
302 (completion--flush-all-sorted-completions): Use it.
303 (completion-in-region, completion-in-region--postch)
304 (completion-at-point, completion-help-at-point): Use markers in
305 completion-in-region--data (bug#12619).
306
307 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * progmodes/compile.el (compilation-start): Try to handle common
310 quoting of `cd' argument (bug#12640).
311
312 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
313 (bug#12671).
314
315 2012-10-23 Glenn Morris <rgm@gnu.org>
316
317 * progmodes/gud.el (gud-menu-map):
318 Check gdb-active-process is bound. (Bug#12358)
319
320 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * repeat.el (repeat): Set real-this-command (bug#12232).
323
324 * htmlfontify.el (hfy-post-html-hook):
325 * filesets.el (filesets-cache-fill-content-hook):
326 * arc-mode.el (archive-extract-hook):
327 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
328 * net/rcirc.el (rcirc-sentinel-functions)
329 (rcirc-receive-message-functions, rcirc-activity-functions)
330 (rcirc-print-functions):
331 * net/dbus.el (dbus-event-error-functions):
332 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
333 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
334 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
335 * term/sun.el (sun-raw-prefix-hooks):
336 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
337
338 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
339
340 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
341 Set `tramp-chunksize' to 1. This improves the performance.
342 (tramp-smb-wait-for-output): Add timeout to
343 `tramp-accept-process-output' calls.
344
345 2012-10-23 Chong Yidong <cyd@gnu.org>
346
347 * faces.el (font-list-limit): Define as an obsolete variable.
348
349 * startup.el (command-line):
350 * cus-start.el: Don't refer to font-list-limit.
351
352 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
353
354 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * subr.el (internal-temp-output-buffer-show): Rename from
357 temp-output-buffer-show, since previously compiled files expect this name.
358
359 2012-10-23 Glenn Morris <rgm@gnu.org>
360
361 * image.el (image-type-from-file-name): If multiple types match,
362 return the first one that is supported. (Bug#9045)
363
364 2012-10-22 Glenn Morris <rgm@gnu.org>
365
366 * image.el (imagemagick-enabled-types): Doc fix.
367
368 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
369
370 * progmodes/which-func.el (which-func-current): The hash-table may have
371 an explicit nil (bug#12338).
372
373 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
374
375 * electric.el (electric-pair-delete-selection-self-insert-function):
376 Rename to electric-pair-will-use-region, return a boolean.
377 (electric-pair-mode): Adjust accordingly. Don't require delsel.
378
379 * delsel.el (delete-selection-helper): Use a function instead of a hook.
380 (delete-selection-pre-hook): Use use-region-p.
381 (delete-selection-self-insert-function): Remove.
382 (self-insert-command): Obey self-insert-uses-region-functions.
383 (self-insert-iso): Revert to previous setting, since we don't actually
384 know what that command does.
385 (delete-selection-self-insert-hooks): Remove.
386
387 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
388
389 * delsel.el (delete-selection-helper): New function, extracted from
390 delete-selection-pre-hook.
391 (delete-selection-pre-hook): Use it.
392 (delete-selection-self-insert-function): New function.
393 (delete-selection-self-insert-hooks): New hook.
394 (self-insert-command, self-insert-iso): Use it.
395 * electric.el (electric-pair-syntax): New function, extracted from
396 electric-pair-post-self-insert-function.
397 (electric-pair-post-self-insert-function): Use it.
398 (electric-pair-delete-selection-self-insert-function): New function.
399 (electric-pair-mode): Require delsel and setup
400 delete-selection-self-insert-hooks (bug#11520).
401
402 2012-10-20 Chong Yidong <cyd@gnu.org>
403
404 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
405 no changes to show (Bug#12586).
406
407 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
408 list explicitly (Bug#12571).
409
410 2012-10-20 Arne Jørgensen <arne@arnested.dk>
411
412 * progmodes/flymake.el (flymake-create-temp-inplace):
413 Use file-truename.
414
415 2012-10-20 Eli Zaretskii <eliz@gnu.org>
416
417 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
418
419 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
420
421 * calc/calc-units.el (math-extract-units): Properly extract powers
422 of units.
423
424 2012-10-20 Daniel Colascione <dancol@dancol.org>
425
426 * frame.el (make-frame): Set x-display-name as we used to in order
427 to unbreak creating an X11 frame from an Emacs daemon started
428 without a display.
429
430 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * minibuffer.el (minibuffer-force-complete): Make the next completion use
433 the same completion-field (bug@12221).
434
435 2012-10-19 Martin Rudalics <rudalics@gmx.at>
436
437 * emacs-lisp/debug.el (debug): Record height of debugger window
438 also when debugger will be back (Bug#8789).
439
440 2012-10-18 Chong Yidong <cyd@gnu.org>
441
442 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
443 Convert to defcustom.
444 (gdb-get-source-file): Don't bind pop-up-windows.
445
446 * progmodes/gud.el (gud-display-line): Don't specially re-use
447 other frames for the gdb-mi case (Bug#12648).
448
449 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * emacs-lisp/advice.el: Clean up commentary a bit.
452 (ad-do-advised-functions, ad-with-originals): Use `declare'.
453 (byte-code-function-p): Never redefine.
454
455 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
456
457 2012-10-18 Glenn Morris <rgm@gnu.org>
458
459 * dired.el (dired-sort-toggle): Some ls implementations only allow
460 a single option string. (Bug#12666)
461
462 * minibuffer.el (completion-cycle-threshold): Doc fix.
463
464 2012-10-17 Kenichi Handa <handa@gnu.org>
465
466 * international/mule.el (set-keyboard-coding-system):
467 Recover input meta mode when the new coding system doesn not use 8-bit.
468 Supply TERMINAL arg to set-input-meta-mode.
469
470 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
471
472 * wdired.el (wdired-old-marks): New variable.
473 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
474 (wdired-do-renames): Move point with renamed file and don't lose
475 mark status (Bug#11795).
476
477 2012-10-16 Juri Linkov <juri@jurta.org>
478
479 * replace.el (query-replace-help): Mention multi-buffer replacement
480 keys in the Help message. (Bug#12655)
481
482 2012-10-15 Chong Yidong <cyd@gnu.org>
483
484 * emacs-lisp/byte-run.el (defsubst): Doc fix.
485
486 2012-10-14 Eli Zaretskii <eliz@gnu.org>
487
488 * window.el (display-buffer): Doc fix.
489
490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
491 Adjust the msft regexp to the output of Studio 2010, and move msft
492 before edg-1. See the discussion on emacs-devel,
493 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
494 for the details.
495
496 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
499 (oset): Move uses of object-class-fast macro after its definition.
500
501 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
502
503 2012-10-13 Chong Yidong <cyd@gnu.org>
504
505 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
506 enabled, re-enable it (Bug#11963).
507
508 2012-10-13 Martin Rudalics <rudalics@gmx.at>
509
510 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
511 non-nil, restore window configuration (Bug#12623).
512
513 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * help-fns.el (describe-variable, describe-function-1):
516 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
517
518 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
519
520 2012-10-12 Glenn Morris <rgm@gnu.org>
521
522 * mail/rmailsum.el (rmail-header-summary):
523 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
524
525 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
526
527 * progmodes/python.el (python-mode-map):
528 Replace subtitute-key-definition with proper command remapping.
529 (python-nav--up-list): Fix behavior for blocks on the same level.
530
531 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
534
535 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
536 changes to the format of load-history.
537
538 * international/mule-cmds.el (read-char-by-name): Move let-binding of
539 completion-ignore-case in case that var is buffer-local (bug#12615).
540
541 2012-10-11 Kenichi Handa <handa@gnu.org>
542
543 * international/eucjp-ms.el: Re-generated.
544
545 2012-10-10 Kenichi Handa <handa@gnu.org>
546
547 * select.el (xselect--encode-string): If a coding is specified for
548 selection, and that is compatible with COMPOUND_TEXT, use it.
549
550 2012-10-10 Martin Rudalics <rudalics@gmx.at>
551
552 * window.el (switch-to-buffer-preserve-window-point): New option.
553 (switch-to-buffer):
554 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
555
556 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
559 Don't document nil as a useful value (bug#12583).
560
561 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
562
563 * net/tramp.el (tramp-debug-message):
564 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
565 (with-tramp-progress-reporter): Rename from
566 `tramp-with-progress-reporter'.
567 (with-tramp-file-property, with-tramp-connection-property):
568 Move from tramp-cache.el, rename from `with-file-property' and
569 `with-connection-property', respectively.
570
571 * net/tramp-cache.el: Remove `with-file-property' and
572 `with-connection-property'.
573
574 * net/tramp.el:
575 * net/tramp-gvfs.el:
576 * net/tramp-sh.el:
577 * net/tramp-smb.el: Adapt callees.
578
579 * net/trampver.el: Update release number.
580
581 2012-10-09 Glenn Morris <rgm@gnu.org>
582
583 * w32-fns.el (set-message-beep):
584 * term/w32-win.el (set-message-beep): Update declarations.
585
586 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
589 (mode-line-widen, mode-line-input-method-map)
590 (mode-line-coding-system-map, mode-line-remote)
591 (mode-line-unbury-buffer, mode-line-bury-buffer)
592 (mode-line-next-buffer, mode-line-previous-buffer):
593 Replace save-selected-window+select-window => with-selected-window.
594
595 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
596 * progmodes/cc-vars.el (bq-process): Remove, unused.
597
598 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
599
600 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
601
602 Implemented `backward-up-list'-like navigation.
603 * progmodes/python.el (python-nav-up-list)
604 (python-nav-backward-up-list): New functions.
605 (python-mode-map): Define substitute key for backward-up-list to
606 python-nav-backward-up-list.
607
608 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
609
610 * progmodes/python.el (python-fill-paragraph): Rename from
611 python-fill-paragraph-function. Fixed fill-paragraph for
612 decorators (Bug#12605).
613
614 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
615
616 * progmodes/python.el (python-shell-output-filter): Handle extra
617 carriage return in OSX (Bug#12409).
618
619 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
620
621 Fix shell handling of unbalanced quotes and parens in output.
622 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
623 (python-syntax-propertize-function): Use it.
624 (python-shell-output-syntax-table): New var.
625 (inferior-python-mode): Prevent unbalanced parens/quotes from
626 previous output mess with current input context.
627
628 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
629
630 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
631 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
632
633 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
634
635 * ffap.el (ffap-replace-file-component): Support Tramp file name
636 syntax, not only ange-ftp's one.
637
638 2012-10-08 Glenn Morris <rgm@gnu.org>
639
640 * cus-start.el (message-log-max): Set :version.
641
642 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
643
644 2012-10-08 Martin Rudalics <rudalics@gmx.at>
645
646 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
647 the minibuffer window (Bug#10851).
648
649 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
650
651 Enhancements on forward-sexp movement.
652 * progmodes/python.el (python-nav-beginning-of-statement)
653 (python-nav-end-of-statement): Return point-marker.
654 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
655 (python-info-current-symbol)
656 (python-info-statement-starts-block-p): Rename from
657 python-info-beginning-of-block-p.
658 (python-info-statement-ends-block-p): Rename from
659 python-info-end-of-block-p.
660 (python-info-beginning-of-statement-p)
661 (python-info-end-of-statement-p)
662 (python-info-beginning-of-block-p, python-info-end-of-block-p):
663 New functions.
664
665 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
668 frame-selected-windows.
669
670 2012-10-08 Daniel Colascione <dancol@dancol.org>
671
672 * battery.el (battery-status-function): Check for
673 w32-battery-status itself, not system-time windows-nt.
674
675 * frame.el: Require cl-lib.
676 (display-format-alist): New variable mapping frame types to
677 functions that initialize them.
678 (window-system-for-display): New function: interprets
679 display-format-alist.
680 (make-frame-on-display): Remove existing display-selection logic
681 and just forward to make-frame, which will now DTRT.
682 (make-frame): Restructure to use window-system-for-display to
683 figure out how to create a frame on a given display.
684 (display-mouse-p): Look for frame-type w32, not a particular
685 system-type.
686
687 * loadup.el: Load w32 lisp code when we have the w32 feature.
688
689 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
690 system-type windows-nt.
691
692 * server.el (server-create-window-system-frame): Look for window
693 type.
694 (server-proces-filter): Only force a window system when windows-nt
695 _and_ w32. Explain why.
696
697 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
698 of window systems we configure for the mode.
699
700 * startup.el (command-line): Mark window system is initialized
701 after we've done it.
702
703 * common-win.el (x-select-text): Look for w32, not windows-nt.
704
705 * ns-win.el: Require cl-lib. Add ourselves to
706 display-format-alist.
707 (ns-initialize-window-system): Assert we're not initialized twice.
708
709 * w32-win.el: Enable lexical binding; require cl-lib; add
710 ourselves to display-format-alist.
711 (w32-handle-dropped-file): Convert incoming dropped files from
712 Windows paths to Cygwin ones before passing them on to the rest of
713 Emacs.
714 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
715 (w32-initialize-window-system): Assert we're not initialized twice.
716
717 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
718 (x-initialize-window-system): Assert we're not initialized twice.
719
720 * w32-common-fns.el: New File.
721 (w32-version, w32-using-nt, w32-get-clipboard-data)
722 (w32-set-clipboard-data, x-set-selection, x-get-selection)
723 (w32-charset-info-alist, x-last-selected, text)
724 (x-get-selection-value, x-selection-value): Move here.
725
726 * w32-fns.el: Require w32-common-fns.
727 (w32-version, w32-using-nt, w32-get-clipboard-data)
728 (w32-set-clipboard-data, x-set-selection, x-get-selection)
729 (w32-charset-info-alist, x-last-selected, text)
730 (x-get-selection-value, x-selection-value): Move to
731 w32-common-fns.
732
733 * w32-vars.el:
734 (w32-allow-system-shell, w32-system-shells): Define only in
735 non-cygwin case.
736
737 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
740 (read-passwd): Remove a few more potential sources of leaks.
741
742 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
743
744 * progmodes/python.el (inferior-python-mode)
745 (python-shell-make-comint): Fix initialization of local
746 variables copied from parent buffer.
747
748 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
749
750 * term/ns-win.el (ns-read-file-name): Update declaration to match
751 nsfns.m.
752 (ns-respond-to-change-font): Change fontsize separatly so we are sure
753 it is set when font is acted upon.
754
755 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
756
757 Enhancements to indentation.
758 * progmodes/python.el (python-indent-context): Give priority to
759 inside-string context. Make comments indentation markers.
760 (python-indent-region): Do not mess with strings, unless it's the
761 enclosing set of quotes.
762
763 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * window.el (internal--before-save-selected-window)
766 (internal--after-save-selected-window): New functions extracted from
767 save-selected-window. Make sure we return the `alist' we construct.
768 (save-selected-window): Use them.
769
770 * textmodes/tex-mode.el (tex-recenter-output-buffer):
771 Use with-selected-window.
772
773 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
774 forms that define macros (bug#12593).
775
776 2012-10-07 Kenichi Handa <handa@gnu.org>
777
778 * international/mule-conf.el (compound-text-with-extensions):
779 Add :mime-charset property as x-ctext.
780
781 2012-10-07 Stefan Merten <smerten@oekonux.de>
782
783 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
784 (rst-indent-literal-normal, rst-indent-literal-minimized)
785 (rst-indent-comment): Correct :version tag.
786 (rst-official-cvs-rev): Correct version string.
787
788 2012-10-07 Glenn Morris <rgm@gnu.org>
789
790 * mail/rmailmm.el (rmail-mime-process-multipart):
791 Do not confuse a multipart message with an epilogue
792 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
793
794 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
795
796 Fix shell output retrieval and comint-prompt-regexp init.
797 * progmodes/python.el (inferior-python-mode):
798 (python-shell-make-comint): Fix initialization of
799 comint-prompt-regexp from copied file local variables.
800 (python-shell-fetched-lines): Remove var.
801 (python-shell-output-filter-in-progress): Rename from
802 python-shell-fetch-lines-in-progress.
803 (python-shell-output-filter-buffer): Rename from
804 python-shell-fetch-lines-string.
805 (python-shell-fetch-lines-filter): Delete function.
806 (python-shell-output-filter): New function.
807 (python-shell-send-string-no-output): Use them.
808
809 2012-10-07 Glenn Morris <rgm@gnu.org>
810
811 * hi-lock.el (hi-lock-process-phrase):
812 Try to make it less fragile. (Bug#7161)
813
814 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
815
816 2012-10-06 Glenn Morris <rgm@gnu.org>
817
818 * ehelp.el (electric-help-mode): Use help-mode rather than
819 non-existent mode `help'.
820 (electric-help-map): Use button-buffer-map. (Bug#10917)
821
822 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
823 (reftex-create-bibtex-footer): Fix custom types.
824
825 * progmodes/sh-script.el (sh-indent-after-continuation):
826 Add explicit :group.
827
828 * textmodes/rst.el (rst-preferred-decorations)
829 (rst-shift-basic-offset): Clarify obsolescence versions.
830
831 * profiler.el (profiler): Add missing group :version tag.
832 * avoid.el (mouse-avoidance-banish-position):
833 * proced.el (proced-renice-command):
834 * calc/calc.el (calc-ensure-consistent-units):
835 * calendar/icalendar.el (icalendar-import-format-uid):
836 * net/tramp.el (tramp-save-ad-hoc-proxies):
837 * progmodes/bug-reference.el (bug-reference-bug-regexp):
838 * progmodes/flymake.el (flymake-error-bitmap)
839 (flymake-warning-bitmap, flymake-fringe-indicator-position):
840 * progmodes/sh-script.el (sh-indent-after-continuation):
841 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
842 (verilog-before-save-font-hook, verilog-after-save-font-hook):
843 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
844 (vhdl-array-index-record-field-in-sensitivity-list)
845 (vhdl-indent-comment-like-next-code-line):
846 * textmodes/reftex-vars.el (reftex-ref-style-alist)
847 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
848 (reftex-cite-key-separator, reftex-create-bibtex-header)
849 (reftex-create-bibtex-footer):
850 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
851 (rst-indent-literal-normal, rst-indent-literal-minimized)
852 (rst-indent-comment): Add missing custom :version tags.
853
854 * calendar/timeclock.el (timeclock-modeline-display):
855 Add missing obsolete alias for renamed user option.
856
857 * strokes.el (strokes-modeline-string):
858 * emulation/crisp.el (crisp-mode-modeline-string):
859 * eshell/esh-mode.el (eshell-status-in-modeline):
860 Aliases to defcustoms must come before the defcustom.
861
862 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
863 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
864 (cal-tex-cursor-week-monday): Doc fixes.
865 (cal-tex-cursor-week2-summary): Doc fix.
866 Rename from cal-tex-cursor-week-at-a-glance.
867
868 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
869 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
870
871 * calendar/calendar.el (calendar-mode-map):
872 Add cal-tex-cursor-week2-summary.
873
874 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
877
878 * subr.el (read-passwd-map): New var.
879 (read-passwd): Use `read-string' again.
880 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
881
882 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
883
884 * register.el (append-to-register, prepend-to-register):
885 Deactivate mark, as does `copy-to-register' (bug#12389).
886
887 2012-10-06 Chong Yidong <cyd@gnu.org>
888
889 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
890
891 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
892
893 * international/characters.el: Fix simple mistake ((car chars) ->
894 elt), delete duplicated code.
895
896 2012-10-06 Glenn Morris <rgm@gnu.org>
897
898 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
899
900 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
901
902 * color.el (color-hsl-to-rgb): Fix incorrect results for
903 small and large hue values. (Bug#12559)
904
905 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
906
907 Enhancements to docstring formatting when filling paragraphs.
908 * progmodes/python.el (python-fill-docstring-style): Rename from
909 python-fill-string-style. Added new style.
910 (python-fill-string): Use new style. Better checks for
911 docstrings.
912
913 2012-10-05 Glenn Morris <rgm@gnu.org>
914
915 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
916
917 * color.el (color-name-to-rgb, color-rgb-to-hex)
918 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
919 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
920 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
921 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
922
923 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
924
925 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
926
927 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
928 to get the correct size across symlinks.
929
930 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
931
932 2012-10-04 Juri Linkov <juri@jurta.org>
933
934 * replace.el (query-replace-interactive): Declare obsolete.
935 (query-replace-read-from): Add the last incremental search string
936 to the list of default values accessible via M-n.
937 (map-query-replace-regexp): Use `read-regexp'.
938 (query-replace, query-replace-regexp, query-replace-regexp-eval)
939 (map-query-replace-regexp, replace-string, replace-regexp):
940 Fix docstrings to replace mentions of `query-replace-interactive'
941 with alternatives. (Bug#12526)
942
943 2012-10-04 Juri Linkov <juri@jurta.org>
944
945 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
946 (dired-pop-to-buffer): Declare obsolete.
947 (dired-mark-pop-up): Doc fix.
948
949 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
950
951 Allow user to set docstring style for fill-paragraph.
952 * progmodes/python.el
953 (python-fill-comment-function, python-fill-string-function)
954 (python-fill-decorator-function, python-fill-paren-function):
955 Remove :safe for defcustoms.
956 (python-fill-string-style): New defcustom
957 (python-fill-paragraph-function): Enhance context detection.
958 (python-fill-string): Honor python-fill-string-style settings.
959
960 2012-10-04 Martin Rudalics <rudalics@gmx.at>
961
962 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
963 after setting its buffer (Bug#10805).
964
965 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
966
967 Fix cornercase for string syntax.
968 * progmodes/python.el (python-syntax-propertize-function):
969 Simplify and enhance the regexp for unescaped quotes. Now it also
970 matches quotes in weird situations like the single quote in
971 "something\"'".
972 (python-syntax-stringify): Simplify num-quotes detecting code.
973
974 2012-10-03 Glenn Morris <rgm@gnu.org>
975
976 * help-macro.el (three-step-help):
977 Revert 2012-09-29 change. (Bug#12567)
978
979 2012-10-03 Martin Rudalics <rudalics@gmx.at>
980
981 * menu-bar.el (kill-this-buffer): Don't do anything when
982 `menu-frame' is not alive or visible (Bug#8184).
983
984 * emacs-lisp/debug.el (debug): When quitting the debugger window
985 restore current buffer (Bug#12502).
986
987 2012-10-02 Chong Yidong <cyd@gnu.org>
988
989 * progmodes/hideif.el (hif-lookup, hif-defined):
990 Handle semantic-c-takeover-hideif.
991
992 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
993
994 Change sampling interval units from ms to ns.
995 * profiler.el (profiler-sampling-interval): Change units
996 from ms to ns, multiplying the default by 1000000 so that
997 it remains 1 ms.
998 (profiler-report-cpu-line-format): Give enough room for
999 the maximum counters on 64-bit hosts.
1000 (profiler-report-render-calltree-1): Call them "CPU samples",
1001 not "Time (ms)", since they are not milliseconds now (and
1002 never really were).
1003
1004 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1005
1006 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1007 Fix querying BBDB for entries without a last name (Bug#11580).
1008
1009 2012-10-02 Chong Yidong <cyd@gnu.org>
1010
1011 * emacs-lisp/eieio.el: Restore Version header.
1012
1013 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * vc/diff-mode.el (diff--auto-refine-data): New var.
1016 (diff-hunk): Use it to delay refinement.
1017 (diff-mode): Remove overlays when we turn off font-lock.
1018
1019 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1020 (table-initialize-table-fixed-width-mode)
1021 (table-set-table-fixed-width-mode): Remove functions.
1022 (table-command-list): Move initialization into declaration.
1023 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1024 (table-with-cache-buffer): Use `declare'.
1025 (table-span-cell): Simplify via CSE.
1026 (table-fixed-width-mode): Use define-minor-mode.
1027 (table-call-interactively, table-funcall, table-apply): Remove.
1028 (table-function): New function, to replace them.
1029
1030 * bookmark.el (bookmark-search-pattern): Remove var.
1031 (bookmark-read-search-input): Remove function.
1032 (bookmark-bmenu-search): Reimplement using a minibuffer.
1033
1034 * faces.el (modeline): Remove obsolete face name.
1035
1036 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1037 and give a non-nil default value.
1038 (add-change-log-entry): Simplify accordingly.
1039
1040 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1041
1042 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1043 (vc-git-log-edit-toggle-amend): New function.
1044 (vc-git-log-edit-toggle-signoff): New function.
1045 (vc-git-log-edit-mode): New major mode.
1046 (vc-git-log-edit-mode-map): Keymap for it.
1047 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1048
1049 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1050 header names.
1051 (log-edit-toggle-header): New function.
1052 (log-edit-extract-headers): Accept function values in HEADERS alist.
1053
1054 2012-10-01 David Engster <deng@randomsample.de>
1055
1056 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1057 from symbol property and change message to be more consistent with
1058 Emacs proper.
1059 (eieio-describe-generic): Add filename for each implementation.
1060 Fix indices for generic and normal methods.
1061 (eieio-method-def, eieio-class-def): New buttons.
1062 (eieio-help-find-method-definition)
1063 (eieio-help-find-class-definition): New functions.
1064 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1065 class, constructor and method definitions.
1066
1067 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1068 information in symbol property.
1069 (scoped-class): Remove.
1070 (eieio-slot-name-index, call-next-method): Check if it is bound.
1071
1072 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1073
1074 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1075 (eieio-custom-mode): New major mode.
1076 (eieio-customize-object): Use it.
1077
1078 2012-10-01 Eric Ludlam <zappo@gnu.org>
1079
1080 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1081 specifying the expected class, and whether subclassing is allowed.
1082 (eieio-persistent-convert-list-to-object):
1083 (eieio-persistent-validate/fix-slot-value)
1084 (eieio-persistent-slot-type-is-class-p): New functions.
1085 (eieio-named::slot-missing): Doc fix.
1086
1087 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1088 Stop using unused publd variable.
1089
1090 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1091 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1092 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1093 (eieio-speedbar-handle-click): Do not specify a class for the
1094 method. Fixes method invocation order problems with EDE.
1095
1096 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1099 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1100
1101 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1102
1103 * bookmark.el (bookmark-version-control): Give tags in the
1104 :type choices (Bug#12309), and improve doc string.
1105 (bookmark-write-file): Bind `print-circle' to `t' to allow
1106 circular custom bookmark types. (Bug#12503)
1107
1108 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1109
1110 Revert the FOLLOW-SYMLINKS change for file-attributes.
1111 * files.el (remote-file-name-inhibit-cache, after-find-file):
1112 * time.el (display-time-file-nonempty-p): Undo last change.
1113
1114 * profiler.el (profiler-sampling-interval): Change default back to 1.
1115 See Stefan Monnier in
1116 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1117
1118 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1119
1120 Shell output catching a la gud-gdb.
1121 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1122 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1123 New Vars.
1124 (python-shell-fetch-lines-filter): New function.
1125 (python-shell-send-string-no-output): Use them.
1126
1127 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1128
1129 * profiler.el (profiler-sampling-interval): Rename from
1130 profiler-sample-interval.
1131 (profiler-sampling-interval): Default to 10.
1132 (profiler-find-profile): New command (was profiler-find-log).
1133 (profiler-find-profile-other-window): New command.
1134 (profiler-find-profile-other-frame): New command.
1135 (profiler-profile): Introduce API-level data structure.
1136
1137 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1138
1139 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1140 * files.el (remote-file-name-inhibit-cache):
1141 * time.el (display-time-file-nonempty-p): Use it.
1142 * files.el (after-find-file): Don't chase links before calling
1143 file-exists-p, as file-exists-p already does the right thing.
1144
1145 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1146
1147 Merge from standalone RefTeX repository.
1148
1149 The following ChangeLog entries are shortened versions of the
1150 original ones with file paths adapted. A not so strongly edited
1151 version of the original ChangeLog can be found in the commit log.
1152
1153 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1154 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1155 Correctly handle new value type returned by `reftex-citation'.
1156
1157 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1158 that entries with whitespace at various places are found.
1159 Doc fix. Include entries that are cross-referenced from cited entries.
1160 Include @String definitions in the resulting bib file. Add header
1161 and footer defined in `reftex-create-bibtex-header' and
1162 `reftex-create-bibtex-footer'.
1163 (reftex-do-citation): Make it possible again to insert
1164 non-existent entries. Save match data when asking for optional
1165 arguments. Return all keys, not just the first one.
1166 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1167 all citations in the same line.
1168 (reftex-parse-bibtex-entry): Accept additional optional argument
1169 `raw' and keep quotes or braces if it is non-nil. Match fields
1170 containing hyphens besides word constituents.
1171 (reftex-get-string-refs): New function.
1172 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1173 and ask if it should be reread in case it did.
1174 (reftex-pop-to-bibtex-entry)
1175 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1176 entries with spaces or tabs in front of arguments.
1177 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1178 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1179 Match entries containing numbers and symbol constituents.
1180 (reftex-do-citation, reftex-figure-out-cite-format):
1181 Use `reftex-cite-key-separator'.
1182
1183 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1184 (reftex-mouse-view-crossref): Explain why point is set.
1185
1186 * textmodes/reftex-global.el: Whitespace changes.
1187
1188 * textmodes/reftex-index.el: Move provide statement to end of
1189 file.
1190 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1191 (reftex-index-visit-phrases-buffer): Set marker when visiting
1192 buffer. This allows for returning from the phrases file to the
1193 file one was just editing instead of the file where the last
1194 phrases was added from.
1195 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1196 punctuation syntax as it usually is not used as string quote in
1197 TeX-related modes and may occur unmatched. The change also
1198 prevents fontification of quoted content.
1199 (reftex-index-phrases-mode): Use it.
1200
1201 * textmodes/reftex-parse.el (reftex-parse-from-file):
1202 Move backward one char if a `\' was matched after a section macro.
1203 (reftex-parse-from-file): Use beginning of match instead of end as
1204 bound.
1205
1206 * textmodes/reftex-ref.el: Adapt creation of
1207 `reftex-<package>-<macro>' functions to new structure of
1208 `reftex-ref-style-alist'.
1209 (reftex-reference): Use `reftex-ref-style-list' function.
1210 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1211 reference macro if `reftex-ref-macro-prompt' is non-nil.
1212 (reftex-reference): Pass refstyle to `reftex-format-special'.
1213 Determine reference macro by looking at
1214 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1215 Use only one special format function.
1216 (reftex-varioref-vref, reftex-fancyref-fref)
1217 (reftex-fancyref-Fref): Remove definitions. The functions are now
1218 generated from `reftex-ref-style-alist'.
1219 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1220 Remove.
1221 (reftex-format-special): New function.
1222
1223 * textmodes/reftex-sel.el
1224 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1225 of `reftex-ref-style-alist'. Remove code for testing macro type.
1226 (reftex-select-toggle-varioref)
1227 (reftex-select-toggle-fancyref): Remove.
1228 (reftex-select-cycle-ref-style-internal)
1229 (reftex-select-cycle-ref-style-forward)
1230 (reftex-select-cycle-ref-style-backward): New functions.
1231 (reftex-select-label-map): Use `v' and `V' for general cycling
1232 through reference styles. Add `p' for switching between number
1233 and page reference types.
1234
1235 * textmodes/reftex-toc.el (reftex-re-enlarge):
1236 Call `enlarge-window' only if there is something to do because in Emacs
1237 the horizontal version throws an error even if the parameter is 0.
1238
1239 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1240 (reftex-plug-into-AUCTeX): Doc fix.
1241 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1242 string. Adapt to new name.
1243 (reftex-ref-style-alist): Change structure so that it is not
1244 possible to use multiple different package names within a style.
1245 Remove the symbols for symbols for macro type distinction.
1246 Add characters for macro selection.
1247 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1248 (reftex-create-bibtex-footer): New variables.
1249 (reftex-format-ref-function): Mention third argument of special
1250 format function.
1251 (reftex-ref-style-alist, reftex-ref-style-default-list):
1252 New variables.
1253 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1254 to new implementation. Mark as obsolete. Add compatibility code
1255 for honoring the variable values in case they are set.
1256 (reftex-cite-format-builtin, reftex-bibliography-commands):
1257 Add support for ConTeXt.
1258 (reftex-format-ref-function, reftex-format-cite-function):
1259 Fix custom type.
1260 (reftex-cite-key-separator): New variable.
1261
1262 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1263 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1264 `reftex-syntax-table' because parens have to retain their paren
1265 syntax in order for parsing of BibTeX entries like @book(...) to
1266 work.
1267 (reftex-in-comment): Do not error out if `comment-start-skip' is
1268 not set. Deal correctly with escaped comment characters.
1269 (reftex-tie-multifile-symbols): Add doc string.
1270 Initialize `reftex-ref-style-list'.
1271 (reftex-untie-multifile-symbols): Add doc string.
1272 (reftex-add-index-macros): Doc fix.
1273 (reftex-ref-style-activate, reftex-ref-style-toggle)
1274 (reftex-ref-style-list): New functions.
1275 (reftex-mode-menu): Use them. Adapt to new structure of
1276 `reftex-ref-style-alist'.
1277 (reftex-select-with-char): Kill the RefTeX Select buffer when
1278 done.
1279 (reftex-remove-if): New function.
1280 (reftex-erase-all-selection-and-index-buffers)
1281 (reftex-mode-menu): Reference styles are now computed from
1282 `reftex-ref-style-alist'. Fix typo.
1283 (reftex-report-bug): New function.
1284 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1285 algorithms with O(n log n). Introduce optional argument SORT (not
1286 yet used).
1287
1288 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1289
1290 Enhancements for triple-quote string syntax.
1291 * progmodes/python.el (python-syntax-propertize-function):
1292 Match both quote cases in one regexp.
1293 (python-syntax-stringify): Handle matches properly.
1294
1295 2012-09-30 Juri Linkov <juri@jurta.org>
1296
1297 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1298 to nil around the call to `insert' to prevent
1299 directory time modification by lock_file. (Bug#2295)
1300 * tar-mode.el (tar-summarize-buffer): Idem.
1301
1302 2012-09-30 Juri Linkov <juri@jurta.org>
1303
1304 * facemenu.el (list-colors-sort): Add option "Luminance".
1305 (list-colors-sort-key): Implement it.
1306
1307 * vc/diff-mode.el (diff-refine-removed):
1308 * vc/ediff-init.el (ediff-fine-diff-A):
1309 * vc/smerge-mode.el (smerge-refined-removed):
1310 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1311
1312 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1313
1314 * term/ns-win.el (x-file-dialog): New function.
1315
1316 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * ido.el (ido-max-directory-size): Default to nil; the current
1319 default is small for POSIX systems, and impractical on Windows 7
1320 now that lstat returns directory sizes for NTFS.
1321
1322 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1323
1324 In buffer display functions handle window-height/window-width
1325 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1326 * window.el (window--display-buffer): New argument ALIST.
1327 Obey window-height and window-width alist entries.
1328 (window--try-to-split-window): New argument ALIST.
1329 Bind window-combination-limit to t when the window's size shall be
1330 changed and window-combination-limit equals `window-size'.
1331 (display-buffer-in-atom-window)
1332 (display-buffer-in-major-side-window)
1333 (display-buffer-in-side-window, display-buffer-same-window)
1334 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1335 (display-buffer-pop-up-window, display-buffer-below-selected)
1336 (display-buffer-at-bottom, display-buffer-in-previous-window)
1337 (display-buffer-use-some-window): Adjust all callers of
1338 window--display-buffer and window--try-to-split-window.
1339 (fit-frame-to-buffer): New option.
1340 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1341 is non-nil.
1342 (display-buffer-in-major-side-window): Evaluate window-height /
1343 window-width alist entries.
1344
1345 * help.el (temp-buffer-resize-frames)
1346 (temp-buffer-resize-regexps): Remove options.
1347 (temp-buffer-resize-mode): Adjust doc-string.
1348 (resize-temp-buffer-window): Don't consult
1349 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1350 temp-buffer-resize-frames.
1351
1352 * dired.el (dired-mark-pop-up):
1353 Call display-buffer-below-selected with a fit-window-to-buffer alist
1354 entry.
1355
1356 2012-09-30 Chong Yidong <cyd@gnu.org>
1357
1358 * server.el (server-host): Document the security implications.
1359 (server-auth-key): Doc fix.
1360
1361 * startup.el (initial-buffer-choice): Doc fix.
1362
1363 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1364
1365 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1366 restriction change.
1367
1368 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1369
1370 * help-fns.el (help-fns--obsolete): Fix last change.
1371
1372 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1375 (minor-mode-map-alist): Remove redundant code.
1376
1377 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1378 visited in a buffer.
1379 (cvs-insert-visited-file): New function.
1380 (find-file-hook): Use it.
1381
1382 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1383
1384 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1385 chose face.
1386 (log-edit-empty-buffer-p): Don't require a space after a header.
1387
1388 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1389
1390 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1391
1392 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1393 a proper minor-mode.
1394
1395 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1396
1397 2012-09-29 Glenn Morris <rgm@gnu.org>
1398
1399 * winner.el (winner-mode): Remove variable (let define-minor-mode
1400 handle it).
1401 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1402 Doc fixes.
1403 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1404 (winner-mode): Use define-minor-mode.
1405
1406 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1407 the full definition in loaddefs, rather than duplicating it.
1408
1409 * help-macro.el (three-step-help): No need to autoload defcustom.
1410
1411 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1412 (inferior-lisp-program, inferior-lisp-load-command)
1413 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1414 No need to autoload defcustoms.
1415
1416 * hippie-exp.el (hippie-expand-try-functions-list)
1417 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1418 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1419 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1420 (hippie-expand-only-buffers): No need to autoload defcustoms.
1421 * progmodes/vhdl-mode.el (vhdl-line-expand):
1422 Explicitly load hippie-exp, so it does not get autoloaded
1423 while hippie-expand-try-functions-list is let-bound.
1424
1425 2012-09-28 Glenn Morris <rgm@gnu.org>
1426
1427 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1428
1429 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1430 Only "cl.el" counts as cl these days.
1431
1432 2012-09-28 Juri Linkov <juri@jurta.org>
1433
1434 Display archive errors in the echo area instead of inserting
1435 to the file buffer.
1436
1437 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1438 to STDERR-TEST that can be a regexp matching a successful output.
1439 Create a temporary file and redirect stderr to it. Search for
1440 STDERR-TEST in the stderr output and display it in the echo area
1441 if no match is found.
1442 (archive-extract-by-file): New function like
1443 `archive-extract-by-stdout' but extracting archives to files
1444 and looking for successful matches in stdout. Function body is
1445 mostly copied from `archive-rar-extract'.
1446 (archive-rar-extract): Use `archive-extract-by-file'.
1447 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1448
1449 2012-09-28 Leo Liu <sdl.web@gmail.com>
1450
1451 * pcomplete.el (pcomplete-show-completions):
1452 Use minibuffer-message to make pcomplete usable in minibuffer.
1453
1454 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1455
1456 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * type-break.el: Use lexical-binding.
1459 (type-break-mode): Use define-minor-mode.
1460
1461 * emacs-lisp/pcase.el (pcase--mark-used): New.
1462 (pcase--u1): Use it (bug#12512).
1463
1464 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1465 in load-history with the right file name.
1466
1467 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1468
1469 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1470 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1471 (doc-view-get-bounding-box): Make bounding box slicing work for
1472 ODF and DVI documents.
1473
1474 2012-09-28 Glenn Morris <rgm@gnu.org>
1475
1476 * type-break.el (type-break-mode, type-break-interval)
1477 (type-break-good-rest-interval, type-break-keystroke-threshold):
1478 No need to autoload.
1479 (type-break-good-rest-interval, type-break-keystroke-threshold):
1480 Add :set-after.
1481
1482 2012-09-28 Chong Yidong <cyd@gnu.org>
1483
1484 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1485 Add :version tag.
1486
1487 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1490
1491 2012-09-27 Glenn Morris <rgm@gnu.org>
1492
1493 * faces.el (x-display-name): Declare (for without-x builds).
1494
1495 * linum.el (linum-format): Don't autoload it. Improve :type.
1496
1497 * progmodes/tcl.el: Don't require outline when compiling.
1498 (outline-regexp, outline-level): Declare.
1499 * textmodes/sgml-mode.el: Don't require outline when compiling.
1500 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1501
1502 * term.el (term-ansi-reset):
1503 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1504
1505 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1506 files for RCS and SCCS. (Bug#9781)
1507
1508 2012-09-27 Chong Yidong <cyd@gnu.org>
1509
1510 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1511 change; value should be t.
1512
1513 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * image-mode.el: Use lexical-binding.
1516 (image-mode-winprops): Use t to stand for the window of
1517 a buffer that's not displayed.
1518 * doc-view.el (doc-view-new-window-function): Handle the new
1519 t in winprops.
1520 (doc-view-enlarge): Make it a real nop if the size is not changed.
1521 (doc-view-display): Handle the case where the buffer is not (yet?)
1522 displayed in any window.
1523 (doc-view-saved-settings): New var.
1524 (doc-view-mode): Use it.
1525 (doc-view-fallback-mode): Set it.
1526
1527 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1528 Set lexical-binding.
1529 (minibuffer-eldef-shorten-default): New var.
1530 (minibuffer-default-in-prompt-regexps): Use it for new default.
1531 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1532
1533 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1534
1535 * international/uni-bidi.el:
1536 * international/uni-category.el:
1537 * international/uni-name.el:
1538 * international/uni-numeric.el: Regenerate.
1539
1540 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1541 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * profiler.el: New file.
1544
1545 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1548 (testcover-reinstrument): Simplify with CSE.
1549
1550 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1551
1552 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1553
1554 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1555
1556 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1557 (verilog-auto-input, verilog-auto-insert-lisp)
1558 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1559 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1560 (verilog-auto-unused, verilog-auto-wire)
1561 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1562 newline. Reported by Andrew Jones.
1563 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1564 Reported by Brad Dobbie.
1565 (verilog-batch-delete-trailing-whitespace):
1566 Create verilog-batch-delete-trailing-whitespace.
1567 Reported by Brad Dobbie.
1568 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1569 parameters from another module. Reported by Dan Katz.
1570 (verilog-auto, verilog-auto-assign-modport)
1571 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1572 AUTOINOUTMODPORT for UVM interface module shell generation.
1573 Reported by Brad Dobbie.
1574 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1575 standard behavior.
1576 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1577 Reported by Matt Martin.
1578
1579 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1580
1581 * window.el (window--resize-child-windows): When resizing child
1582 windows proportionally, process them in reverse order to
1583 preserve the "when splitting a window the new one gets the odd
1584 line" behavior.
1585 (window--resize-root-window-vertically): When resizing the
1586 minibuffer window try to affect only windows at the bottom of the
1587 frame. (Bug#12419)
1588
1589 2012-09-25 Chong Yidong <cyd@gnu.org>
1590
1591 * subr.el (declare): Doc fix.
1592
1593 * help-fns.el (help-fns--obsolete): Handle macros properly.
1594
1595 2012-09-25 Chong Yidong <cyd@gnu.org>
1596
1597 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1598 this function obsolete.
1599
1600 * calendar/cal-x.el (calendar-two-frame-setup)
1601 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1602 * calendar/calendar.el (american-calendar, european-calendar)
1603 (calendar-for-loop):
1604 * comint.el (comint-dynamic-simple-complete)
1605 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1606 * desktop.el (desktop-load-default):
1607 * dired-x.el (dired-omit-here-always)
1608 (dired-hack-local-variables, dired-default-directory):
1609 * emacs-lisp/derived.el (derived-mode-class):
1610 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1611 * emacs-lock.el (toggle-emacs-lock):
1612 * epa.el (epa-display-verify-result):
1613 * epg.el (epg-sign-keys, epg-start-sign-keys)
1614 (epg-passphrase-callback-function):
1615 * eshell/esh-util.el (eshell-for):
1616 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1617 (eshell-add-to-window-buffer-names):
1618 * files.el (locate-file-completion):
1619 * imenu.el (imenu-example--create-c-index)
1620 (imenu-example--create-lisp-index)
1621 (imenu-example--lisp-extract-index-name)
1622 (imenu-example--name-and-position):
1623 * international/mule-cmds.el (princ-list):
1624 * international/mule-diag.el (decode-codepage-char):
1625 * international/mule-util.el (detect-coding-with-priority):
1626 * iswitchb.el (iswitchb-read-buffer):
1627 * mail/mailalias.el (mail-complete):
1628 * mail/sendmail.el (mail-sent-via):
1629 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1630 (mouse-major-mode-menu):
1631 * password-cache.el (password-read-and-add):
1632 * pcomplete.el (pcomplete-parse-comint-arguments):
1633 * progmodes/sh-script.el (sh-maybe-here-document):
1634 * replace.el (query-replace-regexp-eval):
1635 * savehist.el (savehist-load):
1636 * simple.el (choose-completion-delete-max-match):
1637 * term.el (term-dynamic-simple-complete):
1638 * vc/ediff-init.el (ediff-check-version):
1639 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1640 * vc/vc.el (vc-diff-switches-list):
1641 * view.el (view-return-to-alist-update): Likewise.
1642
1643 * subr.el (eval-next-after-load, makehash, insert-string)
1644 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1645 mark obsolete.
1646 (mode-line-inverse-video): Variable deleted.
1647
1648 * international/mule-util.el (string-to-sequence): Remove.
1649
1650 * calendar/calendar.el (calendar-version):
1651 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1652 (icalendar-convert-diary-to-ical):
1653 * cus-edit.el (custom-mode):
1654 * ansi-color.el (ansi-color-unfontify-region):
1655 * international/latin1-disp.el (latin1-char-displayable-p):
1656 * progmodes/cwarn.el (turn-on-cwarn-mode):
1657 * progmodes/which-func.el (which-func-update-1):
1658 Use define-obsolete-function-alias.
1659
1660 * net/newst-backend.el (newsticker-cache-filename):
1661 * net/newst-treeview.el (newsticker-groups-filename):
1662 Fix incorrect obsolescence declaration.
1663
1664 * allout.el (allout-passphrase-hint-string): Likewise.
1665 (allout-init): Use a declare form to mark obsolete.
1666
1667 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1668 this applies to functions.
1669
1670 * iswitchb.el (iswitchb-read-buffer): Move code of
1671 iswitchb-define-mode-map here, and delete that obsolete function.
1672
1673 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1674 font-lock-reference-face.
1675
1676 2012-09-25 Glenn Morris <rgm@gnu.org>
1677
1678 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1679 Doc fixes.
1680
1681 * eshell/em-term.el (eshell-term-name):
1682 Default to term-term-name. (Bug#12485)
1683
1684 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1685
1686 * progmodes/python.el (python-shell-send-buffer): Better handling
1687 of "if __name__ == '__main__':" conditionals when sending the buffer.
1688
1689 2012-09-24 Glenn Morris <rgm@gnu.org>
1690
1691 * eshell/esh-cmd.el (eshell-find-alias-function):
1692 Tighten up file-name regexp. (Bug#12499)
1693
1694 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1695
1696 Enhancements for triple-quote string syntax.
1697 * progmodes/python.el (python-quote-syntax): Remove.
1698 (python-syntax-propertize-function): New value.
1699 (python-syntax-count-quotes, python-syntax-stringify):
1700 New functions.
1701
1702 2012-09-24 Chong Yidong <cyd@gnu.org>
1703
1704 * mail/supercite.el (sc-version): Remove obsolete function.
1705 (sc-describe): Don't mark as obsolete, since it is bound.
1706 (sc-submit-bug-report): Remove.
1707
1708 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1709 (cvs-commit-buffer-require-final-newline): Remove.
1710 (log-edit-require-final-newline)
1711 (log-edit-changelog-full-paragraphs): Default to t.
1712
1713 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1714 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1715 * vc/vc.el (vc-checkout-carefully): Likewise.
1716
1717 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1718 (emerge-version): Remove.
1719
1720 * progmodes/compile.el (compile-internal): Remove.
1721 (compilation-parse-errors-function): Fix typo.
1722
1723 * international/mule.el (set-char-table-default): Remove.
1724 (set-coding-priority, make-coding-system, generic-char-p)
1725 (charset-list, charset-bytes, charset-id): Use declare to mark
1726 functions as obsolete.
1727
1728 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1729 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1730 * vc/vc-hooks.el (vc-default-registered): Don't use
1731 vc-master-templates.
1732
1733 * font-lock.el (font-lock-reference-face):
1734 Use define-obsolete-variable-alias.
1735
1736 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1737 * calendar/calendar.el (calendar-font-lock-keywords):
1738 * calendar/diary-lib.el (diary-font-lock-keywords)
1739 (diary-fancy-font-lock-keywords):
1740 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1741 * textmodes/reftex-index.el (reftex-insert-index):
1742 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1743 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1744 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1745 * progmodes/prolog.el (prolog-font-lock-keywords):
1746 * progmodes/idlwave.el (idlwave-idl-keywords):
1747 * progmodes/ada-mode.el (ada-font-lock-keywords):
1748 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1749
1750 2012-09-24 Glenn Morris <rgm@gnu.org>
1751
1752 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1753
1754 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1755
1756 * progmodes/python.el (python-indent-line): More consistent cursor
1757 movement behavior.
1758
1759 2012-09-23 Stefan Merten <smerten@oekonux.de>
1760
1761 * textmodes/rst.el: Fix compiler warning.
1762
1763 2012-09-23 Roland Winkler <winkler@gnu.org>
1764
1765 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1766 Transcribe also LaTeX hyphenation.
1767 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1768 bibtex-reformat-previous-options.
1769
1770 2012-09-23 Roland Winkler <winkler@gnu.org>
1771
1772 * proced.el (proced-renice-command): New variable.
1773 (proced-marked-processes): New function.
1774 (proced-with-processes-buffer): New macro.
1775 (proced-send-signal): Use them.
1776 (proced-renice): New command bound to r.
1777
1778 2012-09-23 Roland Winkler <winkler@gnu.org>
1779
1780 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1781 ibuffer-saved-filter-groups has one element, shortcut the call of
1782 completing-read. (Bug#12331)
1783
1784 2012-09-23 Chong Yidong <cyd@gnu.org>
1785
1786 * bindings.el (mode-line-toggle-read-only):
1787 * bs.el (bs-toggle-readonly):
1788 * buff-menu.el (Buffer-menu-toggle-read-only):
1789 * dired.el (dired-toggle-read-only):
1790 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1791
1792 2012-09-23 Chong Yidong <cyd@gnu.org>
1793
1794 * image.el (image-type-available-p): Adapt to init-image-library
1795 argument changes.
1796
1797 2012-09-22 Juri Linkov <juri@jurta.org>
1798
1799 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1800 `dired-toggle-read-only'. (Bug#12462)
1801
1802 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1803
1804 * subr.el (temp-output-buffer-show): New function.
1805 (with-output-to-temp-buffer): Call temp-output-buffer-show
1806 instead of internal-temp-output-buffer-show.
1807
1808 2012-09-22 Chong Yidong <cyd@gnu.org>
1809
1810 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1811 (Bug#12462).
1812
1813 * repeat.el (repeat): Doc fix (Bug#12348).
1814
1815 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1816 (Bug#10909).
1817
1818 * simple.el (shell-command-on-region): Doc fix.
1819 (read-only-mode): Doc fix.
1820
1821 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1822
1823 * emacs-lisp/timer.el (run-with-idle-timer)
1824 (timer-activate-when-idle): Warn against reinvoking an idle timer
1825 from within its own timer action. (Bug#12447)
1826
1827 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1828
1829 * cus-start.el (window-combination-limit): Add new optional
1830 values.
1831 * window.el (temp-buffer-window-show)
1832 (window--try-to-split-window): Handle new values of
1833 window-combination-limit (Bug#1806).
1834 (split-window): Test window-combination-limit for t instead of
1835 non-nil.
1836 (display-buffer-at-bottom): New buffer display action function.
1837 * help.el (temp-buffer-resize-regexps): New option.
1838 (temp-buffer-resize-mode): Rewrite doc-string.
1839 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1840 Don't resize reused window. Suggested by Glenn Morris.
1841
1842 2012-09-22 Stefan Merten <smerten@oekonux.de>
1843
1844 * textmodes/rst.el: Revamp section title faces.
1845 (rst-official-version)
1846 (rst-package-emacs-version-alist): Sync with official version
1847 V1.4.0.
1848 (rst-faces-defaults, rst-set-level-default)
1849 (rst-level-face-max, rst-level-face-base-color)
1850 (rst-level-face-base-light, rst-level-face-format-light)
1851 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1852 (rst-adornment-faces-alist): Match new setup.
1853 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1854 (rst-level-5, rst-level-6): New faces.
1855
1856 2012-09-22 Chong Yidong <cyd@gnu.org>
1857
1858 * simple.el (undo): Handle indirect buffers (Bug#8207).
1859
1860 2012-09-21 Leo Liu <sdl.web@gmail.com>
1861
1862 IDO: Disable match re-ordering for buffer switching.
1863 * ido.el (ido-buffer-disable-smart-matches): New variable.
1864 (ido-set-matches-1): Use it. (Bug#2042)
1865
1866 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1867
1868 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1869 Fix 2011-05-17 change. (Bug#12418)
1870
1871 2012-09-21 Leo Liu <sdl.web@gmail.com>
1872
1873 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1874
1875 2012-09-21 Glenn Morris <rgm@gnu.org>
1876
1877 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1878 Be more robust about locating simple.el.
1879
1880 2012-09-21 Glenn Morris <rgm@gnu.org>
1881
1882 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1883
1884 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1885
1886 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1887
1888 2012-09-20 Juri Linkov <juri@jurta.org>
1889
1890 * replace.el (query-replace-read-from): Use `read-regexp' instead
1891 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1892 (occur-read-primary-args): Use `read-regexp' instead of
1893 `read-string'.
1894 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1895 `read-from-minibuffer'.
1896 * isearch.el (isearch-occur): Use `read-regexp' instead of
1897 `read-string'.
1898 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1899 `read-from-minibuffer'.
1900 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1901 of `read-string'. (Bug#7567)
1902
1903 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1904 and allow accepting a list of strings prepended to a list of
1905 standard default values. Doc fix. (Bug#12321)
1906
1907 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1908
1909 * replace.el (read-regexp): Don't add ": " when PROMPT already
1910 ends with a colon and space. (Bug#12321)
1911
1912 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1913
1914 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1915 error.
1916
1917 2012-09-20 Stefan Merten <smerten@oekonux.de>
1918
1919 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1920 Fixes feature request bug#11711.
1921 (rst-mode): Create `imenu-create-index-function'.
1922 (rst-get-stripped-line): Delete after refactoring.
1923 (rst-section-tree, rst-section-tree-rec)
1924 (rst-section-tree-point): Refactor and document properly.
1925 (rst-imenu-find-adornments-for-position)
1926 (rst-imenu-convert-cell, rst-imenu-create-index):
1927 New function.
1928
1929 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1932 (macroexp--expand-all): Use it.
1933 (macroexp--funcall-and-return): Remove by folding it into its sole
1934 caller (macroexp--warn-and-return).
1935 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1936 Use macroexp--obsolete-warning.
1937
1938 * calc/calc.el: Fix last change by removing the whole chunk, since it
1939 was only needed back when Calc was not bundled.
1940
1941 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1942
1943 * emacs-lisp/debug.el (debug): Restore assignment to
1944 debugger-old-buffer removed on 2012-09-08.
1945
1946 2012-09-20 Juri Linkov <juri@jurta.org>
1947
1948 * dired-aux.el (dired-diff): Remove (require 'diff) since
1949 `diff-latest-backup-file' is now autoloaded.
1950
1951 2012-09-20 Chong Yidong <cyd@gnu.org>
1952
1953 * vc/diff.el (diff-latest-backup-file): Autoload.
1954
1955 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * calc/calc.el: Remove redundant autoload shape check.
1958 (sel-mode): Don't defvar.
1959 (calc-get-stack-element): Add `sel-mode' arg instead.
1960 (calc-top, calc-top-list): Pass it this additional argument.
1961 * calc/calc-store.el (calc-store-map):
1962 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1963 (calc-map-equation, calc-outer-product, calc-inner-product):
1964 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1965
1966 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1967
1968 2012-09-19 Juri Linkov <juri@jurta.org>
1969
1970 * dired-aux.el (dired-diff): Add (require 'diff) because
1971 `diff-latest-backup-file' is not autoloaded.
1972 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1973 of `dired-get-filename' to t to not report error when there is
1974 no default file on the current line.
1975
1976 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1979 macroexp--eval-if-compile.
1980 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1981 (macroexp--expand-all): Use them (bug#12371).
1982
1983 * doc-view.el (doc-view-guess-paper-size)
1984 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1985
1986 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1987
1988 New feature: set optimal slice from BoundingBox information.
1989 * doc-view.el (doc-view-mode-map): Add keybinding.
1990 (doc-view-menu): Add menu entry.
1991 (doc-view-set-slice): Adapt docstring.
1992 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1993 (doc-view-scale-bounding-box)
1994 (doc-view-set-slice-from-bounding-box): New functions.
1995 (doc-view-paper-sizes): New defvar.
1996
1997 2012-09-19 Glenn Morris <rgm@gnu.org>
1998
1999 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2000 (byte-compile-log-warning): Autoload. (Bug#12371)
2001
2002 * calendar/calendar.el (calendar-american-month-header)
2003 (calendar-european-month-header, calendar-iso-month-header)
2004 (calendar-month-header): New options.
2005 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2006 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2007
2008 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2009
2010 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2011
2012 2012-09-18 Juri Linkov <juri@jurta.org>
2013
2014 * dired-aux.el (dired-diff): Restore original functionality of
2015 getting the default value, but keep new feature of using the
2016 latest existing backup file (`diff-latest-backup-file').
2017
2018 2012-09-18 Juri Linkov <juri@jurta.org>
2019
2020 * dired.el (dired-mark): If the region is active in Transient Mark
2021 mode, mark all files in the active region. Doc fix.
2022 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2023 Doc fix. (Bug#10624)
2024
2025 2012-09-18 Juri Linkov <juri@jurta.org>
2026
2027 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2028 attributes for M-n are pulled from the file at point.
2029 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2030 Suggested by Drew Adams. (Bug#10624)
2031
2032 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2035 whitespace after "end".
2036 (ruby-do-end-to-brace): Collapse block to one line if it fits
2037 within fill-column.
2038
2039 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2040
2041 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2042 value.
2043 (debug): Don't remove debugger window when debugger is expected
2044 to be back.
2045
2046 2012-09-18 Chong Yidong <cyd@gnu.org>
2047
2048 * custom.el (defface): Doc fix.
2049
2050 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2051
2052 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2053
2054 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2055 to initialize query-on-exit; then test that instead (bug#12288).
2056
2057 2012-09-17 Stefan Merten <smerten@oekonux.de>
2058
2059 * textmodes/rst.el: Add support for `testcover'.
2060 (rst-defcustom-testcover, rst-testcover-add-compose)
2061 (rst-testcover-add-1value): New functions.
2062 (rst-portable-mark-active-p): Replace by `use-region-p'.
2063 (rst-update-section, rst-classify-adornment)
2064 (rst-find-title-line): Mark `1value' forms.
2065 (rst-classify-adornment): Remove superfluous form.
2066 (rst-update-section, rst-get-adornments-around)
2067 (rst-adornment-complete-p, rst-get-next-adornment)
2068 (rst-adjust, rst-promote-region)
2069 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2070 (rst-find-pfx-in-region, rst-section-tree-rec)
2071 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2072 (rst-toc-node, rst-toc, rst-forward-section)
2073 (rst-iterate-leftmost-paragraphs)
2074 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2075 (rst-bullet-list-region)
2076 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2077 (rst-compile-find-conf, rst-compile)
2078 (rst-repeat-last-character): Fix style.
2079
2080 2012-09-17 Chong Yidong <cyd@gnu.org>
2081
2082 * comint.el (comint--complete-file-name-data): Don't add a space
2083 if the status is `sole'; that adds a gratuitous space in the
2084 completion-cycling case (Bug#12092).
2085
2086 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2087
2088 2012-09-17 Richard Stallman <rms@gnu.org>
2089
2090 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2091 only in the mime-shown mode, not in raw mode.
2092 (rmail-mime): Toggle off mime by displaying the message without
2093 mime processing. (Bug#12305)
2094
2095 * mail/rmail.el (rmail-retry-failure):
2096 Turn off mime processing first. (Bug#12037)
2097
2098 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2099
2100 2012-09-17 Chong Yidong <cyd@gnu.org>
2101
2102 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2103 (shell-dynamic-complete-functions): Convert to defcustom.
2104 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2105
2106 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2107 * comint.el (comint-prompt-read-only):
2108 * custom.el (defcustom):
2109 * hi-lock.el (hi-lock-mode):
2110 * ibuffer.el (ibuffer-formats):
2111 * ielm.el (ielm-prompt-read-only):
2112 * novice.el (disable-command):
2113 * saveplace.el (toggle-save-place):
2114 * speedbar.el (speedbar-supported-extension-expressions):
2115 * startup.el (auto-save-list-file-prefix, init-file-user)
2116 (after-init-hook, inhibit-startup-echo-area-message):
2117 * strokes.el (strokes-help):
2118 * time-stamp.el (time-stamp):
2119 * calendar/calendar.el (calendar, diary-file):
2120 * calendar/diary-lib.el (diary-mail-entries, diary)
2121 (diary-list-entries-hook):
2122 * calendar/holidays.el (holidays, calendar-holidays):
2123 * calendar/lunar.el (lunar-phases):
2124 * calendar/solar.el (sunrise-sunset):
2125 * emulation/edt.el (edt-load-keys):
2126 * emulation/viper.el (viper-mode):
2127 * eshell/em-alias.el (eshell-command-aliases-list):
2128 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2129 * international/ogonek.el (ogonek-information):
2130 * net/tramp-cmds.el (tramp-bug):
2131 * net/quickurl.el (quickurl-reread-hook-postfix):
2132 * play/decipher.el (decipher-font-lock-keywords):
2133 * progmodes/cc-styles.el (c-set-style):
2134 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2135 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2136 * progmodes/octave-mod.el (octave-mode):
2137 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2138 * progmodes/verilog-mode.el (verilog-read-defines):
2139 * textmodes/two-column.el (2C-mode): Likewise.
2140
2141 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2142
2143 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2144 that holds many addresses.
2145
2146 2012-09-16 Chong Yidong <cyd@gnu.org>
2147
2148 * align.el (align-areas): Call the indication function with
2149 positions instead of markers for arguments (Bug#12343).
2150
2151 * files.el (parse-colon-path): Use split-string (Bug#12351).
2152
2153 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2154 (display-buffer-function): Mark as obsolete.
2155
2156 * progmodes/compile.el (compilation-parse-errors): Accept list
2157 values similar to font-lock-keywords (Bug#12136).
2158 Suggested by Oleksandr Manzyuk.
2159 (compilation-error-regexp-alist): Doc fix.
2160
2161 2012-09-15 Glenn Morris <rgm@gnu.org>
2162
2163 * version.el (emacs-bzr-version-bzr): New function.
2164 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2165
2166 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2167 checkouts, check the parent dirstate matches the branch.
2168 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2169 empty string.
2170
2171 * version.el (emacs-bzr-version): Doc fix.
2172 (emacs-bzr-version-dirstate): New function.
2173 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2174 is local try and check that it matches the branch. If not, just
2175 use dirstate information. (Bug#12441)
2176
2177 2012-09-14 Juri Linkov <juri@jurta.org>
2178
2179 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2180 (Bug#12399)
2181
2182 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2185
2186 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2187 Remove obsolete byte-compiler hack that tried to silence some warnings.
2188 (edebug-submit-bug-report): Remove.
2189 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2190 Remove aliases, use the un-prefixed name instead.
2191 (edebug-pop-to-buffer): Consider other frames.
2192 (edebug-original-read):: Make it more obvious that it's always defined.
2193 (edebug--make-form-data-entry, edebug--form-data-name)
2194 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2195 single-dashed name, and implement with cl-defstruct.
2196 (edebug-set-form-data-entry): Use the standard accessors.
2197 (edebug-make-top-form-data-entry): Use push.
2198 (edebug-no-match): Drop useless `funcall'.
2199 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2200 to functions.
2201 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2202 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2203 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2204 (easy-menu-define, with-custom-print): Remove redundant specs.
2205 (edebug-outside-overriding-local-map)
2206 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2207 (edebug--display): Bind unread-command-events directly to nil rather
2208 than binding it to unread-command-events and later setting it to nil.
2209 (edebug--display): Kill edebug-eval-buffer here...
2210 (edebug--recursive-edit): ...rather than here.
2211 Bind standard-output and standard-input.
2212 (edebug-eval): Check cl-macroexpand-all is fboundp.
2213 (edebug-temp-display-freq-count): Fix last change.
2214
2215 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2216 * subr.el (noreturn, 1value): Add `debug' spec.
2217 * emacs-lisp/advice.el: Require cl-lib.
2218 (ad-copy-tree): Remove, use copy-tree instead.
2219 (ad-dolist): Remove use dolist or cl-dolist instead.
2220 (ad-do-return): Remove, use cl-return instead.
2221 (defadvice): Add `debug' spec.
2222
2223 2012-09-13 Juri Linkov <juri@jurta.org>
2224
2225 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2226 (Bug#12399)
2227
2228 2012-09-13 Glenn Morris <rgm@gnu.org>
2229
2230 * calc/calc.el (math-compose-expr):
2231 * calc/calc-ext.el (math-compose-expr):
2232 * progmodes/cc-defs.el (cl-macroexpand-all):
2233 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2234 (cl-macroexpand-all): Update declarations.
2235
2236 * vc/vc.el: No need to require ediff.
2237 (ediff-load-version-control): Declare.
2238 (ediff-vc-internal): Fix declaration.
2239 (vc-version-ediff): Require ediff.
2240
2241 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2242
2243 Use a more backwards-compatible timer format (Bug#12430).
2244 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2245 being right after USECS, as that better supports old code that
2246 inadvisedly looked directly at the timer vector.
2247
2248 2012-09-13 Kenichi Handa <handa@gnu.org>
2249
2250 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2251 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2252 `coding-priority' property of these language environment.
2253
2254 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2255
2256 Fix glitches caused by addition of psec to timers (Bug#12430).
2257 * image.el (image-animate-timer):
2258 * time.el (display-time-world-timer):
2259 Use timer--function and timer--args rather than raw access to
2260 timer vector.
2261
2262 2012-09-13 Glenn Morris <rgm@gnu.org>
2263
2264 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2265 If not compiling a file, try using load-file-name.
2266
2267 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2270 Fix last change.
2271 (edebug-update-eval-list): Use `push'.
2272
2273 * emacs-lisp/edebug.el: Use lexical-binding.
2274 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2275 Mark unused args with underscore.
2276 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2277 (edebug-form-data): Use defvar-local.
2278 (edebug-make-before-and-after-form, edebug-make-after-form):
2279 Use backquote.
2280 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2281 Not dynamically scoped any more.
2282 (edebug--enter-trace): Add arguments `function' and `args'.
2283 Rename from edebug-enter-trace.
2284 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2285 (edebug--update-coverage): Add `after-index' and `value' args.
2286 Rename from edebug-update-coverage.
2287 (edebug-slow-after): Call it accordingly.
2288 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2289 edebug-recursive-edit.
2290 (edebug--display): Call it accordingly. Add args `value',
2291 `offset-index', and `arg-mode'. Rename from edebug-display.
2292 (edebug-debugger, edebug): Call it accordingly.
2293 (edebug-eval-display-list): Use dolist.
2294
2295 2012-09-12 Juri Linkov <juri@jurta.org>
2296
2297 * info.el (Info-search): Don't check for isearch-mode and
2298 isearch-regexp before let-binding search-spaces-regexp to
2299 Info-search-whitespace-regexp.
2300 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2301 search-whitespace-regexp if isearch-lax-whitespace or
2302 isearch-regexp-lax-whitespace is non-nil.
2303 (Info-mode): Don't set local variable search-whitespace-regexp.
2304 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2305
2306 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2309 (debugger-env-macro): Remove support for unread-command-char.
2310
2311 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2312 the temporary map re-appearing on emulation-mode-map-alists.
2313
2314 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2315 since 22.1.
2316
2317 * ehelp.el (with-electric-help): Accept functions in
2318 electric-help-form-to-execute.
2319 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2320 And replace unread-command-char -> unread-command-events.
2321
2322 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2323
2324 Sync with Tramp 2.2.6.
2325
2326 * net/tramp.el (tramp-accept-process-output): Don't use
2327 JUST-THIS-ONE in the XEmacs case.
2328
2329 * net/trampver.el: Update release number.
2330
2331 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2332
2333 * emacs-lisp/debug.el (debugger-previous-window-height):
2334 New variable.
2335 (debug): When debugger-jumping-flag is non-nil try to restore
2336 height of debugger window. (Bug#8789)
2337
2338 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2341 overriding-local-map and pre/post-command-hook here.
2342 (edebug-recursive-edit): Do it here instead (bug#12345).
2343 (edebug-outside-unread-command-char): Remove all uses of
2344 unread-command-char.
2345
2346 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2347 inhibit-debugger is bound instead.
2348
2349 2012-09-11 Bastien Guerry <bzg@gnu.org>
2350
2351 * subr.el (set-temporary-overlay-map): Add a docstring.
2352 (Bug#12346)
2353
2354 2012-09-11 Bastien Guerry <bzg@gnu.org>
2355
2356 * minibuffer.el (completion-table-subvert): Fix docstring.
2357 (Bug#12347)
2358
2359 2012-09-11 Bastien Guerry <bzg@gnu.org>
2360
2361 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2362
2363 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2364
2365 * progmodes/sql.el: Version 3.1
2366 (sql-db2-escape-newlines): New variable.
2367 (sql-escape-newlines-filter): Use it.
2368
2369 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2370
2371 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2372
2373 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2374
2375 * vc/diff-mode.el (diff-mode-menu):
2376 Bind diff-remove-trailing-whitespace.
2377
2378 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2379
2380 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2381 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2382 (emacs-lisp-byte-code-mode): New functions.
2383 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2384 (eval-defun-2): Remove bogus interactive spec.
2385 (lisp-indent-line): Remove redundant whole-exp code, now done in
2386 indent-according-to-mode.
2387 (save-match-data): Remove redundant indent data.
2388
2389 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2390 Use `declare'.
2391
2392 2012-09-09 Juri Linkov <juri@jurta.org>
2393
2394 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2395 (replace-lax-whitespace, query-replace-regexp)
2396 (query-replace-regexp-eval, replace-regexp): Doc fix.
2397 (perform-replace, replace-highlight): Let-bind
2398 isearch-lax-whitespace to replace-lax-whitespace and
2399 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2400
2401 * isearch.el (isearch-query-replace): Let-bind
2402 replace-lax-whitespace to isearch-lax-whitespace and
2403 replace-regexp-lax-whitespace to
2404 isearch-regexp-lax-whitespace. (Bug#10885)
2405
2406 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2409
2410 2012-09-09 Alan Mackenzie <acm@muc.de>
2411
2412 * progmodes/cc-engine.el (c-state-cache-init):
2413 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2414 (c-record-parse-state-state):
2415 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2416
2417 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2418
2419 * register.el (register-separator): Rename from
2420 separator-register. All uses changed. Doc fix.
2421 (register): Fix version.
2422
2423 2012-09-09 Chong Yidong <cyd@gnu.org>
2424
2425 * replace.el (query-replace-map): Bind four new symbols for
2426 requesting window scrolling.
2427
2428 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2429 query-replace-map (Bug#8948).
2430
2431 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2432
2433 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2434 since they are now in query-replace-map.
2435
2436 * window.el (scroll-other-window-down): Make the arg optional.
2437
2438 2012-09-09 Chong Yidong <cyd@gnu.org>
2439
2440 * files.el (hack-local-variables-confirm): Use quit-window to kill
2441 the *Local Variables* buffer.
2442
2443 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2446 not just expect to be at its beginning. Adjust callees.
2447 Succeed when do-end block has no space before the pipe character.
2448 (ruby-brace-to-do-end): When the original block is one-liner,
2449 convert to multiline. Reindent the result.
2450
2451 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2452
2453 * register.el (register): New group.
2454 (separator-register): New user option.
2455 (increment-register): Route it to `append-to-register', if
2456 register contains text. Implication is that `C-x r +' can now be
2457 used for appending to a text register (bug#12217).
2458 (append-to-register, prepend-to-register): Add separator based on
2459 `separator-register'.
2460
2461 2012-09-08 Alan Mackenzie <acm@muc.de>
2462
2463 AWK Mode: make auto-newline work when there's "==" in the pattern.
2464 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2465 correctly.
2466 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2467 Test more rigorously for "=" token.
2468
2469 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2470
2471 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2472 Only fail when reached LIMIT.
2473
2474 2012-09-08 Chong Yidong <cyd@gnu.org>
2475
2476 * dired.el (dired-mode-map): Don't bind M-=.
2477
2478 * dired-aux.el (dired-diff): Use backup file as default.
2479
2480 2012-09-08 Drew Adams <drew.adams@oracle.com>
2481
2482 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2483
2484 2012-09-08 Chong Yidong <cyd@gnu.org>
2485
2486 * subr.el (syntax-after, syntax-class): Doc fix.
2487
2488 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2489
2490 * window.el (display-buffer-in-previous-window): New buffer
2491 display action function.
2492
2493 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2494 (debugger-previous-window): New variable.
2495 (debug): Rewrite using display-buffer-in-previous-window,
2496 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2497
2498 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2501
2502 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2503
2504 * progmodes/python.el (python-shell-send-string):
2505 When default-directory is remote, create temp file on remote
2506 filesystem.
2507 (python-shell-send-file): When file is remote, pass local view of
2508 file paths to remote Python interpreter. (Bug#12340)
2509
2510 2012-09-07 Chong Yidong <cyd@gnu.org>
2511
2512 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2513
2514 * files.el (after-find-file): Don't fail on a read-only buffer if
2515 require-final-newline is `visit' or `visit-save' (Bug#11156).
2516
2517 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2518
2519 * userlock.el (ask-user-about-supersession-threat):
2520 Use read-char-choice (Bug#12093).
2521
2522 2012-09-07 Chong Yidong <cyd@gnu.org>
2523
2524 * subr.el (buffer-narrowed-p): New function.
2525
2526 * ses.el (ses-widen):
2527 * simple.el (count-words--buffer-message):
2528 * net/browse-url.el (browse-url-of-buffer): Use it.
2529
2530 * simple.el (count-words-region): Don't signal an error if there
2531 is a non-nil prefix arg and the mark is not set.
2532
2533 * help.el (describe-key-briefly): Allow the message to be seen
2534 when invoked from the minibuffer (Bug#7014).
2535
2536 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2537
2538 * progmodes/ruby-mode.el (ruby-end-of-defun)
2539 (ruby-beginning-of-defun): Simplify, allow indentation before
2540 block beginning and end keywords.
2541 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2542 (ruby-end-of-defun): Expect that the point is at the beginning of
2543 the defun.
2544
2545 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2548 (bug#12367).
2549 (cl--make-usage-args): Strip _ from argument names.
2550
2551 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2552
2553 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2554 obsolete alias speedbar-key-map.
2555 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2556 (vhdl-index-menu-init): Don't use obsolete variable
2557 font-lock-maximum-size.
2558
2559 2012-09-06 Chong Yidong <cyd@gnu.org>
2560
2561 * frame.el (window-system-version): Mark as obsolete.
2562
2563 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2564 of obsolete variable speedbar-key-map.
2565
2566 2012-09-06 Juri Linkov <juri@jurta.org>
2567
2568 * replace.el (replace-lax-whitespace): New defcustom.
2569 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2570 (replace-string, replace-regexp): Mention it in docstrings.
2571 (perform-replace, replace-highlight): Let-bind
2572 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2573 to the values of replace-lax-whitespace and regexp-flag.
2574 Don't let-bind search-whitespace-regexp. (Bug#10885)
2575
2576 * isearch.el (isearch-query-replace): Let-bind
2577 replace-lax-whitespace instead of let-binding
2578 replace-search-function and replace-re-search-function.
2579 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2580 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2581 (isearch-toggle-symbol): Set isearch-regexp to nil
2582 in isearch-word mode (like in isearch-toggle-word).
2583
2584 2012-09-06 Juri Linkov <juri@jurta.org>
2585
2586 * replace.el (replace-search-function)
2587 (replace-re-search-function): Set default values to nil.
2588 (perform-replace): Let-bind isearch-related variables based on
2589 replace-related values, call `isearch-search-fun' and let-bind
2590 the result to `search-function'. Remove code that sets
2591 `search-function' and `search-string' separately for
2592 `delimited-flag'.
2593 (replace-highlight): Add new argument `delimited-flag' and
2594 rename other arguments to the names used in `perform-replace'.
2595 Let-bind `isearch-word' to the argument `delimited-flag'.
2596 (Bug#10885, bug#10887)
2597
2598 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2599
2600 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2601 ruby-beginning-of-indent, simplify, allow all keywords to have
2602 indentation before them.
2603 (ruby-beginning-of-indent): Adjust for above. Search until the
2604 found point is not inside a string or comment.
2605 (ruby-font-lock-keywords): Allow symbols to start with "@"
2606 character, give them higher priority than variables.
2607 (ruby-syntax-propertize-function)
2608 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2609 matchers. Expression expansions are not comments when inside a
2610 string, and there comment syntax status is irrelevant.
2611 (ruby-match-expression-expansion): New function. Check that
2612 expression expansion is inside a string, and it's not escaped.
2613 (ruby-font-lock-keywords): Use it.
2614
2615 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2616
2617 * help.el (temp-buffer-max-height): New default value.
2618 (temp-buffer-resize-frames): New option.
2619 (resize-temp-buffer-window): Optionally resize frame.
2620
2621 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2622 (fit-frame-to-buffer): New function.
2623
2624 2012-09-05 Glenn Morris <rgm@gnu.org>
2625
2626 * emulation/cua-rect.el (cua--init-rectangles):
2627 * textmodes/picture.el (picture-mode-map):
2628 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2629 like forward-char and backward-char. (Bug#12317)
2630
2631 2012-09-05 Leo Liu <sdl.web@gmail.com>
2632
2633 * progmodes/flymake.el (flymake-warning-re): New variable.
2634 (flymake-parse-line): Use it.
2635
2636 2012-09-05 Glenn Morris <rgm@gnu.org>
2637
2638 * calendar/holidays.el (holiday-christian-holidays):
2639 Rename an entry. (Bug#12289)
2640
2641 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2644 (bug#12222).
2645
2646 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * loadup.el: Load macroexp. Remove hack.
2649 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2650 (macroexp--expand-all): Use it to get better warnings.
2651 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2652 (internal-macroexpand-for-load): New functions.
2653 (macroexp--pending-eager-loads): New var.
2654 (emacs-startup-hook): New hack to replace one in loadup.el.
2655 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2656 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2657 (cl-psetf): Simplify.
2658 (cl-defstruct): Add indent rule.
2659
2660 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2661
2662 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2663 over `user-mail-address' for the SMTP MAIL FROM envelope.
2664 (smtpmail-via-smtp): Ditto.
2665
2666 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2667
2668 * progmodes/ruby-mode.el: Clean up keybindings.
2669 (ruby-mode-map): Don't bind ruby-electric-brace,
2670 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2671 backward-kill-word, reindent-then-newline-and-indent.
2672 (ruby-mark-defun): Remove.
2673 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2674 (ruby-mode): Set local beginning-of-defun-function and
2675 end-of-defun-function values.
2676
2677 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2678
2679 * window.el (temp-buffer-window-setup-hook)
2680 (temp-buffer-window-show-hook): New hooks.
2681 (temp-buffer-window-setup, temp-buffer-window-show)
2682 (with-temp-buffer-window): New functions.
2683 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2684 (special-display-popup-frame): Make sure the window used shows BUFFER.
2685
2686 * help.el (temp-buffer-resize-mode): Fix doc-string.
2687 (resize-temp-buffer-window): New optional argument WINDOW.
2688
2689 * files.el (recover-file, save-buffers-kill-emacs):
2690 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2691
2692 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2693
2694 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2695 remote definition of `default-directory', ensure we can connect.
2696
2697 2012-09-02 Juri Linkov <juri@jurta.org>
2698
2699 Toggle whitespace matching mode with M-s SPC.
2700 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2701
2702 * isearch.el (search-whitespace-regexp): Doc fix.
2703 Remove cons cell customization.
2704 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2705 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2706 New variables.
2707 (isearch-forward, isearch-forward-regexp): Doc fix.
2708 (isearch-toggle-lax-whitespace): New command.
2709 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2710 (re-search-forward-lax-whitespace)
2711 (re-search-backward-lax-whitespace): New functions.
2712 (isearch-whitespace-regexp): Remove function.
2713 (isearch-query-replace): Let-bind replace-search-function and
2714 replace-re-search-function.
2715 (isearch-occur): Let-bind search-spaces-regexp according to the
2716 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2717 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2718 condition for C-q SPC.
2719 (isearch-search-fun-default): Use new functions mentioned above.
2720 (isearch-search-forward, isearch-search-backward): Remove functions.
2721 (isearch-search): Don't let-bind search-spaces-regexp.
2722 (isearch-lazy-highlight-space-regexp): Remove variable.
2723 (isearch-lazy-highlight-lax-whitespace)
2724 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2725 (isearch-lazy-highlight-new-loop): Use them.
2726 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2727
2728 2012-09-02 Chong Yidong <cyd@gnu.org>
2729
2730 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2731
2732 2012-09-02 Glenn Morris <rgm@gnu.org>
2733
2734 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2735
2736 2012-09-01 Glenn Morris <rgm@gnu.org>
2737
2738 * term.el: Tidy up menu definitions.
2739 (term-mode-map): Use easymenu for In/Out, Complete menus.
2740 (term-pager-break-map): Initialize in the defvar.
2741 (term-terminal-menu, term-signals-menu): Define with easymenu.
2742 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2743 (term-pager-menu): New, extracted from term-process-pager.
2744 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2745 (term-update-mode-line): Propertize line/char and page items.
2746 (term-process-pager): Move keymap initialization elsewhere.
2747
2748 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2749
2750 * window.el (switch-to-prev-buffer): Handle additional values of
2751 BURY-OR-KILL argument. Don't switch in minibuffer window.
2752 (switch-to-next-buffer): Don't switch in minibuffer window.
2753 (quit-restore-window): New function based on quit-window.
2754 Handle additional values of former KILL argument.
2755 (quit-window): Call quit-restore-window with appropriate
2756 interpretation of KILL argument.
2757 (display-buffer-below-selected): New buffer display action
2758 function.
2759
2760 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 * minibuffer.el (completion-at-point-functions): Complete docstring
2763 (bug#12254).
2764
2765 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2766
2767 Better seed support for (random).
2768 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2769 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2770 * play/mpuz.el, play/tetris.el, play/zone.el:
2771 * calc/calc-comb.el (math-init-random-base):
2772 * play/blackbox.el (bb-init-board):
2773 * play/life.el (life):
2774 * server.el (server-use-tcp):
2775 * type-break.el (type-break):
2776 Remove unnecessary call to (random t).
2777 * net/sasl.el (sasl-unique-id-function):
2778 Change (random t) to (random), now that the latter is more random.
2779 * play/life.el (life-initialized): Remove no-longer-needed var.
2780
2781 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2782
2783 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2784 Consider frame's buffer predicate when choosing the buffer.
2785 (Bug#12081)
2786
2787 2012-08-30 Richard Stallman <rms@gnu.org>
2788
2789 * simple.el (special-mode-map): Delete binding for `z'.
2790
2791 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2792
2793 * progmodes/compile.el (compilation-always-kill): Doc fix.
2794
2795 2012-08-30 Chong Yidong <cyd@gnu.org>
2796
2797 * window.el (display-buffer-reuse-frames): Make the obsolescence
2798 message more informative.
2799
2800 2012-08-30 Glenn Morris <rgm@gnu.org>
2801
2802 * paren.el (show-paren-delay):
2803 Add a :set function. Doc fix. (Bug#12297)
2804
2805 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2806
2807 * progmodes/compile.el (compilation-always-kill): New var.
2808 (compilation-start): Use it.
2809
2810 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2813 * files.el (read-only-mode): Move to simple.el.
2814
2815 * files.el (read-only-mode): New minor mode.
2816 (toggle-read-only): Use it and mark obsolete.
2817 (find-file--read-only):
2818 * vc/vc.el (vc-next-action, vc-checkout):
2819 * vc/vc-cvs.el (vc-cvs-checkout):
2820 * obsolete/vc-mcvs.el (vc-mcvs-update):
2821 * ffap.el (ffap--toggle-read-only): Update callers.
2822
2823 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2824
2825 * eshell/esh-ext.el (eshell-external-command): Do not examine
2826 remote shell scripts.
2827 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2828
2829 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2830 "/usr/local/sbin".
2831
2832 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2835
2836 2012-08-28 Leo Liu <sdl.web@gmail.com>
2837
2838 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2839 completion-at-point. (Bug#12220)
2840
2841 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2842
2843 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2844
2845 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2848 be buffer-local; add delete-trailing-whitespace (bug#12259).
2849
2850 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2851
2852 * progmodes/hideif.el (hif-compress-define-list):
2853 Fix typo. (Bug#11951)
2854
2855 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2856
2857 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2858 buffer local setting.
2859
2860 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2861 rcirc-encode-coding-system.
2862
2863 2012-08-28 Leo Liu <sdl.web@gmail.com>
2864
2865 * net/rcirc.el (rcirc-split-message): New function.
2866 (rcirc-send-message): Use it. (Bug#12051)
2867
2868 2012-08-28 Juri Linkov <juri@jurta.org>
2869
2870 * info.el (Info-fontify-node): Hide empty lines at the end of
2871 the node. (Bug#12272)
2872
2873 2012-08-27 Drew Adams <drew.adams@oracle.com>
2874
2875 * dired.el (dired-pop-to-buffer): Make window start at beginning
2876 of buffer (Bug#12281).
2877
2878 2012-08-26 Chong Yidong <cyd@gnu.org>
2879
2880 * window.el (special-display-regexps, special-display-frame-alist)
2881 (special-display-buffer-names, special-display-function)
2882 (display-buffer-reuse-frames): Mark as obsolete.
2883
2884 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2885
2886 * help.el (help-print-return-message): Don't treat
2887 display-buffer-reuse-frames specially.
2888
2889 2012-08-26 Chong Yidong <cyd@gnu.org>
2890
2891 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2892 New variable, replacing gdb-frame-parameters.
2893 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2894 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2895 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2896 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2897 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2898 the functions directly with gdb-display-buffer-other-frame-action.
2899 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2900 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2901 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2902 (gdb-display-registers-buffer): Define directly.
2903 (def-gdb-display-buffer): Macro deleted.
2904 (gdb-display-buffer): Remove second and third args, callers don't
2905 use them. Defer to the default display-buffer behavior, apart
2906 from making windows dedicated.
2907 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2908
2909 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2910
2911 * window.el (display-buffer-pop-up-frame): Handle a
2912 pop-up-frame-parameters alist entry.
2913 (display-buffer): Document it.
2914
2915 2012-08-26 Chong Yidong <cyd@gnu.org>
2916
2917 * isearch.el (search-whitespace-regexp): Make string and nil
2918 values apply to both ordinary and regexp search. Allow a cons
2919 cell value to distinguish between the two.
2920 (isearch-whitespace-regexp, isearch-search-forward)
2921 (isearch-search-backward): New functions.
2922 (isearch-occur, isearch-search-fun-default, isearch-search)
2923 (isearch-lazy-highlight-new-loop): Use them.
2924 (isearch-forward, isearch-forward-regexp): Doc fix.
2925
2926 2012-08-26 Chong Yidong <cyd@gnu.org>
2927
2928 * faces.el (help-argument-name): Always inherit from italic
2929 (Bug#12213).
2930
2931 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2932
2933 * window.el (window--even-window-heights): Even heights when
2934 WINDOW and the selected window form a vertical combination.
2935 (display-buffer-use-some-window): Provide that window used gets
2936 sized back by quit-window. (Bug#11880) and (Bug#12091)
2937
2938 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2939
2940 Fix file time stamp problem with bzr and CVS (Bug#12001).
2941 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2942 in the file's time stamp, since the version control system loses
2943 that information.
2944
2945 2012-08-22 Juri Linkov <juri@jurta.org>
2946
2947 * info.el (Info-fontify-node): Hide the suffix of the
2948 Info file name in the header line. (Bug#12187)
2949
2950 2012-08-22 Glenn Morris <rgm@gnu.org>
2951
2952 * calendar/cal-tex.el (cal-tex-weekly-common):
2953 Restore leading blank page.
2954
2955 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2956
2957 * misc.el (forward-to-word, backward-to-word): Activate or extend
2958 the region under `shift-select-mode'. (Bug#12231)
2959
2960 2012-08-22 Bastien Guerry <bzg@gnu.org>
2961
2962 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2963 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2964 gives details on why the space is never needed.
2965
2966 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2967
2968 * window.el (walk-window-tree, window-with-parameter):
2969 New optional argument MINIBUF to control whether these functions
2970 should run on the minibuffer window.
2971 (window-at-side-list): Don't operate on minibuffer window.
2972 (window-in-direction): Simplify and rewrite doc-string.
2973 (window--size-ignore): Rename to window--size-ignore-p.
2974 Update callers.
2975 (display-buffer-in-atom-window, window--major-non-side-window)
2976 (window--major-side-window, display-buffer-in-major-side-window)
2977 (delete-side-window, display-buffer-in-side-window):
2978 New functions.
2979 (window--side-check, window-deletable-p, delete-window)
2980 (delete-other-windows, split-window): Handle side windows and
2981 atomic windows appropriately.
2982 (window--display-buffer): Call display-buffer-record-window also
2983 when the window buffer did not change.
2984
2985 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2986
2987 * help-fns.el (help-fns--key-bindings):
2988 Abbreviate non-symbol remap targets. (Bug#12174)
2989
2990 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2991
2992 * dired.el (dired-mark-remembered): Don't clobber point.
2993 (Bug#11795)
2994
2995 2012-08-22 Glenn Morris <rgm@gnu.org>
2996
2997 * progmodes/bug-reference.el (bug-reference): New custom group.
2998 (bug-reference-bug-regexp): Make it a defcustom.
2999
3000 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3001
3002 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3003 (js-paren-indent-offset, js-square-indent-offset)
3004 (js-curly-indent-offset): Add :safe (Bug#12257).
3005
3006 2012-08-22 Edward O'Connor <hober0@gmail.com>
3007
3008 * json.el (json-key-format): Add error properties.
3009 (json-encode-key): New function.
3010 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3011 Use json-encode-key.
3012
3013 2012-08-22 Glenn Morris <rgm@gnu.org>
3014
3015 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3016 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3017 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3018 Update for above change.
3019
3020 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * cus-face.el (custom-face-attributes): Fix customize type for the
3023 :underline attribute. (Bug#11805)
3024
3025 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3026
3027 * window.el (window-point-1, set-window-point-1): Remove.
3028 (window-in-direction, record-window-buffer)
3029 (set-window-buffer-start-and-point, split-window-below)
3030 (window--state-get-1, display-buffer-record-window):
3031 Replace calls to window-point-1 and set-window-point-1 by calls to
3032 window-point and set-window-point respectively.
3033
3034 2012-08-21 Glenn Morris <rgm@gnu.org>
3035
3036 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3037 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3038 Use it.
3039
3040 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3041 (cal-tex-shortday): New function.
3042 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3043 (cal-tex-cursor-filofax-daily): Use the above.
3044
3045 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3046 New functions.
3047 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3048 (cal-tex-cursor-filofax-week): Use them.
3049
3050 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3051 New constants.
3052 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3053 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3054
3055 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3056 (cal-tex-end-document): Don't rely on buffer name.
3057
3058 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3059 Use cal-tex-vspace.
3060 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3061 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3062 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3063 Use cal-tex-arg.
3064
3065 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3066 (cal-tex-cursor-week, cal-tex-cursor-week2)
3067 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3068 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3069 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3070 (cal-tex-insert-preamble, cal-tex-b-document)
3071 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3072 Improve cal-tex-cmd usage.
3073
3074 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3075 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3076 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3077 (cal-tex-weekly-paper): New function.
3078 (cal-tex-cursor-week, cal-tex-cursor-week2)
3079 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3080 (cal-tex-cursor-day): Use it.
3081
3082 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3083 (cal-tex-cursor-filofax-week): Remove leading blank page.
3084
3085 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3086 Add autoload cookie. For now at least, don't use color, since
3087 no other cal-tex function does.
3088
3089 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3090 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3091 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3092
3093 2012-08-21 Juri Linkov <juri@jurta.org>
3094
3095 * info.el (Info-file-attributes): New variable.
3096 (info-insert-file-contents): Add file attributes to
3097 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3098 `Info-toc-nodes' when previous modtime of the Info file is less
3099 than new modtime.
3100 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3101 of info.el. (Bug#12230)
3102
3103 2012-08-20 Glenn Morris <rgm@gnu.org>
3104
3105 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3106 * calendar/holidays.el (calendar-holiday-list):
3107 Report errors with display-warning rather than beep'n'sleep.
3108
3109 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3110
3111 * net/tramp.el (tramp-accept-process-output): Accept only output
3112 from PROC. Otherwise, process filters and sentinels might be
3113 confused. (Bug#12145)
3114
3115 2012-08-20 Chong Yidong <cyd@gnu.org>
3116
3117 * descr-text.el (describe-text-properties-1): Use overlays-in to
3118 report on empty overlays (Bug#3322).
3119
3120 2012-08-20 Glenn Morris <rgm@gnu.org>
3121
3122 * mail/rmailout.el (rmail-output-read-file-name):
3123 Trap and report errors in rmail-output-file-alist elements.
3124
3125 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3126 since most non-font-lock faces are not also variables).
3127
3128 2012-08-20 Edward Reingold <reingold@iit.edu>
3129
3130 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3131 New function. (Bug12160)
3132
3133 2012-08-19 Glenn Morris <rgm@gnu.org>
3134
3135 * mail/rmailout.el (rmail-output-read-file-name):
3136 Fix previous change (when the alist is nil or does not match).
3137
3138 2012-08-19 Chong Yidong <cyd@gnu.org>
3139
3140 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3141 (Bug#12228).
3142
3143 2012-08-18 Chong Yidong <cyd@gnu.org>
3144
3145 * simple.el (yank-handled-properties): New defcustom.
3146 (yank-excluded-properties): Add font-lock-face and category.
3147 (yank): Doc fix.
3148
3149 * subr.el (remove-yank-excluded-properties):
3150 Obey yank-handled-properties. The special handling of font-lock-face
3151 and category is now done this way, instead of being hard-coded.
3152 (insert-for-yank-1): Remove font-lock-face handling.
3153 (yank-handle-font-lock-face-property)
3154 (yank-handle-category-property): New function.
3155
3156 2012-08-17 Glenn Morris <rgm@gnu.org>
3157
3158 * mail/rmailout.el (rmail-output-read-file-name):
3159 Check rmail-output-file-alist against the full message body
3160 in the correct rmail buffer. (Bug#12214)
3161
3162 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3165 Eliminate superfluous prompt. (Bug#12203)
3166
3167 2012-08-17 Chong Yidong <cyd@gnu.org>
3168
3169 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3170 font spec, set the font directly (Bug#3228).
3171
3172 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3173
3174 * window.el (delete-window): Fix last fix.
3175
3176 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3177
3178 * window.el (window-valid-p): Move to window.c.
3179 (window-child, window-child-count, window-last-child)
3180 (window-normalize-window, window-combined-p)
3181 (window-combinations, window-atom-root, window-min-size)
3182 (window-sizable, window-sizable-p, window-size-fixed-p)
3183 (window-min-delta, window-max-delta, window--resizable)
3184 (window--resizable-p, window-resizable, window-total-size)
3185 (window-full-height-p, window-full-width-p, window-body-size)
3186 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3187 (minimize-window, window-deletable-p, delete-window)
3188 (delete-other-windows, set-window-buffer-start-and-point)
3189 (next-buffer, previous-buffer, split-window, balance-windows-2)
3190 (set-window-text-height, window-buffer-height)
3191 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3192 (truncated-partial-width-window-p): Minor code adjustments.
3193 In doc-strings state whether the argument window has to denote a
3194 live, valid or any window.
3195
3196 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3197
3198 * progmodes/subword.el (subword-forward-function)
3199 (subword-backward-function, subword-forward-regexp)
3200 (subword-backward-regexp): New variables.
3201 (subword-forward, subword-forward-internal, subword-backward-internal):
3202 Use new variables, eg so that different "word" definitions
3203 can be easily used. (Bug#11411)
3204
3205 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3208 for composite selectors.
3209 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3210 operation just because we can't find a previous revision.
3211
3212 2012-08-15 Chong Yidong <cyd@gnu.org>
3213
3214 * frame.el (set-frame-font): Accept font objects.
3215
3216 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3219
3220 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3221
3222 * man.el (Man-overstrike-face, Man-underline-face)
3223 (Man-reverse-face): Remove variables.
3224 (Man-overstrike, Man-underline, Man-reverse): New faces.
3225 (Man-fontify-manpage): Use them instead of the variables.
3226 (Man-cleanup-manpage): Comment change.
3227 (Man-ansi-color-map): New variable.
3228 (Man-fontify-manpage): Use it.
3229 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3230
3231 Implement ANSI SGR parameters 22-27 (bug#12146).
3232 * ansi-color.el (ansi-colors): Doc fix.
3233 (ansi-color-context, ansi-color-context-region): Doc fix.
3234 (ansi-color--find-face): New function.
3235 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3236 Rename the local variable `face' to `codes' since it is now a list of
3237 ansi codes. Doc fix.
3238 (ansi-color-get-face): Remove.
3239 (ansi-color-parse-sequence): New function, derived from
3240 ansi-color-get-face.
3241 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3242 codes 22-27.
3243
3244 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * subr.el (read-passwd): Allow use from a minibuffer.
3247
3248 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3249
3250 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3251 inside comments and strings as identifiers.
3252
3253 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3254 expression to evaluate. This allows to evaluate expressions with
3255 embedded whitespace.
3256 (gud-tooltip-tips): Add a blank before the newline in the
3257 message-box text, for the benefit of message-box emulation on
3258 MS-Windows.
3259
3260 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3261 messages from GDB, pop them up in a tooltip to give feedback to
3262 user.
3263 (gdb-tooltip-print-1): Quote the expression to evaluate.
3264 This allows to evaluate expressions with embedded whitespace.
3265 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3266 if the TTY name is nil or empty (which happens when communicating
3267 with the inferior via pipes, e.g. on MS-Windows).
3268 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3269 don't send that to the GUD buffer.
3270
3271 2012-08-14 Glenn Morris <rgm@gnu.org>
3272
3273 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3274 Optimize away setq-default with no args, as for setq. (Bug#12195)
3275
3276 2012-08-14 Chong Yidong <cyd@gnu.org>
3277
3278 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3279
3280 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3281 (Bug#12085).
3282
3283 2012-08-14 Glenn Morris <rgm@gnu.org>
3284
3285 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3286
3287 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3288
3289 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3290 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3291 Use cached shell name.
3292
3293 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3294
3295 * progmodes/python.el (python-shell-send-string):
3296 (python-shell-send-setup-code): Do not use `format' with `message'.
3297
3298 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3299
3300 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3301 (ruby-percent-literal-beg-re): New constant.
3302 (ruby-syntax-general-delimiters-goto-beg): Rename to
3303 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3304 (ruby-syntax-propertize-general-delimiters): Rename to
3305 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3306 popular term. Adjust comments everywhere.
3307 (ruby-syntax-propertize-percent-literal): Only propertize when not
3308 inside a simple string or comment. When the literal is unclosed,
3309 leave the text after it unpropertized.
3310 (ruby-syntax-methods-before-regexp): New constant.
3311 (ruby-syntax-propertize-function): Use it to recognize regexps.
3312 Don't look at the text after regexp, just use the whitelist.
3313
3314 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3315
3316 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3317 non-nil always load the compiled file if it exists. (Bug#12197)
3318
3319 2012-08-14 Chong Yidong <cyd@gnu.org>
3320
3321 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3322 (hi-lock-set-pattern): When deciding whether to use font lock or
3323 overlays, look at font-lock-mode instead of font-lock-fontified
3324 (Bug#12168).
3325 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3326 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3327
3328 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3329
3330 * subr.el (internal--after-with-selected-window): Fix typo
3331 (Bug#12193).
3332
3333 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3334
3335 Use `completion-table-dynamic' for completion functions.
3336 * progmodes/python.el
3337 (python-shell-completion--do-completion-at-point)
3338 (python-shell-completion--get-completions):
3339 Remove functions.
3340 (python-shell-completion-complete-at-point): New function.
3341 (python-completion-complete-at-point): Use it.
3342
3343 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3344
3345 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3346 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3347
3348 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * subr.el (function-get): Refine `autoload' arg so it can also
3351 autoload functions for gv.el (bug#12191).
3352 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3353 autoloads macros.
3354
3355 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3356 Prefer pcase-let over destructuring-bind.
3357 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3358 Also, remove whitespace as we go, rather than after accumulating the
3359 various places.
3360
3361 * subr.el (internal--before-with-selected-window)
3362 (internal--after-with-selected-window): Fix typo seleted->selected.
3363 (with-selected-window): Adjust callers.
3364 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3365
3366 2012-08-13 Bastien Guerry <bzg@gnu.org>
3367
3368 * window.el (special-display-popup-frame): Minor docstring
3369 enhancement. (Bug#12172)
3370
3371 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3374 type 1-6.
3375 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3376 extended headers.
3377
3378 * files.el (hack-local-variables-filter): Remove useless eval.
3379
3380 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3381
3382 * subr.el (with-selected-window): Fix last change.
3383
3384 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3385
3386 * subr.el (internal--before-with-seleted-window)
3387 (internal--after-with-seleted-window): New functions.
3388 (with-selected-window): Use them, to replace dependency on
3389 tty-top-frame.
3390
3391 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3392
3393 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3394 binding for `newline'.
3395 (ruby-move-to-block): When moving backward, stop at block opening,
3396 not indentation.
3397 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3398 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3399 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3400 `ruby-toggle-block'.
3401
3402 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * ibuffer.el (ibuffer-do-toggle-read-only):
3405 * dired.el (dired-toggle-read-only):
3406 * buff-menu.el (Buffer-menu-toggle-read-only):
3407 * bindings.el (mode-line-toggle-read-only):
3408 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3409
3410 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3411
3412 * descr-text.el (describe-char): Put the overlays over the
3413 "displayed as" character.
3414
3415 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3416
3417 * calc/calc-units.el (math-default-units-table): Give an
3418 initial value.
3419 (math-put-default-units): Add options to put composite units and
3420 unit systems in the default units table.
3421 (calc-convert-units): Send composite units to
3422 `math-put-default-units' when appropriate.
3423
3424 2012-08-11 Glenn Morris <rgm@gnu.org>
3425
3426 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3427
3428 * tutorial.el (help-with-tutorial):
3429 * emacs-lisp/copyright.el (copyright-update-directory):
3430 * emacs-lisp/autoload.el (autoload-find-generated-file)
3431 (autoload-find-file): Disable local eval: (for insurance).
3432
3433 * files.el (hack-local-variables-filter): If an eval: form is not
3434 known to be safe, and enable-local-variables is :safe, then ignore
3435 the form totally, as is done for non-eval forms. (Bug#12155)
3436 This is CVE-2012-3479.
3437
3438 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3441 (rx-form): Simplify.
3442
3443 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3444
3445 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3446 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3447 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3448 (ruby-syntax-propertize-function): Adjust for changes in
3449 `ruby-syntax-propertize-heredoc'.
3450
3451 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3452
3453 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3454 binding (use `M-;' instead).
3455 (ruby-singleton-class-p): New function.
3456 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3457
3458 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3461
3462 2012-08-10 Chong Yidong <cyd@gnu.org>
3463
3464 * progmodes/python.el (python-shell-get-process-name): Don't mess
3465 with same-window-buffer-names.
3466
3467 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3468 (eshell-remove-from-window-buffer-names): Make obsolete.
3469 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3470 (eshell): Just use pop-to-buffer-same-window instead.
3471
3472 2012-08-10 Chong Yidong <cyd@gnu.org>
3473
3474 * bindings.el: Bind M-= back to count-words-region.
3475
3476 * simple.el (count-words-region): Accept a prefix arg for acting
3477 on the entire buffer.
3478 (count-words--buffer-message): New helper function.
3479
3480 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3483 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3484 (event-start, event-end): Use posn-at-point to return a more
3485 informative posn.
3486 (posnp): New function.
3487 * mouse.el (popup-menu-normalize-position): Use it.
3488
3489 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3490
3491 * mouse.el (popup-menu-normalize-position): New function.
3492 (popup-menu): Use `popup-menu-normalize-position' to normalize
3493 the form for POSITION argument.
3494
3495 * term/x-win.el (x-menu-bar-open):
3496 Use the value returend from (posn-at-point) as position
3497 passed to `popup-menu'.
3498
3499 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3500
3501 * calc/calccomp.el (math-compose-expr): Add extra argument
3502 indicating that parentheses should be put around products in
3503 denominators. Give multiplication precedence over division during
3504 composition.
3505
3506 2012-08-09 Chong Yidong <cyd@gnu.org>
3507
3508 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3509 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3510 (Man-untabify-command, manual-program): Convert to defcustom
3511 (Bug#10429).
3512
3513 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3514
3515 * descr-text.el (describe-char): Don't insert extra newlines
3516 (Bug#10127).
3517
3518 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3519 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3520
3521 * align.el (align-region): Delete temporary markers (Bug#10047).
3522 Plus some code cleanups.
3523
3524 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3525
3526 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3527 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3528 (python-shell-internal-last-output): Use make-local-variable
3529 instead of make-variable-buffer-local.
3530
3531 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3532
3533 * progmodes/python.el: Enhancements to forward-sexp.
3534 (python-nav-forward-sexp): Rename from
3535 python-nav-forward-sexp-function.
3536 (python-nav--forward-sexp, python-nav--backward-sexp):
3537 New functions.
3538
3539 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3540
3541 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3542 modes and simplification modes.
3543
3544 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * delsel.el (delete-selection-pre-hook): Don't propagate the
3547 file-supersession signals (bug#12161).
3548
3549 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3550
3551 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3552 (cl-map-extents): Add compatibility aliases (bug#12135).
3553
3554 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3557 tests by `ignore-error'.
3558 (tramp-find-shell): Open also a new shell, when cache is already
3559 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3560
3561 2012-08-08 Juri Linkov <juri@jurta.org>
3562
3563 * bookmark.el: Add `defaults' property to the bookmark record.
3564 (bookmark-current-buffer): Doc fix.
3565 (bookmark-make-record): Add `defaults' property with default values
3566 to the bookmark record.
3567 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3568 with `bookmark-insert-current-bookmark'.
3569 (bookmark-set): Get `defaults' property from the bookmark record
3570 and use it in `read-from-minibuffer'.
3571 (bookmark-insert-current-bookmark): Remove function.
3572
3573 * info.el (Info-bookmark-make-record): Add `defaults' property
3574 with values of canonical Info node name, the current Info file
3575 name and the current Info node name. (Bug#12107)
3576
3577 2012-08-08 Juri Linkov <juri@jurta.org>
3578
3579 * files.el (basic-save-buffer): Use `buffer-name' as the default
3580 of `read-file-name' when buffer is not visiting a file (bug#12128).
3581
3582 2012-08-08 Juri Linkov <juri@jurta.org>
3583
3584 * info.el (Info-isearch-search): Doc fix.
3585 (Info-search): Change search-failed message from "initial node" to
3586 "end of node" (bug#12078).
3587 (Info-isearch-search): Change `isearch-string-state' to
3588 `isearch--state-string'.
3589
3590 2012-08-08 Glenn Morris <rgm@gnu.org>
3591
3592 * language/persian.el: Remove file.
3593 * language/misc-lang.el: Move unique part of persian.el here.
3594 * loadup.el: Remove language/persian.
3595
3596 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3597
3598 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3599
3600 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3601
3602 * progmodes/python.el Fixed defsubst warning.
3603 (python-syntax-context) Rename from python-info-ppss-context.
3604 (python-syntax-context-type): Rename from
3605 python-info-ppss-context-type.
3606 (python-syntax-comment-or-string-p): Rename from
3607 python-info-ppss-comment-or-string-p.
3608
3609 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3610
3611 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3612
3613 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3614
3615 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3616 a defcustom that is quoted with backquote.
3617
3618 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3619 Fix handling of interactive spec when the body uses return.
3620 (math-do-arg-check, math-define-function-body): Use backquote forms.
3621 * calc/calc-ext.el (math-defcache): Likewise.
3622 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3623 * allout.el (allout-new-exposure): Likewise.
3624 * calc/calcalg2.el (math-tracing-integral): Likewise.
3625 * info.el (Info-last-menu-item): Likewise.
3626 * emulation/vip.el (vip-loop): Likewise.
3627 * textmodes/artist.el (artist-funcall): Likewise.
3628 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3629 Construct menu-item directly.
3630
3631 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3632 Don't declare.
3633
3634 2012-08-07 Chong Yidong <cyd@gnu.org>
3635
3636 * simple.el (deactivate-mark): Preserve text properties when
3637 saving the primary selection (Bug#8384).
3638
3639 2012-08-07 Kevin Ryde <user42@zip.com.au>
3640
3641 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3642 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3643 and continue processing (Bug#12110).
3644
3645 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3648 syntax-propertize-function (bug#10095).
3649
3650 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3653 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3654 describe-function-1.
3655 (describe-function-1): Use them. Move compiler macro after sig.
3656 (help-fns--compiler-macro): Use function-get. Assume we're already in
3657 standard-output. Adjust layout to new call order.
3658
3659 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3660 re-binding a symbol that has a symbol-macro (bug#12119).
3661
3662 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3663
3664 * language/persian.el: New file. (Bug#11812)
3665 * loadup.el: Add language/persian.el.
3666
3667 2012-08-06 Chong Yidong <cyd@gnu.org>
3668
3669 * window.el (window--maybe-raise-frame): New function.
3670 (window--display-buffer): Split off from here.
3671 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3672 (display-buffer-pop-up-window, display-buffer-use-some-window):
3673 Obey an inhibit-switch-frame action alist entry.
3674 (display-buffer): Update doc.
3675
3676 * replace.el (occur-after-change-function): Avoid losing focus by
3677 using the inhibit-switch-frame display parameter (Bug#12139).
3678
3679 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3680
3681 Make internal shell process buffer names start with space.
3682 * progmodes/python.el (python-shell-make-comint): Add optional
3683 argument INTERNAL.
3684 (run-python-internal): Use it.
3685 (python-shell-internal-get-or-create-process): Check for new
3686 internal buffer names.
3687
3688 2012-08-06 Glenn Morris <rgm@gnu.org>
3689
3690 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3691 Do less getting and setting of environment variables.
3692
3693 2012-08-05 Chong Yidong <cyd@gnu.org>
3694
3695 * proced.el (proced): Add substitution string to docstring to
3696 trigger autoloading of the proced library on C-h f (Bug#1768).
3697
3698 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3699 Don't show defvars which have no second argument (Bug#8638).
3700
3701 * imenu.el (imenu-generic-expression): Move documentation here
3702 from imenu--generic-function.
3703 (imenu--generic-function): Refer to imenu-generic-expression.
3704
3705 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3706
3707 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3708 indentation declaration.
3709 (viper-loop): Add indentation declaration (Bug#7025).
3710
3711 2012-08-05 Chong Yidong <cyd@gnu.org>
3712
3713 * help-fns.el (describe-variable): Add hyperlink for
3714 directory-local variables files. Improve buffer-local and
3715 permanent-local reporting; suggested by MON KEY (Bug#6644).
3716
3717 * help-mode.el (help-dir-local-var-def): New button type.
3718
3719 * files.el (kill-buffer-hook): Provide a defvar.
3720
3721 2012-08-05 Glenn Morris <rgm@gnu.org>
3722
3723 * eshell/esh-ext.el (eshell/addpath):
3724 Also update eshell-path-env. (Bug#12013)
3725
3726 2012-08-05 Chong Yidong <cyd@gnu.org>
3727
3728 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3729
3730 * fringe.el (fringe-styles): Add docstring.
3731 (fringe--check-mode): New function.
3732 (set-fringe-mode, set-fringe-style): Use it.
3733 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3734
3735 * files.el (set-auto-mode): Fix invalid setq call.
3736
3737 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * isearch.el: Misc simplification; use defstruct.
3740 (isearch-mode-map): Dense maps now work like sparse ones.
3741 (isearch--state): New defstruct.
3742 (isearch-string-state, isearch-message-state, isearch-point-state)
3743 (isearch-success-state, isearch-forward-state)
3744 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3745 (isearch-wrapped-state, isearch-barrier-state)
3746 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3747 replaced by defstruct's accessors.
3748 (isearch--set-state): Rename from isearch-top-state and change
3749 calling convention.
3750 (isearch-push-state): Use new isearch--get-state.
3751 (isearch-toggle-word): Disable regexp when enabling word.
3752 (isearch-message-prefix): Remove unused arg _c-q-hack.
3753 (isearch-message-suffix): Remove unused arg _ellipsis.
3754
3755 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3756
3757 * simple.el (list-processes--refresh): For a server use :host or
3758 :local as the address.
3759 (list-processes): Doc fix.
3760
3761 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3762
3763 * lisp/mpc.el: Support password in host argument.
3764 (mpc--proc-connect): Parse and use new password element.
3765 Set mpc-proc variable instead of returning process.
3766 (mpc-proc): Adjust accordingly.
3767
3768 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3769
3770 * whitespace.el (whitespace-display-mappings): Use Unicode
3771 codepoints, instead of emacs-mule codepoints. See
3772 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3773 for the details.
3774
3775 * files.el (file-truename): Don't skip symlink-chasing part on
3776 windows-nt. Incorporate the resolution of 8+3 short aliases on
3777 Windows into the loop that recursively chases symlinks.
3778 Compare directory and its parent case-insensitively on MS-Windows and
3779 MS-DOS.
3780
3781 2012-08-03 Chong Yidong <cyd@gnu.org>
3782
3783 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3784
3785 * sort.el (sort-regexp-fields): Doc fix.
3786
3787 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3788
3789 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3790 labels regex position point at the expected place.
3791
3792 2012-08-03 MON KEY <monkey@sandpframing.com>
3793
3794 * net/imap.el (imap-interactive-login, imap-authenticate)
3795 (imap-mailbox-lsub, imap-mailbox-list)
3796 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3797 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3798 (imap-parse-response): Doc fix.
3799
3800 2012-08-03 João Távora <joaotavora@gmail.com>
3801
3802 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3803 if sexp scanning does not move point (Bug#5734).
3804
3805 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3806
3807 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3808 Add listings, minted, and ctable packages.
3809 (reftex-label-alist-builtin): Move listings, minted, and ctable
3810 entries before LaTeX.
3811 (reftex-label-alist): Docfix.
3812
3813 2012-08-02 Bastien Guerry <bzg@gnu.org>
3814
3815 * replace.el (occur): Fix docstring (bug#12122).
3816
3817 2012-08-02 Glenn Morris <rgm@gnu.org>
3818
3819 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3820
3821 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3822
3823 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3824 * international/mule-cmds.el: Create
3825 inactivate-current-input-method-function as an obsolete alias for
3826 deactivate-current-input-method-function. See Katsumi Yamaoka in
3827 <http://bugs.gnu.org/10150#46>.
3828
3829 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3830
3831 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3832 of nested `if's.
3833
3834 2012-08-01 Glenn Morris <rgm@gnu.org>
3835
3836 * progmodes/autoconf.el (autoconf-definition-regexp):
3837 Add AH_TEMPLATE, adjust submatch numbering.
3838 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3839 (autoconf-current-defun-function): Update for above change.
3840 (autoconf-current-defun-function): First skip to end of current word.
3841
3842 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3843
3844 * calendar/cal-html.el (cal-html-insert-agenda-days):
3845 Fix typo. (Bug#12018)
3846
3847 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3848
3849 Shell processes: enhancements to startup and CEDET compatibility.
3850 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3851 (python-shell-make-comint): accept-process-output at startup.
3852 (run-python-internal): Set inferior-python-mode-hook to nil.
3853 (python-shell-internal-get-or-create-process): call sit-for.
3854 (python-preoutput-result): Add obsolete alias.
3855 (python-shell-internal-send-string): Use it.
3856 (python-shell-send-setup-code): Remove call to
3857 accept-process-output.
3858
3859 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3860
3861 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3862 (Bug#12108)
3863
3864 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3865
3866 * calc-mode.el (calc-basic-simplification-mode): Rename from
3867 `calc-limited-simplification-mode'.
3868 (calc-alg-simplification-mode): New function.
3869 (calc-set-simplify-mode): Adjust message.
3870
3871 * calc.el (calc-set-mode-line): Adjust mode line display for
3872 basic simplification mode.
3873
3874 * calc-help.el (calc-m-prefix-help): Update help message.
3875
3876 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3877 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3878
3879 2012-07-31 Bastien Guerry <bzg@gnu.org>
3880
3881 * man.el (man): Fix comment. (bug#12101)
3882
3883 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3884
3885 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3886 Don't return a non-nil value when no suitable buffer was found.
3887
3888 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3889
3890 * progmodes/python.el (run-python-internal): Disable font lock for
3891 internal shells.
3892
3893 2012-07-30 Stefan Merten <smerten@oekonux.de>
3894
3895 * textmodes/rst.el: Silence `checkdoc-ispell'.
3896 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3897 (rst-official-version, rst-official-cvs-rev)
3898 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3899 (rst-mode-map): New key binding.
3900
3901 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3902
3903 Update .PHONY listings in makefiles.
3904 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3905 autoloads, update-subdirs, updates, bzr-update, update-authors,
3906 compile-onefile, compile-calc, backup-compiled-files,
3907 compile-after-backup, compile-one-process, mh-autoloads,
3908 bootstrap-clean, distclean, maintainer-clean.
3909
3910 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3911
3912 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3913 (calc-set-mode-line): Don't display "AlgSimp ".
3914
3915 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3916 (calc-lim-simplify-mode): New function.
3917 (calc-set-simplify-mode): Default to 'alg.
3918 (calc-default-simplify-mode): Make algebraic simplifications
3919 the default.
3920
3921 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3922 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3923
3924 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3925 indicate new simplification modes.
3926
3927 * calc/README: Mention new default simplification mode.
3928
3929 * calc/calc.el (math-normalize-error): New variable.
3930 (math-normalize): Set `math-normalize-error' to t
3931 when there's an error.
3932
3933 * calc/calc-alg.el (math-simplify): Don't simplify when
3934 `math-normalize' returns an error.
3935
3936 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3937
3938 * international/mule-cmds.el (set-locale-environment): Revert last
3939 change, since display-graphic-p returns nil when this function is
3940 called during startup. Instead...
3941
3942 * term/w32console.el (terminal-init-w32console): ...setup the
3943 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3944
3945 2012-07-29 Juri Linkov <juri@jurta.org>
3946
3947 * simple.el (goto-line): Don't display default line number in the
3948 prompt because it should be displayed by `read-number' (bug#9952).
3949 Add the current line number to the defaults of `goto-line' to
3950 allow its easier modification by users with `M-n' (bug#9201).
3951
3952 * subr.el (read-number): Support multiple default values like in
3953 other minibuffer reading functions. Replace `read' with
3954 `string-to-number' for consistency with `number-to-string'.
3955
3956 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3957
3958 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3959 * emulation/viper-init.el (viper-deactivate-input-method-action):
3960 Rename from viper-inactivate-input-method-action.
3961 (viper-deactivate-input-method):
3962 Rename from viper-inactivate-input-method.
3963 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3964 * international/mule-cmds.el (deactivate-input-method):
3965 Rename from inactivate-input-method.
3966 Also run input-method-deactivate-hook.
3967 (deactivate-current-input-method-function):
3968 Rename from inactivate-current-input-method-function.
3969 (input-method-deactivate-hook): New hook.
3970 (input-method-inactivate-hook): Mark obsolete.
3971 (inactivate-input-method): Mark obsolete.
3972
3973 * international/quail.el (quail-activate):
3974 Also run quail-deactivate-hook.
3975 (quail-deactivate): Rename from quail-inactivate.
3976 * international/robin.el (robin-activate):
3977 Also run robin-deactivate-hook.
3978 (robin-deactivate): Rename from robin-inactivate.
3979
3980 2012-07-29 Chong Yidong <cyd@gnu.org>
3981
3982 * simple.el (indicate-copied-region): New function.
3983 (kill-ring-save): Split off from here.
3984
3985 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3986 (kill-rectangle): Set deactivate-mark to t on read-only error.
3987
3988 * register.el (copy-to-register, copy-rectangle-to-register):
3989 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3990 (append-to-register, prepend-to-register): Call indicate-copied-region.
3991
3992 2012-07-29 Juri Linkov <juri@jurta.org>
3993
3994 * simple.el (async-shell-command-buffer): New defcustom.
3995 (shell-command): Use it. (Bug#4719)
3996
3997 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3998
3999 * international/mule-cmds.el (set-locale-environment): In a
4000 console session on MS-Windows, set up keyboard and terminal
4001 encoding from the OEM codepage, not the ANSI codepage.
4002 (Bug#12055)
4003
4004 2012-07-28 Chong Yidong <cyd@gnu.org>
4005
4006 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4007 gdb-get-location.
4008
4009 2012-07-28 Leo Liu <sdl.web@gmail.com>
4010
4011 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4012 the alist (bug#12029).
4013
4014 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4015
4016 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4017 (compile-always, compile-first)
4018 ($(lisp)/calendar/cal-loaddefs.el)
4019 ($(lisp)/calendar/diary-loaddefs.el)
4020 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4021 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4022 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4023 instead of on update-subdirs.
4024 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4025
4026 2012-07-28 Chong Yidong <cyd@gnu.org>
4027
4028 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4029 directory if vc-deduce-backend returns nil (Bug#7350).
4030
4031 * simple.el (delete-trailing-lines): New option.
4032 (delete-trailing-whitespace): Obey it (Bug#11879).
4033
4034 2012-07-28 David Engster <deng@randomsample.de>
4035
4036 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4037 Explanation of new 'symbol-qnames feature in doc-strings.
4038 (xml-maybe-do-ns): Return expanded names as plain symbols if
4039 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4040 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4041
4042 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4043
4044 Consistent completion in inferior python with emacs -nw.
4045 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4046 binding in inferior-python-mode-map with "\t".
4047 (python-shell-completion-complete-at-point)
4048 (python-completion-complete-at-point): Remove interactive spec.
4049
4050 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4051
4052 * calc/calccomp.el (math-compose-expr): Undo previous change.
4053
4054 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4055
4056 * progmodes/python.el (python-mode-map): Add keybinding for
4057 run-python.
4058 (python-shell-make-comint): Fix pop-to-buffer call.
4059 (run-python): Autoload. New arg SHOW.
4060 (python-shell-get-or-create-process): Do not pop python process
4061 buffer.
4062
4063 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4064
4065 * notifications.el (notifications-on-action-signal)
4066 (notifications-on-closed-signal): Use also the bus address for the map.
4067 (notifications-notify, notifications-close-notification)
4068 (notifications-get-capabilities): Add optional argument BUS.
4069
4070 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4071
4072 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4073 Add support for the lstlisting and minted environments, and for the
4074 ctable macro.
4075 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4076 labels written in keyvals syntax.
4077
4078 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4079
4080 * calc/calccomp.el (math-compose-expr): Use parentheses when
4081 there is a product in the denominator of a fraction.
4082
4083 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4084
4085 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4086 ($(lisp)/calendar/diary-loaddefs.el)
4087 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4088 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4089 Fixes failures in parallel bootstrap because subdirs.el is being
4090 rewritten while the autoload files are built at the same time,
4091 which needs to load subdirs.el.
4092
4093 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4094
4095 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4096 (mouse-drag-line): Don't exit tracking when a switch-frame or
4097 switch-window event occurs (Bug#12006).
4098
4099 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * mouse.el (popup-menu): Fix last change.
4102
4103 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 Autoload from Lisp with more care. Follow aliases when looking for
4106 function properties.
4107 * subr.el (autoloadp): New function.
4108 (symbol-file): Use it.
4109 (function-get): New function.
4110 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4111 autoload-do-load.
4112 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4113 (lisp-indent-function):
4114 * emacs-lisp/gv.el (gv-get):
4115 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4116 * emacs-lisp/byte-opt.el (byte-optimize-form):
4117 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4118 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4119 Use function-get.
4120 * emacs-lisp/cl.el: Don't propagate function properties any more.
4121
4122 * speedbar.el (speedbar-add-localized-speedbar-support):
4123 * emacs-lisp/disass.el (disassemble-internal):
4124 * desktop.el (desktop-load-file):
4125 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4126 (describe-function-1):
4127 * emacs-lisp/find-func.el (find-function-noselect):
4128 * emacs-lisp/elp.el (elp-instrument-function):
4129 * emacs-lisp/advice.el (ad-has-proper-definition):
4130 * apropos.el (apropos-safe-documentation, apropos-macrop):
4131 * emacs-lisp/debug.el (debug-on-entry):
4132 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4133 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4134 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4135
4136 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4137
4138 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4139 function, not an obsolete variable (Bug#12046).
4140
4141 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4142
4143 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4144
4145 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4146
4147 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4148 window only if it is still live (Bug#12034).
4149
4150 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4151
4152 * subr.el (redirect-frame-focus): Add advertised calling
4153 convention (Bug#12030).
4154
4155 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4156
4157 Prefer typical American spelling for "acknowledgment".
4158 * vc/add-log.el (change-log-acknowledgment): Rename from
4159 change-log-acknowledgement, with an alias for the old name.
4160
4161 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4162
4163 * calc-alg.el (math-simplify-divide): Don't cross multiply
4164 in an equation when the lhs is a variable.
4165
4166 2012-07-24 Julien Danjou <julien@danjou.info>
4167
4168 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4169 Remove, unused.
4170
4171 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4172
4173 * startup.el (command-line): Don't display an empty user name in
4174 the error message about non-existent home directory, when
4175 init-file-user was set to an empty string. See
4176 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4177 for the details and context.
4178
4179 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4180
4181 * ses.el (ses-cell-formula-aset): New macro.
4182 (ses-cell-references-aset): New macro.
4183 (ses-cell-p): New function.
4184 (ses-rename-cell): Do no longer rely on complex operations like
4185 ses-cell-set-formula or ses-set-cell to change the cell and handle
4186 the undo at the same time, but rather use lower level new macros
4187 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4188 the undo directly. Refresh the mode line.
4189
4190 2012-07-21 Leo Liu <sdl.web@gmail.com>
4191
4192 * progmodes/cc-cmds.el (c-defun-name):
4193 Use match-string-no-properties instead for consistency.
4194
4195 2012-07-20 Leo Liu <sdl.web@gmail.com>
4196
4197 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4198 (Bug#7879)
4199
4200 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4201
4202 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4205 * progmodes/bug-reference.el, misearch.el: Provide themselves
4206 (bug#11915).
4207
4208 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4209 of narrowed buffer (bug#11966).
4210
4211 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4212
4213 * ses.el (ses-rename-cell): Set new name also in reference list of
4214 cells of which the renamed cell depends.
4215
4216 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4217
4218 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4219 to check whether menu-bar is shown or not. If not shown,
4220 show the menu-bar as a popup menu instead of using tmm.
4221 * mouse.el (popup-menu): Accept `point' as `position' argument.
4222
4223 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4224
4225 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4226 up inside string symbol literal (bug#11923).
4227
4228 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4229
4230 * startup.el (fancy-startup-text): Read the whole tutorial, not
4231 just its first 256 bytes. Prevents gibberish in display of the
4232 tutorial title.
4233
4234 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4235
4236 Drop idle buffer compaction due to an absence of the
4237 proved efficiency.
4238 * compact.el: Remove.
4239
4240 2012-07-19 Sam Steingold <sds@gnu.org>
4241
4242 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4243 vc-bzr-pull & vc-bzr-merge-branch.
4244 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4245 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4246 for consistency with compilation-error-regexp-alist.
4247 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4248 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4249 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4250 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4251
4252 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * emacs-lisp/chart.el: Use lexical-binding.
4255 (chart-emacs-storage): Don't hardcode the list of entries.
4256
4257 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4258
4259 Next round of tweaks caused by Fgarbage_collect changes.
4260 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4261
4262 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4263
4264 Compact buffers when idle.
4265 * compact.el: New file.
4266
4267 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * subr.el (eventp): Presume that if it looks vaguely like an event,
4270 it's an event (bug#10190).
4271
4272 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4273
4274 Enhancements to ppss related code (thanks Stefan).
4275 * progmodes/python.el (python-indent-context)
4276 (python-indent-calculate-indentation, python-indent-dedent-line)
4277 (python-indent-electric-colon, python-nav-forward-block)
4278 (python-mode-abbrev-table)
4279 (python-info-assignment-continuation-line-p): Simplify checks
4280 for ppss context.
4281 (python-info-continuation-line-p): Cleanup.
4282 (python-info-ppss-context): Do not catch 'quote.
4283 (python-info-ppss-context-type)
4284 (python-info-ppss-comment-or-string-p): Simplify.
4285
4286 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4287
4288 * progmodes/python.el: Enhancements to eldoc support.
4289 (python-info-current-symbol): New function.
4290 (python-eldoc-at-point): Use python-info-current-symbol.
4291 (python-info-current-defun): Fix cornercase on first defun scan.
4292 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4293 and signal error when no inferior python process is available.
4294
4295 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4296
4297 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4298 assume it's always t.
4299 (vc-git-registered): Remove caching, the function is only called
4300 once.
4301 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4302
4303 2012-07-18 Chong Yidong <cyd@gnu.org>
4304
4305 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4306
4307 * simple.el (count-words): Report on narrowing (Bug#9959).
4308
4309 * bindings.el: Bind M-= to count-words.
4310
4311 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4312
4313 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4314
4315 * progmodes/sh-script.el (sh-imenu-generic-expression):
4316 Capture a function with `function' keyword and without parentheses
4317 like "function FOO" (bug#11856).
4318
4319 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4320
4321 * window.el (split-window-sensibly): Make WINDOW argument
4322 optional.
4323
4324 2012-07-18 Chong Yidong <cyd@gnu.org>
4325
4326 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4327
4328 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4329 and make C-x 8 RET exit isearch (Bug#11439).
4330
4331 * international/iso-transl.el: Move isearch-mode-map key
4332 definitions to isearch.el.
4333
4334 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4337 (eieio-defclass): Use gv-define-setter when possible.
4338
4339 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4340
4341 Reflect recent changes in Fgarbage_collect.
4342 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4343 reflect new format of data returned by Fgarbage_collect.
4344
4345 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4346
4347 New utility functions + python-info-ppss-context fix (Bug#11910).
4348 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4349 (python-info-ppss-comment-or-string-p): New functions.
4350 (python-info-ppss-context): Small fix for string check.
4351
4352 2012-07-17 Juri Linkov <juri@jurta.org>
4353
4354 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4355 (dired-do-async-shell-command): Don't add `*' at the end of the
4356 command (Bug#11815).
4357 (dired-do-shell-command): Doc fix.
4358 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4359 Join the individual commands using either "&" or ";" as the
4360 separator depending on the values of these trailing characters.
4361 At the end re-add the trailing "&". (Bug#10598)
4362
4363 * simple.el (async-shell-command): Sync the interactive spec with
4364 `shell-command'. Doc fix.
4365 (shell-command): Doc fix.
4366
4367 2012-07-17 Juri Linkov <juri@jurta.org>
4368
4369 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4370
4371 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4372
4373 Final renames and doc fixes for movement commands (bug#11899).
4374 * progmodes/python.el (python-nav-beginning-of-statement):
4375 Rename from python-nav-statement-start.
4376 (python-nav-end-of-statement): Rename from
4377 python-nav-statement-end.
4378 (python-nav-beginning-of-block): Rename from
4379 python-nav-block-start.
4380 (python-nav-end-of-block): Rename from python-nav-block-end.
4381
4382 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4383
4384 * progmodes/python.el (python-shell-send-string-no-output):
4385 Allow accept-process-output to quit, keeping shell process ready for
4386 future interactions (Bug#11868).
4387
4388 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4391
4392 * emacs-lisp/elint.el (elint-find-args-in-code):
4393 Use help-function-arglist, so as to handle lexical byte-code.
4394
4395 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4396 change (bug#11826).
4397
4398 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4401 Avoid spuriously marking the buffer as modified because of c-is-sws.
4402
4403 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4404 as not-a-comment (bug#11946).
4405
4406 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4407 for uninterned vars.
4408
4409 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4410 Use read-event since we don't really want to read chars but bytes.
4411
4412 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4413 $$..$$ but also $..$ using regexps (bug#11953).
4414 Use tex-verbatim for \url and \path.
4415 (tex-font-lock-keywords): Define as defconst like the others.
4416 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4417
4418 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4419
4420 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4421 alias for insert-char.
4422
4423 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4424
4425 * progmodes/python.el: Simplified imenu implementation.
4426 (python-nav-jump-to-defun): Remove command.
4427 (python-mode-map): Use `imenu' instead.
4428 (python-nav-list-defun-positions-cache)
4429 (python-imenu-include-defun-type, python-imenu-make-tree)
4430 (python-imenu-subtree-root-label, python-imenu-index-alist):
4431 Remove vars.
4432 (python-nav-list-defun-positions, python-nav-read-defun)
4433 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4434 (python-imenu-make-tree, python-imenu-create-index):
4435 Remove functions.
4436 (python-mode): Update to interact with imenu by setting
4437 `imenu-extract-index-name-function' only.
4438
4439 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4440
4441 * progmodes/python.el: Enhancements to navigation commands.
4442 (python-nav-backward-sentence)
4443 (python-nav-forward-sentence): Remove.
4444 (python-nav-backward-statement, python-nav-forward-statement)
4445 (python-nav-statement-start, python-nav-statement-end)
4446 (python-nav-backward-block, python-nav-forward-block)
4447 (python-nav-block-start, python-nav-block-end)
4448 (python-nav-forward-sexp-function)
4449 (python-info-current-line-comment-p)
4450 (python-info-current-line-empty-p): New functions.
4451 (python-indent-context): Use `python-nav-statement-start'.
4452
4453 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4454
4455 * eshell/em-ls.el (eshell/ls): Use `apply'.
4456
4457 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4458 multi-hops, instead of Tramp internals.
4459
4460 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4461
4462 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4463 when F1 and F2 are located on different hosts.
4464
4465 2012-07-14 Chong Yidong <cyd@gnu.org>
4466
4467 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4468 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4469 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4470 (xterm-mouse--read-event-sequence-1000)
4471 (xterm-mouse--read-event-sequence-1006): New functions. For old
4472 mouse protocol, handle M-mouse-X events correctly.
4473 (xterm-mouse-event): New arg specifying mouse protocol.
4474 (turn-on-xterm-mouse-tracking-on-terminal)
4475 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4476 sequence to toggle extended coordinates on newer XTerms.
4477 This appears to be harmless on terminals which do not support this.
4478
4479 2012-07-14 Leo Liu <sdl.web@gmail.com>
4480
4481 Add fringe bitmap indicators for flymake. (Bug#11253)
4482 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4483 (flymake-make-overlay): New arg BITMAP.
4484 (flymake-error-bitmap, flymake-warning-bitmap)
4485 (flymake-fringe-indicator-position): New user variables.
4486
4487 * fringe.el: New bitmap exclamation-mark.
4488
4489 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4490
4491 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4492 also (Bug#7879).
4493
4494 2012-07-14 Chong Yidong <cyd@gnu.org>
4495
4496 * electric.el (electric-pair-post-self-insert-function): Fix pair
4497 insertion in empty-region case (Bug#11520).
4498
4499 2012-07-14 Chong Yidong <cyd@gnu.org>
4500
4501 * bindings.el: Consolidate ctl-x-r-map bindings.
4502 Bind copy-rectangle-as-kill to C-x r w.
4503
4504 * rect.el, register.el: Move bindings to bindings.el.
4505
4506 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4507
4508 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4509
4510 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4511
4512 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4513
4514 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4515
4516 * bindings.el (top): Use `mapc' instead of `mapcar'.
4517
4518 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4519
4520 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4521
4522 * progmodes/sql.el (sql-comint): Suppress the check for program on
4523 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4524 (Bug#11908)
4525
4526 2012-07-13 Chong Yidong <cyd@gnu.org>
4527
4528 * bindings.el: Assign a non-nil permanent-local property to
4529 per-buffer variables which lack a default value (Bug#11930).
4530
4531 * help-fns.el (describe-variable): In the "automatically becomes
4532 local" notice, take note of permanent-local variables.
4533
4534 2012-07-13 Chong Yidong <cyd@gnu.org>
4535
4536 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4537 to allow printing the message when called from Lisp.
4538
4539 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4540 Remove toggle-read-only.
4541
4542 * bs.el (bs-toggle-readonly):
4543 * buff-menu.el (Buffer-menu-toggle-read-only):
4544 Remove with-no-warnings around toggle-read-only.
4545
4546 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4547 Remove with-no-warnings around toggle-read-only.
4548 (ffap-read-only, ffap-read-only-other-window)
4549 (ffap-read-only-other-frame): Callers changed.
4550
4551 * help-mode.el: Don't require view package.
4552 (help-mode-finish): Set buffer-read-only instead of calling
4553 toggle-read-only.
4554
4555 * bindings.el (mode-line-toggle-read-only):
4556 * dired.el (dired-toggle-read-only):
4557 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4558 with non-nil second arg.
4559
4560 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4561 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4562 directly.
4563
4564 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4565
4566 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4567 not incf.
4568
4569 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 More CL cleanups and reduction of use of cl.el.
4572 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4573 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4574 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4575 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4576 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4577 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4578 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4579 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4580 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4581 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4582 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4583 * eshell/em-cmpl.el, eshell/em-banner.el:
4584 * calendar/parse-time.el: Use cl-lib.
4585 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4586 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4587 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4588 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4589 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4590 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4591 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4592 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4593 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4594 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4595 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4596 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4597 `lambda' rather than with `quote'.
4598 (eshell-do-opt): Adjust accordingly.
4599 (eshell-process-option): Simplify.
4600 * eshell/esh-var.el:
4601 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4602 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4603 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4604 to `pcase--dontcare'.
4605 * emacs-lisp/cl.el (labels): Mark obsolete.
4606 (cl--letf, letf): Move to cl-lib.
4607 (cl--letf*, letf*): Remove.
4608 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4609 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4610 (cl-progv): Rewrite.
4611 (cl--letf, cl-letf): Move from cl.el.
4612 (cl-letf*): New macro.
4613 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4614
4615 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4616
4617 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4618
4619 2012-07-11 Chong Yidong <cyd@gnu.org>
4620
4621 * vc/log-edit.el (log-edit-vc-backend): New variable.
4622 (log-edit): Doc fix.
4623
4624 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4625 argument of log-edit to set up all local variables.
4626 (vc-start-logentry): New optional arg specifying VC backend.
4627
4628 * vc/vc.el (vc-checkin): Use it.
4629 (vc-deduce-fileset): Handle Log Edit buffers.
4630 (vc-diff): Make first argument optional too.
4631
4632 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4633
4634 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4637 command, just in case. The function is not needed anymore.
4638 (eshell-external-command): Do not call `eshell-remote-command'.
4639
4640 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 Reduce use of (require 'cl).
4643 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4644 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4645 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4646 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4647 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4648 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4649 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4650 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4651 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4652 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4653 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4654 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4655 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4656 (byte-compile-unfold-bcf, byte-compile-check-variable):
4657 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4658 (byte-compile-nilconstp):
4659 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4660 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4661
4662 * emacs-lisp/gv.el (cond): Make it a valid place.
4663 (if): Simplify slightly.
4664
4665 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4666 (pcase--self-quoting-p): New function.
4667 (pcase--u1): Use it.
4668
4669 2012-07-10 Glenn Morris <rgm@gnu.org>
4670
4671 * emacs-lisp/authors.el (authors-fixed-entries):
4672 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4673
4674 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4675
4676 Rename configure.in to configure.ac (Bug#11603).
4677 * emacs-lisp/authors.el (authors-canonical-file-name):
4678 * progmodes/autoconf.el (autoconf-mode):
4679 Prefer configure.ac to configure.in.
4680
4681 2012-07-08 Chong Yidong <cyd@gnu.org>
4682
4683 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4684 Implement the mouse-1-click-follows-link handling properly.
4685
4686 * info.el (Info-link-keymap): Use follow-link mechanism for
4687 header-line links (Bug#374).
4688
4689 * simple.el (deactivate-mark): Do not set the primary selection
4690 if another program has acquired it (Bug#11772).
4691
4692 2012-07-07 Kevin Ryde <user42@zip.com.au>
4693
4694 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4695 (woman-decode-region): Replace escaped-escapes without destroying
4696 bold or underline (Bug#11552).
4697 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4698
4699 2012-07-07 Chong Yidong <cyd@gnu.org>
4700
4701 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4702 (interprogram-cut-function, interprogram-paste-function):
4703 Mention that we typically mean the clipboard.
4704
4705 2012-07-06 Glenn Morris <rgm@gnu.org>
4706
4707 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4708
4709 * files.el (toggle-read-only): Restrict message to interactive use.
4710
4711 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4712
4713 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4714
4715 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4716
4717 2012-07-06 Glenn Morris <rgm@gnu.org>
4718
4719 * Makefile.in (compile-one-process): Rename from "recompile".
4720
4721 * Makefile.in (bzr-update): "compile" is the same as "recompile
4722 autoloads", but parallelizable, so use that instead.
4723
4724 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4725
4726 * window.el (quit-window): Always restore window height when
4727 it's saved in quit-restore parameter (Bug#11810).
4728
4729 2012-07-06 Glenn Morris <rgm@gnu.org>
4730
4731 * simple.el (kill-whole-line): Doc tweak.
4732
4733 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4734
4735 * files.el (file-relative-name): Compare file names
4736 case-insensitively if on MS-Windows or MS-DOS, or if
4737 read-file-name-completion-ignore-case is non-nil. Don't use
4738 case-fold-search for this purpose. (Bug#11827)
4739
4740 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4741
4742 * calendar/cal-dst.el (calendar-current-time-zone):
4743 Return calendar-current-time-zone-cache if non-nil.
4744
4745 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4746 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4747
4748 * calendar/cal-dst.el (calendar-current-time-zone):
4749 Return calendar-current-time-zone-cache if non-nil.
4750
4751 2012-07-06 Glenn Morris <rgm@gnu.org>
4752
4753 * Makefile.in (cvs-update): Remove old alias.
4754
4755 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4756
4757 Sync with Tramp 2.2.6-pre.
4758
4759 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4760 compatible declaration.
4761
4762 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4763 Protect `list-load-path-shadows' call.
4764
4765 * net/tramp-compat.el (top): Require packages, which aren't
4766 autoloaded anymore for XEmacs. Protect call of
4767 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4768 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4769 it hurts at least for SXEmacs.
4770 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4771 standard-value for `temporary-file-directory'.
4772
4773 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4774 Redirect stderr to /dev/null.
4775 (tramp-sh-handle-write-region): uid and gid can be floats.
4776 Reported by Russell Sim <russell.sim@gmail.com>.
4777 (tramp-sh-handle-vc-registered): Hide errors.
4778 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4779 and `start-file-process'.
4780 (tramp-maybe-open-connection): Check also whether `non-essential'
4781 is bound.
4782
4783 2012-07-04 Chong Yidong <cyd@gnu.org>
4784
4785 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4786 (xml-parse-tag): Likewise, and avoid changing entity tables.
4787 (xml-syntax-table): Define from scratch, making sure not to give
4788 x2000 and other Unicode spaces whitespace syntax, since those are
4789 not spaces in XML.
4790 (xml-parse-fragment): Delete unused function.
4791 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4792 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4793 (xml-entity-ref, xml-pe-reference-re)
4794 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4795 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4796 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4797 (xml-entity-value-re): Use syntax references in regexps where
4798 possible; no need to define inside a let-binding.
4799 (xml-parse-dtd): Use xml-pe-reference-re.
4800 (xml-entity-or-char-ref-re): New defconst.
4801 (xml-parse-string, xml-substitute-special): Use it.
4802
4803 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4804
4805 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4806 (find-file--read-only): New function.
4807 (find-file-read-only, find-file-read-only-other-window)
4808 (find-file-read-only-other-frame): Use it.
4809 (insert-file-contents-literally): Don't `fset'.
4810 (get-free-disk-space): Use locate-dominating-file.
4811
4812 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4813 function is already compiled.
4814
4815 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4816
4817 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4818
4819 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4820 files on the same host.
4821
4822 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4823
4824 * help-fns.el (describe-function-1): Only call
4825 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4826
4827 2012-07-03 Chong Yidong <cyd@gnu.org>
4828
4829 * xml.el: Protect parser against XML bombs.
4830 (xml-entity-expansion-limit): New variable.
4831 (xml-parse-string, xml-substitute-special): Use it.
4832 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4833
4834 2012-07-03 Glenn Morris <rgm@gnu.org>
4835
4836 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4837 Allow linking to specific messages in debbugs reports (eg 123#5).
4838
4839 2012-07-02 Chong Yidong <cyd@gnu.org>
4840
4841 * xml.el: Fix entity and character reference expansion, allowing
4842 them to expand into markup as per XML spec.
4843 (xml-default-ns): New variable.
4844 (xml-entity-alist): Use XML spec definitions for lt and amp.
4845 (xml-parse-region): Make first two arguments optional.
4846 Discard text properties.
4847 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4848 All callers changed.
4849 (xml-parse-tag): Call xml-parse-tag-1. For backward
4850 compatibility, this function should not modify buffer contents.
4851 (xml-parse-tag-1): Fix opening-tag regexp.
4852 (xml-parse-string): Rewrite, handling entity and character
4853 references properly.
4854 (xml--entity-replacement-text): Signal an error if a parameter
4855 entity is undefined.
4856
4857 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * comint.el (comint-output-filter): Filter out repeated prompts.
4860
4861 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4862 and file-name-absolute-p.
4863 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4864 internal calls.
4865
4866 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4867
4868 Spelling fixes.
4869 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4870 Rename from byte-compile--refiy-function. All uses changed.
4871
4872 2012-07-01 Chong Yidong <cyd@gnu.org>
4873
4874 * xml.el (xml--parse-buffer): New function. Move most of
4875 xml-parse-region here.
4876 (xml-parse-region): Copy region into a temporary buffer, since
4877 parameter entity substitution requires changing buffer contents.
4878 Use xml--parse-buffer.
4879 (xml-parse-file): Use xml--parse-buffer.
4880 (xml-parse-dtd): Make parameter entity substitution work right.
4881 Use proper regexps for ELEMENT declarations (Bug#7172).
4882
4883 2012-06-30 Glenn Morris <rgm@gnu.org>
4884
4885 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4886
4887 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4888 Remove outdated and unnecessary dbus declarations.
4889
4890 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4891
4892 * emacs-lisp/timer.el (timer-until): Subtract results of
4893 float-time, instead of taking float-time of the result of
4894 time-subtract, since float-time signals an error for negative time
4895 arguments.
4896
4897 2012-06-30 Chong Yidong <cyd@gnu.org>
4898
4899 * xml.el (xml-*-re): Convert defvars into defconsts, and
4900 eval-and-compile them so eval-and-compile works on derivatives.
4901 (xml--entity-replacement-text): Use eval-and-comple.
4902
4903 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4904
4905 * vc/vc-git.el (vc-git-registered): Use cache property
4906 `git-registered'.
4907 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4908 `vc-git-working-revision' in order to benefit from the cache.
4909 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4910
4911 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4912
4913 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4914 removed (likely outside Emacs). (Bug#11757)
4915
4916 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * emacs-lisp/cl-lib.el: Require macroexp.
4919
4920 2012-06-30 Chong Yidong <cyd@gnu.org>
4921
4922 * xml.el: Implement XML parameter entities.
4923 (xml-parameter-entity-alist): New variable.
4924 (xml-parse-region, xml-parse-fragment): Preserve previous values
4925 of xml-entity-alist and xml-parameter-entity-alist, so that
4926 repeated calls on different documents do not change them.
4927 (xml-parse-tag): Fix doctype regexp.
4928 (xml--entity-replacement-text): New function.
4929 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4930 properly requires url retrieval which is unimplemented.
4931 (xml-escape-string): Doc fix.
4932
4933 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4936
4937 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4938
4939 * fringe.el (fringe-mode): Doc fix.
4940
4941 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4944 is non-nil.
4945 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4946 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4947
4948 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4949
4950 * calendar/cal-dst.el (calendar-current-time-zone):
4951 Return calendar-current-time-zone-cache if non-nil.
4952
4953 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4954
4955 * progmodes/which-func.el (which-func-format):
4956 Add mouse-face. (Bug#11698)
4957
4958 2012-06-29 Leo Liu <sdl.web@gmail.com>
4959
4960 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4961
4962 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * minibuffer.el (minibuffer-confirm-exit-commands):
4965 Add completion-at-point (bug#11725).
4966
4967 2012-06-29 Glenn Morris <rgm@gnu.org>
4968
4969 * progmodes/f90.el (f90-font-lock-keywords-2):
4970 Add some preprocessor elements. (Bug#10499)
4971
4972 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4975 Use syntax-propertize (bug#11739).
4976
4977 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4980
4981 2012-06-28 Julien Danjou <julien@danjou.info>
4982
4983 * term.el (term-handle-colors-array): Use a set of new faces to
4984 color the terminal. Also uses :inverse-video property.
4985 (term-default-fg-color): Set to nil by default, deprecate in favor
4986 of `term-face'.
4987 (term-default-bg-color): Set to nil by default, deprecate in favor
4988 of `term-face'.
4989 (term-current-face): Use `term-face' by default.
4990 (term-bold-attribute): Variable deleted.
4991
4992 2012-06-28 Glenn Morris <rgm@gnu.org>
4993
4994 * simple.el (completion-list-mode-finish):
4995 Don't use toggle-read-only. (Since completion-list-mode has
4996 a special mode-class, it wasn't doing anything extra anyway.)
4997
4998 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 Make inlining of other-mode interpreted functions work (bug#11799).
5001 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5002 (byte-compile): Use it to fix compilation of lexical-binding closures.
5003 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5004 function, if needed.
5005
5006 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * help-mode.el (help-make-xrefs): Don't just withstand
5009 cyclic-variable-indirection but any error in documentation-property.
5010
5011 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5012 memory use.
5013 * bindings.el (bindings--define-key): New function.
5014 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5015 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5016 * bindings.el: Use it to purecopy define-key bindings.
5017
5018 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5019
5020 * emacs-lisp/cl.el (flet): Mark obsolete.
5021 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5022 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5023 * progmodes/js.el (js-c-fill-paragraph):
5024 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5025 (ebrowse-switch-member-buffer-to-derived-class):
5026 * play/5x5.el (5x5-solver): Use cl-flet.
5027
5028 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5029 (cl--symbol-function): New macro.
5030 (cl--letf, cl--letf*): Use it.
5031
5032 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5033 Strip "toggle-" if any.
5034
5035 2012-06-27 Glenn Morris <rgm@gnu.org>
5036
5037 * info.el (Info-default-directory-list): Move here from paths.el.
5038 * paths.el: Remove file, which is now empty.
5039 * loadup.el: No longer load "paths".
5040
5041 * custom.el (custom-initialize-delay): Doc fix.
5042
5043 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5044 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5045 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5046 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5047 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5048 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5049 * eshell/eshell.el (eshell-defgroup): Remove alias.
5050
5051 2012-06-27 Chong Yidong <cyd@gnu.org>
5052
5053 * help.el (help-enable-auto-load): New variable.
5054
5055 * help-fns.el (help-fns--autoloaded-p): New function.
5056 (describe-function-1): Refer to a function as "autoloaded" if it
5057 was autoloaded at any time in the past. Perform autoloading if
5058 help-enable-auto-load is non-nil.
5059
5060 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5061
5062 * makefile.w32-in (compile, compile-always): Depend on
5063 update-subdirs, not on subdirs.el. Otherwise, several different
5064 sub-targets of 'bootstrap' running in parallel could
5065 simultaneously write to subdirs.el, producing a garbled file.
5066
5067 2012-06-26 Sam Steingold <sds@gnu.org>
5068
5069 * files.el (file-name-base): New convenience function.
5070 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5071 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5072 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5073 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5074 * textmodes/ispell.el, textmodes/reftex-ref.el:
5075 * textmodes/tex-mode.el: Use it.
5076 Did not touch cedet and org because they are maintained elsewhere.
5077
5078 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5079
5080 * calendar/calendar.el (calendar-exit): Don't try to delete or
5081 iconify last frame. See:
5082 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5083
5084 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5085
5086 * server.el (server-process-filter): Remember dir in the
5087 process's `server-client-directory' properties.
5088
5089 2012-06-24 Chong Yidong <cyd@gnu.org>
5090
5091 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5092 non-tag text.
5093
5094 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5095
5096 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5097
5098 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * help-fns.el (describe-variable): Don't croak when doc is not found.
5101 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5102 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5103 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5104 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5105 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5106 ((lambda ..) ..).
5107 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5108
5109 2012-06-23 Chong Yidong <cyd@gnu.org>
5110
5111 * info.el (Info-mouse-follow-link): Accept symbol values of
5112 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5113 (Info-fontify-node): Use Info-link-keymap for all navigation
5114 buttons, with link-args property to perform the desired action.
5115 (Info-link-keymap): Doc fix.
5116 (Info-next-link-keymap, Info-prev-link-keymap)
5117 (Info-up-link-keymap): Delete now-unused keymaps.
5118
5119 2012-06-23 Chong Yidong <cyd@gnu.org>
5120
5121 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5122
5123 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5124 system abbrevs.
5125
5126 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5127
5128 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5131 (bug#11719).
5132
5133 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5134 the requote function doesn't work properly (bug#11714).
5135
5136 2012-06-23 Glenn Morris <rgm@gnu.org>
5137
5138 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5139
5140 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 Further GV/CL cleanups.
5143 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5144 gv-expander.
5145 (gv--defun-declaration): New function.
5146 (defun-declarations-alist): Use it.
5147 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5148 (gv-place): Autoload.
5149 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5150 original definition of dotimes and dolist.
5151 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5152 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5153 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5154 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5155 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5156 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5157 to the function's definition.
5158 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5159 * window.el:
5160 * files.el:
5161 * faces.el:
5162 * env.el: Don't use CL.
5163
5164 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5165
5166 Support higher-resolution time stamps (Bug#9000).
5167
5168 * calendar/time-date.el (with-decoded-time-value): New arg
5169 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5170 (encode-time-value): New optional arg PICO. New type 3.
5171 (time-to-seconds) [!float-time]: Support the new picoseconds
5172 component if it's used.
5173 (seconds-to-time, time-subtract, time-add):
5174 Support ps-resolution time stamps as well.
5175
5176 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5177 (timerp): Timer vectors now have length 9, not 8.
5178 (timer--time): Support new-style (4-part) time stamps.
5179 (timer-next-integral-multiple-of-time): Time stamps now have
5180 picosecond resolution, so take a bit more care about rounding.
5181 (timer-relative-time, timer-inc-time): New optional arg psecs.
5182 (timer-set-time-with-usecs): Set psecs to 0.
5183 (timer--activate): Check psecs component, too.
5184
5185 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5186
5187 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5190 Move the non-essential binding to the post/pre-command-hook where it is
5191 more obviously correct.
5192
5193 * subr.el (read-passwd): Don't use a history at all.
5194 * savehist.el (savehist-save): Remove password saved accidentally
5195 because of the above bug.
5196
5197 2012-06-22 Bastien Guerry <bzg@gnu.org>
5198
5199 * files.el (toggle-read-only): Display a message telling whether
5200 the buffer is read-only or not (bug#11726).
5201
5202 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * emacs-lisp/gv.el: New file.
5205 * subr.el (push, pop): Extend to generalized variables.
5206 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5207 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5208 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5209 gv-define-simple-setter, and gv-define-expander.
5210 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5211 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5212 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5213 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5214 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5215 gv-letplace.
5216 (cl-defstruct): Don't define setf-method any more.
5217 * emacs-lisp/cl.el (flet): Don't autoload.
5218 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5219 (define-setf-expander, defsetf, define-modify-macro)
5220 (cl-struct-setf-expander): Move from cl-lib.el.
5221 * emacs-lisp/syntax.el:
5222 * emacs-lisp/ewoc.el:
5223 * emacs-lisp/smie.el:
5224 * emacs-lisp/cconv.el:
5225 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5226 (timer--time): Use gv-define-simple-setter.
5227 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5228 to avoid coding-system problems in subr.el. Adjust all users.
5229 (macroexp--maxsize, macroexp-small-p): New functions.
5230 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5231 * scroll-bar.el (scroll-bar-mode):
5232 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5233 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5234 * winner.el (winner-configuration, winner-make-point-alist)
5235 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5236 * files.el (locate-file-completion-table): Avoid list*.
5237
5238 2012-06-22 Chong Yidong <cyd@gnu.org>
5239
5240 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5241 (dired-create-files): Doc fix (Bug#11329).
5242 (dired-do-copy): Doc fix (Bug#11334).
5243 (dired-mark-read-string): Doc fix (Bug#11553).
5244
5245 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5246 Doc fix (Bug#11326).
5247 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5248 (dired-dwim-target): Doc fix.
5249
5250 * wdired.el (wdired-mode): Doc fix.
5251
5252 2012-06-22 Glenn Morris <rgm@gnu.org>
5253
5254 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5255 (pcmpl-rpm-cache-stamp-file): New constant.
5256 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5257 (pcmpl-rpm-packages): Optionally cache list of packages.
5258
5259 * pcmpl-rpm.el (pcmpl-rpm): New group.
5260 (pcmpl-rpm-query-options): New option.
5261 (pcmpl-rpm-packages): No need to inline it.
5262 Use pcmpl-rpm-query-options.
5263
5264 * calendar/calendar.el (calendar-in-read-only-buffer):
5265 Avoid some needless mode changes.
5266
5267 2012-06-21 Chong Yidong <cyd@gnu.org>
5268
5269 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5270 (desktop-path): Remove . from the default value (Bug#10977).
5271 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5272
5273 2012-06-20 Chong Yidong <cyd@gnu.org>
5274
5275 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5276
5277 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5278
5279 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5280 (bug#11201).
5281
5282 2012-06-20 Chong Yidong <cyd@gnu.org>
5283
5284 * term.el (term-window-width): Handle the case of a missing right
5285 fringe (Bug#8837).
5286 (term-check-size): Use window-text-height (Bug#5445).
5287 (term-mode): Use define-derived-mode. Minor cleanups.
5288 Set font-lock-defaults (Bug#7692).
5289 (term-move-columns, term-insert-char, term-emulate-terminal)
5290 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5291
5292 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5293
5294 * net/ange-ftp.el (ange-ftp-get-passwd):
5295 Bind `enable-recursive-minibuffers'.
5296 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5297
5298 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5299
5300 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5301
5302 2012-06-19 Glenn Morris <rgm@gnu.org>
5303
5304 * progmodes/python.el (python-mode): Derive from prog-mode.
5305
5306 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5307
5308 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5309 (edt-user-menu-bar-update-buffers): New functions.
5310 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5311
5312 2012-06-19 Chong Yidong <cyd@gnu.org>
5313
5314 * subr.el (with-selected-window): Preserve the selected window's
5315 terminal's top-frame (Bug#4702).
5316
5317 * window.el (save-selected-window): Likewise.
5318
5319 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5320
5321 * progmodes/python.el (python-rx-constituents): Move backquote.
5322 (python-skeleton-define, python-define-auxiliary-skeleton):
5323 Use `declare'.
5324
5325 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * minibuffer.el (read-file-name-default): Revert the patch from
5328 2012-06-17.
5329
5330 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5333 (pcase--u1, pcase--q1): Don't use apply-partially.
5334
5335 2012-06-18 Glenn Morris <rgm@gnu.org>
5336
5337 * progmodes/python.el (python-proc, python-buffer)
5338 (python-send-receive, python-send-string): Fix obsolete versions.
5339
5340 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5341
5342 * window.el (special-display-p): Completely remove stringp
5343 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5344
5345 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5346
5347 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5348
5349 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5350
5351 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5352 * net/tramp-sh.el (tramp-maybe-open-connection):
5353 Throw if `non-essential' is non-nil.
5354
5355 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5356
5357 * window.el (special-display-p): Signal an error if BUFFER-NAME
5358 is not a string (Bug#11713).
5359
5360 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5361
5362 * progmodes/python.el (python-info-beginning-of-backslash):
5363 Rename from python-info-beginning-of-backlash, as a spelling fix.
5364
5365 2012-06-17 Chong Yidong <cyd@gnu.org>
5366
5367 * term.el (term-emulate-terminal): If term-check-size is called,
5368 move point to the process mark without resetting point (Bug#4635).
5369
5370 2012-06-17 Glenn Morris <rgm@gnu.org>
5371
5372 * international/mule-cmds.el (mule-menu-keymap)
5373 (set-language-environment, set-locale-environment): Doc tweaks.
5374
5375 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5376
5377 * cus-face.el (custom-face-attributes): Add wave-style underline
5378 attribute.
5379 * faces.el (set-face-attribute): Update docstring to describe
5380 wave-style underline attribute.
5381
5382 2012-06-16 Chong Yidong <cyd@gnu.org>
5383
5384 * term/xterm.el (terminal-init-xterm): Discard input before
5385 querying background mode (Bug#10959).
5386
5387 2012-06-16 Stefan Merten <smerten@oekonux.de>
5388
5389 * textmodes/rst.el: Added and corrected some comments.
5390 (rst-re-alist-def): Improve symbol syntax.
5391 (rst-mode-syntax-table): Correct syntax entries.
5392 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5393 (rst-official-version, rst-official-cvs-rev): Update version
5394 information.
5395
5396 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5399 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5400
5401 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5402
5403 * progmodes/python.el: New python.el merge.
5404 (python-guess-indent): Obsolete var.
5405 (python-indent-guess-indent-offset): New defcustom.
5406 (python-indent): Obsolete var.
5407 (python-indent-offset): New defcustom.
5408 (python-python-command, python-jython-command): Delete var.
5409 (python-shell-interpreter): New defcustom.
5410 (python-pdbtrack-do-tracking-p): Delete var.
5411 (python-pdbtrack-activate): New defcustom.
5412 (python-use-skeletons): Obsolete var.
5413 (python-skeleton-autoinsert): New defcustom.
5414 (inferior-python-filter-regexp, python-continuation-offset)
5415 (python-honour-comment-indentation, python-indent-string-contents)
5416 (python-jython-packages, python-mode-hook)
5417 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5418 (python-shell-prompt-alist)
5419 (python-source-modes): Delete defcustoms.
5420 (python-check-buffer-name, python-eldoc-setup-code)
5421 (python-eldoc-string-code, python-ffap-setup-code)
5422 (python-ffap-string-code, python-fill-comment-function)
5423 (python-fill-decorator-function, python-fill-paren-function)
5424 (python-fill-string-function, python-imenu-include-defun-type)
5425 (python-imenu-make-tree, python-imenu-subtree-root-label)
5426 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5427 (python-shell-compilation-regexp-alist)
5428 (python-shell-completion-module-string-code)
5429 (python-shell-completion-pdb-string-code)
5430 (python-shell-completion-setup-code)
5431 (python-shell-completion-string-code)
5432 (python-shell-enable-font-lock, python-shell-exec-path)
5433 (python-shell-extra-pythonpaths)
5434 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5435 (python-shell-process-environment)
5436 (python-shell-prompt-block-regexp)
5437 (python-shell-prompt-output-regexp)
5438 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5439 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5440 (python-shell-virtualenv-path): New defcustoms.
5441 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5442 (inferior-python-mode-syntax-table, python--prompt-regexp)
5443 (python-buffer, python-command python-python-command)
5444 (python-default-template, python-imports, python-indent-index)
5445 (python-indent-list, python-indent-list-length)
5446 (python-mode-running, python-pdbtrack-is-tracking-p)
5447 (python-preoutput-continuation, python-preoutput-leftover)
5448 (python-preoutput-result, python-preoutput-skip-next-prompt)
5449 (python-prev-dir/file, python-recursing)
5450 (python-saved-check-command, python-version-checked)
5451 (python-which-func-length-limit)
5452 (view-return-to-alist): Delete vars.
5453 (python-check-custom-command, python-dotty-syntax-table)
5454 (python-imenu-index-alist, python-indent-current-level)
5455 (python-indent-dedenters, python-indent-levels)
5456 (python-nav-beginning-of-defun-regexp)
5457 (python-nav-list-defun-positions-cache)
5458 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5459 (python-shell-internal-buffer)
5460 (python-skeleton-available): New vars.
5461 (def-python-skeleton): Delete macro.
5462 (python-skeleton-define): New macro.
5463 (python-define-auxiliary-skeleton, python-rx): New macros.
5464 (python-insert-class): Delete command.
5465 (python-skeleton-class): New command.
5466 (python-insert-def): Delete command.
5467 (python-skeleton-def): New command.
5468 (python-insert-for): Delete command.
5469 (python-skeleton-for): New command.
5470 (python-insert-if): Delete command.
5471 (python-skeleton-if): New command.
5472 (python-insert-try/except, python-insert-try/finally): Delete commands.
5473 (python-skeleton-try): New command.
5474 (python-insert-while): Delete command.
5475 (python-skeleton-while): New command.
5476 (python-backspace): Delete command.
5477 (python-indent-dedent-line-backspace): New command.
5478 (python-electric-colon): Delete command.
5479 (python-indent-electric-colon): New command.
5480 (python-guess-indent): Delete command.
5481 (python-indent-guess-indent-offset): New command.
5482 (python-shift-left): Delete command.
5483 (python-indent-shift-left): New command.
5484 (python-shift-right): Delete command.
5485 (python-indent-shift-right): New command.
5486 (python-find-function): Delete command.
5487 (python-nav-jump-to-defun): New command.
5488 (python-next-statement): Delete command.
5489 (python-nav-forward-sentence): New command.
5490 (python-previous-statement): Delete command.
5491 (python-nav-backward-sentence): New command.
5492 (python-fill-paragraph): Delete command.
5493 (python-fill-paragraph-function): New command.
5494 (python-send-buffer): Delete command.
5495 (python-shell-send-buffer): New command.
5496 (python-send-defun): Delete command.
5497 (python-shell-send-defun): New command.
5498 (python-send-region, python-send-region-and-go): Delete commands.
5499 (python-shell-send-region)
5500 (python-shell-switch-to-shell): New commands.
5501 (python-send-string): Delete command.
5502 (python-shell-send-string): New command.
5503 (python-switch-to-python): Delete command.
5504 (python-shell-switch-to-shell): New command.
5505 (python-describe-symbol): Delete command.
5506 (python-eldoc-at-point): New command.
5507 (python--set-prompt-regexp, python-args-to-list)
5508 (python-after-info-look, python-check-version)
5509 (python-check-comint-prompt, python-find-imports)
5510 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5511 (python-unload-function, python-expand-template)
5512 (python-maybe-jython, python-preoutput-filter)
5513 (python-pdbtrack-get-source-buffer)
5514 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5515 (python-pdbtrack-toggle-stack-tracking)
5516 (python-pdbtrack-track-stack-file, python-initial-text)
5517 (python-first-word, python-comment-line-p, python-send-command)
5518 (python-setup-brm, python-sentinel, python-set-proc)
5519 (python-skip-out, python-input-filter, python-outdent-p)
5520 (python-outline-level, python-backslash-continuation-line-p)
5521 (python-end-of-block, python-end-of-statement, python-mark-block)
5522 (python-beginning-of-block, python-beginning-of-statement)
5523 (python-blank-line-p, python-beginning-of-string)
5524 (python-open-block-statement-p): Delete functions.
5525 (python-indent-line, python-indent-line-1): Delete functions.
5526 (python-indent-line): New function.
5527 (python-indentation-levels): Delete function.
5528 (python-indent-calculate-levels): New function.
5529 (python-proc): Delete function.
5530 (python-shell-get-process): New function.
5531 (python-send-receive): Delete function.
5532 (python-shell-send-string-no-output): New function.
5533 (python-module-path): Delete function.
5534 (python-ffap-module-path): New function.
5535 (python-completion-at-point)
5536 (python-symbol-completions): Delete functions.
5537 (python-completion-complete-at-point): New function.
5538 (python-load-file): Delete function.
5539 (python-shell-send-file): New function.
5540 (python-calculate-indentation): Delete function.
5541 (python-indent-calculate-indentation): New function.
5542 (python-skip-comments/blanks): Delete function.
5543 (python-util-forward-comment): New function.
5544 (python-continuation-line-p): Delete function.
5545 (python-info-continuation-line-p): New function.
5546 (python-which-func, python-current-defun): Delete function.
5547 (python-info-current-defun): New function.
5548 (python-beginning-of-defun): Delete function.
5549 (python-nav-beginning-of-defun): New function.
5550 (python-close-block-statement-p)
5551 (python-block-end-p): Delete function.
5552 (python-info-closing-block): New function.
5553 (python-comint-output-filter-function)
5554 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5555 (python-fill-comment, python-fill-decorator, python-fill-paren)
5556 (python-fill-string, python-imenu-make-element-tree)
5557 (python-imenu-make-tree, python-imenu-tree-assoc)
5558 (python-indent-context, python-indent-dedent-line)
5559 (python-indent-line-function)
5560 (python-indent-post-self-insert-function)
5561 (python-indent-toggle-levels)
5562 (python-info-assignment-continuation-line-p)
5563 (python-info-beginning-of-backlash)
5564 (python-info-block-continuation-line-p)
5565 (python-info-closing-block-message)
5566 (python-info-line-ends-backslash-p)
5567 (python-info-looking-at-beginning-of-defun)
5568 (python-info-ppss-context, python-info-ppss-context-type)
5569 (python-nav-list-defun-positions, python-nav-read-defun)
5570 (python-nav-sentence-end, python-nav-sentence-start)
5571 (python-pdbtrack-comint-output-filter-function)
5572 (python-pdbtrack-set-tracked-buffer)
5573 (python-shell-calculate-exec-path)
5574 (python-shell-calculate-process-environment)
5575 (python-shell-completion--do-completion-at-point)
5576 (python-shell-completion--get-completions)
5577 (python-shell-completion-complete-at-point)
5578 (python-shell-completion-complete-or-indent)
5579 (python-shell-get-or-create-process)
5580 (python-shell-get-process-name)
5581 (python-shell-internal-get-or-create-process)
5582 (python-shell-internal-get-process-name)
5583 (python-shell-internal-send-string, python-shell-make-comint)
5584 (python-shell-parse-command, python-shell-send-setup-code)
5585 (python-skeleton-add-menu-items)
5586 (python-util-clone-local-variables, python-util-position)
5587 (run-python-internal, python-indentation-levels)
5588 (python-nav-beginning-of-defun)
5589 (python-completion-complete-at-point): New functions.
5590 (run-python): Change arguments. New API requirements.
5591
5592 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5595 (bug#11649).
5596
5597 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5598 (macroexp--expand-all): Use it.
5599
5600 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5601 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5602 Use `cl-function' instead.
5603
5604 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5605
5606 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5607 Suggested by Stefan Monnier while discussing bug#11657.
5608
5609 2012-06-14 Sam Steingold <sds@gnu.org>
5610
5611 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5612
5613 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5614
5615 * play/doctor.el (doctor-doc): Remove parameter and use
5616 doctor-sent instead of sent.
5617 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5618
5619 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * files.el: Require cl-lib.
5622 (file-name-non-special): Replace case -> cl-case.
5623
5624 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5625
5626 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5627 mapping from #' to function*.
5628
5629 2012-06-13 Chong Yidong <cyd@gnu.org>
5630
5631 * mouse.el (mouse-drag-track): Do not set the mark if the user
5632 releases the mouse without selecting anything (Bug#11588).
5633
5634 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5637 as well (bug#11646).
5638
5639 * loadup.el: Count byte-code functions as well.
5640
5641 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5642 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5643
5644 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5645 (bug#11649). Add cl-defun and cl-defmacro.
5646
5647 2012-06-13 Drew Adams <drew.adams@oracle.com>
5648
5649 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5650 Fix last change.
5651
5652 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5653
5654 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5655 Otherwise, it blocks in batch mode.
5656
5657 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5658
5659 * help-mode.el (bookmark-make-record-default): Declare.
5660
5661 2012-06-13 Chong Yidong <cyd@gnu.org>
5662
5663 * emacs-lisp/package.el (list-packages): Compute a list of
5664 packages that are newly-available since the last list-packages
5665 invocation.
5666 (package-menu--new-package-list): New var.
5667 (package-menu--generate, package-menu--print-info)
5668 (package-menu--status-predicate, package-menu-mark-install):
5669 Handle new status label "new".
5670
5671 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5674 conversion to backquotes.
5675
5676 2012-06-12 Chong Yidong <cyd@gnu.org>
5677
5678 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5679 Rename from gud-inhibit-global-bindings.
5680
5681 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5682
5683 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5684 hook from nxml-glyph-set-hook.
5685
5686 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5687 declaration.
5688
5689 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5690
5691 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5692 Convert to defcustom.
5693
5694 2012-06-12 Drew Adams <drew.adams@oracle.com>
5695
5696 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5697 New functions.
5698 (help-mode): Use them.
5699
5700 2012-06-11 Glenn Morris <rgm@gnu.org>
5701
5702 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5703 Use preprocessor face for directives.
5704 (fortran-directive-re): Doc fix.
5705
5706 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5709 conversion to backquotes (bug#11652).
5710
5711 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5712 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5713 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5714 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5715 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5716 (cl-ninth, cl-tenth): Mark them as inlinable.
5717 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5718 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5719 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5720 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5721 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5722 (cl-list*, cl-adjoin): Don't put an autoload manually.
5723 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5724 (cl--compiler-macro-list*): Add autoload cookie.
5725 (cl--compiler-macro-cXXr): New function.
5726
5727 * help-fns.el (help-fns--compiler-macro): New function extracted from
5728 describe-function-1; follow aliases and use `compiler-macro' property.
5729 (describe-function-1): Use it.
5730
5731 2012-06-11 Chong Yidong <cyd@gnu.org>
5732
5733 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5734 is uninstalled, if imagemagick is installed.
5735
5736 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5737
5738 * emacs-lisp/cl-lib.el: Use lexical-binding.
5739 (cl-map-extents, cl-maclisp-member): Remove.
5740 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5741 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5742 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5743 * emacs-lisp/cl-extra.el: Use lexical-binding.
5744 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5745 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5746 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5747 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5748 * emacs-lisp/cl-seq.el: Use lexical-binding.
5749 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5750 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5751 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5752 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5753 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5754 CL's internals.
5755
5756 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5757
5758 Sync with Tramp 2.2.6-pre.
5759
5760 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5761 `print-length' and `print-level' to nil, in order to avoid
5762 truncation. Reported by Christopher Schmidt
5763 <christopher@ristopher.com>.
5764
5765 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5766
5767 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5768 New defmacro.
5769 (tramp-compat-copy-directory): Add optional argument
5770 COPY-CONTENTS. It is not handled yet.
5771
5772 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5773 (tramp-ftp-file-name-p): Simplify.
5774
5775 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5776 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5777 connection vector.
5778
5779 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5780 (tramp-methods): Do not use `tramp-password-end-of-line'.
5781 (tramp-completion-function-alist-putty): Handle UNIX case.
5782 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5783 (tramp-do-file-attributes-with-stat)
5784 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5785 gid as real numbers. They could run out of integer range on cygwin.
5786 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5787 (tramp-sh-handle-expand-file-name): Handle hops.
5788 (tramp-open-connection-setup-interactive-shell):
5789 Use `tramp-cleanup'. Move check for busyboxes ...
5790 (tramp-find-shell): ... here. Simplify implementation.
5791 Set "remote-shell" property also for alternative shells.
5792 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5793 If failing, a regular file would be written otherwise.
5794 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5795 (tramp-find-inline-encoding): Cache the coding commands in the
5796 process cache. Apply test command on the remote side, if defined.
5797 (tramp-find-inline-compress): Cache the compress commands in the
5798 process cache.
5799 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5800 when requested. Handle hops.
5801 (tramp-current-connection): New defvar.
5802 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5803 Throw `suppress', if there was a failed connection shortly before.
5804 Handle user interrupt. (Bug#10187)
5805 (tramp-get-inline-compress, tramp-get-inline-coding):
5806 Read connection properties from the process cache.
5807
5808 * net/tramp-smb.el (tramp-smb-server-version)
5809 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5810 New defconsts.
5811 (tramp-smb-prompt): Extend for powershell prompt.
5812 (tramp-smb-file-name-handler-alist): Add handlers for
5813 `process-file', `shell-command' and `start-file-process'.
5814 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5815 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5816 (tramp-smb-file-name-p): Simplify.
5817 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5818 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5819 (tramp-smb-shell-quote-argument): New defuns.
5820 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5821 Implement using "tar". By this, time-stamps are preserved.
5822 (tramp-smb-handle-copy-file): Handle also the case of directories.
5823 (tramp-smb-do-file-attributes-with-stat)
5824 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5825 Use `tramp-get-connection-buffer').
5826 (tramp-smb-handle-rename-file): Use "rename", when source and
5827 target are on the same share.
5828 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5829 Use `tramp-smb-server-version'.
5830 (tramp-smb-wait-for-output): Remove prompt.
5831
5832 * net/tramp.el (top): Require 'cl.
5833 (tramp-methods, tramp-rsh-end-of-line):
5834 Remove `tramp-password-end-of-line' from docstring.
5835 (tramp-save-ad-hoc-proxies): New defcustom.
5836 (tramp-completion-function-alist): Adapt docstring.
5837 (tramp-default-password-end-of-line): Remove defcustom.
5838 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5839 (tramp-user-regexp, tramp-file-name-regexp-unified)
5840 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5841 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5842 (tramp-remote-file-name-spec-regexp): New defconst.
5843 (tramp-file-name-structure): Extend structure for hops.
5844 (tramp-get-method-parameter): Move up.
5845 (tramp-file-name-p, tramp-dissect-file-name)
5846 (with-parsed-tramp-file-name): Handle hops.
5847 (tramp-file-name-hop): New defun.
5848 (tramp-make-tramp-file-name): New optional arg HOP.
5849 (tramp-message-show-progress-reporter-message): New defvar.
5850 (tramp-with-progress-reporter): Use it. We cannot use
5851 `tramp-message-show-message' here, because this suppresses also
5852 error buffers.
5853 (tramp-error-with-buffer): Suppress buffer view, if
5854 `tramp-message-show-message' is nil.
5855 Use `tramp-get-connection-buffer'.
5856 (tramp-cleanup): New defun.
5857 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5858 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5859 an error unchanged.
5860 (tramp-completion-handle-file-name-all-completions): Handle hops.
5861 Fix an error when called from ido.
5862 (tramp-completion-dissect-file-name): Use better local variable
5863 name. Add hop to the vector.
5864 (tramp-handle-insert-file-contents): Use progress-reporter for the
5865 whole scenario.
5866 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5867 to `t'.
5868 (tramp-check-for-regexp): Simplify search.
5869 (tramp-enter-password): Remove it. Move implementation ...
5870 (tramp-action-password): ... here.
5871 (tramp-mode-string-to-int, tramp-local-host-p)
5872 (tramp-make-tramp-temp-file, tramp-read-passwd)
5873 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5874 Set tramp-autoload cookie.
5875
5876 * net/trampver.el: Update release number.
5877
5878 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5879 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5882 (tramp-parse-group, tramp-parse-file)
5883 (tramp-parse-shostkeys-sknownhosts): New defuns.
5884 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5885 (tramp-parse-shosts-group, tramp-parse-sconfig)
5886 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5887 (tramp-parse-sknownhosts, tramp-parse-hosts)
5888 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5889 Use them.
5890 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5891 (tramp-parse-putty-group): Don't narrow.
5892 (tramp-parse-putty): Make a loop.
5893 (tramp-file-name-handler): Catch the `suppress' signal.
5894
5895 2012-06-11 Chong Yidong <cyd@gnu.org>
5896
5897 * image.el (imagemagick-register-types): Put the ImageMagick entry
5898 at the end of image-type-file-name-regexps.
5899
5900 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5901
5902 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5903 (pcase, pcase-let*, pcase-dolist): Use them.
5904
5905 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * emacs-lisp/pcase.el (pcase--let*): New function.
5908 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5909 (pcase--expand): Use macroexp-let².
5910
5911 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5914 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5915 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5916 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5917 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5918 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5919
5920 2012-06-10 Glenn Morris <rgm@gnu.org>
5921
5922 * mail/rmail.el (rmail-yank-current-message): Leave point at
5923 correct position. (Bug#11660)
5924
5925 2012-06-10 Chong Yidong <cyd@gnu.org>
5926
5927 * allout-widgets.el: Fix code header.
5928
5929 2012-06-10 Chong Yidong <cyd@gnu.org>
5930
5931 * cus-edit.el (customize-changed-options-previous-release):
5932 Bump to 24.1.
5933
5934 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5935
5936 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5937
5938 2012-06-09 Chong Yidong <cyd@gnu.org>
5939
5940 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5941
5942 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5943
5944 * window.el (special-display-popup-frame): Don't use
5945 window--display-buffer (Bug#11651).
5946
5947 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5948
5949 Fix parallel builds: make sure loaddefs.el is not being written
5950 while Lisp files are compiled.
5951 (compile): Don't depend on 'mh-autoloads'.
5952 (compile-CMD, compile-SH): Depend on 'autoloads'.
5953 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5954
5955 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5956
5957 2012-06-09 Chong Yidong <cyd@gnu.org>
5958
5959 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5960 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5961 Doc fixes (Bug#11225).
5962
5963 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5966 a function if there's a clear indication that it has a compiler-macro.
5967 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5968 (macro-declarations-alist): Add arglist to declaration functions.
5969 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5970 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5971 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5972 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5973 Also add autoload to find the compiler macro.
5974 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5975 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5976 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5977 (cl--compiler-macro-get): New functions, replacing calls to
5978 cl-define-compiler-macro.
5979 (cl-typep) [compiler-macro]: Use macroexp-let².
5980
5981 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5982
5983 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5984 string properly, fixes Bug#11473.
5985
5986 2012-06-08 Chong Yidong <cyd@gnu.org>
5987
5988 * faces.el (set-face-attribute): Doc fix.
5989 (modify-face): Don't use :bold and :italic.
5990 (error, warning, success): Tweak definitions.
5991
5992 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5993 (custom-modified, custom-set, custom-changed, custom-themed)
5994 (custom-saved, custom-button, custom-button-mouse)
5995 (custom-button-pressed, custom-state, custom-comment-tag)
5996 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5997 (custom-group-subtitle): Use new-style face specs.
5998 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5999 (custom-set-face, custom-changed-face, custom-saved-face)
6000 (custom-button-face, custom-button-pressed-face)
6001 (custom-documentation-face, custom-state-face)
6002 (custom-comment-face, custom-comment-tag-face)
6003 (custom-variable-tag-face, custom-variable-button-face)
6004 (custom-face-tag-face, custom-group-tag-face-1)
6005 (custom-group-tag-face): Remove obsolete face alias.
6006
6007 * epa.el (epa-validity-high, epa-validity-medium)
6008 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6009 (epa-field-name, epa-field-body):
6010 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6011 (font-lock-keyword-face, font-lock-builtin-face)
6012 (font-lock-function-name-face, font-lock-variable-name-face)
6013 (font-lock-type-face, font-lock-constant-face):
6014 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6015 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6016 * speedbar.el (speedbar-button-face, speedbar-file-face)
6017 (speedbar-directory-face, speedbar-tag-face)
6018 (speedbar-selected-face, speedbar-highlight-face)
6019 (speedbar-separator-face):
6020 * whitespace.el (whitespace-newline, whitespace-space)
6021 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6022 (whitespace-line, whitespace-space-before-tab)
6023 (whitespace-space-after-tab, whitespace-indentation)
6024 (whitespace-empty):
6025 * emulation/cua-base.el (cua-global-mark):
6026 * eshell/em-prompt.el (eshell-prompt):
6027 * net/newst-plainview.el (newsticker-new-item-face)
6028 (newsticker-old-item-face, newsticker-immortal-item-face)
6029 (newsticker-obsolete-item-face, newsticker-date-face)
6030 (newsticker-statistics-face, newsticker-default-face):
6031 * net/newst-reader.el (newsticker-feed-face)
6032 (newsticker-extra-face, newsticker-enclosure-face):
6033 * net/newst-treeview.el (newsticker-treeview-face)
6034 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6035 (newsticker-treeview-immortal-face)
6036 (newsticker-treeview-obsolete-face)
6037 (newsticker-treeview-selection-face):
6038 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6039 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6040 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6041 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6042 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6043 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6044 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6045 (mpuz-text):
6046 * progmodes/vera-mode.el (vera-font-lock-number)
6047 (vera-font-lock-function, vera-font-lock-interface):
6048 * textmodes/table.el (table-cell): Use new-style face specs, and
6049 don't use the old :bold and :italic attributes.
6050
6051 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6052 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6053 (ebrowse-member-class, ebrowse-progress): Likewise.
6054 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6055 (ebrowse-file-name-face, ebrowse-default-face)
6056 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6057 (ebrowse-progress-face): Remove obsolete faces.
6058
6059 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6060 Inherit from error and warning faces respectively.
6061
6062 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6063 Likewise.
6064 (flyspell-incorrect-face, flyspell-duplicate-face):
6065 Remove obsolete aliases.
6066
6067 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6068
6069 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6070 Avoid infloop.
6071
6072 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * startup.el (argv, argi): Make lexically scoped.
6075 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6076 * emacs-lisp/cl-macs.el: Use lexical-binding.
6077 Rename cl-bind-* to cl--bind-*.
6078 * files.el: Don't require `cl' since it doesn't use it.
6079 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6080
6081 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6082
6083 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6084 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6085 instead of calling external sort utility.
6086 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6087
6088 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6089
6090 * descr-text.el (describe-char): Mention how to insert the
6091 character, if the current input method doesn't support it.
6092 See the discussion in this thread for the details:
6093 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6094
6095 2012-06-08 Sam Steingold <sds@gnu.org>
6096
6097 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6098 XF86Back to previous-buffer.
6099 (minibuffer-local-map): Bind them to next-history-element and
6100 previous-history-element respectively.
6101 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6102 help-go-back respectively.
6103 * info.el (Info-mode-map): Bind them to Info-history-forward and
6104 Info-history-back respectively.
6105 These are the keys next to Up on the ThinkPad keyboard.
6106
6107 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6110 * emacs-lisp/cl-macs.el: Provide itself.
6111 (cl--labels-convert-cache): New var.
6112 (cl--labels-convert): New function.
6113 (cl-flet, cl-labels): New implementation with new semantics, relying on
6114 lexical-binding.
6115 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6116 (cl-closure-vars, cl--function-convert-cache)
6117 (cl--function-convert): Move from cl-macs.el.
6118 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6119 rename by removing the "cl-" prefix.
6120 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6121
6122 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6123
6124 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6125 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6126 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6127 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6128 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6129 (cl-hash-table-count): Add old compatibility aliases.
6130
6131 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6132 Use macroexpand-all-environment instead.
6133 (cl--old-macroexpand): New var.
6134 (cl--sm-macroexpand): New function.
6135 (cl-symbol-macrolet): Use it during macro expansion.
6136 (cl--function-convert-cache): New var.
6137 (cl--function-convert): New function, extracted from
6138 cl-macroexpand-all.
6139 (cl-lexical-let): Use it.
6140
6141 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6142 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6143 (cl-member): Remove old alias.
6144
6145 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6146 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6147 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6148 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6149 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6150 (cl-macroexpand-cmacs): Remove var.
6151 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6152 Use macroexpand-all instead.
6153
6154 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6157 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6158 (macroexp-copyable-p): New functions and macros.
6159 * emacs-lisp/edebug.el (edebug-unwrap):
6160 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6161 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6162 (pcase--let*): Remove.
6163 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6164 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6165 macroexp-const-p instead.
6166 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6167
6168 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6169 instead of "cl-" for internal definitions. Use macroexp-const-p.
6170 (cl-old-bc-file-form): Remove var.
6171 (cl-const-exprs-p): Remove fun.
6172 (cl-labels, cl-macrolet): Use backquote.
6173 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6174 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6175 (cl-define-setf-expander): Rename from cl-define-setf-method.
6176 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6177
6178 * international/mule-cmds.el: Don't require CL.
6179 (view-hello-file): Don't use `letf'.
6180
6181 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * tmm.el (tmm-prompt): Use string-prefix-p.
6184 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6185 (tmm-add-prompt): Use minibuffer-completion-help.
6186 (tmm-delete-map): Remove.
6187
6188 * subr.el (kbd): Make it its own function.
6189
6190 2012-06-07 Stefan Merten <smerten@oekonux.de>
6191
6192 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6193 Silence compiler warnings. Fix versions.
6194 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6195 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6196 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6197 (rst-package-emacs-version-alist): Correct Emacs version to
6198 represent major merge with upstream.
6199 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6200
6201 2012-06-06 Glenn Morris <rgm@gnu.org>
6202
6203 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6204 Only print environment variables if set.
6205
6206 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6209 (macroexp--cons): Rename from maybe-cons.
6210 (macroexp--accumulate): Rename from macroexp-accumulate.
6211 (macroexp--all-forms): Rename from macroexpand-all-forms.
6212 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6213 (macroexp--expand-all): Rename from macroexpand-all-1.
6214
6215 2012-06-06 Sam Steingold <sds@gnu.org>
6216
6217 * calendar/calendar.el (calendar-in-read-only-buffer):
6218 Call `special-mode' to enable the standard read-only keybindings.
6219
6220 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6223 with "loading" messages (bug#11635).
6224
6225 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6226
6227 * files.el (enable-remote-dir-locals): New option.
6228 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6229
6230 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6231 Ensure, that the temp directory is local.
6232
6233 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6234 `temporary-file-directory'.
6235
6236 * progmodes/python.el (python-send-region): Ensure, that the
6237 temporary file is created also in the remote case.
6238
6239 2012-06-06 Glenn Morris <rgm@gnu.org>
6240
6241 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6242 (vc-rcs-update-changelog): Use it.
6243
6244 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6245
6246 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6247 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6248 (vc-sccs-diff): Replace use of the external vcdiff script.
6249
6250 2012-06-05 Glenn Morris <rgm@gnu.org>
6251
6252 * ledit.el: Move to obsolete/.
6253
6254 2012-06-05 Sam Steingold <sds@gnu.org>
6255
6256 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6257 patch (Bug#11140).
6258
6259 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * emacs-lisp/cust-print.el: Move to obsolete.
6262
6263 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6264 compiler-macro expansion.
6265
6266 Add native compiler-macro support.
6267 * emacs-lisp/macroexp.el (macroexpand-all-1):
6268 Support compiler-macros directly. Properly follow aliases and apply
6269 the compiler macros more thoroughly.
6270 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6271 macroexpand now properly follows aliases.
6272 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6273 (cl-compiler-macroexpand): Use new prop.
6274 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6275
6276 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6277
6278 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6279
6280 * window.el (get-lru-window, get-mru-window, get-largest-window):
6281 New argument NOT-SELECTED to avoid picking the selected window.
6282 (window--display-buffer-1, window--display-buffer-2): Replace by
6283 new function window--display-buffer
6284 (display-buffer-same-window, display-buffer-reuse-window)
6285 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6286 Use window--display-buffer.
6287 (display-buffer-use-some-window): Remove temporary dedication
6288 hack by calling get-lru-window and get-largest-window with
6289 NOT-SELECTED argument non-nil. Call window--display-buffer.
6290
6291 2012-06-05 Glenn Morris <rgm@gnu.org>
6292
6293 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6294 Replace external vcdiff script.
6295
6296 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6299
6300 2012-06-04 Chong Yidong <cyd@gnu.org>
6301
6302 * image.el (imagemagick-types-inhibit): Revert last change.
6303 Add INFO and M.
6304 (imagemagick-enabled-types): Remove CIN and EPS*.
6305
6306 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * emacs-lisp/cl-lib.el: Rename from cl.el.
6309 * emacs-lisp/cl.el: New compatibility file.
6310 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6311 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6312 to obey the "cl-" prefix.
6313 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6314
6315 2012-06-03 Glenn Morris <rgm@gnu.org>
6316
6317 * emacs-lisp/authors.el (authors-aliases): Addition.
6318
6319 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6320 Fix :version.
6321
6322 2012-06-03 Stefan Merten <smerten@oekonux.de>
6323
6324 * textmodes/rst.el: Add comments.
6325 (rst-transition, rst-adornment): New faces.
6326 (rst-adornment-faces-alist): Make default safe to reevaluate.
6327 Fixes
6328 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6329 Improve customization tags.
6330 (rst-define-level-faces): Clarify meaning.
6331
6332 2012-06-03 Chong Yidong <cyd@gnu.org>
6333
6334 * progmodes/compile.el (compilation-mode-line-fail)
6335 (compilation-mode-line-run, compilation-mode-line-exit):
6336 New faces.
6337 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6338
6339 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6340
6341 * progmodes/which-func.el (which-func-update-ediff-windows):
6342 New function. Use it in ediff-select-hook (Bug#11478).
6343
6344 2012-06-03 Chong Yidong <cyd@gnu.org>
6345
6346 * bindings.el: Remove explicit help text from format-mode-line.
6347 It is now supplied by mode-line-default-help-echo.
6348 (mode-line-front-space, mode-line-end-spaces)
6349 (mode-line-misc-info): New variables.
6350 (mode-line-modes, mode-line-position): Move the default value to
6351 the variable definition.
6352 (mode-line-default-help-echo): New defcustom.
6353 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6354 (mode-line-modified-help-echo): New functions.
6355 (mode-line-mule-info, mode-line-modified): Use them.
6356 (mode-line-eol-desc, propertized-buffer-identification):
6357 Consistency fixes for help text.
6358 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6359 set-buffer-file-coding-system (Bug#289).
6360 (mode-line-mule-info-help-echo): Update help text.
6361
6362 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * simple.el (execute-extended-command): Set real-this-command
6365 (bug#11506).
6366
6367 2012-06-02 Chong Yidong <cyd@gnu.org>
6368
6369 Remove incorrect uses of "modeline" in comments, docstrings, and
6370 function/variable names (Bug#10329).
6371
6372 * cus-edit.el (mode-line):
6373 * dframe.el (dframe-mouse-hscroll):
6374 * emacs-lisp/re-builder.el:
6375 * emacs-lisp/easy-mmode.el (define-minor-mode):
6376 * frame.el (set-frame-name):
6377 * help.el (lookup-minor-mode-from-indicator):
6378 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6379 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6380 (c-toggle-hungry-state):
6381 * progmodes/antlr-mode.el (antlr-language-alist):
6382 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6383 * progmodes/vhdl-mode.el (vhdl-mode):
6384 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6385 * term/ns-win.el (ns-face-at-pos):
6386 * term/sup-mouse.el (sup-mouse-report):
6387 * textmodes/flyspell.el (flyspell-mode-line-string):
6388 * textmodes/ispell.el (ispell-highlight-face):
6389 * textmodes/reftex-global.el:
6390 * vc/vc-arch.el (vc-arch-mode-line-string):
6391 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6392 * vc/vc-git.el (vc-git-mode-line-string):
6393 * vc/vc-hooks.el (vc-display-status)
6394 (vc-default-mode-line-string):
6395 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6396
6397 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6398
6399 * dired.el (dired-sort-set-mode-line): Rename from
6400 dired-sort-set-modeline. All callers changed.
6401
6402 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6403 eshell-status-in-modeline.
6404
6405 * foldout.el (foldout-mode-line-string): Rename from
6406 foldout-modeline-string. All callers changed.
6407 (foldout-update-mode-line): Rename from foldout-update-modeline.
6408
6409 * subr.el (redraw-modeline): Make into obsolete alias.
6410
6411 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6412 timeclock-modeline-display. Make old name an alias.
6413 (timeclock-update-mode-line): Likewise. All callers changed.
6414 (timeclock-mode-line-display): No need to check before using
6415 add-hook.
6416 (timeclock-relative, timeclock-day-over-hook)
6417 (timeclock-use-elapsed, timeclock-mode-string)
6418 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6419
6420 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6421 crisp-mode-modeline-string.
6422
6423 * play/solitaire.el (solitaire-build-mode-line): Rename from
6424 solitaire-build-modeline. All callers changed.
6425
6426 * play/zone.el (zone-hiding-mode-line): Rename from
6427 zone-hiding-modeline. All callers changed.
6428 (zone): Remove unusued `modeline-hidden-level' property.
6429
6430 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6431 xscheme-modeline-initialize. All callers changed.
6432
6433 * strokes.el (strokes-lighter): Rename from
6434 strokes-modeline-string.
6435
6436 * textmodes/sgml-mode.el (html-face-tag-alist)
6437 (html-tag-face-alist): Use mode-line face instead of obsolete
6438 alias modeline.
6439
6440 2012-06-02 Stefan Merten <smerten@oekonux.de>
6441
6442 * textmodes/rst.el: Always require `cl'.
6443 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6444
6445 2012-06-02 Chong Yidong <cyd@gnu.org>
6446
6447 * image.el (imagemagick-enabled-types): Rename from
6448 imagemagick-types-enable. Add many more types.
6449 (imagemagick-types-inhibit): Change default to nil.
6450 (imagemagick-filter-types): Caller changed.
6451
6452 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/cl-macs.el: Use backquotes.
6455 (cl-transform-function-property): Use eval-and-compile rather than
6456 abusing `require'.
6457 (defstruct): Use declare-function instead of with-no-warnings.
6458
6459 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6460 (byte-compile-output-docform): Re-add the print-circle bindings.
6461 (byte-compile-fix-header): Use #$ just because it's shorter.
6462 (byte-compile-output-file-form): Remove defun/defmacro.
6463
6464 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6465
6466 * simple.el (choose-completion): Remove now obsolete binding for
6467 owindow.
6468
6469 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6470
6471 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6472 in order to avoid "Stack overflow in regexp matcher".
6473
6474 2012-05-31 Glenn Morris <rgm@gnu.org>
6475
6476 * image.el: For clarity, call imagemagick-register-types at
6477 top-level, rather than relying on a custom :initialize.
6478 (imagemagick-types-enable): New option. (Bug#11557)
6479 (imagemagick-filter-types): New function. (Bug#7406)
6480 (imagemagick-register-types): Use imagemagick-filter-types.
6481 If disabling support, remove elements altogether rather
6482 than using an impossible regexp.
6483 (imagemagick-types-inhibit): Give it the default init function.
6484
6485 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6488 Handle arbitrary file name lengths (Bug#11585).
6489
6490 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6491
6492 * desktop.el (desktop-read): Clear previous and next buffers for
6493 all windows and bury *Messages* buffer (bug#11556).
6494
6495 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 Add `declare' for `defun'. Align `defmacro's with it.
6498 * emacs-lisp/easy-mmode.el (define-minor-mode)
6499 (define-globalized-minor-mode): Don't autoload the var definitions.
6500 * emacs-lisp/byte-run.el: Use lexical-binding.
6501 (defun-declarations-alist, macro-declarations-alist): New vars.
6502 (defmacro, defun): Use them.
6503 (make-obsolete, define-obsolete-function-alias)
6504 (make-obsolete-variable, define-obsolete-variable-alias):
6505 Use `declare'.
6506 (macro-declaration-function): Mark obsolete.
6507 * emacs-lisp/autoload.el: Use lexical-binding.
6508 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6509
6510 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6511
6512 * textmodes/ispell.el (ispell-with-no-warnings):
6513 Define as a macro.
6514 (ispell-kill-ispell, ispell-change-dictionary):
6515 Use `called-interactively-p' for Emacs instead of obsolete
6516 `interactive-p'.
6517
6518 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6521 (macro-declaration-function): Move var from C code.
6522 (macro-declaration-function): Define function with defalias.
6523 * emacs-lisp/macroexp.el (macroexpand-all-1):
6524 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6525 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6526 defun/defmacro any more.
6527 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6528 Provide fallback for unknown arglist.
6529 (byte-compile-arglist-warn): Change calling convention.
6530 (byte-compile-output-file-form): Move print-vars binding.
6531 (byte-compile-output-docform): Simplify accordingly.
6532 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6533 (byte-compile-defmacro-declaration): Remove.
6534 (byte-compile-file-form-defmumble): Generalize to defalias.
6535 (byte-compile-output-as-comment): Return byte-positions.
6536 Simplify callers accordingly.
6537 (byte-compile-lambda): Use `assert'.
6538 (byte-compile-defun, byte-compile-defmacro): Remove.
6539 (byte-compile-file-form-defalias):
6540 Use byte-compile-file-form-defmumble.
6541 (byte-compile-defalias-warn): Remove.
6542
6543 2012-05-29 Stefan Merten <smerten@oekonux.de>
6544
6545 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6546 possible. Fix authors. Improve comments. Improve loading of `cl'.
6547
6548 (rst-mode-abbrev-table): Merge definition.
6549 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6550 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6551
6552 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6553
6554 * calendar/icalendar.el
6555 (icalendar-export-region): Export UID properly.
6556
6557 2012-05-29 Leo Liu <sdl.web@gmail.com>
6558 * calendar/icalendar.el (icalendar-import-format):
6559 Add `icalendar-import-format-uid' (Bug#11525).
6560 (icalendar-import-format-uid): New.
6561 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6562 Export UID.
6563
6564 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6565
6566 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6567 different alternative patterns.
6568 (pcase-codegen): Be more careful to preserve identity.
6569 (pcase--u1): Don't forget to mark vars as used.
6570
6571 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6572 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6573 (byte-compile-from-buffer): ...rather than here.
6574
6575 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6576 functions from byte-compile-function-environment.
6577
6578 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6579
6580 * window.el (window-deletable-p): Avoid deleting the root window
6581 of a frame with an active minibuffer.
6582
6583 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6584
6585 * simple.el (choose-completion): Use quit-window (Bug#11567).
6586
6587 2012-05-29 Chong Yidong <cyd@gnu.org>
6588
6589 * whitespace.el (whitespace-cleanup): Fix usage of
6590 whitespace-empty-at-bob-regexp (Bug#11492).
6591
6592 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6593
6594 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6595 revert (Bug#11488).
6596
6597 2012-05-29 Juri Linkov <juri@jurta.org>
6598
6599 * isearch.el (isearch-mode-map): Bind `M-s _' to
6600 `isearch-toggle-symbol'. Bind `M-s c' to
6601 `isearch-toggle-case-fold'.
6602 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6603 (isearch-forward): Add `M-s _' to the docstring.
6604 (isearch-forward-symbol, isearch-toggle-case-fold)
6605 (isearch-symbol-regexp): New functions. (Bug#11381)
6606
6607 2012-05-29 Juri Linkov <juri@jurta.org>
6608
6609 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6610 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6611 a function, call it to get the regexp.
6612 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6613 property `isearch-message-prefix' instead of the string "word ".
6614 (isearch-search-fun-default): For the case of `isearch-word',
6615 return a lambda that calls re-search-forward/re-search-backward
6616 with a regexp returned by `word-search-regexp' or by the function
6617 in `isearch-word'.
6618
6619 2012-05-29 Juri Linkov <juri@jurta.org>
6620
6621 * isearch.el (isearch-search-fun-default): New function.
6622 (isearch-search-fun): Move default part to the new function
6623 `isearch-search-fun-default'.
6624 (isearch-search-fun-function): Set the default value to
6625 `isearch-search-fun-default'. (Bug#11381)
6626
6627 * comint.el (comint-history-isearch-end):
6628 Use `isearch-search-fun-default'.
6629 (comint-history-isearch-search): Use `isearch-search-fun-default'
6630 and remove spacial case for `isearch-word'.
6631 (comint-history-isearch-wrap): Remove spacial case for
6632 `isearch-word'.
6633
6634 * hexl.el (hexl-isearch-search-function):
6635 Use `isearch-search-fun-default'.
6636
6637 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6638 Use `word-search-regexp' for `isearch-word'.
6639
6640 * misearch.el (multi-isearch-search-fun):
6641 Use `isearch-search-fun-default'.
6642
6643 * simple.el (minibuffer-history-isearch-search):
6644 Use `isearch-search-fun-default' and remove spacial case for
6645 `isearch-word'.
6646 (minibuffer-history-isearch-wrap): Remove spacial case for
6647 `isearch-word'.
6648
6649 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6650 Remove spacial case for `isearch-word'.
6651 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6652
6653 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6654
6655 Decrease XEmacs incompatibilities.
6656 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6657 Use `string-match'.
6658 (flyspell-delete-region-overlays): Use alternative definition for
6659 XEmacs.
6660 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6661 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6662 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6663 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6664 `define-obsolete-face-alias' under XEmacs, but old method.
6665
6666 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6667 `with-no-warnings' definition or Emacs alias.
6668 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6669 (ispell-word): Do not use `region-p' if XEmacs.
6670
6671 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6672
6673 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6674 Check for `ispell-dictionary-base-alist' instead of full
6675 `ispell-dictionary-alist'.
6676 (ispell-init-process): Show spellchecker when starting new Ispell
6677 process.
6678
6679 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6682 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6683
6684 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6685
6686 * version.el (motif-version-string, gtk-version-string)
6687 (ns-version-string): Declare.
6688
6689 2012-05-27 Juri Linkov <juri@jurta.org>
6690
6691 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6692 after the `eval-defun-1' specialcaseing
6693 like in `edebug-eval-defun' (bug#10181).
6694
6695 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6696 like in `eval-defun-1'.
6697
6698 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6699
6700 * mail/sendmail.el (mail-yank-region):
6701 Recognize rmail-yank-current-message in addition to insert-buffer.
6702 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6703 a *mail* buffer created through rmail-start-mail with sendmail as
6704 mail-user-agent.
6705
6706 2012-05-27 Chong Yidong <cyd@gnu.org>
6707
6708 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6709 Default to 256 (Bug#11267).
6710
6711 * help.el (describe-mode): Doc fix.
6712
6713 2012-05-26 Glenn Morris <rgm@gnu.org>
6714
6715 * w32-fns.el (w32-init-info): Remove.
6716 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6717
6718 * info.el (info-initialize): For self-contained NS builds, put the
6719 included info/ directory at the front. (Bug#2791)
6720
6721 * paths.el (Info-default-directory-list): Make it a defcustom,
6722 mainly so that we can use custom-initialize-delay.
6723
6724 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * subr.el (buffer-has-markers-at): Mark obsolete.
6727
6728 * subr.el (lambda): Use declare.
6729
6730 * emacs-lisp/lisp-mode.el (lambda):
6731 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6732
6733 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6734
6735 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6736
6737 2012-05-26 Glenn Morris <rgm@gnu.org>
6738
6739 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6740
6741 2012-05-25 Glenn Morris <rgm@gnu.org>
6742
6743 * paths.el: Remove no-byte-compile.
6744 * loadup.el: No need to load paths.el uncompiled.
6745
6746 * image.el (imagemagick-types-inhibit): Doc fix.
6747
6748 * version.el: Remove no-byte-compile and associated formatting.
6749 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6750 is ancient code from when there was an "inc-vers.el".
6751
6752 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * progmodes/gdb-mi.el: Minor style changes.
6755 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6756 Turn into minor modes.
6757 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6758 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6759 (gdb-shell): Remove unneeded let-binding.
6760 (gdb-get-many-fields): Eliminate O(n²) behavior.
6761
6762 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6763
6764 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6765 platforms that don't link in fontset.c.
6766
6767 2012-05-25 Juri Linkov <juri@jurta.org>
6768
6769 Use the same diff color scheme as in modern VCSes (bug#10181).
6770
6771 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6772 to avoid confusion with `diff-added' that now uses green colors.
6773 (diff-removed): Use shades of red.
6774 (diff-added): Use shades of green.
6775 (diff-changed): Leave just the yellow color.
6776 (diff-use-changed-face): New variable.
6777 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6778 how to highlight context diff changes.
6779 (diff-refine-change): Use shades of yellow.
6780 (diff-refine-removed): New face that uses shades of red.
6781 (diff-refine-added): New face that uses shades of green.
6782 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6783 `diff-refine-removed' in the call to `smerge-refine-subst'
6784 depending on the value of `diff-use-changed-face'.
6785
6786 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6787 (smerge-other): Use shades of green.
6788 (smerge-base): Use shades of yellow.
6789 (smerge-refined-change): Empty face.
6790 (smerge-refined-removed): New face that uses shades of red.
6791 (smerge-refined-added): New face that uses shades of green.
6792 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6793 args `props-r' and `props-a', and use them. Doc fix.
6794 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6795 on its value use different faces `smerge-refined-change',
6796 `smerge-refined-removed', `smerge-refined-added' in the call to
6797 `smerge-refine-subst'.
6798
6799 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6800 Add face condition `min-colors 88' with shades of red.
6801 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6802 `min-colors 88' with shades of green.
6803 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6804 `min-colors 88' with shades of yellow.
6805
6806 2012-05-24 Glenn Morris <rgm@gnu.org>
6807
6808 * paths.el (prune-directory-list, remote-shell-program): Move to...
6809 * files.el (prune-directory-list, remote-shell-program): ...here.
6810 For the latter, delay initialization, prefer ssh, just search PATH.
6811
6812 * paths.el (term-file-prefix): Move to faces.el (the only user).
6813 * faces.el (term-file-prefix): Move here, make it a defcustom.
6814
6815 * paths.el (news-directory, news-path, news-inews-program):
6816 Move to gnus/nnspool.el.
6817
6818 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6819
6820 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6821 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6822 Make the latter a defcustom, with a delayed initialization.
6823
6824 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6825 These were deleted from Gnus itself late 2010.
6826
6827 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6828
6829 * progmodes/which-func.el (which-func-ff-hook):
6830 Check against user-error, not error.
6831
6832 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6833 cl-specs.el, which no longer exists.
6834
6835 2012-05-22 Glenn Morris <rgm@gnu.org>
6836
6837 * info.el (info-emacs-bug): New command.
6838 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6839 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6840
6841 2012-05-21 Glenn Morris <rgm@gnu.org>
6842
6843 * makefile.w32-in (update-subdirs-SH):
6844 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6845
6846 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6849
6850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6851 Simplify Maven regexp, and make sure the file can't start with a space
6852 (bug#11517).
6853
6854 2012-05-21 Glenn Morris <rgm@gnu.org>
6855
6856 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6857 Scrap superfluous subshells.
6858
6859 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6862 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6863
6864 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6865
6866 * calc/calc.el (calc-ensure-consistent-units): New variable.
6867
6868 * calc/calc-units.el (math-consistent-units-p)
6869 (math-check-unit-consistency): New functions.
6870 (calc-quick-units, calc-convert-units):
6871 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6872 is non-nil.
6873 (calc-extract-units): Fix typo.
6874
6875 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6878
6879 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6880 (flyspell-default-deplacement-commands): Don't spell check after
6881 repeated window/frame switches (e.g. triggered by mouse-movement).
6882 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6883 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6884 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6885 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6886 Remove unused vars.
6887 (flyspell-get-casechars, flyspell-get-not-casechars):
6888 Simplify; Don't bother removing a ] just to add it back.
6889 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6890
6891 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6892
6893 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6894 New functions.
6895 (math-function-table): Add support for more C functions.
6896
6897 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6898
6899 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6900 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6901 Protect delay handling for otherchars against empty otherchars.
6902
6903 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6904
6905 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6906 their respective macro declarations.
6907 * skeleton.el (define-skeleton):
6908 * progmodes/compile.el (define-compilation-mode):
6909 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6910 (define-ibuffer-filter):
6911 * emacs-lisp/generic.el (define-generic-mode):
6912 * emacs-lisp/easy-mmode.el (define-minor-mode)
6913 (define-globalized-minor-mode):
6914 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6915 * emacs-lisp/byte-run.el (defsubst):
6916 * custom.el (deftheme): Add doc-string metadata.
6917
6918 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6921
6922 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6925
6926 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6927 * emacs-lisp/cl-macs.el: Idem.
6928 * emacs-lisp/cl-specs.el: Remove.
6929
6930 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 Minor renaming of internal CL functions and variables.
6933 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6934 (cl--position): Rename from cl-position.
6935 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6936 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6937 (cl--random-state): Rename from *random-state*.
6938
6939 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6942 parens around the arg list (bug#11499).
6943
6944 2012-05-17 Juri Linkov <juri@jurta.org>
6945
6946 * isearch.el (word-search-regexp, word-search-backward)
6947 (word-search-forward, word-search-backward-lax)
6948 (word-search-forward-lax): Move functions from search.c
6949 (bug#10145, bug#11381).
6950
6951 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6952
6953 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6954 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6955 Delay for otherchars as for normal word components.
6956
6957 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * minibuffer.el (completion--sifn-requote): Fix last change.
6960 (minibuffer-local-must-match-filename-map):
6961 Move define-obsolete-variable-alias before its var.
6962
6963 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6966
6967 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6968 behavior.
6969 (completion--string-equal-p): New function.
6970 (completion--twq-all): Use it to get better assertion failure data.
6971
6972 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6973 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6974 (shell--requote-argument): New functions.
6975 (shell-completion-vars): Use them.
6976 (shell--parse-pcomplete-arguments): Rename from
6977 shell-parse-pcomplete-arguments.
6978 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6979 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6980 Obey comint-file-name-quote-list.
6981
6982 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6983 (smie-indent-keyword): Use it.
6984
6985 2012-05-14 Stefan Merten <smerten@oekonux.de>
6986
6987 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6988
6989 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * net/rlogin.el (rlogin-mode-map): Fix last change.
6992
6993 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6994
6995 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6996 the following \r\n using a single `process-send-string', since the
6997 Lotus SMTP server refuses to accept any commands if they are sent
6998 with two `process-send-string's (Bug#11444).
6999
7000 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * shell.el (shell-parse-pcomplete-arguments):
7003 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7004
7005 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7006
7007 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7008 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7009 (image-transform-width, image-transform-fit-width): New functions.
7010 (image-transform-properties): Use them.
7011 (image-transform-check-size): New function.
7012 (image-toggle-display-image): Use it (for testing).
7013 (image-transform-set-rotation): Reduce angle mod 360.
7014 Delete obsolete comment.
7015
7016 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7017
7018 * image-mode.el: Fix scaling (bug#11399).
7019 (image-transform-resize): Doc fix.
7020 (image-transform-properties): Default scale is 1 and height should
7021 be an integer.
7022
7023 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7024
7025 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7026 than hard-coding `car', to fix misbehavior when moving forward.
7027
7028 2012-05-13 Chong Yidong <cyd@gnu.org>
7029
7030 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7031 (tabulated-list-entries, tabulated-list-padding)
7032 (tabulated-list-sort-key): Make permanent-local.
7033
7034 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7035 (electric-buffer-list): Put electric buffer menu
7036 command descriptions in this docstring, instead of the docstring
7037 of electric-buffer-menu-mode. Code cleanups.
7038 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7039 Electric-buffer-menu-mode.
7040 (electric-buffer-update-highlight): Minor code cleanup.
7041
7042 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7043
7044 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7045 (Bug#11447)
7046
7047 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 Move define-obsolete-variable-alias before the var's definition.
7050 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7051 * tooltip.el (tooltip-hook):
7052 * textmodes/reftex-toc.el (reftex-toc-map):
7053 * textmodes/reftex-sel.el (reftex-select-label-map)
7054 (reftex-select-bib-map):
7055 * textmodes/reftex-index.el (reftex-index-map)
7056 (reftex-index-phrases-map):
7057 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7058 * progmodes/meta-mode.el (meta-mode-map):
7059 * novice.el (disabled-command-hook):
7060 * loadhist.el (unload-hook-features-list):
7061 * frame.el (blink-cursor):
7062 * files.el (find-file-not-found-hooks, write-file-hooks)
7063 (write-contents-hooks):
7064 * emulation/tpu-edt.el (GOLD-map):
7065 * emacs-lock.el (emacs-lock-from-exiting):
7066 * emacs-lisp/generic.el (generic-font-lock-defaults):
7067 * emacs-lisp/chart.el (chart-map):
7068 * dos-fns.el (register-name-alist):
7069 * dired-x.el (dired-omit-files-p):
7070 * desktop.el (desktop-enable):
7071 * cus-edit.el (custom-mode-hook):
7072 * buff-menu.el (buffer-menu-mode-hook):
7073 * bookmark.el (bookmark-read-annotation-text-func)
7074 (bookmark-exit-hooks):
7075 * allout.el (allout-mode-deactivate-hook)
7076 (allout-exposure-change-hook, allout-structure-added-hook)
7077 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7078 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7079 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7080 comes before the corresponding variable's definition.
7081
7082 2012-05-12 Chong Yidong <cyd@gnu.org>
7083
7084 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7085 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7086 (Buffer-menu-mode-map): Bind it.
7087 (Buffer-menu--pretty-name): Add a mouse-face property.
7088
7089 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7092 (prolog-upper-case-string, prolog-lower-case-string)
7093 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7094 (prolog-use-smie, prolog-smie-grammar): New vars.
7095 (prolog-smie-forward-token, prolog-smie-backward-token)
7096 (prolog-smie-rules): New funs.
7097 (prolog-comment-indent): Remove.
7098 (prolog-mode-variables): Use default comment indentation instead.
7099 Setup SMIE.
7100 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7101 (prolog-mode): Don't call them any more.
7102 (prolog-electric-colon, prolog-electric-dash)
7103 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7104
7105 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7106
7107 * minibuffer.el (completion--twq-all): Again, allow case differences.
7108
7109 * term.el: Move keymap initialization code to be more idiomatic.
7110 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7111 (term-terminal-menu): Move initialization into declaration.
7112 (term-escape-char): Let the user set it in her .emacs.
7113
7114 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7115 Provide SMIE-based indentation (not enabled by default yet).
7116 (sh-mode-map): Don't bind electric keys.
7117 Use electric-pair-mode instead of skeleton-pair.
7118 (sh-assignment-regexp): Fit within 80 columns.
7119 (sh-indent-supported): Specify actual shell name instead of boolean.
7120 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7121 (sh-maybe-here-document): Use it. Make obsolete.
7122 (sh-electric-here-document-mode) New minor mode.
7123 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7124 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7125 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7126 (sh-smie-rc-grammar, sh-use-smie): New vars.
7127 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7128 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7129 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7130 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7131 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7132 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7133 (sh-set-shell): Use smie-setup if requested.
7134
7135 * term.el (term-set-escape-char): Properly set term-escape-char.
7136 See http://stackoverflow.com/questions/10524656.
7137
7138 2012-05-10 Chong Yidong <cyd@gnu.org>
7139
7140 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7141 Use url-generic-parse-url, and handle host names and Windows
7142 filenames properly.
7143 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7144 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7145 URL schemes to work on.
7146 (ffap--toggle-read-only): New function.
7147 (ffap-read-only, ffap-read-only-other-window)
7148 (ffap-read-only-other-frame): Use it.
7149 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7150 necessary for ffap-url-unwrap-remote.
7151
7152 2012-05-10 Dave Abrahams <dave@boostpro.com>
7153
7154 * cus-start.el (create-lockfiles): Add it.
7155
7156 2012-05-09 Chong Yidong <cyd@gnu.org>
7157
7158 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7159 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7160
7161 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7164
7165 2012-05-09 Chong Yidong <cyd@gnu.org>
7166
7167 * ansi-color.el (ansi-color-process-output): Check for validity of
7168 comint-last-output-start before using it. This avoids a bad
7169 interaction with gdb-mi's input/output buffer.
7170
7171 2012-05-09 Glenn Morris <rgm@gnu.org>
7172
7173 * files.el (dir-locals-read-from-file):
7174 Mention dir-locals in any error message.
7175
7176 2012-05-09 Chong Yidong <cyd@gnu.org>
7177
7178 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7179 package (Bug#11410).
7180
7181 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7182 variables into description.
7183
7184 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7187 shell-delimiter-argument-list (bug#11348).
7188 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7189
7190 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7191
7192 * textmodes/rst.el: Silence byte-compiler warnings.
7193 (rst-re-alist, rst-reset-section-caches): Move around.
7194 (rst-re): Use `characterp', not `char-valid-p'.
7195 (font-lock-beg, font-lock-end): Declare.
7196
7197 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7198 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7199
7200 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7201
7202 2012-05-08 Glenn Morris <rgm@gnu.org>
7203
7204 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7205
7206 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * vc/log-edit.el: Add GNU coding standards highlighting.
7209 (log-edit-font-lock-gnu-style)
7210 (log-edit-font-lock-gnu-keywords): New vars.
7211 (log-edit-font-lock-keywords): New fun.
7212 (log-edit-mode): Don't fold case in font-lock.
7213 (log-edit-font-lock-keywords): Do not assume case-folding.
7214
7215 * imenu.el: Misc cleanup. Make docstrings out of comments.
7216 Use lexical-binding.
7217 (imenu--index-alist, imenu--last-menubar-index-alist)
7218 (imenu-menubar-modified-tick): Use defvar-local.
7219 (imenu--split-menu): Remove unused var.
7220 (imenu--cleanup-seen): Declare as global.
7221 (imenu--cleanup): Use dolist.
7222
7223 * subr.el (defvar-local): Add debug spec and doc-string position.
7224
7225 2012-05-08 Glenn Morris <rgm@gnu.org>
7226
7227 * language/burmese.el, language/cham.el, language/czech.el:
7228 * language/english.el, language/georgian.el, language/greek.el:
7229 * language/japanese.el, language/khmer.el, language/korean.el:
7230 * language/lao.el, language/misc-lang.el, language/romanian.el:
7231 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7232 * language/thai.el, language/utf-8-lang.el:
7233 Remove no-byte-compile setting.
7234
7235 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7236
7237 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7238
7239 * progmodes/make-mode.el (makefile-browse):
7240 Remove unnecessary interactive. (Bug#11324)
7241
7242 2012-05-07 Glenn Morris <rgm@gnu.org>
7243
7244 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7245
7246 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7247
7248 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * loadup.el: Preload newcomment.el.
7251 * newcomment.el: Move autoload-only code to toplevel.
7252
7253 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7254 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7255 Handle new :right-align column property.
7256 (tabulated-list-print-col): Idem, plus use `display' text-property to
7257 try and preserve alignment for variable pitch fonts.
7258
7259 2012-05-07 Chong Yidong <cyd@gnu.org>
7260
7261 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7262 (tabulated-list-use-header-line): New var.
7263 (tabulated-list-init-header): Use it.
7264 (tabulated-list-print-fake-header): New function.
7265 (tabulated-list-print): Use it.
7266 (tabulated-list-sort-button-map): Add non-header-line commands.
7267 (tabulated-list-init-header): Add column name property to basic
7268 labels as well.
7269 (tabulated-list-col-sort): Handle non-header-line button case.
7270 (tabulated-list--sort-by-column-name): Fix a corner case.
7271
7272 * buff-menu.el (list-buffers--refresh):
7273 Handle Buffer-menu-use-header-line.
7274
7275 2012-05-06 Chong Yidong <cyd@gnu.org>
7276
7277 * buff-menu.el: Convert to Tabulated List mode.
7278 (Buffer-menu-buffer+size-width): Make obsolete.
7279 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7280 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7281 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7282 documentation into docstring of buffer-menu.
7283 (Buffer-menu-toggle-files-only): Add an informative message.
7284 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7285 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7286 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7287 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7288 (Buffer-menu-execute, Buffer-menu-select)
7289 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7290 (Buffer-menu-bury): Use Tabulated List machinery.
7291 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7292 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7293 Delete.
7294 (list-buffers--refresh): New function.
7295 (list-buffers-noselect): Use it.
7296 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7297 (Buffer-menu--pretty-file-name): New helper functions.
7298
7299 * loadup.el: Preload tabulated-list.
7300
7301 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7302 tabulated-list-sort-column.
7303 (tabulated-list-init-header): Add the initial aligning space even
7304 if tabulated-list-padding is zero.
7305
7306 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7307
7308 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7309 whose cdr is not a cons cell correctly (bug#11038).
7310
7311 2012-05-06 Chong Yidong <cyd@gnu.org>
7312
7313 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7314 Accept additional plist in column descriptors.
7315 (tabulated-list-init-header): Obey it.
7316 (tabulated-list-get-entry): New function.
7317 (tabulated-list-put-tag): Use it. Use string-width instead of
7318 length.
7319 (tabulated-list--column-number): New function.
7320 (tabulated-list-print): Use it.
7321 (tabulated-list-print-col): New function.
7322 Set `tabulated-list-column-name' property on each column's text.
7323 (tabulated-list-print-entry): Use it.
7324 (tabulated-list-delete-entry, tabulated-list-set-col):
7325 New functions.
7326 (tabulated-list-sort-column): New command (Bug#11337).
7327
7328 * buff-menu.el (list-buffers): Move C-x C-b binding from
7329 buff-menu.el to bindings.el.
7330
7331 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7332 :advertised-binding feature.
7333
7334 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7335
7336 * progmodes/compile.el (compilation-internal-error-properties):
7337 Calculate start position correctly when end-col is set but
7338 end-line is not (Bug#11382).
7339
7340 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7341
7342 * man.el (Man-unindent): Use text-property-default-nonsticky to
7343 prevent untabify from inheriting face properties (Bug#11408).
7344
7345 2012-05-05 Stefan Merten <smerten@oekonux.de>
7346
7347 * textmodes/rst.el: Major merge with upstream development up to
7348 Docutils SVN r7399 / rst.el V1.2.1.
7349
7350 Clarify maintainership and authors.
7351
7352 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7353 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7354 (rst-official-version, rst-official-cvs-rev, rst-version)
7355 (rst-package-emacs-version-alist): New functions and variables
7356 for version information.
7357
7358 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7359 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7360 (rst-mode-syntax-table, rst-mode): New and corrected functions
7361 and variables representing reStructuredText features.
7362
7363 (rst-re): New function for reStructuredText regexes. Use in
7364 many places.
7365
7366 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7367 (rst-mode-map): Rebind keys.
7368
7369 (rst-mode-lazy, rst-font-lock-keywords)
7370 (rst-font-lock-extend-region)
7371 (rst-font-lock-extend-region-internal)
7372 (rst-font-lock-extend-region-extend)
7373 (rst-font-lock-find-unindented-line-limit)
7374 (rst-font-lock-find-unindented-line-match)
7375 (rst-adornment-level, rst-font-lock-adornment-level)
7376 (rst-font-lock-adornment-match)
7377 (rst-font-lock-handle-adornment-pre-match-form)
7378 (rst-font-lock-handle-adornment-matcher): Major revision of
7379 font-locking. Integrate with other code. Use `jit-lock-mode'.
7380
7381 (rst-preferred-adornments, rst-adjust-hook)
7382 (rst-new-adornment-down, rst-preferred-bullets)
7383 (rst-preferred-bullets, rst-indent, rst-indent-width)
7384 (rst-indent-field, rst-indent-literal-normal)
7385 (rst-indent-literal-minimized, rst-indent-comment): Change,
7386 extend and improve customization.
7387
7388 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7389 (rst-normalize-cursor-position, rst-get-decoration)
7390 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7391 (rst-rstrip, rst-toc-insert-find-delete-contents)
7392 (rst-shift-fill-region, rst-compute-bullet-tabs)
7393 (rst-debug-print-tabs, rst-debug-mark-found)
7394 (rst-shift-region-guts, rst-shift-region-right)
7395 (rst-shift-region-left, rst-use-char-classes)
7396 (rst-font-lock-keywords-function)
7397 (rst-font-lock-indentation-point)
7398 (rst-font-lock-find-unindented-line-begin)
7399 (rst-font-lock-find-unindented-line-end)
7400 (rst-font-lock-find-unindented-line)
7401 (rst-font-lock-adornment-point, rst-font-lock-level)
7402 (rst-adornment-level-alist): Remove functions and variables.
7403
7404 (rst-compare-adornments, rst-get-adornment-match)
7405 (rst-suggest-new-adornment, rst-get-adornments-around)
7406 (rst-adornment-complete-p, rst-get-next-adornment)
7407 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7408 (rst-straighten-adornments): Standardize function names to
7409 use "adornment" instead of "decoration". Correct callers.
7410 Similar standardizing in many places.
7411
7412 (rst-update-section, rst-adjust, rst-promote-region)
7413 (rst-enumerate-region, rst-bullet-list-region)
7414 (rst-repeat-last-character): Correct use of `interactive'.
7415
7416 (rst-classify-adornment, rst-find-all-adornments)
7417 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7418 (rst-find-leftmost-column, rst-repeat-last-character):
7419 Refactor functions.
7420
7421 (rst-find-title-line, rst-reset-section-caches)
7422 (rst-get-adornments-around, rst-adjust-adornment-work)
7423 (rst-arabic-to-roman, rst-roman-to-arabic)
7424 (rst-insert-list-pos, rst-insert-list-new-item)
7425 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7426 New functions.
7427
7428 (rst-all-sections, rst-section-hierarchy)
7429 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7430 New variables.
7431
7432 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7433 configuration instead of only buffer. Change where necessary.
7434
7435 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7436 (rst-shift-region, rst-adaptive-fill): New functions for
7437 indentation and filling.
7438
7439 (rst-comment-line-break, rst-comment-indent)
7440 (rst-comment-insert-comment, rst-comment-region)
7441 (rst-uncomment-region): New functions for handling comments.
7442
7443 (rst-compile): Quote shell arguments.
7444
7445 (rst-compile-pdf-preview, rst-compile-slides-preview):
7446 Delete temporary files after use.
7447
7448 2012-05-05 Glenn Morris <rgm@gnu.org>
7449
7450 * calendar/cal-html.el: Optionally include holidays in the output.
7451 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7452 (cal-html-holidays): New option.
7453 (cal-html-css-default): Add holiday entry.
7454 (holiday-in-range): Autoload it.
7455 (cal-html-htmlify-entry): Add optional class argument.
7456 (cal-html-htmlify-list): Add optional holidays argument.
7457 (cal-html-insert-agenda-days): Include holidays in the output.
7458 (cal-html-one-month): Maybe include holidays.
7459
7460 * calendar/holidays.el (holiday-in-range):
7461 Move here from cal-tex-list-holidays.
7462 * calendar/cal-tex.el (cal-tex-list-holidays):
7463 Make it an obsolete alias for holiday-in-range. Update all callers.
7464
7465 2012-05-05 Chong Yidong <cyd@gnu.org>
7466
7467 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7468 Nextstep.
7469
7470 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7471
7472 * files.el (file-auto-mode-skip): New var.
7473 (set-auto-mode-1): Use it.
7474
7475 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * repeat.el: Use lexical-binding.
7478 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7479 (repeat-undo-count): Remove.
7480 (repeat):
7481 * progmodes/octave-mod.el (octave-abbrev-start):
7482 * progmodes/f90.el (f90-abbrev-start):
7483 * face-remap.el (text-scale-adjust):
7484 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7485
7486 * emacs-lisp/pcase.el (pcase--let*): New function.
7487 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7488 a bit more.
7489 (pcase--split-pred): Be more clever about ruling out overlap between
7490 a predicate and some constant pattern.
7491 (pcase--q1): Use `null' instead of (eq foo nil).
7492
7493 * subr.el (setq-local, defvar-local): New macros.
7494 (kbd): Redefine as an alias.
7495 (with-selected-window): Leave unrelated frames alone.
7496 (set-temporary-overlay-map): New function.
7497
7498 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * subr.el (user-error): New function.
7501 * window.el (switch-to-buffer):
7502 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7503 (smerge-match-conflict):
7504 * simple.el (previous-matching-history-element)
7505 (next-matching-history-element, goto-history-element, undo-more)
7506 (undo-start):
7507 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7508 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7509 (next-file, tags-loop-scan, list-tags, complete-tag):
7510 * progmodes/compile.el (compilation-loop):
7511 * mouse.el (mouse-minibuffer-check):
7512 * man.el (Man-bgproc-sentinel, Man-goto-page):
7513 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7514 (Info-history-forward, Info-follow-reference, Info-menu)
7515 (Info-extract-menu-item, Info-extract-menu-counting)
7516 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7517 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7518 (Info-next-reference, Info-prev-reference, Info-index)
7519 (Info-index-next, Info-follow-nearest-node)
7520 (Info-copy-current-node-name):
7521 * imenu.el (imenu--make-index-alist)
7522 (imenu-default-create-index-function, imenu-add-to-menubar):
7523 * files.el (basic-save-buffer, recover-file):
7524 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7525 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7526 (checkdoc-message-text, checkdoc-defun):
7527 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7528 * cus-edit.el (customize-changed-options, customize-rogue)
7529 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7530 (custom-variable-mark-to-reset-standard)
7531 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7532 (custom-file):
7533 * completion.el (check-completion-length):
7534 * comint.el (comint-search-arg)
7535 (comint-previous-matching-input-string-position)
7536 (comint-previous-matching-input)
7537 (comint-replace-by-expanded-history-before-point, comint-send-input)
7538 (comint-copy-old-input, comint-backward-matching-input)
7539 (comint-goto-process-mark, comint-set-process-mark):
7540 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7541 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7542
7543 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * dabbrev.el (dabbrev--ignore-case-p): New function.
7546 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7547 Use it.
7548
7549 * files.el (automount-dir-prefix): Mark as obsolete.
7550
7551 2012-05-04 Glenn Morris <rgm@gnu.org>
7552
7553 * patcomp.el, play/bruce.el: Move to obsolete/.
7554
7555 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7556
7557 Fix minor Y10k bugs.
7558 * arc-mode.el (archive-unixdate):
7559 * autoinsert.el (auto-insert-alist):
7560 * calc/calc-forms.el (math-this-year):
7561 * emacs-lisp/copyright.el (copyright-current-year)
7562 (copyright-update-year, copyright):
7563 * tar-mode.el (tar-clip-time-string):
7564 * time.el (display-time-update):
7565 Don't assume years have 4 digits.
7566
7567 2012-05-04 Chong Yidong <cyd@gnu.org>
7568
7569 * dos-w32.el (file-name-buffer-file-type-alist)
7570 (direct-print-region-use-command-dot-com):
7571 * ffap.el (ffap-menu-regexp):
7572 * find-file.el (ff-special-constructs):
7573 * follow.el (follow-debug):
7574 * forms.el (forms--debug):
7575 * iswitchb.el (iswitchb-all-frames):
7576 * ido.el (ido-all-frames):
7577 * emacs-lisp/timer.el (timer-max-repeats):
7578 * mail/feedmail.el (feedmail-mail-send-hook)
7579 (feedmail-mail-send-hook-queued):
7580 * mail/footnote.el (footnote-signature-separator):
7581 * mail/mailabbrev.el (mail-alias-separator-string)
7582 (mail-abbrev-mode-regexp):
7583 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7584 * progmodes/idlwave.el (idlwave-libinfo-file)
7585 (idlwave-default-completion-case-is-down)
7586 (idlwave-library-routines): Convert defvars to defcustoms.
7587
7588 * mail/rmail.el (rmail-decode-mime-charset):
7589 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7590 (idlwave-shell-fix-inserted-breaks)
7591 (idlwave-shell-activate-alt-keybindings)
7592 (idlwave-shell-use-breakpoint-glyph):
7593 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7594
7595 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7598
7599 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7600
7601 * progmodes/verilog-mode.el (font-lock-keywords):
7602 Fix mis-highligting auto. Reported by Craig Barner.
7603 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7604 defines from global name space. Reported by Dan Dever.
7605 (verilog-auto-reset, verilog-auto-reset-widths)
7606 (verilog-auto-tieoff): Support using unbased numbers for
7607 AUTORESET and AUTOTIEOFF.
7608 (verilog-submit-bug-report): Update variable list.
7609 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7610 parenthesis from not matching. Reported by Michael Rytting.
7611 (verilog-auto-template-lint): Fix hash error when linting modules
7612 with no used templates.
7613 (verilog-warn, verilog-warn-error)
7614 (verilog-warn-fatal): When non-interactive report multiple
7615 warnings before exiting. Suggested by Brad Dobbie.
7616 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7617 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7618 to report unused template errors. Reported by Brad Dobbie.
7619 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7620 nets, bug438. Reported by Vns Blore.
7621 (verilog-auto-inout-module, verilog-auto-reg)
7622 (verilog-read-decls, verilog-read-sub-decls-sig)
7623 (verilog-signals-edit-wire-reg, verilog-signals-with):
7624 Fix passing of Verilog data types in ANSI input/output ports
7625 such as "output logic" into the AUTOs. Special case "wire" and
7626 "reg" for backwards compatibility presuming Verilog 2001.
7627 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7628 (verilog-preprocess): Fix replication of preprocess output.
7629 Reported by Brad Dobbie.
7630 (verilog-auto-inst-interfaced-ports):
7631 Create verilog-auto-inst-interfaced-ports, bug429.
7632 Reported by Julian Gorfajn.
7633 (verilog-after-save-font-hook)
7634 (verilog-before-save-font-hook): New variable.
7635 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7636 (verilog-save-font-mods): Wrap disabling fontification, reported
7637 by David Rogoff.
7638 (verilog-do-indent, verilog-pretty-declarations-auto)
7639 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7640 Reported by Pierre-David Pfister.
7641 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7642 of class declarations, bug292. Reported by Kevin Heilman.
7643 (verilog-read-decls): Fix 'parameter type' not appearing in
7644 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7645 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7646 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7647 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7648 Reported by David Kravitz.
7649
7650 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7651
7652 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7653 assignment with tests in ifs and for loops.
7654 (verilog-extended-complete-re, verilog-complete-reg): Change so
7655 that DPI inport functions don't look like fuction declarations.
7656 (verilog-pretty-expr): Don't line up assignment
7657 operations to the test and increment in if and for loops
7658 (verilog-extended-complete-re, verilog-complete-reg): Change so
7659 that DPI inport functions don't look like fuction declarations.
7660
7661 2012-05-03 Kenichi Handa <handa@m17n.org>
7662
7663 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7664 decoding, and show a warning message without signaling an error
7665 (Bug#11282).
7666
7667 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * emacs-lisp/bytecomp.el
7670 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7671 since cconv.el might have introduced :fun-body, internal-make-closure,
7672 and friends for bytecomp to handle (bug#11391).
7673 * custom.el (defcustom): Avoid ((λ ..) ..).
7674
7675 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7676
7677 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7678
7679 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * notifications.el (dbus-debug):
7682 * term/linux.el (gpm-mouse-enable):
7683 * term/screen.el (xterm-register-default-colors): Declare.
7684
7685 2012-05-02 Chong Yidong <cyd@gnu.org>
7686
7687 * cus-start.el (gc-cons-percentage, exec-suffixes)
7688 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7689 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7690 (make-cursor-line-fully-visible, void-text-area-pointer)
7691 (font-list-limit): Add customization data.
7692
7693 * allout.el (allout-exposure-change-functions)
7694 (allout-structure-added-functions)
7695 (allout-structure-deleted-functions)
7696 (allout-structure-shifted-functions): Rename abnormal hooks from
7697 *-hook, and convert to defcustoms.
7698 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7699 Convert to defcustoms.
7700 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7701
7702 * allout-widgets.el: Hook callers changed.
7703
7704 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7705
7706 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7707 the yanked message in preference to the default value of
7708 buffer-file-coding-system.
7709
7710 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7711
7712 * window.el (display-buffer--action-function-custom-type):
7713 Fix entry.
7714
7715 2012-05-02 Alan Mackenzie <acm@muc.de>
7716
7717 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7718
7719 2012-05-01 Glenn Morris <rgm@gnu.org>
7720
7721 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7722
7723 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7724
7725 * cus-edit.el (custom-variable-documentation): Simplify with format.
7726
7727 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7728 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * simple.el (suggest-key-bindings, execute-extended-command):
7731 Move from keyboard.c.
7732
7733 2012-05-01 Chong Yidong <cyd@gnu.org>
7734
7735 * follow.el: Eliminate advice.
7736 (set-process-filter, process-filter, sit-for): Advice deleted.
7737 (follow-mode-off-hook): Obsolete hook removed.
7738 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7739 Vars deleted.
7740 (follow-auto): Use a :set function.
7741 (follow-mode): Rewritten. Don't advise process filters.
7742 (follow-switch-to-current-buffer-all, follow-scroll-up)
7743 (follow-scroll-down): Assume follow-mode is bound.
7744 (follow-comint-scroll-to-bottom)
7745 (follow-align-compilation-windows): New functions.
7746 (follow--window-sorter): New function.
7747 (follow-all-followers): Use it to explicitly sort windows by their
7748 positions; don't make assumptions about next-window order.
7749 (follow-windows-start-end, follow-delete-other-windows-and-split)
7750 (follow-calc-win-start): Doc fix.
7751 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7752 vertical-motion unnecessarily.
7753 (follow-adjust-window): New function.
7754 (follow-post-command-hook): Use it.
7755 (follow-call-set-process-filter, follow-call-process-filter)
7756 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7757 (follow-stop-intercept-process-output, follow-generic-filter):
7758 Functions deleted.
7759 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7760 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7761 New functions, replacing advice on scroll-bar-* commands.
7762 (follow-mwheel-scroll): New function (Bug#4112).
7763
7764 * comint.el (comint-adjust-point): New function.
7765 (comint-postoutput-scroll-to-bottom): Use it.
7766 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7767
7768 2012-05-01 Glenn Morris <rgm@gnu.org>
7769
7770 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7771 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7772 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7773 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7774 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7775 Remove no-byte-compile setting.
7776
7777 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7780 all-completions code to not return a number in the last cdr.
7781
7782 2012-04-30 Leo Liu <sdl.web@gmail.com>
7783
7784 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7785 read-only error.
7786
7787 2012-04-29 Chong Yidong <cyd@gnu.org>
7788
7789 * follow.el (follow-calc-win-end): Rewrite to handle partial
7790 screen lines correctly (Bug#8390).
7791 (follow-avoid-tail-recenter): Minor cleanup.
7792
7793 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 Avoid the obsolete `assoc' package.
7796 * speedbar.el (speedbar-refresh): Avoid adelete.
7797 (speedbar-file-lists): Simplify and avoid aput.
7798 * man.el (Man--sections, Man--refpages): New vars, replacing
7799 Man-sections-alist and Man-refpages-alist.
7800 (Man-build-section-alist, Man-build-references-alist):
7801 Use them; avoid aput.
7802 (Man--last-section, Man--last-refpage): New vars.
7803 (Man-follow-manual-reference): Use them.
7804 Use the `default' arg of completing-read.
7805 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7806
7807 2012-04-27 Chong Yidong <cyd@gnu.org>
7808
7809 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7810
7811 * startup.el (x-apply-session-resources): New function.
7812
7813 * term/ns-win.el (ns-initialize-window-system):
7814 * term/w32-win.el (w32-initialize-window-system):
7815 * term/x-win.el (x-initialize-window-system): Use it to properly
7816 set menu-bar-mode and other vars from X resources, even if the
7817 initial frame is not a window-system frame (Bug#2299).
7818
7819 * subr.el (read-key): Avoid running filter function when setting
7820 up temporary tool bar entries (Bug#9922).
7821
7822 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7823
7824 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7825 (Bug#11344)
7826
7827 2012-04-27 Chong Yidong <cyd@gnu.org>
7828
7829 * select.el (xselect--encode-string): New function, split from
7830 xselect-convert-to-string.
7831 (xselect-convert-to-string): Use it.
7832 (xselect-convert-to-filename, xselect-convert-to-os)
7833 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7834 returned strings are properly encoded (Bug#11315).
7835
7836 2012-04-27 Chong Yidong <cyd@gnu.org>
7837
7838 * simple.el (delete-active-region): Move to killing custom group.
7839
7840 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 * progmodes/which-func.el (which-func-current): Quote %
7843 characters for mode-line processing.
7844
7845 2012-04-27 Chong Yidong <cyd@gnu.org>
7846
7847 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7848 reaching eob (Bug#11286).
7849
7850 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7851
7852 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7853 (gdb): Make it buffer-local and init to zero.
7854 (gdb-control-commands-regexp): New variable.
7855 (gdb-send): Don't wrap in "-interpreter-exec console" if
7856 gdb-control-level is positive. Increment gdb-control-level
7857 whenever the command matches gdb-control-commands-regexp, and
7858 decrement it each time the command is "end". (Bug#11279)
7859
7860 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7861
7862 * window.el (adjust-window-trailing-edge, enlarge-window)
7863 (shrink-window, window-resize):
7864 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7865 windows (Bug#11276).
7866
7867 2012-04-27 Chong Yidong <cyd@gnu.org>
7868
7869 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7870 fix "missing prefix" warning. All callers changed.
7871
7872 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * emacs-lisp/assoc.el: Move to obsolete/.
7875
7876 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7879
7880 * term/ns-win.el (ns-define-service):
7881 * progmodes/pascal.el (pascal-goto-defun):
7882 * progmodes/js.el (js--read-tab):
7883 * progmodes/etags.el (tags-lazy-completion-table):
7884 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7885 * emacs-lisp/ewoc.el (ewoc--wrap):
7886 * emacs-lisp/assoc.el (aput, adelete, amake):
7887 * doc-view.el (doc-view-convert-current-doc):
7888 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7889
7890 2012-04-26 Chong Yidong <cyd@gnu.org>
7891
7892 * image.el (image-type-from-buffer): Only return supported image
7893 type (Bug#9045).
7894
7895 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7896 value, for symmetry with diff-end-of-hunk.
7897 (diff-split-hunk, diff-find-source-location)
7898 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7899 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7900 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7901 compute the relevant hunk or file properly (Bug#6005).
7902 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7903
7904 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * vc/vc-mtn.el:
7907 * vc/vc-hg.el:
7908 * vc/vc-git.el:
7909 * vc/vc-dir.el:
7910 * vc/vc-cvs.el:
7911 * vc/vc-bzr.el:
7912 * vc/vc-arch.el:
7913 * vc/vc.el: Replace lexical-let by lexical-binding.
7914 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7915 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7916 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7917
7918 2012-04-26 Chong Yidong <cyd@gnu.org>
7919
7920 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7921 (diff-mode-shared-map): Bind it to / and [remap undo].
7922
7923 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7924 (ediff-window-setup-function): Use it as the default, to set up
7925 windows based on whether the current frame is graphical (Bug#2138).
7926 (ediff-choose-window-setup-function-automatically): Make obsolete.
7927
7928 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7929
7930 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * ffap.el: Remove old code for obsolete package.
7933 (ffap-complete-as-file-p): Remove.
7934
7935 Use completion-table-with-quoting for comint and pcomplete.
7936 * comint.el (comint--unquote&requote-argument)
7937 (comint--unquote-argument, comint--requote-argument): New functions.
7938 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7939 (comint-quote-filename): Use regexp-opt-charset.
7940 (comint--common-suffix, comint--common-quoted-suffix)
7941 (comint--table-subvert): Remove.
7942 (comint-unquote-function, comint-requote-function): New vars.
7943 (comint--complete-file-name-data): Use them with
7944 completion-table-with-quoting.
7945 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7946 * pcomplete.el (pcomplete-arg-quote-list)
7947 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7948 (pcomplete-unquote-argument-function): Default to non-nil.
7949 (pcomplete-unquote-argument): Simplify.
7950 (pcomplete--common-quoted-suffix): Remove.
7951 (pcomplete-requote-argument-function): New var.
7952 (pcomplete--common-suffix): New function.
7953 (pcomplete-completions-at-point): Use completion-table-with-quoting
7954 and completion-table-subvert.
7955
7956 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7957 (minibuffer--double-dollars): Preserve properties.
7958 (completion--sifn-requote): New function.
7959 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7960
7961 * minibuffer.el: Add support for completion of quoted/escaped data.
7962 (completion-table-with-quoting, completion-table-subvert): New funs.
7963 (completion--twq-try, completion--twq-all): New functions.
7964 (completion--nth-completion): New function.
7965 (completion-try-completion, completion-all-completions): Use it.
7966
7967 2012-04-25 Leo Liu <sdl.web@gmail.com>
7968
7969 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7970 Use compilation-message if available to find real filename.
7971
7972 2012-04-25 Chong Yidong <cyd@gnu.org>
7973
7974 * vc/diff-mode.el (diff-setup-whitespace): New function.
7975 (diff-mode): Use it.
7976
7977 * vc/diff.el (diff-sentinel):
7978 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7979 Whitespace mode variables based on diff style (Bug#8612).
7980
7981 2012-04-25 Leo Liu <sdl.web@gmail.com>
7982
7983 * progmodes/python.el (python-send-region): Add suffix .py to the
7984 temp file.
7985
7986 * files.el (auto-mode-alist): Use javascript-mode instead.
7987
7988 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7989
7990 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7991
7992 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7993 (soap-resolve-references-for-array-type): Hack to prevent self
7994 references, see Bug#9.
7995 (soap-parse-envelope): Report the contents of the 'detail' node
7996 when receiving a fault reply.
7997 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7998
7999 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8000 (soap-inspect-simple-type): New function.
8001
8002 * net/soap-client.el (soap-simple-type): New struct.
8003 (soap-default-xsd-types, soap-default-soapenc-types)
8004 (soap-decode-basic-type, soap-encode-basic-type):
8005 support unsignedInt and double basic types.
8006 (soap-resolve-references-for-simple-type)
8007 (soap-parse-simple-type, soap-encode-simple-type): New function.
8008 (soap-parse-schema): Parse xsd:simpleType declarations.
8009
8010 * net/soap-client.el (soap-default-xsd-types)
8011 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8012 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8013 the local name of "soapenc:Array".
8014 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8015 decoding integer, byte and anyURI xsd types.
8016
8017 2012-04-25 Chong Yidong <cyd@gnu.org>
8018
8019 * cus-edit.el (custom-buffer-create-internal): Update header text.
8020
8021 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8022
8023 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8024 settings on 'system-type', not on 'window-system'. On MS-Windows,
8025 set interactive-mode on in GDB.
8026
8027 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8030 (ruby-syntax-propertize-regexp): Remove.
8031 (ruby-syntax-propertize-function): Split regexp into chunks.
8032 Match following code directly.
8033
8034 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8035
8036 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8037 (ruby-syntax-propertize-regexp): New function.
8038 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8039 by a special keyword.
8040
8041 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8042 (ruby-syntax-general-delimiters-goto-beg)
8043 (ruby-syntax-propertize-general-delimiters): New functions.
8044 (ruby-syntax-propertize-function): Use them to handle GDL.
8045 (ruby-font-lock-keywords): Move old handling of GDL...
8046 (ruby-font-lock-syntactic-keywords): .. to here.
8047 (ruby-calculate-indent): Adjust indentation for GDL.
8048
8049 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8050
8051 * notifications.el (top): Remove unneeded declarations.
8052 (notifications-specification-version): Change to "1.2".
8053 (notifications-interface, notifications-notify-method)
8054 (notifications-close-notification-method): Fix docstring.
8055 (notifications-get-capabilities-method): New defconst.
8056 (notifications-notify): Add :action-items, :resident and
8057 :transient hints. Change "image_data" to "image-data" and
8058 "image_path" to "image-path".
8059 (notifications-get-capabilities): New defun.
8060
8061 2012-04-24 Leo Liu <sdl.web@gmail.com>
8062
8063 * progmodes/python.el: Move hideshow setup to the end.
8064
8065 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8066
8067 * window.el (handle-select-window): Clear echo area since this is
8068 no more done by read_char (Bug#11304).
8069
8070 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8073 and `/ M' to filter-derived-mode.
8074 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8075 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8076 (ibuffer-mark-by-mode): Use default rather than initial-input.
8077 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8078
8079 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8080
8081 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8082 (ibuffer-filter-by-derived-mode): New filter.
8083 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8084
8085 2012-04-23 Andreas Politz <politza@fh-trier.de>
8086
8087 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8088
8089 2012-04-23 Chong Yidong <cyd@gnu.org>
8090
8091 * cus-edit.el (customize-apropos, customize-apropos-options):
8092 Disable matching of non-option variables (Bug#11176).
8093 (customize-option, customize-option-other-window)
8094 (customize-changed-options): Doc fix.
8095 (customize-apropos-options, customize-apropos-faces)
8096 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8097
8098 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8099 Fix word list splitting (Bug#11132).
8100 (apropos-symbol, apropos-keybinding, apropos-label)
8101 (apropos-property, apropos-function-button)
8102 (apropos-variable-button, apropos-misc-button): New faces.
8103 (apropos-symbol-face, apropos-keybinding-face)
8104 (apropos-label-face, apropos-property-face, apropos-match-face):
8105 Variables removed (Bug#8396).
8106 (apropos-library-button, apropos-format-plist, apropos-print)
8107 (apropos-print-doc, apropos-describe-plist): Callers changed.
8108
8109 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8110
8111 * net/xesam.el (xesam-mode-map): Use let-bound map in
8112 initialization. (Bug#11292)
8113
8114 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8115
8116 Preserve ispell session localwords when switching back to
8117 original buffer.
8118
8119 * textmodes/ispell.el (ispell-buffer-session-localwords):
8120 New buffer-local variable to hold buffer session localwords.
8121 (ispell-kill-ispell): Add option 'clear to delete session
8122 localwords.
8123 (ispell-command-loop, ispell-change-dictionary)
8124 (ispell-buffer-local-words): Preserve session localwords when
8125 needed.
8126
8127 * textmodes/flyspell.el (flyspell-process-localwords)
8128 (flyspell-do-correct): Preserve session localwords when needed.
8129
8130 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8131
8132 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8133 using obsolete `translation-table-for-input'.
8134 (ispell-word, ispell-process-line, ispell-complete-word):
8135 Use plain `insert' instead of removed `ispell-insert-word'.
8136
8137 2012-04-22 Chong Yidong <cyd@gnu.org>
8138
8139 * cus-edit.el (custom-variable-menu)
8140 (custom-variable-reset-saved, custom-face-menu)
8141 (custom-face-reset-saved): If there is no saved value, make the
8142 "reset-saved" operation bring back the default (Bug#9509).
8143 (custom-face-state): Properly detect themed faces.
8144
8145 * faces.el (face-spec-set): Stop supporting deprecated form of
8146 third arg.
8147
8148 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8149
8150 Move functions from C to Lisp. Make non-blocking method calls
8151 the default. Implement further D-Bus standard interfaces.
8152
8153 * net/dbus.el (dbus-message-internal): Declare function.
8154 Remove unneeded function declarations.
8155 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8156 (dbus-message-type-method-return, dbus-message-type-error)
8157 (dbus-message-type-signal): Declare variables. Remove local
8158 definitions.
8159 (dbus-interface-dbus, dbus-interface-peer)
8160 (dbus-interface-introspectable, dbus-interface-properties)
8161 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8162 Adapt docstring.
8163 (dbus-interface-objectmanager): New defconst.
8164 (dbus-call-method, dbus-call-method-asynchronously)
8165 (dbus-send-signal, dbus-method-return-internal)
8166 (dbus-method-error-internal, dbus-register-service)
8167 (dbus-register-signal, dbus-register-method): New defuns, moved
8168 from dbusbind.c
8169 (dbus-call-method-handler, dbus-setenv)
8170 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8171 New defuns.
8172 (dbus-call-method-non-blocking): Make it an obsolete function.
8173 (dbus-unregister-object, dbus-unregister-service)
8174 (dbus-handle-event, dbus-register-property)
8175 (dbus-property-handler): Obey the new structure of
8176 `bus-registered-objects'.
8177 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8178 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8179 Use `dbus-call-method'.
8180
8181 2012-04-22 Chong Yidong <cyd@gnu.org>
8182
8183 * cus-edit.el (custom-commands, custom-reset-menu)
8184 (Custom-reset-standard): Tweak labels.
8185 (custom-reset-button-menu): Change default to t.
8186 (custom-buffer-create-internal): For the custom-reset-button-menu
8187 case, put the revert button first.
8188 (custom-group-subtitle): New face.
8189 (custom-group-value-create): Align docstring to a specific column.
8190
8191 * wid-edit.el (widget-documentation-link-add): Don't handle
8192 indentation in this function.
8193 (widget-documentation-string-indent-to): New function.
8194 (widget-documentation-string-value-create): Use it.
8195
8196 * autorevert.el (auto-revert):
8197 * epg-config.el (epg):
8198 * ibuffer.el (ibuffer):
8199 * mpc.el (mpc):
8200 * ses.el (ses):
8201 * eshell/eshell.el (eshell):
8202 * net/ange-ftp.el (ange-ftp):
8203 * progmodes/ebnf2ps.el (postscript):
8204 * progmodes/flymake.el (flymake):
8205 * progmodes/prolog.el (prolog):
8206 * progmodes/verilog-mode.el (verilog-mode):
8207 * progmodes/which-func.el (which-func):
8208 * term/xterm.el (xterm):
8209 * textmodes/picture.el (picture):
8210 * textmodes/tildify.el (tildify):
8211 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8212 customization buffers.
8213
8214 2012-04-22 Alan Mackenzie <acm@muc.de>
8215
8216 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8217 Adding a ) can hide the resulting (..) from searches. Fix it.
8218 Bound the backward search to the position of the existing (.
8219
8220 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8221
8222 * progmodes/verilog-mode.el (verilog-mode): Check whether
8223 which-func-modes is t before adding verilog-mode.
8224 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8225
8226 2012-04-21 Leo Liu <sdl.web@gmail.com>
8227
8228 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8229
8230 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8231
8232 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8233 filling of the last column of a table (Bug#5635).
8234 (woman-find-next-control-line): New arg, specifying an additional
8235 regexp component for the control line.
8236 (woman2-roff-buffer): Use it.
8237 (woman-break-table): New function.
8238 (woman2-TS): Use it.
8239
8240 2012-04-21 Chong Yidong <cyd@gnu.org>
8241
8242 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8243 (woman-horizontal-escapes, woman-negative-vertical-space)
8244 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8245 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8246
8247 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * minibuffer.el (completion-file-name-table): Complete user names.
8250
8251 2012-04-20 Leo Liu <sdl.web@gmail.com>
8252
8253 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8254 and pcase-let*.
8255
8256 2012-04-20 Chong Yidong <cyd@gnu.org>
8257
8258 * server.el (server-execute): Respect initial-buffer-choice if it
8259 is a string and there are no files to open (Bug#2825).
8260 (server-create-window-system-frame, server-create-tty-frame):
8261 Don't switch buffers here.
8262 (server-process-filter): Only try to open a window system frame if
8263 compiled with graphical support (Bug#8314).
8264
8265 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8266
8267 * battery.el (battery-echo-area-format): Display remaining time
8268 for sysfs backend too (Bug#11269).
8269 (battery-linux-sysfs): Fix conditional for the charge.
8270
8271 2012-04-20 Chong Yidong <cyd@gnu.org>
8272
8273 * progmodes/gdb-mi.el (gdb): Revert previous change.
8274 (gdb-inferior-io--init-proc): New function.
8275 (gdb-init-1): Use it.
8276 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8277 responsible for allocating a new pty and hooking it to gdb when
8278 the old pty gets an EIO due to process exit.
8279 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8280 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8281 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8282
8283 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8284
8285 * window.el (window-min-size, window-sizable, window-min-delta)
8286 (window-max-delta, window--resizable, window-resizable)
8287 (window-total-size, window-full-height-p, window-full-width-p)
8288 (window-in-direction, window--resize-mini-window, window-resize)
8289 (window--resize-child-windows-normal)
8290 (window--resize-child-windows, window--resize-siblings)
8291 (window--resize-this-window, adjust-window-trailing-edge)
8292 (enlarge-window, shrink-window): Doc fixes.
8293
8294 2012-04-20 Chong Yidong <cyd@gnu.org>
8295
8296 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8297 New function to call delete-process on the gdb-inferior buffer's pty.
8298 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8299 pty process (Bug#11273).
8300 (gdb-update): New arg to suppress talking to the gdb process.
8301 (gdb-done-or-error): Use it.
8302 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8303 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8304 sentinel not being called.
8305
8306 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8307
8308 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8309
8310 2012-04-20 Glenn Morris <rgm@gnu.org>
8311
8312 * net/network-stream.el (open-network-stream): Doc fix.
8313
8314 2012-04-20 Chong Yidong <cyd@gnu.org>
8315
8316 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8317
8318 2012-04-20 Alan Mackenzie <acm@muc.de>
8319
8320 Ensure searching for keywords is case sensitive.
8321
8322 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8323 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8324 (c-defun-name, c-mark-function, c-cpp-define-name)
8325 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8326 (c-context-line-break): Bind case-fold-search to nil.
8327
8328 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8329 Bind case-fold-search to nil.
8330
8331 2012-04-20 Chong Yidong <cyd@gnu.org>
8332
8333 * mail/sendmail.el (mail-bury): Call return action with the right
8334 Rmail buffer (Bug#11242).
8335
8336 * server.el (server-process-filter): Handle corner case where both
8337 tty and nowait options are present (Bug#11102).
8338
8339 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8340
8341 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8342 (top level): Put into the executable the ident-style '$Id:' tag on
8343 windows-nt as well.
8344
8345 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * electric.el (electric-indent-post-self-insert-function): Check that
8348 electric-indent-mode is enabled in current buffer.
8349
8350 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8351
8352 * imenu.el (imenu-progress-message): Restore; it is "used" in
8353 erc/erc-imenu.el and net/snmp-mode.el.
8354
8355 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8356
8357 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8358 (mouse-avoidance-nudge-mouse): Remove unused binding.
8359
8360 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8361
8362 * descr-text.el (describe-char):
8363 * progmodes/python.el (python-describe-symbol):
8364 Don't call `toggle-read-only', set `buffer-read-only'.
8365
8366 * imenu.el (imenu-default-goto-function): Mark unused args.
8367 (imenu-progress-message): Remove obsolete macro; all callers changed.
8368
8369 * subr.el (keymap-canonicalize): Remove unused binding.
8370 (read-passwd): Mark unused arg.
8371
8372 * tutorial.el (tutorial--display-changes): Remove unused binding.
8373 (tutorial--save-tutorial-to): Remove unused variable.
8374
8375 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8376 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8377 (package-generate-autoloads, package-menu--generate)
8378 (package-menu--find-upgrades): Remove unused bindings.
8379
8380 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8381 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8382 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8383 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8384 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8385 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8386 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8387 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8388 (cua-delete-char-rectangle): Mark unused args.
8389 (cua-align-rectangle): Remove unused binding.
8390
8391 * mail/rmail.el (compilation--message->loc)
8392 (epa--find-coding-system-for-mime-charset): Declare.
8393
8394 * net/dbus.el (dbus-register-service): Declare.
8395 (dbus-name-owner-changed-handler): Remove unused binding.
8396
8397 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8398 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8399 (nxml-scan-backward-within): Mark unused arg.
8400 (nxml-dynamic-markup-word): Remove unused binding.
8401
8402 * mouse.el (mouse-menu-major-mode-map):
8403 * emacs-lisp/authors.el (authors-scan-change-log)
8404 (authors-add-to-author-list):
8405 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8406 * emacs-lisp/smie.el (smie-auto-fill):
8407 * mail/sendmail.el (mail-bury):
8408 * mail/unrmail.el (unrmail):
8409 * net/tls.el (open-tls-stream):
8410 * textmodes/picture.el (picture-mouse-set-point):
8411 Remove unused bindings.
8412
8413 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8414
8415 * net/tramp.el (tramp-action-password): Let-bind
8416 `enable-recursive-minibuffers' to t.
8417
8418 2012-04-18 Sam Steingold <sds@gnu.org>
8419
8420 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8421 instead of 'string to accommodate values like [f11].
8422 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8423 * progmodes/gdb-mi.el: Likewise.
8424
8425 2012-04-18 Leo Liu <sdl.web@gmail.com>
8426
8427 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8428 current buffer.
8429 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8430 LOCAL is nil.
8431
8432 2012-04-18 Chong Yidong <cyd@gnu.org>
8433
8434 * simple.el (line-move): Use forward-line if in batch mode
8435 (Bug#11053).
8436
8437 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8438
8439 * files.el (after-find-file): Do not try to add a final newline if
8440 the buffer is read-only (Bug#11156).
8441
8442 2012-04-17 Richard Stallman <rms@gnu.org>
8443
8444 * mail/rmail.el (rmail-start-mail):
8445 Pass (rmail-mail-return...) for the return-action.
8446 Pass (rmail-yank-current-message...) for the yank-action.
8447 (rmail-yank-current-message): New function.
8448 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8449 (rmail-reply): Likewise.
8450 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8451
8452 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8453 buffer, not the last. Reject temp buffers. Use the rmail-mode
8454 buffer, not newbuf.
8455
8456 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * server.el (server-ensure-safe-dir): Simplify.
8459
8460 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * emacs-lisp/smie.el: Provide smarter auto-filling.
8463 (smie-auto-fill): New function.
8464 (smie-setup): Use it.
8465
8466 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8467
8468 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8469
8470 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8471 (comment-indent): Use it.
8472
8473 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8474
8475 * ses.el: The overall change is to add cell renaming, that is
8476 setting fancy names for cell symbols other than name matching
8477 "\\`[A-Z]+[0-9]+\\'" regexp .
8478 (ses-localvars): Add ses--renamed-cell-symb-list.
8479 (ses-create-cell-variable): New defun.
8480 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8481 (ses-relocate-formula): Relocate formulas only for cells the
8482 symbols of which are not renamed, i.e. symbols whose names do not
8483 match regexp "\\`[A-Z]+[0-9]+\\'".
8484 (ses-relocate-all): Relocate values only for cells the symbols of
8485 which are not renamed.
8486 (ses-load): Create cells variables as the (ses-cell ...) are read,
8487 in order to check row col consistency with cell symbol name only
8488 for cells that are not renamed.
8489 (ses-replace-name-in-formula): New defun.
8490 (ses-rename-cell): New defun.
8491
8492 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8493
8494 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8495 New option (bug#11118).
8496 (perl-calculate-indent): Respect it.
8497
8498 2012-04-17 Glenn Morris <rgm@gnu.org>
8499
8500 * dired-aux.el (dired-mark-read-string): Doc fix.
8501
8502 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8503
8504 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8505 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8506
8507 2012-04-17 Glenn Morris <rgm@gnu.org>
8508
8509 * mouse.el (mouse-drag-track):
8510 * speedbar.el (speedbar-frame-mode):
8511 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8512
8513 2012-04-16 Leo Liu <sdl.web@gmail.com>
8514
8515 * progmodes/python.el: Trivial cleanup.
8516
8517 2012-04-16 Glenn Morris <rgm@gnu.org>
8518
8519 * vc/vc.el (vc-string-prefix-p):
8520 * vc/pcvs-util.el (cvs-string-prefix-p):
8521 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8522 * mpc.el (mpc-string-prefix-p):
8523 Make all of these into obsolete aliases for string-prefix-p.
8524 Update callers.
8525 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8526
8527 * textmodes/two-column.el: Move custom options to the start.
8528 (frame-width): Remove compat definition.
8529 (2C-associate-buffer, 2C-dissociate):
8530 Use with-current-buffer rather than save-excursion.
8531 (2C-dissociate): Force a mode-line update.
8532 (2C-autoscroll): Use ignore-errors.
8533
8534 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8535 Autoload trivia.
8536
8537 * emacs-lisp/cl-extra.el (*random-state*):
8538 Remove unnecessary declaration.
8539
8540 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8541
8542 * play/cookie1.el (cookie-snarf):
8543 Give an explicit error if input file cannot be read.
8544
8545 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8546
8547 * progmodes/perl-mode.el (c-macro-expand):
8548 Remove unnecessary autoload (it is in loaddefs.el).
8549
8550 * textmodes/picture.el (picture-desired-column)
8551 (picture-update-desired-column): Convert comments to doc-strings.
8552 (picture-substitute): Remove function.
8553 (picture-mode-map): Initialize in the defvar.
8554
8555 * woman.el: Remove eval-after-load for tar-mode.
8556 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8557 (woman-tar-extract-file): Autoload it.
8558
8559 * frame.el (automatic-hscrolling): Make this alias obsolete.
8560
8561 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8562
8563 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8564 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8565 (ispell-dictionary-base-alist): Revert to original XEmacs
8566 friendly version for default. [:alpha:] will be added in
8567 `ispell-set-spellchecker-params' if needed.
8568
8569 2012-04-16 Chong Yidong <cyd@gnu.org>
8570
8571 * image.el (imagemagick--file-regexp): New variable.
8572 (imagemagick-register-types): Use it.
8573 (imagemagick-types-inhibit): Add :set function. Allow new value
8574 of t to inhibit all types.
8575
8576 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8577 so we can preload it.
8578
8579 * loadup.el (fboundp): Preload regexp-opt, needed by
8580 imagemagick-register-types.
8581
8582 2012-04-15 Chong Yidong <cyd@gnu.org>
8583
8584 * frame.el (scrolling): Remove nearly unused customization group.
8585
8586 * scroll-all.el (scroll-all-mode): Move to windows group.
8587
8588 2012-04-15 Chong Yidong <cyd@gnu.org>
8589
8590 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8591
8592 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8595 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8596
8597 2012-04-15 Glenn Morris <rgm@gnu.org>
8598
8599 * simple.el (process-file-side-effects): Doc fix.
8600
8601 2012-04-15 Glenn Morris <rgm@gnu.org>
8602
8603 * international/mule-cmds.el (set-language-environment): Doc fix.
8604
8605 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8606
8607 * server.el (server-auth-key, server-generate-key): Doc fixes.
8608 (server-get-auth-key): Doc fix. Use `string-match-p'.
8609 (server-start): Reflow docstring.
8610
8611 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8612
8613 * server.el (server-generate-key): `called-interactively-p'
8614 requires a parameter.
8615
8616 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8617
8618 * server.el (server-auth-key): New variable.
8619 (server-generate-key, server-get-auth-key): New function.
8620 (server-start): Use the new variable and functions to allow
8621 setting a permanent server key (bug#9423).
8622
8623 2012-04-14 Leo Liu <sdl.web@gmail.com>
8624
8625 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8626
8627 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8628
8629 Spelling fixes.
8630 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8631 Emacs uses American spelling.
8632
8633 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8636 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8637 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8638 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8639
8640 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * progmodes/which-func.el (which-func-modes): Change default.
8643
8644 2012-04-14 Kim F. Storm <storm@cua.dk>
8645
8646 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8647 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8648
8649 2012-04-14 Chong Yidong <cyd@gnu.org>
8650
8651 * custom.el (custom-theme-set-variables): Doc fix.
8652
8653 2012-04-14 Glenn Morris <rgm@gnu.org>
8654
8655 * international/mule.el (set-auto-coding-for-load): Doc fix.
8656
8657 2012-04-14 Alan Mackenzie <acm@muc.de>
8658
8659 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8660 imenu work again for Objective C Mode. Correct the *-index values,
8661 these having been disturbed by a previous change in 2011-08.
8662
8663 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8664 Correct two search limits.
8665
8666 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8669
8670 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8671
8672 * international/characters.el: Fix sorting.
8673
8674 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8675
8676 * international/characters.el: Add more missing Latin case pairs.
8677
8678 2012-04-14 Glenn Morris <rgm@gnu.org>
8679
8680 * files.el (dir-locals-set-class-variables): Doc fix.
8681
8682 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8683
8684 * international/characters.el: Add set-case-syntax-pair call for
8685 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8686 counterpart. (Bug#11209)
8687
8688 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8689
8690 2012-04-14 Glenn Morris <rgm@gnu.org>
8691
8692 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8693
8694 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8695
8696 * textmodes/ispell.el (ispell-dictionary-base-alist):
8697 Add data for Hebrew.
8698
8699 2012-04-14 Chong Yidong <cyd@gnu.org>
8700
8701 * net/rcirc.el (rcirc-cmd-quit):
8702 Revert 2012-03-18 change (Bug#11192).
8703
8704 2012-04-14 Glenn Morris <rgm@gnu.org>
8705
8706 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8707
8708 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8709
8710 * minibuffer.el (completion-in-region-mode-map):
8711 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8712
8713 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8714
8715 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8716
8717 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8718
8719 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8720 to allow `C-M-f' and `C-M-b' to move to the nearest path
8721 separator (bug#9511).
8722
8723 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8724
8725 * avoid.el: Require cl when compiling. And also move the
8726 `provide' to the end.
8727
8728 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8729
8730 * avoid.el (mouse-avoidance-banish-position): New variable.
8731 (mouse-avoidance-banish-destination): Use it (bug#10165).
8732
8733 2012-04-13 Leo Liu <sdl.web@gmail.com>
8734
8735 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8736
8737 2012-04-13 Ken Brown <kbrown@cornell.edu>
8738
8739 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8740 this is no longer needed now that cygstart understands file:// URLs.
8741 (browse-url-filename-alist): For the same reason, don't modify
8742 file:// URLs on Cygwin.
8743
8744 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8747 the region on shift if the binding is already shifted (bug#11221).
8748
8749 2012-04-12 Glenn Morris <rgm@gnu.org>
8750
8751 * mail/mailpost.el: Move to obsolete/.
8752
8753 2012-04-12 Drew Adams <drew.adams@oracle.com>
8754
8755 * imenu.el (imenu--generic-function): Ignore invisible definitions
8756 (bug#10123).
8757
8758 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8759
8760 * hexl.el (hexl-bits): New variable.
8761 (hexl-options): Mention the variable in the doc string.
8762 (hexl-rulerise, hexl-line-displen): New functions.
8763 (hexl-mode): Mention the new variable.
8764 (hexl-mode, hexl-current-address, hexl-current-address):
8765 Use the displen.
8766 (hexl-ascii-start-column): New function.
8767 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8768 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8769
8770 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8771
8772 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8773 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8774 the encoding, as expected by hunspell.
8775
8776 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8777
8778 * battery.el (battery--linux-sysfs-regexp): New const.
8779 (battery-status-function): Use it. Remove yeeloong special case.
8780 (battery-yeeloong-sysfs): Remove.
8781 (battery-echo-area-format): Remove yeeloong special case.
8782
8783 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8786 Reported by Noah Friedman.
8787
8788 * subr.el (read-passwd): Use read-string.
8789
8790 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8791
8792 * vcursor.el (vcursor-move): Increase the priority of the overlay
8793 (bug#9663).
8794
8795 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8796
8797 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8798 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8799
8800 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8801
8802 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8803 define-minor-mode (bug#10760).
8804
8805 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8806
8807 * progmodes/grep.el (rgrep): Tweak the find command line so
8808 that directories matching `grep-find-ignored-files' won't be
8809 pruned (bug#10351).
8810
8811 2012-04-11 Chong Yidong <cyd@gnu.org>
8812
8813 * startup.el (command-line): Remove support for long-obsolete
8814 variable font-lock-face-attributes.
8815
8816 2012-04-11 Glenn Morris <rgm@gnu.org>
8817
8818 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8819
8820 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * window.el (window--state-get-1): Obey window-point-insertion-type.
8823
8824 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8825
8826 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8827 to previous function when point is on the first character of a
8828 function. Take care of that in `narrow-to-defun' (bug#6157).
8829
8830 2012-04-11 Glenn Morris <rgm@gnu.org>
8831
8832 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8833 not just file-errors.
8834
8835 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8836 (vc-bzr-sha1): Use internal sha1.
8837
8838 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8841
8842 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8843
8844 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8845 that start in the middle of the line (bug#10496).
8846
8847 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8848
8849 * battery.el (battery-linux-proc-acpi): Only one battery is
8850 discharged at a time, but that seems to confuse battery.el when
8851 computing `rate-type' for the battery not being discharged
8852 (bug#10332).
8853
8854 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8857
8858 * international/quail.el: Use dolist and simplify.
8859 (quail-define-package, quail-update-keyboard-layout)
8860 (quail-define-rules): Use dolist.
8861 (quail-insert-kbd-layout, quail-get-translation): CSE.
8862
8863 * tmm.el: Use dolist, remove left over hook.
8864 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8865 Use dolist.
8866 (calendar-load-hook): Don't mess with it.
8867
8868 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8869 Use derived-mode-p. Run the diff asynchronously.
8870
8871 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8872
8873 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8874
8875 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8878 (list-dynamic-libraries--loaded): New function.
8879 (list-dynamic-libraries--refresh): Use it.
8880
8881 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8882
8883 * progmodes/python.el (python-fill-paragraph):
8884 Make python-fill-region in a multiline string work when font-lock is
8885 disabled (bug#7018).
8886
8887 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8888
8889 * language/european.el (cp775): Add oem/legacy (en)coding on
8890 DOS/MS Windows for the Baltic languages. There are still plenty
8891 of texts written in this encoding/codepage (bug#6519).
8892
8893 2012-04-10 Glenn Morris <rgm@gnu.org>
8894
8895 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8896 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8897
8898 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8899
8900 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8901 next-line "n" and previous-line "p" in order to make recentf more
8902 consistent with ibuffer, dired or org-mode (bug#9387).
8903
8904 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905
8906 * image.el (put-image): Return the overlay created instead of the
8907 optional input string (bug#7834). Note that this may break code
8908 that is (for some reason or other) depending on `put-image'
8909 returning the string.
8910
8911 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8912
8913 * simple.el (zap-to-char): Allow zapping using input methods
8914 (bug#1580).
8915
8916 * textmodes/fill.el (fill-region): Leave point and mark where they
8917 were before filling (bug#5399).
8918
8919 2012-04-09 Glenn Morris <rgm@gnu.org>
8920
8921 * version.el (emacs-bzr-get-version):
8922 Handle lightweight checkouts of local branches.
8923
8924 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8925
8926 * international/characters.el: Recover lost case pairs. (Bug#11209)
8927
8928 2012-04-09 Chong Yidong <cyd@gnu.org>
8929
8930 * custom.el (custom-variable-p): Return nil for non-symbol
8931 arguments instead of signaling an error.
8932 (user-variable-p): Obsolete alias for custom-variable-p.
8933
8934 * apropos.el (apropos-variable):
8935 * files-x.el (read-file-local-variable):
8936 * simple.el (set-variable):
8937 * woman.el (woman-mini-help):
8938 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8939
8940 2012-04-09 Glenn Morris <rgm@gnu.org>
8941
8942 * startup.el (normal-top-level): Don't look for leim-list.el
8943 in places where it will not be found. (Bug#910)
8944
8945 * international/mule-cmds.el (set-default-coding-systems):
8946 * files.el (normal-mode):
8947 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8948 This function was removed with ucs-tables.el in 2008.
8949
8950 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8951
8952 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8953 ispell-encoding8-command to "-i", without a trailing space.
8954 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8955 separate command-line arguments, to specify the encoding, since
8956 that's how hunspell expects it.
8957
8958 2012-04-08 Glenn Morris <rgm@gnu.org>
8959
8960 * loadup.el: Load bindings before cus-start.
8961 This reduces somewhat the number of "rogue" settings in emacs -Q.
8962
8963 2012-04-07 Glenn Morris <rgm@gnu.org>
8964
8965 * version.el (emacs-bzr-get-version): New function.
8966 (emacs-bzr-version): New variable.
8967 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8968 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8969
8970 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8971
8972 * international/uni-bidi.el, international/uni-category.el:
8973 * international/uni-combining.el, international/uni-decimal.el:
8974 * international/uni-decomposition.el, international/uni-digit.el:
8975 * international/uni-lowercase.el, international/uni-mirrored.el:
8976 * international/uni-name.el, international/uni-numeric.el:
8977 * international/uni-titlecase.el, international/uni-uppercase.el:
8978 Update for Unicode 6.1.
8979
8980 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8981
8982 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8983
8984 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8985
8986 * window.el (shrink-window): Mention the `window-min-height'
8987 variable in the doc string.
8988
8989 2012-04-05 Bastien Guerry <bzg@altern.org>
8990
8991 * color.el (color-lighten-name): Fix typo.
8992
8993 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * server.el (server--on-display-p): New function.
8996 (server--on-display-p): Use it.
8997
8998 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8999
9000 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9001 (bug#11145).
9002
9003 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * comint.el (comint--common-quoted-suffix): Check string boundary
9006 before comparing (bug#11158).
9007 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9008
9009 2012-04-04 Chong Yidong <cyd@gnu.org>
9010
9011 * minibuffer.el (completion-extra-properties): Doc fix.
9012
9013 * subr.el (delayed-warnings-hook): Doc fix.
9014
9015 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9016
9017 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9018 selection (Bug#11159).
9019 (epa-insert-keys): Inform that the default public key will be
9020 exported if no key is selected.
9021
9022 2012-04-04 Richard Stallman <rms@gnu.org>
9023
9024 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9025
9026 2012-04-03 Chong Yidong <cyd@gnu.org>
9027
9028 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9029 mail-insert-file, not its obsolete alias mail-attach-file.
9030
9031 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9032
9033 * notifications.el (notifications-notify): Fix docstring.
9034
9035 2012-04-02 Glenn Morris <rgm@gnu.org>
9036
9037 * emacs-lisp/authors.el (authors-aliases): Another addition.
9038
9039 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9040
9041 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9042 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9043 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9044
9045 2012-04-01 Chong Yidong <cyd@gnu.org>
9046
9047 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9048 Handle root directory properly.
9049 (copy-directory): Caller changed.
9050
9051 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9052 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9053
9054 2012-03-31 Glenn Morris <rgm@gnu.org>
9055
9056 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9057
9058 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9059
9060 * calendar/calendar.el (calendar-window-list)
9061 (calendar-hide-window): Restore. (Bug#11140)
9062 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9063
9064 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9065
9066 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9067
9068 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9069 Check if file is a symlink (Bug#10489).
9070
9071 * files.el (copy-directory): Likewise.
9072
9073 2012-03-30 Chong Yidong <cyd@gnu.org>
9074
9075 * image.el (imagemagick-types-inhibit)
9076 (imagemagick-register-types): Doc fix.
9077
9078 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9079
9080 * textmodes/ispell.el (ispell-get-extended-character-mode):
9081 Disable extended-char-mode for hunspell. hunspell does not support it
9082 and treats ~word as ordinary words in pipe mode.
9083
9084 2012-03-30 Glenn Morris <rgm@gnu.org>
9085
9086 * tutorial.el (help-with-tutorial): Ensure local variables don't
9087 happen to make the buffer read-only. (Bug#11127)
9088
9089 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9092 (perl-calculate-indent): Return `noindent' in strings.
9093
9094 2012-03-28 Sam Steingold <sds@gnu.org>
9095
9096 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9097 instead of the broken adhockery which does not prevent calendar
9098 buffers from being displayed at random after exit.
9099 (calendar-window-list, calendar-hide-window): Remove the broken
9100 adhockery.
9101
9102 2012-03-28 Glenn Morris <rgm@gnu.org>
9103
9104 * replace.el (query-replace-map): Doc fix.
9105
9106 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9107
9108 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9109 contents. (Bug#11109)
9110
9111 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9114 (bug#11077).
9115 (avl-tree--check, avl-tree--check-node): New funs.
9116
9117 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9118
9119 * window.el (switch-to-visible-buffer): New option.
9120 (switch-to-prev-buffer, switch-to-next-buffer):
9121 Observe switch-to-visible-buffer. Make sure that checking for a window
9122 showing a buffer already is done on the same frame.
9123
9124 2012-03-27 Glenn Morris <rgm@gnu.org>
9125
9126 * startup.el (mail-host-address): Doc fix.
9127
9128 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9131 than 197 variables.
9132
9133 2012-03-26 Ami Fischman <ami@fischman.org>
9134
9135 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9136
9137 2012-03-26 Glenn Morris <rgm@gnu.org>
9138
9139 * files.el (save-buffers-kill-emacs): Doc fix.
9140
9141 * startup.el (normal-top-level, command-line, command-line-1):
9142 Give them doc strings.
9143
9144 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9145
9146 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9147 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9148
9149 2012-03-25 Chong Yidong <cyd@gnu.org>
9150
9151 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9152 theme if it was previously enabled before (Bug#11031).
9153
9154 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9155 spec with custom-face-get-current-spec if its :shown-value is not
9156 determined yet (Bug#9337).
9157 (customize-create-theme, custom-theme-revert): Doc fixes.
9158
9159 * button.el (button-at): Minor addition to docstring.
9160
9161 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9162
9163 * vc/vc.el (vc-merge): Fix a prompt.
9164
9165 2012-03-24 Chong Yidong <cyd@gnu.org>
9166
9167 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9168 point (Bug#9623).
9169
9170 * button.el (button-at): Minor addition to docstring.
9171
9172 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * newcomment.el (comment-choose-indent): No space after BOL.
9175
9176 2012-03-22 Sam Steingold <sds@gnu.org>
9177
9178 * window.el (switch-to-prev-buffer): Revert last patch because the
9179 bug turned out to be an advertised feature (Elisp manual 28.14).
9180
9181 2012-03-22 Glenn Morris <rgm@gnu.org>
9182
9183 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9184 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9185
9186 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9187
9188 * net/network-stream.el (network-stream-open-starttls): Make error
9189 message under Windows be less misleading.
9190
9191 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9192
9193 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9194 understands (bug#9942).
9195
9196 2012-03-22 Chong Yidong <cyd@gnu.org>
9197
9198 * simple.el (end-of-visible-line): Handle return value of
9199 next-single-property-change properly (Bug#9371).
9200
9201 2012-03-22 Kenichi Handa <handa@m17n.org>
9202
9203 * international/quail.el (quail-insert-kbd-layout): Fix previous
9204 change. To avoid unwanted bidi reordering, use
9205 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9206
9207 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9208
9209 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9210 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9211 (ruby-beginning-of-indent): Be more careful with the difference
9212 between word-boundary and symbol boundary.
9213 (ruby-mode-syntax-table): Make : a symbol constituent.
9214
9215 2012-03-21 Andreas Politz <politza@fh-trier.de>
9216
9217 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9218
9219 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * progmodes/etags.el (tags-completion-at-point-function):
9222 Improve last fix.
9223
9224 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9225
9226 2012-03-21 Sam Steingold <sds@gnu.org>
9227
9228 * progmodes/etags.el (tags-completion-at-point-function):
9229 Avoid the error when point is inside the pattern.
9230
9231 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9232
9233 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9234 line (Bug#10855).
9235
9236 2012-03-21 Drew Adams <drew.adams@oracle.com>
9237
9238 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9239
9240 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9241
9242 * ido.el (ido-set-current-directory, ido-read-internal)
9243 (ido-choose-completion-string, ido-completion-help): Handle nil
9244 value of ido-completion-buffer (Bug#11008).
9245
9246 2012-03-21 Sam Steingold <sds@gnu.org>
9247
9248 * window.el (switch-to-prev-buffer): Do not switch to a visible
9249 window previous buffer, just like with the frame previous buffers.
9250
9251 2012-03-21 Chong Yidong <cyd@gnu.org>
9252
9253 * faces.el (make-face, make-empty-face, copy-face):
9254 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9255 Doc fixes.
9256
9257 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9260 (widget-complete): Remove broken use of it.
9261
9262 2012-03-20 Chong Yidong <cyd@gnu.org>
9263
9264 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9265 Use string-width and truncate-string-width to handle arbitrary
9266 characters.
9267
9268 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9269
9270 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9271 to draw rectangles, not squares. (Regression introduced by revno
9272 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9273
9274 2012-03-18 Chong Yidong <cyd@gnu.org>
9275
9276 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9277 it is not yet defined (for temacs).
9278
9279 2012-03-18 Leo Liu <sdl.web@gmail.com>
9280
9281 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9282 prefix.
9283
9284 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9285
9286 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9287 (ispell-choices-win-default-height, ispell-silently-savep)
9288 (ispell-dictionary-alist, ispell-encoding8-command)
9289 (ispell-check-version, ispell-aspell-find-dictionary)
9290 (ispell-valid-dictionary-list, ispell-words-keyword)
9291 (ispell-get-word, ispell-internal-change-dictionary)
9292 (ispell-region, ispell-skip-region-list)
9293 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9294 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9295 (ispell-message-text-end, ispell-message)
9296 (ispell-buffer-local-parsing): Doc fix.
9297
9298 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9299
9300 * htmlfontify.el: Add support for code block fontification for ODT
9301 export (Bug #9914).
9302 (hfy-optimisations): Define new option
9303 `body-text-only'
9304 (hfy-fontify-buffer): Honor above setting.
9305 (hfy-begin-span, hfy-end-span): New routines factored out form
9306 `hfy-fontify-buffer'.
9307 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9308 that permit insertion of custom tags.
9309 (hfy-fontify-buffer): Use above handlers.
9310 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9311 (hfy-face-to-css): Re-defined to be a variable.
9312 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9313 over multiple runs. This is made possible by having the caller let
9314 bind a special variable `hfy-user-sheet-assoc'.
9315 (htmlfontify-string): New defun.
9316 (hfy-compile-face-map): Make sure that the last char in the
9317 buffer is correctly fontified.
9318 (hfy-face-resolve-face): Whitespace only change.
9319
9320 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9321
9322 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9323 message more clear.
9324
9325 2012-03-16 Leo Liu <sdl.web@gmail.com>
9326
9327 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9328
9329 2012-03-16 Alan Mackenzie <acm@muc.de>
9330
9331 Further optimise the handling of large macros.
9332
9333 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9334 limit to a call of `c-literal-limits'.
9335 (c-determine-+ve-limit): New function.
9336 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9337 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9338 In CASE 5B, restrict a search limit to 500.
9339 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9340
9341 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9342 Restrict macro bounds to +-500 from after-change's BEG END.
9343
9344 2012-03-16 Leo Liu <sdl.web@gmail.com>
9345
9346 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9347
9348 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9349
9350 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9351 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9352
9353 2012-03-16 Glenn Morris <rgm@gnu.org>
9354
9355 * view.el (view-buffer, view-buffer-other-window)
9356 (view-buffer-other-frame): Doc fixes re special mode-class.
9357
9358 * subr.el (eval-after-load): If named feature is provided not from
9359 a file, run after-load forms. (Bug#10946)
9360
9361 * calendar/calendar.el (calendar-insert-at-column):
9362 Handle non-unit-width characters a bit better. (Bug#10978)
9363
9364 2012-03-15 Chong Yidong <cyd@gnu.org>
9365
9366 * emacs-lisp/ring.el (ring-extend): New function.
9367 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9368
9369 * comint.el (comint-read-input-ring)
9370 (comint-add-to-input-history): Grow comint-input-ring lazily.
9371
9372 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9375 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9376
9377 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9378 (imenu-add-to-menubar): Don't add a redundant index.
9379 (imenu-update-menubar): Handle a dynamically composed keymap.
9380
9381 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9382
9383 * mail/sendmail.el (mail-encode-header):
9384 Bind rfc2047-encode-encoded-words to nil.
9385
9386 2012-03-13 Glenn Morris <rgm@gnu.org>
9387
9388 * calendar/calendar.el (calendar-string-spread):
9389 Handle non-unit-width characters a bit better. (Bug#10978)
9390
9391 2012-03-13 Leo Liu <sdl.web@gmail.com>
9392
9393 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9394 directory and file as argument (Bug#10822).
9395
9396 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9397
9398 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9399 For dynamically generated code, follow $PC.
9400 (gdb-disassembly-handler-custom): Handle no function name case.
9401
9402 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9403
9404 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9405 * emulation/ws-mode.el (ws-query-replace):
9406 * sort.el (sort-regexp-fields):
9407 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9408
9409 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * dabbrev.el: Fix cycle completion order (bug#10963).
9412 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9413 (dabbrev-completion): Don't use an obarray; provide
9414 a cycle-sort-function.
9415
9416 2012-03-12 Leo Liu <sdl.web@gmail.com>
9417
9418 * simple.el (kill-new): Use equal-including-properties for comparison.
9419 (kill-do-not-save-duplicates): Doc fix.
9420
9421 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * dabbrev.el: Fix cycle completion (bug#10963).
9424 Use lexical binding and wrap to 80 columns.
9425 (dabbrev-completion): Delay computing the list of completions.
9426
9427 2012-03-12 Kenichi Handa <handa@m17n.org>
9428
9429 * international/quail.el (quail-insert-kbd-layout): Surround each
9430 row by LRO and PDF instead of inserting many LRMs. Pad the left
9431 and right of each non-spacing marks. Insert invisible space
9432 between lower and upper characters to prevent composition.
9433
9434 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * minibuffer.el (minibuffer-complete): Don't get confused when the
9437 function is run twice via different commands (bug#10958).
9438 (complete-with-action): Fix docstring.
9439
9440 2012-03-12 Chong Yidong <cyd@gnu.org>
9441
9442 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9443 (nxml-completion-at-point-function): New function.
9444 (nxml-mode): Use it.
9445 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9446
9447 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9448 Load generated autoloads file before byte compiling (Bug#10970).
9449 (package--make-autoloads-and-compile): New helper fun.
9450
9451 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9452
9453 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9454
9455 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9456
9457 * autorevert.el (auto-revert-handler): Ensure, that
9458 file-readable-p is applied only for local files or in
9459 auto-revert-tail-mode.
9460
9461 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9462
9463 * server.el (server-eval-at): Handle non-tcp connections.
9464 Decode result string.
9465
9466 * server.el (server-msg-size): New constant.
9467 (server-reply-print): New function.
9468 (server-eval-and-print): Use it.
9469 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9470 Handle -print-nonl.
9471
9472 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9473
9474 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9475 (Bug#10987).
9476
9477 2012-03-11 Chong Yidong <cyd@gnu.org>
9478
9479 * simple.el (goto-line): Doc fix (Bug#9938).
9480
9481 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9482
9483 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9484 when finished (Bug#10963).
9485
9486 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9487
9488 * window.el (split-window-below): Fix bug in case where
9489 split-window-keep-point is nil (Bug#10971).
9490
9491 2012-03-11 Juri Linkov <juri@jurta.org>
9492
9493 * replace.el (replace-highlight): Set isearch-word to nil
9494 unconditionally. (Bug#10887)
9495
9496 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9497
9498 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9499 mairix-replace-illegal-chars; all callers changed. Don't remove
9500 ^, ~, and = characters: they are meaningful in mairix search specs.
9501 (mairix-widget-create-query): Add usage information about mairix
9502 search forms: negating words, searching for substrings, etc.
9503
9504 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9505
9506 * international/fontset.el (font-encoding-alist): Add an entry for
9507 ksx1001 (Bug#5667).
9508
9509 2012-03-10 Richard Stallman <rms@gnu.org>
9510
9511 * mail/sendmail.el (mail-encode-header):
9512 Set rfc2047-encode-encoded-words.
9513
9514 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9515
9516 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9517 view buffer means not swapped.
9518 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9519 (rmail-write-region-annotate): Error if real text has disappeared.
9520
9521 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9522
9523 2012-03-10 Chong Yidong <cyd@gnu.org>
9524
9525 * emulation/cua-rect.el (cua--init-rectangles):
9526 * emulation/cua-base.el (cua--init-keymaps):
9527 Add delete-forward-char to remappings (Bug#9666).
9528
9529 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9530
9531 * speedbar.el (speedbar-unhighlight-one-tag-line):
9532 Avoid unhighlighting due to frame switching (Bug#10275).
9533
9534 2012-03-10 Chong Yidong <cyd@gnu.org>
9535
9536 * minibuffer.el (completion-in-region, completion-help-at-point):
9537 Give the completion field overlay a high priority (Bug#6830).
9538
9539 * dired.el (dired-goto-file): Recognize absolute file name
9540 listings (Bug#7126).
9541 (dired-goto-file-1): New helper function.
9542 (dired-toggle-read-only): Inhibit warnings.
9543
9544 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9545
9546 * net/dbus.el (dbus-property-handler): Return empty array if
9547 there are no properties.
9548
9549 2012-03-09 Leo Liu <sdl.web@gmail.com>
9550
9551 * savehist.el (savehist-printable): Stricter check for string
9552 value (Bug#10937).
9553
9554 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9555
9556 * mail/smtpmail.el (smtpmail-send-it):
9557 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9558 valid mbox format.
9559
9560 2012-03-09 Glenn Morris <rgm@gnu.org>
9561
9562 * files.el (dir-locals-find-file):
9563 Don't check result is regular, readable.
9564 (dir-locals-read-from-file): Demote errors.
9565
9566 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9567
9568 * international/quail.el (quail-insert-kbd-layout):
9569 Insert invisible LRM characters before each character in a keyboard
9570 layout cell, to prevent their reordering by bidi display engine.
9571 For details, see the discussion in
9572 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9573
9574 2012-03-08 Alan Mackenzie <acm@muc.de>
9575
9576 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9577 the starting position; make it extend the marked region when
9578 invoked repeatedly - all under appropriate circumstances.
9579 Fixes bugs #5525, #10906.
9580
9581 2012-03-08 Glenn Morris <rgm@gnu.org>
9582
9583 * files.el (locate-dominating-file, dir-locals-find-file):
9584 Undo 2012-03-06 change.
9585
9586 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9587
9588 * international/quail.el (quail-help):
9589 Force bidi-paragraph-direction be left-to-right. See discussion in
9590 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9591 for the reason.
9592
9593 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9594
9595 Avoid superfluous registering of signals. (Bug#10807)
9596
9597 * notifications.el (notifications-on-action-object)
9598 (notifications-on-close-object): New defvars.
9599 (notifications-on-action-signal, notifications-on-closed-signal):
9600 Unregister the signal if not needed any longer.
9601 (notifications-notify): Register `notifications-action-signal' or
9602 `notifications-closed-signal', if :on-action or :on-close has been
9603 passed as argument.
9604
9605 2012-03-07 Chong Yidong <cyd@gnu.org>
9606
9607 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9608 non-X platforms.
9609
9610 2012-03-06 Glenn Morris <rgm@gnu.org>
9611
9612 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9613 (x-disown-selection-internal, x-get-selection-internal):
9614 Doc fix (add arglist signatures). (Bug#10783)
9615
9616 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9617
9618 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9619 Handle breakpoints with no "type".
9620
9621 2012-03-06 Glenn Morris <rgm@gnu.org>
9622
9623 * files.el (locate-dominating-file): Add optional predicate argument.
9624 (dir-locals-find-file): Make use of above change.
9625
9626 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9627
9628 * info.el (Info-insert-dir): Also try "dir.gz".
9629
9630 2012-03-06 Glenn Morris <rgm@gnu.org>
9631
9632 * files.el (dir-locals-find-file):
9633 Ignore non-readable or non-regular files. (Bug#10928)
9634
9635 * files.el (locate-dominating-file): Doc fix.
9636
9637 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9638
9639 * calendar/calendar.el (calendar-set-mode-line):
9640 `getenv' returns a string. (Bug#10951)
9641
9642 2012-03-05 Leo Liu <sdl.web@gmail.com>
9643
9644 * simple.el (backward-delete-char-untabify): Constrain point to
9645 field (Bug#10939).
9646
9647 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9648
9649 2012-03-05 Chong Yidong <cyd@gnu.org>
9650
9651 * simple.el (count-words): If called from Lisp, return the word
9652 count, for symmetry with `count-lines'. Arglist changed.
9653 (count-words--message): Args changed. Consolidate counting code
9654 from count-words and count-words-region.
9655 (count-words-region): Caller changed.
9656 (count-lines-region): Make it an obsolete alias.
9657
9658 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9659
9660 * saveplace.el (save-place-to-alist)
9661 (save-place-ignore-files-regexp): Allow value nil to disable this
9662 feature.
9663
9664 2012-03-04 Chong Yidong <cyd@gnu.org>
9665
9666 * faces.el (face-spec-reset-face): For the default face, reset the
9667 attributes to default values (Bug#10748).
9668
9669 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670
9671 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9672 previous patch: Check `message-send-mail-function', and not the
9673 default function (bug#10897).
9674
9675 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9676
9677 * notifications.el (notifications-on-action-signal)
9678 (notifications-on-closed-signal): Check for unique service name of
9679 incoming event. Fix error in removing entry.
9680 (top): Register for signals with wildcard service name.
9681 (notifications-notify): Use daemon unique service name for map entries.
9682
9683 2012-03-04 Chong Yidong <cyd@gnu.org>
9684
9685 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9686
9687 2012-03-04 Glenn Morris <rgm@gnu.org>
9688
9689 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9690 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9691 (expand-abbrev, define-abbrev-table): Doc fixes.
9692
9693 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9696 `message-default-send-mail-function' and not `send-mail-function'
9697 when doing the prompting for `sendmail-query-once' before sending
9698 in Message buffers (bug#10897).
9699
9700 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9701 This is inconsistent with all the other stream functions, which leave
9702 the setting up to the higher levels (if so wanted) (bug#10931).
9703
9704 2012-03-02 Alan Mackenzie <acm@muc.de>
9705
9706 Depessimize the handling of very large macros.
9707
9708 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9709 (c-macro-cache-syntactic): New variables to implement a one
9710 element macro cache.
9711 (c-invalidate-macro-cache): New function.
9712 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9713 Adapt to use the new cache.
9714 (c-state-safe-place): Use better the cache of safe positions.
9715 (c-state-semi-nonlit-pos-cache)
9716 (c-state-semi-nonlit-pos-cache-limit):
9717 New variables for...
9718 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9719 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9720 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9721 Use c-state-semi-safe-place.
9722
9723 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9724 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9725
9726 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9727
9728 * jka-compr.el (jka-compr-call-process):
9729 Apply `file-accessible-directory-p' only when the default directory is
9730 not remote.
9731
9732 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9733
9734 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9735 access of FILE2, if FILE1 does not exist.
9736
9737 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9738 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9739
9740 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9741 Add "PAGER=" to `process-environment'.
9742
9743 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9744
9745 * progmodes/sql.el: Bug fix
9746 (sql-get-login-ext): Save login values in globals.
9747 (sql-get-login): Use new version of `sql-get-login-ext'.
9748 (sql-interactive-mode): Set global `sql-connection' to nil.
9749 (sql-connect): Set global values for connection.
9750 (sql-product-interactive): Save global values as buffer local.
9751
9752 2012-02-29 Leo Liu <sdl.web@gmail.com>
9753
9754 * abbrev.el (define-abbrevs): Reset sys to nil.
9755
9756 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9757
9758 * files.el (file-equal-p): Rename from `files-equal-p'.
9759 Return nil when one or both files don't exist.
9760 (file-subdir-of-p): Now only top directory must exists,
9761 return nil if it doesn't.
9762 (copy-directory): No need to test with `file-subdir-of-p' after
9763 creating dir.
9764 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9765 to `file-equal-p'.
9766
9767 2012-02-28 Glenn Morris <rgm@gnu.org>
9768
9769 * shell.el (shell-mode):
9770 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9771 * play/landmark.el (landmark-font-lock-face-O):
9772 * play/handwrite.el (handwrite):
9773 * play/gomoku.el (gomoku-O):
9774 * net/browse-url.el (browse-url-browser-display):
9775 * international/mule.el (define-charset):
9776 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9777 * filesets.el (filesets-find-file-delay):
9778 * eshell/em-xtra.el (eshell-xtra):
9779 * eshell/em-unix.el (eshell-grep):
9780 * emulation/viper.el (viper-mode):
9781 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9782 * emacs-lisp/easymenu.el (easy-menu-define):
9783 * calendar/timeclock.el (timeclock-use-display-time):
9784 * bs.el (bs-mode):
9785 * bookmark.el (bookmark-save-flag):
9786 Doc fix (standardize possessive apostrophe usage).
9787
9788 2012-02-27 Chong Yidong <cyd@gnu.org>
9789
9790 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9791 Fix key-binding lookup for ESC key (Bug#9146).
9792
9793 * font-lock.el (font-lock-specified-p): Rename from
9794 font-lock-spec-present. Callers changed.
9795
9796 2012-02-27 Daniel Hackney <dan@haxney.org>
9797
9798 * emacs-lisp/package.el (package-compute-transaction):
9799 Handle holding a package version to t in package-load-list.
9800
9801 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9804 (tramp-get-inode, tramp-get-device): Use cached values.
9805
9806 2012-02-26 Alan Mackenzie <acm@muc.de>
9807
9808 Check there is a font-lock specification before doing initial
9809 fontification.
9810
9811 * font-core.el (font-lock-mode): Move the conditional from
9812 :after-hook to font-lock-initial-fontify.
9813 (font-lock-default-function): Move the check for a specification
9814 to font-lock-spec-present.
9815
9816 * font-lock.el (font-lock-initial-fontify): Call ...
9817 (font-lock-spec-present): New function.
9818
9819 2012-02-26 Jim Blandy <jimb@red-bean.com>
9820
9821 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9822 (gdb-send): Apply it to the operand of the '-interpreter-exec
9823 console' command, so that we can pass arguments with (say) quotes
9824 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9825
9826 2012-02-26 Chong Yidong <cyd@gnu.org>
9827
9828 * help-fns.el (describe-function-1): Clarify description of
9829 remapping (Bug#10844).
9830
9831 * files.el (files-equal-p): Doc fix.
9832 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9833 and quit the loop once a mismatch is found.
9834
9835 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9836
9837 * bs.el (bs--show-with-configuration): Don't throw an error
9838 if the window cannot be split; otherwise, subsequent calls to
9839 bs-show fail, restoring a stale window config. (Bug#10882)
9840
9841 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9842
9843 * term/ns-win.el (global-map): Bind ns-drag-file to
9844 ns-find-file (Bug#5855, Bug#10050).
9845
9846 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * calendar/parse-time.el (parse-time-string): Allow extractor to
9849 return nil.
9850
9851 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9852
9853 * net/tramp.el (tramp-file-name-for-operation):
9854 Add `files-equal-p' and `file-subdir-of-p'.
9855
9856 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9857 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9858 Add COPY-CONTENTS argument.
9859
9860 2012-02-25 Chong Yidong <cyd@gnu.org>
9861
9862 Add custom groups for VC backends, for consistency with vc-bzr.
9863
9864 * vc/vc-arch.el (vc-arch):
9865 * vc/vc-cvs.el (vc-cvs):
9866 * vc/vc-git.el (vc-git):
9867 * vc/vc-hg.el (vc-hg):
9868 * vc/vc-mtn.el (vc-mtn):
9869 * vc/vc-rcs.el (vc-rcs):
9870 * vc/vc-sccs.el (vc-sccs):
9871 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9872 All relevant defcustoms reassigned.
9873
9874 2012-02-25 Chong Yidong <cyd@gnu.org>
9875
9876 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9877
9878 * term/x-win.el (x-initialize-window-system): Reduce default for
9879 x-selection-timeout to 5 seconds (Bug#8869).
9880
9881 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9882
9883 * files.el (files-equal-p, file-subdir-of-p): New functions.
9884 (copy-directory): Error when trying to copy a directory on itself.
9885 Add missing copy-contents arg to tramp handler.
9886 * dired-aux.el (dired-copy-file-recursive): Same.
9887 (dired-create-files): Modify destination when source is equal to
9888 dest when copying files.
9889 Return also when dest is a subdir of source. (Bug#10489)
9890
9891 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9892
9893 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9894 (Bug#10874)
9895
9896 2012-02-23 Alan Mackenzie <acm@muc.de>
9897
9898 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9899 parameter "after-hook:" to allow the expansion to run code after
9900 the execution of the mode hooks.
9901
9902 * font-lock.el (font-lock-initial-fontify): New function extracted
9903 from font-lock-mode-internal.
9904
9905 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9906 :after-hook.
9907
9908 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9909
9910 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9911 (completion--cache-all-sorted-completions): New function.
9912 (completion-all-sorted-completions): Use it.
9913 (completion--do-completion, minibuffer-force-complete):
9914 Use it to re-instate the flush hook.
9915
9916 * icomplete.el (icomplete-completions): Replace last fix with a better
9917 one (bug#10850).
9918
9919 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9920
9921 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9922 when it might call us back infinitely (bug#10797).
9923
9924 2012-02-23 Glenn Morris <rgm@gnu.org>
9925
9926 * minibuffer.el (completion-category-overrides): Doc fix.
9927
9928 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9929
9930 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9931 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9932
9933 2012-02-23 Glenn Morris <rgm@gnu.org>
9934
9935 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9936 (authors-obsolete-files-regexps, authors-ignored-files)
9937 (authors-ambiguous-files, authors-renamed-files-alist):
9938 Add more entries.
9939
9940 2012-02-23 Juri Linkov <juri@jurta.org>
9941
9942 * isearch.el (isearch-occur): Sync interactive spec with occur's
9943 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9944
9945 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9946
9947 2012-02-22 Juri Linkov <juri@jurta.org>
9948
9949 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9950 (ucs-insert): Doc fix. Check for hex digits in the string.
9951 Don't display `nil' in the error message. (Bug#10857)
9952
9953 2012-02-22 Alan Mackenzie <acm@muc.de>
9954
9955 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9956
9957 2012-02-22 Glenn Morris <rgm@gnu.org>
9958
9959 * ffap.el (ffap-c-path):
9960 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9961
9962 2012-02-22 Chong Yidong <cyd@gnu.org>
9963
9964 * custom.el (load-theme): Doc fix.
9965
9966 2012-02-22 Glenn Morris <rgm@gnu.org>
9967
9968 * dired-x.el (dired-guess-shell-alist-default):
9969 Remove escape sequences from nroff output. (Bug#172)
9970
9971 2012-02-21 Glenn Morris <rgm@gnu.org>
9972
9973 * vc/emerge.el (emerge-defvar-local):
9974 Set `permanent-local' property rather than unused `preserved'.
9975
9976 * textmodes/picture.el (picture-delete-char): New alias.
9977 (picture-mode-map): Use it. (Bug#10860)
9978 (picture-mode): Doc fix.
9979
9980 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9981
9982 * newcomment.el (uncomment-region-default): Remove unused binding.
9983
9984 2012-02-21 Glenn Morris <rgm@gnu.org>
9985
9986 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9987 (picture-self-insert, picture-tab-chars): Doc fix.
9988 (picture-mode-map): Fix C-a, C-e.
9989
9990 2012-02-20 Glenn Morris <rgm@gnu.org>
9991
9992 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9993
9994 2012-02-20 Leo Liu <sdl.web@gmail.com>
9995
9996 * icomplete.el (icomplete-completions): Check FROM arg before
9997 passing to substring (Bug#10850).
9998
9999 2012-02-19 Chong Yidong <cyd@gnu.org>
10000
10001 * comint.el: Require ansi-color.
10002 (comint-output-filter-functions): Add ansi-color-process-output.
10003
10004 * ansi-color.el: Don't set comint-output-filter-functions; it is
10005 now in the initial value defined in comint.el.
10006 (ansi-color-apply-face-function): New variable.
10007 (ansi-color-apply-on-region): Use it.
10008 (ansi-color-apply-overlay-face): New function.
10009
10010 * shell.el (shell): No need to require ansi-color.
10011 (shell-mode): Use ansi-color-apply-face-function to highlight
10012 color escapes using font-lock-face property (Bug#10835).
10013
10014 2012-02-19 Chong Yidong <cyd@gnu.org>
10015
10016 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10017 mode-line formats (Bug#10839).
10018
10019 2012-02-18 Glenn Morris <rgm@gnu.org>
10020
10021 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10022
10023 * mail/undigest.el (unforward-rmail-message): Doc fix.
10024
10025 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10026
10027 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10028
10029 * international/characters.el (script-list): Sync with the latest
10030 Unicode Character Database.
10031
10032 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10033
10034 * international/titdic-cnv.el: Remove duplicate coding tag.
10035 * language/cham.el: Likewise.
10036 * language/tai-viet.el: Likewise.
10037
10038 2012-02-18 Glenn Morris <rgm@gnu.org>
10039
10040 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10041 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10042 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10043 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10044 * calendar/holidays.el (holiday-bahai-holidays)
10045 (calendar-holidays, list-holidays):
10046 Use utf-8 Bahá'í in doc-strings, menus, etc.
10047
10048 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10049
10050 * saveplace.el (save-place-ignore-files-regexp): New variable
10051 allowing for excluding files from saving their location of point.
10052 The default value matches the temporary commit message editing
10053 files from Git, SVN, Bazaar, and Mercurial.
10054 (save-place-to-alist): Use it.
10055
10056 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10057 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 * newcomment.el (uncomment-region-default): Don't leave extra space
10060 when an arg is provided (bug#8150).
10061
10062 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10063
10064 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10065
10066 2012-02-17 Glenn Morris <rgm@gnu.org>
10067
10068 * net/socks.el: Require network-stream. (Bug#10599)
10069
10070 2012-02-17 Kenichi Handa <handa@m17n.org>
10071
10072 * international/charprop.el:
10073 * international/uni-name.el:
10074 * international/uni-old-name.el:
10075 * international/uni-comment.el: Regenerate.
10076
10077 2012-02-16 Glenn Morris <rgm@gnu.org>
10078
10079 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10080 Interactively in calendar buffer, give an error if not on a date.
10081
10082 2012-02-15 Glenn Morris <rgm@gnu.org>
10083
10084 * shell.el (shell-delimiter-argument-list):
10085 Revert 2011-02-17 change. (Bug#8027)
10086
10087 2012-02-15 Chong Yidong <cyd@gnu.org>
10088
10089 * minibuffer.el (completion-at-point-functions): Doc fix.
10090
10091 * custom.el (defcustom): Doc fix; note use of defvar.
10092
10093 2012-02-15 Glenn Morris <rgm@gnu.org>
10094
10095 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10096 Doc fixes.
10097
10098 2012-02-14 Glenn Morris <rgm@gnu.org>
10099
10100 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10101
10102 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10103
10104 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10105 way the ports list is computed.
10106 (smtpmail-query-smtp-server): Prompt the user for a port number if
10107 we can't connect to any of the standard ports (bug#10810).
10108
10109 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10110
10111 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10112
10113 2012-02-13 Glenn Morris <rgm@gnu.org>
10114
10115 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10116
10117 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10118
10119 * net/gnutls.el (gnutls-trustfiles): New variable.
10120 (gnutls-negotiate): Use it.
10121
10122 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10123
10124 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10125 does its stuff if Gnus is running.
10126
10127 2012-02-13 Alan Mackenzie <acm@muc.de>
10128
10129 Fix a loop in c-set-fl-decl-start.
10130
10131 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10132 c-backward-syntactic-ws actually moves backwards.
10133
10134 2012-02-13 Leo Liu <sdl.web@gmail.com>
10135
10136 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10137 beginning so that all \C-o chars are removed.
10138
10139 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10140
10141 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10142
10143 2012-02-12 Alan Mackenzie <acm@muc.de>
10144
10145 Fix infinite loop with long macros.
10146 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10147
10148 2012-02-12 Chong Yidong <cyd@gnu.org>
10149
10150 * window.el (display-buffer): Doc fix (Bug#10785).
10151
10152 2012-02-12 Glenn Morris <rgm@gnu.org>
10153
10154 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10155 (x-disown-selection-internal, x-get-selection-internal):
10156 Sync docs with the xselect.c versions.
10157
10158 * allout-widgets.el: Add missing license notice.
10159
10160 2012-02-11 Glenn Morris <rgm@gnu.org>
10161
10162 * select.el (x-get-selection-internal, x-own-selection-internal)
10163 (x-disown-selection-internal):
10164 * x-dnd.el (x-get-selection-internal): Update declarations.
10165
10166 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10167
10168 * window.el (window-sides-slots):
10169 * tool-bar.el (tool-bar-position):
10170 * term/xterm.el (xterm-extra-capabilities):
10171 * ses.el (ses-self-reference-early-detection):
10172 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10173 (verilog-auto-wire-type)
10174 (verilog-auto-delete-trailing-whitespace)
10175 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10176 (verilog-auto-tieoff-declaration):
10177 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10178 (sql-oracle-statement-starters, sql-oracle-scan-on):
10179 * progmodes/prolog.el (prolog-align-comments-flag)
10180 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10181 (prolog-left-indent-regexp, prolog-paren-indent-p)
10182 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10183 (prolog-types, prolog-mode-specificators)
10184 (prolog-determinism-specificators, prolog-directives)
10185 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10186 (prolog-electric-dot-flag)
10187 (prolog-electric-dot-full-predicate-template)
10188 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10189 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10190 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10191 (prolog-program-switches, prolog-prompt-regexp)
10192 (prolog-debug-on-string, prolog-debug-off-string)
10193 (prolog-trace-on-string, prolog-trace-off-string)
10194 (prolog-zip-on-string, prolog-zip-off-string)
10195 (prolog-use-standard-consult-compile-method-flag)
10196 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10197 (prolog-imenu-max-lines, prolog-info-predicate-index)
10198 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10199 (prolog-char-quote-workaround):
10200 * progmodes/cc-vars.el (c-defun-tactic):
10201 * net/tramp.el (tramp-encoding-command-interactive)
10202 (tramp-local-end-of-line):
10203 * net/soap-client.el (soap-client):
10204 * net/netrc.el (netrc-file):
10205 * net/gnutls.el (gnutls):
10206 * minibuffer.el (completion-category-overrides)
10207 (completion-cycle-threshold)
10208 (completion-pcm-complete-word-inserts-delimiters):
10209 * man.el (Man-name-local-regexp):
10210 * mail/feedmail.el (feedmail-display-full-frame):
10211 * international/characters.el (glyphless-char-display-control):
10212 * eshell/em-ls.el (eshell-ls-date-format):
10213 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10214 (lisp-lambda-list-keyword-parameter-indentation)
10215 (lisp-lambda-list-keyword-parameter-alignment):
10216 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10217 * dired-x.el (dired-omit-verbose):
10218 * cus-theme.el (custom-theme-allow-multiple-selections):
10219 * calc/calc.el (calc-highlight-selections-with-faces)
10220 (calc-lu-field-reference, calc-lu-power-reference)
10221 (calc-note-threshold):
10222 * battery.el (battery-mode-line-limit):
10223 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10224 (archive-7z-update):
10225 * allout.el (allout-prefixed-keybindings)
10226 (allout-unprefixed-keybindings)
10227 (allout-inhibit-auto-fill-on-headline)
10228 (allout-flattened-numbering-abbreviation):
10229 * allout-widgets.el (allout-widgets-auto-activation)
10230 (allout-widgets-icons-dark-subdir)
10231 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10232 (allout-widgets-theme-dark-background)
10233 (allout-widgets-theme-light-background)
10234 (allout-widgets-item-image-properties-emacs)
10235 (allout-widgets-item-image-properties-xemacs)
10236 (allout-widgets-run-unit-tests-on-load)
10237 (allout-widgets-time-decoration-activity)
10238 (allout-widgets-hook-error-post-time)
10239 (allout-widgets-track-decoration):
10240 Add missing :version tags to new defcustoms and defgroups.
10241
10242 * progmodes/sql.el (sql-ansi-statement-starters)
10243 (sql-oracle-statement-starters): Add custom type.
10244
10245 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10246 (prolog-system-version): Give it a type.
10247
10248 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10249
10250 * term/pc-win.el (x-select-text, x-selection-owner-p)
10251 (x-own-selection-internal, x-disown-selection-internal)
10252 (x-get-selection-internal): Sync doc strings and argument lists
10253 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10254
10255 2012-02-11 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/python.el (python-end-of-statement): Fix infinite
10258 loop. (Bug#10788)
10259
10260 2012-02-10 Glenn Morris <rgm@gnu.org>
10261
10262 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10263 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10264
10265 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10266
10267 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10268 about SMTP before checking the From header.
10269
10270 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10271 into own function for reuse by emacsbug.el.
10272
10273 2012-02-10 Leo Liu <sdl.web@gmail.com>
10274
10275 * subr.el (condition-case-unless-debug): Rename from
10276 condition-case-no-debug. All callers changed.
10277 (with-demoted-errors): Fix caller.
10278
10279 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10280 * nxml/rng-valid.el (rng-do-some-validation):
10281 * emacs-lisp/package.el (package-refresh-contents)
10282 (package-menu-execute):
10283 * desktop.el (desktop-create-buffer):
10284 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10285
10286 2012-02-10 Glenn Morris <rgm@gnu.org>
10287
10288 * textmodes/bibtex.el:
10289 Add missing :version tags for new/changed defcustoms.
10290
10291 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10292
10293 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10294
10295 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10296 (smtpmail-via-smtp): Use it, or fall back on the From address.
10297 (smtpmail-send-it): Ditto.
10298
10299 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10302 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10303 (byte-compile-tmp-var): New const.
10304 (byte-compile-defvar): Use it to minimize .elc size.
10305 Just use `defvar' rather than simulate it (bug#10761).
10306
10307 2012-02-09 Glenn Morris <rgm@gnu.org>
10308
10309 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10310
10311 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10312 Add :version tags.
10313
10314 * progmodes/compile.el (compilation-error-screen-columns)
10315 (compilation-first-column, compilation-filter-start): Doc fixes.
10316
10317 * vc/log-view.el (log-view-toggle-entry-display):
10318 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10319
10320 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10321 (report-emacs-bug-can-use-xdg-email):
10322 (report-emacs-bug-insert-to-mailer): Doc fixes.
10323 (report-emacs-bug): Message fix.
10324
10325 * net/browse-url.el (browse-url-can-use-xdg-open)
10326 (browse-url-xdg-open): Doc fixes.
10327
10328 * electric.el (electric-indent-mode, electric-pair-mode)
10329 (electric-layout-rules, electric-layout-mode): Doc fixes.
10330 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10331
10332 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10333
10334 * server.el (server-unselect-display): Don't inadvertently kill
10335 the current buffer. (Bug#10729)
10336
10337 2012-02-08 Glenn Morris <rgm@gnu.org>
10338
10339 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10340 (sql-list-table): Doc fixes.
10341
10342 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10343 Comment out (does nothing).
10344
10345 * completion.el (dynamic-completion-mode):
10346 * dirtrack.el (dirtrack-debug-mode):
10347 * electric.el (electric-layout-mode):
10348 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10349 * face-remap.el (text-scale-mode, buffer-face-mode):
10350 * iimage.el (iimage-mode):
10351 * image-mode.el (image-transform-mode):
10352 * minibuffer.el (completion-in-region-mode):
10353 * scroll-lock.el (scroll-lock-mode):
10354 * simple.el (next-error-follow-minor-mode):
10355 * tar-mode.el (tar-subfile-mode):
10356 * tooltip.el (tooltip-mode):
10357 * vcursor.el (vcursor-use-vcursor-map):
10358 * wid-browse.el (widget-minor-mode):
10359 * emulation/tpu-edt.el (tpu-edt-mode):
10360 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10361 * international/iso-ascii.el (iso-ascii-mode):
10362 * language/thai-util.el (thai-word-mode):
10363 * mail/supercite.el (sc-minor-mode):
10364 * net/goto-addr.el (goto-address-mode):
10365 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10366 * progmodes/cwarn.el (cwarn-mode):
10367 * progmodes/flymake.el (flymake-mode):
10368 * progmodes/glasses.el (glasses-mode):
10369 * progmodes/hideshow.el (hs-minor-mode):
10370 * progmodes/pascal.el (pascal-outline-mode):
10371 * textmodes/enriched.el (enriched-mode):
10372 * vc/smerge-mode.el (smerge-mode):
10373 Doc fixes (minor mode argument).
10374
10375 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10376
10377 * ls-lisp.el (ls-lisp-sanitize): New function.
10378 (ls-lisp-insert-directory): Use it to fix or remove any elements
10379 in file-alist with missing attributes. (Bug#4673)
10380
10381 2012-02-07 Alan Mackenzie <acm@muc.de>
10382
10383 Fix spurious recognition of c-in-knr-argdecl.
10384
10385 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10386 putative K&R region.
10387
10388 2012-02-07 Alan Mackenzie <acm@muc.de>
10389
10390 * progmodes/cc-engine.el (c-forward-objc-directive):
10391 Prevent looping in "#pragma mark @implementation".
10392
10393 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10394
10395 * notifications.el (notifications-on-closed-signal): Make `reason'
10396 optional. (Bug#10744)
10397
10398 2012-02-07 Glenn Morris <rgm@gnu.org>
10399
10400 * emacs-lisp/easy-mmode.el (define-minor-mode):
10401 Doc fixes for the macro and the mode it defines.
10402
10403 * image.el (imagemagick-types-inhibit): Doc fix.
10404
10405 * cus-start.el (imagemagick-render-type): Add it.
10406
10407 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10408
10409 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10410 Set the default at load time, too, so that `font-lock-fontify-buffer'
10411 can be called without setting up the entire mode first. This fixes
10412 a bug in `mm-inline-text' with C MIME parts.
10413
10414 2012-02-06 Chong Yidong <cyd@gnu.org>
10415
10416 * simple.el (list-processes--refresh): Delete exited processes
10417 (Bug#8094).
10418
10419 * comint.el (comint-next-prompt): next-single-char-property-change
10420 and prev-single-char-property-change never return nil (Bug#8657).
10421
10422 * custom.el (defcustom): Doc fix (Bug#9711).
10423
10424 2012-02-05 Chong Yidong <cyd@gnu.org>
10425
10426 * cus-edit.el (custom-variable-reset-backup): Quote the value
10427 before storing it in the customized-value property (Bug#6712).
10428 (custom-display): Add a customization type tag.
10429 (custom-buffer-create-internal): Improve tooltip message.
10430
10431 * wid-edit.el (widget-field-value-get): New optional arg to
10432 suppress trailing whitespace truncation.
10433 (character): Use it (Bug#2689).
10434
10435 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10436
10437 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10438 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10439
10440 2012-02-05 Chong Yidong <cyd@gnu.org>
10441
10442 * cus-edit.el (custom-variable-value-create): For mismatched
10443 types, show the current value (Bug#7600).
10444
10445 * custom.el (defcustom): Doc fix.
10446
10447 2012-02-05 Glenn Morris <rgm@gnu.org>
10448
10449 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10450
10451 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10452
10453 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10454 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10455 (pp-last-sexp): Use `looking-at-p'.
10456
10457 2012-02-04 Glenn Morris <rgm@gnu.org>
10458
10459 * files.el (revert-buffer):
10460 Doc fix (mention revert-buffer-in-progress-p).
10461
10462 * emacs-lisp/ert-x.el (ert-simulate-command):
10463 Check deferred-action-list (which is obsolete) is bound.
10464
10465 * subr.el (with-wrapper-hook): Doc fixes.
10466
10467 * simple.el (filter-buffer-substring-functions)
10468 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10469
10470 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10471
10472 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10473 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10474
10475 2012-02-04 Leo Liu <sdl.web@gmail.com>
10476
10477 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10478
10479 2012-02-04 Glenn Morris <rgm@gnu.org>
10480
10481 * image.el (image-extension-data): Add obsolete alias.
10482
10483 * isearch.el (isearch-update): Doc fix.
10484
10485 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10486
10487 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10488
10489 2012-02-03 Glenn Morris <rgm@gnu.org>
10490
10491 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10492 (image-animate-timeout): Doc fix.
10493
10494 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10495
10496 2012-02-02 Glenn Morris <rgm@gnu.org>
10497
10498 * server.el (server-auth-dir): Doc fix.
10499 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10500
10501 * subr.el (run-mode-hooks): Doc fix.
10502
10503 2012-02-02 Juri Linkov <juri@jurta.org>
10504
10505 * image-mode.el (image-toggle-display-image): Remove tautological
10506 `major-mode' from the `derived-mode-p' test.
10507
10508 2012-02-02 Kenichi Handa <handa@m17n.org>
10509
10510 * composite.el (compose-region): Cancel previous change.
10511
10512 2012-02-02 Kenichi Handa <handa@m17n.org>
10513
10514 * composite.el (compose-region, compose-string): Signal error for
10515 a null string component (Bug#6988).
10516
10517 2012-02-01 Chong Yidong <cyd@gnu.org>
10518
10519 * view.el (view-buffer-other-window, view-buffer-other-frame):
10520 Handle special modes like view-buffer (Bug#10650).
10521 (view-buffer): Simplify.
10522
10523 * frame.el (set-frame-font): Tweak meaning of third argument.
10524
10525 * dynamic-setting.el (font-setting-change-default-font):
10526 Use set-frame-font (Bug#9982).
10527
10528 2012-02-01 Glenn Morris <rgm@gnu.org>
10529
10530 * progmodes/compile.el (compilation-internal-error-properties):
10531 Respect compilation-first-column in the "*compilation*" buffer.
10532
10533 * emacs-lisp/easy-mmode.el (define-minor-mode):
10534 Relax :variable's test for a named function.
10535
10536 2012-01-31 Alan Mackenzie <acm@muc.de>
10537
10538 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10539 off by one error.
10540
10541 2012-01-31 Chong Yidong <cyd@gnu.org>
10542
10543 * frame.el (set-frame-font): New arg ALL-FRAMES.
10544
10545 * menu-bar.el (menu-set-font): Use set-frame-font.
10546
10547 * faces.el (face-spec-reset-face): Don't apply unspecified
10548 attribute values to the default face.
10549
10550 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10551
10552 * progmodes/cwarn.el (cwarn): Remove dead link.
10553 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10554 Remove * from defcustom docstrings.
10555 (turn-on-cwarn-mode): Make obsolete.
10556 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10557 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10558
10559 2012-01-31 Glenn Morris <rgm@gnu.org>
10560
10561 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10562 Fix :variable handling of mode a symbol not equal to modefun.
10563 Allow named functions to be used as the cdr of :variable.
10564
10565 2012-01-30 Glenn Morris <rgm@gnu.org>
10566
10567 * emacs-lisp/authors.el (authors-fixed-entries):
10568 Remove reference to deleted file rnewspost.el.
10569
10570 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10571
10572 * window.el (window-with-parameter): Remove unused variable `windows'.
10573 (window--side-check): Remove unused variable `code'.
10574 (window--resize-siblings): Remove unused variable `first'.
10575 (adjust-window-trailing-edge): Remove unused variable `failed'.
10576 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10577 Use `let', not `let*'.
10578 (balance-windows-2): Remove unused variable `found'.
10579 (window--state-put-2): Remove unused variable `splits'.
10580 (window-state-put): Remove unused variable `selected'.
10581 (same-window-p): Use `string-match-p'.
10582 (display-buffer-assq-regexp): Remove unused variable `value'.
10583 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10584 Mark argument ALIST as ignored.
10585 (pop-to-buffer): Remove unused variable `old-window'.
10586
10587 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10588
10589 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10590 and .lzma compressed files.
10591
10592 2012-01-29 Chong Yidong <cyd@gnu.org>
10593
10594 * frame.el (window-system-default-frame-alist): Doc fix.
10595
10596 * dynamic-setting.el (font-setting-change-default-font): Don't
10597 change the default face if SET-FONT argument is non-nil (Bug#9982).
10598
10599 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10600
10601 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10602
10603 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10604
10605 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10606 breakpoints in files outside current directory (Bug#6098).
10607
10608 2012-01-29 Chong Yidong <cyd@gnu.org>
10609
10610 * progmodes/python.el: Require ansi-color at top-level.
10611
10612 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10613 Define and use in Emacs Lisp mode (Bug#9360).
10614 (lisp-mode-abbrev-table): Add doc.
10615 (lisp-mode-variables): Don't set local-abbrev-table.
10616 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10617
10618 2012-01-28 Roland Winkler <winkler@gnu.org>
10619
10620 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10621
10622 2012-01-28 Roland Winkler <winkler@gnu.org>
10623
10624 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10625 (bibtex-set-dialect): Use it. Either set global values of
10626 dialect-dependent variables or bind these variables buffer-locally
10627 (Bug#10254).
10628 (bibtex-mode): Call bibtex-set-dialect via
10629 hack-local-variables-hook.
10630 (bibtex-dialect): Update docstring.
10631 Add safe-local-variable predicate.
10632 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10633 bibtex-set-dialect.
10634 (bibtex-mode-map): Define menu for each dialect.
10635 (bibtex-entry): Fix docstring.
10636
10637 2012-01-28 Chong Yidong <cyd@gnu.org>
10638
10639 * eshell/esh-arg.el (eshell-quote-argument): New function.
10640
10641 * eshell/esh-ext.el (eshell-invoke-batch-file):
10642 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10643 first arg to eshell-parse-command (Bug#10523).
10644
10645 2012-01-28 Drew Adams <drew.adams@oracle.com>
10646
10647 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10648 `default-directory' is non-nil.
10649
10650 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10651
10652 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10653 line that displays system-configuration-options. (Bug#9924)
10654
10655 2012-01-28 Drew Adams <drew.adams@oracle.com>
10656
10657 * descr-text.el (describe-char): Show information about POS, in
10658 addition to information about the character at POS. Improve and
10659 update the doc string. Change "code point" to "code point in
10660 charset", to avoid confusion with the character's Unicode code
10661 point shown above that. (Bug#10129)
10662
10663 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10664
10665 * descr-text.el (describe-char): Show the raw character, not only
10666 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10667 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10668 for the reasons.
10669
10670 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10671
10672 * emacs-lisp/package.el (package-install):
10673 Run package-refresh-contents if there is no archive yet (Bug#9798).
10674
10675 2012-01-28 Chong Yidong <cyd@gnu.org>
10676
10677 * emacs-lisp/package.el (package-maybe-load-descriptor):
10678 New function, split from package-maybe-load-descriptor.
10679 (package-maybe-load-descriptor): Use it.
10680 (package-download-transaction): Fully load required packages
10681 inside the loop, so that `require' calls work (Bug#10593).
10682 (package-install): No need to call package-initialize now.
10683
10684 2012-01-28 Chong Yidong <cyd@gnu.org>
10685
10686 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10687
10688 * tooltip.el (tooltip-mode): Doc fix.
10689 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10690
10691 * frame.el (set-cursor-color): Doc fix (Bug#352).
10692
10693 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10694 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10695
10696 * cus-edit.el (custom-buffer-create-internal): Fix search button
10697 action (Bug#10542).
10698 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10699
10700 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10701
10702 * dired.el (dired-mark-files-regexp):
10703 Include any subdirectory components. (Bug#10445)
10704
10705 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10706
10707 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10708 Handle [host]:port syntax. (Bug#10533)
10709
10710 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10711
10712 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10713
10714 2012-01-26 Glenn Morris <rgm@gnu.org>
10715
10716 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10717 * term.el (term-raw-escape-map): Use Control-X-prefix.
10718 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10719
10720 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10721
10722 * window.el (window-state-get, window--state-get-1): Don't deal
10723 with fixed-sizeness of windows. Simplify code.
10724
10725 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10726
10727 * window.el (window--state-get-1, window--state-put-2):
10728 Don't save and restore the mark.
10729
10730 2012-01-25 Chong Yidong <cyd@gnu.org>
10731
10732 * custom.el (custom-variable-p): Doc fix.
10733
10734 2012-01-25 Glenn Morris <rgm@gnu.org>
10735
10736 * dired.el (dired-goto-file): Handle some of the more common
10737 characters that `ls -b' escapes. (Bug#10596)
10738
10739 * progmodes/compile.el (compilation-next-error-function):
10740 Respect compilation-first-column in the "*compilation*" buffer.
10741 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10742
10743 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10744
10745 2012-01-24 Glenn Morris <rgm@gnu.org>
10746
10747 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10748
10749 2012-01-24 Julien Danjou <julien@danjou.info>
10750
10751 * color.el (color-rgb-to-hsl): Fix value computing.
10752 (color-hue-to-rgb): New function.
10753 (color-hsl-to-rgb): New function.
10754 (color-clamp, color-saturate-hsl, color-saturate-name)
10755 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10756 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10757
10758 2012-01-24 Glenn Morris <rgm@gnu.org>
10759
10760 * vc/vc-rcs.el (vc-rcs-create-tag):
10761 * vc/vc-sccs.el (vc-sccs-create-tag):
10762 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10763
10764 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10765
10766 * eshell/esh-util.el (eshell-read-hosts-file):
10767 Skip comment lines. (Bug#10549)
10768
10769 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10770
10771 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * subr.el (display-delayed-warnings): Doc fix.
10774 (collapse-delayed-warnings): New function to collapse identical
10775 adjacent warnings.
10776 (delayed-warnings-hook): Add it.
10777
10778 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10779
10780 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10781
10782 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10783 (tramp-default-user-alist): Don't add "pscp".
10784 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10785 property "login-as", if set. (Bug#10530)
10786
10787 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10788
10789 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10790 "plink1" and "psftp". (Bug#10530)
10791
10792 2012-01-21 Kenichi Handa <handa@m17n.org>
10793
10794 * international/mule-cmds.el (prefer-coding-system): Show a
10795 warning message if the default value of file-name-coding-system
10796 was not changed.
10797
10798 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10799
10800 * windmove.el (windmove-reference-loc):
10801 Fix windmove-reference-loc miscalculation.
10802
10803 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10804
10805 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10806 default unit.
10807
10808 2012-01-21 Glenn Morris <rgm@gnu.org>
10809
10810 * international/mule.el (auto-coding-alist): Add .tbz.
10811
10812 * files.el (local-enable-local-variables): Doc fix.
10813 (inhibit-local-variables-regexps): Rename from
10814 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10815 Doc fix. Add some extensions from auto-coding-alist.
10816 (inhibit-local-variables-suffixes):
10817 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10818 (inhibit-local-variables-p):
10819 New function, extracted from set-auto-mode-1.
10820 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10821 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10822 (hack-local-variables): Doc fix. Make the mode-only case
10823 respect enable-local-variables and friends.
10824 Respect inhibit-local-variables-regexps for file-locals, but
10825 not for directory-locals.
10826 (set-visited-file-name):
10827 Take account of inhibit-local-variables-regexps.
10828 Whether it applies may change as the file name is changed.
10829 * jka-cmpr-hook.el (jka-compr-install):
10830 * jka-compr.el (jka-compr-uninstall):
10831 Update for inhibit-first-line-modes-suffixes name change.
10832
10833 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10834
10835 * help-macro.el (make-help-screen): Temporarily restore original
10836 binding for minor-mode-map-alist (Bug#10454).
10837
10838 2012-01-19 Julien Danjou <julien@danjou.info>
10839
10840 * color.el (color-name-to-rgb): Use the white color to find the max
10841 color component value and return correctly computed values.
10842 (color-name-to-rgb): Add missing float conversion for max value.
10843
10844 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10845
10846 * window.el (window--state-get-1, window-state-get): Do not use
10847 special state value for window-persistent-parameters.
10848 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10849 (window--state-put-2): Reset all window parameters to nil before
10850 assigning values of persistent parameters.
10851
10852 2012-01-18 Alan Mackenzie <acm@muc.de>
10853
10854 Eliminate sluggishness and hangs in fontification of "semicolon
10855 deserts".
10856
10857 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10858 Change value 10000 -> 3000.
10859 (c-state-safe-place): Reformulate so it doesn't stack up an
10860 infinite number of wrong entries in c-state-nonlit-pos-cache.
10861 (c-determine-limit-get-base, c-determine-limit): New functions to
10862 determine backward search limits disregarding literals.
10863 (c-find-decl-spots): Amend commenting.
10864 (c-cheap-inside-bracelist-p): New function which detects "={".
10865
10866 * progmodes/cc-fonts.el
10867 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10868 backward search.
10869 (c-font-lock-declarations): Fix an occurrence of point being
10870 undefined. Check additionally for point being in a bracelist or
10871 near a macro invocation without a semicolon so as to avoid a
10872 fruitless time consuming search for a declarator. Give a more
10873 precise search limit for declarators using the new
10874 c-determine-limit.
10875
10876 2012-01-18 Glenn Morris <rgm@gnu.org>
10877
10878 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10879 (set-auto-mode): Doc fixes.
10880
10881 2012-01-17 Glenn Morris <rgm@gnu.org>
10882
10883 * isearch.el (search-nonincremental-instead): Fix doc typo.
10884
10885 * dired.el (dired-insert-directory): Handle newlines in directory name.
10886 (dired-build-subdir-alist): Unescape newlines in directory name.
10887
10888 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10889
10890 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10891 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10892 (tramp-action-terminal): Use it. (Bug#10530)
10893
10894 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10897
10898 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (window-state-ignored-parameters): Remove variable.
10901 (window--state-get-1): Rename argument MARKERS to IGNORE.
10902 Handle persistent window parameters. Make copy of clone-of
10903 parameter only if requested. (Bug#10348)
10904 (window--state-put-2): Install a window parameter only if it has
10905 a non-nil value or an existing parameter shall be overwritten.
10906
10907 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10908
10909 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10910
10911 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10912
10913 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10914 don't pass the (nil) value of `upnode' to string-match.
10915
10916 2012-01-14 Chong Yidong <cyd@gnu.org>
10917
10918 * startup.el (command-line): Fix X resource class for cursorColor.
10919 Fix values recognized by the cursorBlink resource.
10920
10921 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10922
10923 * epg.el (epg--make-temp-file): Avoid permission race condition
10924 when running on old Emacs versions (bug#10403).
10925
10926 2012-01-14 Glenn Morris <rgm@gnu.org>
10927
10928 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10929
10930 2012-01-13 Alan Mackenzie <acm@muc.de>
10931
10932 Fix filling for when filladapt mode is enabled.
10933
10934 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10935 c-mask-paragraph, pass in `fill-paragraph' rather than
10936 `fill-region-as-paragraph'. (This is a reversion of a previous
10937 change.)
10938 * progmodes/cc-mode.el (c-basic-common-init):
10939 Make fill-paragraph-handle-comment buffer local and set it to nil.
10940
10941 2012-01-13 Glenn Morris <rgm@gnu.org>
10942
10943 * dired.el (dired-switches-escape-p): New function.
10944 (dired-insert-directory): Use dired-switches-escape-p.
10945 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10946
10947 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10948
10949 2012-01-12 Glenn Morris <rgm@gnu.org>
10950
10951 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10952 changes in adaptive-fill-regexp. (Bug#10276)
10953
10954 2012-01-11 Alan Mackenzie <acm@muc.de>
10955
10956 Fix Emacs bug #10463 - put `widen's around the critical spots.
10957
10958 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10959 widen around each invocation of c-state-pp-to-literal. Remove an
10960 unused let variable.
10961
10962 2012-01-11 Glenn Morris <rgm@gnu.org>
10963
10964 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10965 Doc fix.
10966
10967 2012-01-10 Chong Yidong <cyd@gnu.org>
10968
10969 * net/network-stream.el (network-stream-open-starttls):
10970 Avoid emitting a confusing error message when the server gives a bad
10971 response to the capability command.
10972
10973 2012-01-10 Glenn Morris <rgm@gnu.org>
10974
10975 * mail/unrmail.el (unrmail): Tweak previous change.
10976
10977 2012-01-09 Chong Yidong <cyd@gnu.org>
10978
10979 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10980
10981 2012-01-08 Alan Mackenzie <acm@muc.de>
10982
10983 Optimise font locking in long enum definitions.
10984
10985 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10986 arm to a cond form to handle enums.
10987 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10988 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10989
10990 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10991
10992 * files.el (move-file-to-trash): Preserve default file modes on error.
10993 (Bug#10401)
10994
10995 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996
10997 * faces.el (set-face-attribute): Clarify the meaning of the nil
10998 frame (bug#10294).
10999
11000 * subr.el (with-selected-frame): Mention that the selected frame
11001 is restored (bug#9980).
11002
11003 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11004 (bug#9759).
11005
11006 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11007 (password-read): Don't autoload unused function.
11008
11009 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * progmodes/which-func.el (which-func-mode): Turn into a
11012 non-interactive function and mark as obsolete (bug#10428).
11013
11014 2012-01-06 Chong Yidong <cyd@gnu.org>
11015
11016 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11017 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11018 functions, along with 1 and -1.
11019
11020 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11021
11022 * time.el (display-time-load-average)
11023 (display-time-default-load-average): Doc fixes. See the thread
11024 starting at
11025 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11026 for the details.
11027
11028 2012-01-06 Glenn Morris <rgm@gnu.org>
11029
11030 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11031 has no messages. (Bug#10377)
11032
11033 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11034 than Info-edit. (Bug#10385)
11035
11036 * time.el (display-time-load-average, display-time-next-load-average):
11037 Doc fixes.
11038
11039 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11040 local setting of buffer-read-only to the input buffer. (Bug#10419)
11041
11042 * calendar/calendar.el (calendar-mode):
11043 Locally set scroll-margin to 0. (Bug#10379)
11044
11045 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11046
11047 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11048
11049 2012-01-05 Glenn Morris <rgm@gnu.org>
11050
11051 * eshell/em-unix.el (diff-no-select): Autoload it.
11052 (eshell/diff): Use diff-no-select. (Bug#10420)
11053
11054 2012-01-05 Chong Yidong <cyd@gnu.org>
11055
11056 * shell.el (shell-dynamic-complete-functions): Revert last change.
11057 (shell-command-completion-function): New function.
11058 (shell-completion-vars): Use it to implement
11059 shell-completion-execonly (Bug#10417).
11060
11061 * custom.el (enable-theme): Don't set custom-safe-themes.
11062
11063 * cus-theme.el (custom-theme-merge-theme):
11064 Ignore custom-enabled-themes and custom-safe-themes.
11065
11066 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11067
11068 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11069 first prompt in `sql-interacive-mode'.
11070 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11071 keywords.
11072 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11073 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11074 context of original buffer. Invoke `sql-login-hook'.
11075
11076 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11077
11078 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11079 letters in cite-prefix.
11080
11081 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11082
11083 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11084
11085 2012-01-03 Chong Yidong <cyd@gnu.org>
11086
11087 * shell.el (shell-dynamic-complete-functions):
11088 Put pcomplete-completions-at-point, so as to try
11089 comint-filename-completion first (Bug#10417).
11090
11091 2012-01-02 Richard Stallman <rms@gnu.org>
11092
11093 * battery.el (battery-status-function):
11094 Detect when to use battery-yeeloong-sysfs.
11095 (battery-echo-area-format): Add string for Yeeloong.
11096 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11097 (battery-yeeloong-sysfs): New function.
11098
11099 2012-01-02 Chong Yidong <cyd@gnu.org>
11100
11101 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11102 (dirtrack): Merge code for handling relative filenames in prompt
11103 from shell-dir-cookie-watcher.
11104 (dirtrack-debug-message): New arg to avoid excess format calls.
11105
11106 * shell.el (shell-dir-cookie-re): Variable deleted.
11107 (shell-dir-cookie-watcher): Function deleted.
11108 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11109 with dirtrack-mode.
11110
11111 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11112
11113 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11114 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11115 libgnutls-26.dll.
11116
11117 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11118
11119 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11120
11121 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11122
11123 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11124 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11125
11126 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11127
11128 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11129 also for alternative shells.
11130 (tramp-open-connection-setup-interactive-shell): Check, whether
11131 the shell is a busybox.
11132 (tramp-send-command): Don't suppress multiple prompts for
11133 busyboxes, it hurts.
11134
11135 2011-12-28 Chong Yidong <cyd@gnu.org>
11136
11137 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11138 (gdb-get-source-file): Move mode line update to
11139 gdb-get-source-file (Bug#10087).
11140
11141 2011-12-25 Chong Yidong <cyd@gnu.org>
11142
11143 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11144 gud-gdb-marker-filter without taking it as an argument.
11145 (gud-gdb-run-command-fetch-lines): Caller changed.
11146 (gud-gdb-completion-function): New variable.
11147 (gud-gdb-completion-at-point): Use it.
11148 (gud-gdb-completions-1): Split from gud-gdb-completions.
11149
11150 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11151 function as separate arguments.
11152 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11153 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11154 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11155 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11156 (gdb-stopped, def-gdb-auto-update-trigger)
11157 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11158 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11159 Callers changed.
11160 (gud-gdbmi-completions): New function.
11161 (gdb): Use it for generating the completion table.
11162
11163 2011-12-24 Alan Mackenzie <acm@muc.de>
11164
11165 Introduce a mechanism to widen the region used in context font
11166 locking. Use this to protect declarations from losing their contexts.
11167
11168 * progmodes/cc-langs.el (c-before-font-lock-functions):
11169 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11170 (c-before-context-fontification-functions): New defvar, a list of
11171 functions to be run just before context (etc.) font locking.
11172
11173 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11174 New, functionality extracted from
11175 c-neutralize-syntax-in-and-mark-CPP.
11176 (c-in-after-change-fontification): New variable.
11177 (c-after-change): Set c-in-after-change-fontification.
11178 (c-set-fl-decl-start): Rejig its interface, so it can be called
11179 from both after-change and context fontifying.
11180 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11181 New functions.
11182 (c-standard-font-lock-fontify-region-function): New variable.
11183 (c-font-lock-fontify-region): New function.
11184
11185 2011-12-24 Juri Linkov <juri@jurta.org>
11186
11187 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11188 (Bug#10348)
11189
11190 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11191
11192 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11193 existence of source file. (Bug#10325)
11194
11195 2011-12-23 Alan Mackenzie <acm@muc.de>
11196
11197 Fix unstable fontification inside templates.
11198
11199 * progmodes/cc-langs.el (c-before-font-lock-functions):
11200 Newly created from the singular version. The (c c++ objc) entry now
11201 additionally has c-set-fl-decl-start. The other languages (apart
11202 from AWK) have that as a single entry.
11203
11204 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11205 The functionality for "local" declarations has been extracted to
11206 c-set-fl-decl-start.
11207
11208 * progmodes/cc-mode.el (c-common-init, c-after-change):
11209 Changes due to pluralisation of c-before-font-lock-functions.
11210 (c-set-fl-decl-start): New function, extracted from
11211 c-font-lock-enclosing-decls and enhanced.
11212
11213 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11214
11215 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11216
11217 2011-12-22 Juri Linkov <juri@jurta.org>
11218
11219 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11220
11221 2011-12-22 Chong Yidong <cyd@gnu.org>
11222
11223 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11224
11225 2011-12-21 Drew Adams <drew.adams@oracle.com>
11226
11227 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11228
11229 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11230
11231 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11232
11233 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11234
11235 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11236 highlighting and support. Fix up comments for capitalization.
11237 (cfengine-mode-debug): New var.
11238 (cfengine3-mode): Change the modeline indicator to "CFE3".
11239 (cfengine3-font-lock-keywords): Improve defun highlighting.
11240 (cfengine2-actions): Rename from `cfengine-actions'.
11241 (cfengine2-font-lock-keywords): Rename from
11242 `cfengine-font-lock-keywords'.
11243 (cfengine2-imenu-expression): Rename from
11244 `cfengine-imenu-expression'.
11245 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11246 (cfengine2-beginning-of-defun): Rename from
11247 `cfengine-beginning-of-defun'.
11248 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11249 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11250 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11251 modeline indicator to "CFE2".
11252 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11253 (cfengine-mode-abbrevs): Mark obsolete.
11254
11255 2011-12-21 Chong Yidong <cyd@gnu.org>
11256
11257 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11258 filename argument.
11259
11260 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11261
11262 * window.el (window-normalize-buffer-to-display): Remove.
11263 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11264
11265 2011-12-19 Chong Yidong <cyd@gnu.org>
11266
11267 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11268 Don't signal an error in a predicate function; return non-nil.
11269 (vc-dir-mark-file): Move the error here.
11270 (vc-dir-mark-unmark): If acting on the region, keep going if one
11271 of the entries cannot be marked/unmarked.
11272 (vc-dir-mark-all-files): If current entry is a directory, mark
11273 only child files, as documented.
11274
11275 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11276
11277 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11278 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11279 addition.
11280
11281 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11282
11283 * term/ns-win.el (ns-get-selection-internal)
11284 (ns-store-selection-internal): Declare.
11285 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11286 Declare as obsolete.
11287 (ns-get-pasteboard, ns-paste-secondary):
11288 Use ns-get-selection-internal.
11289 (ns-set-pasteboard, ns-copy-including-secondary):
11290 Use ns-store-selection-internal.
11291
11292 2011-12-17 Chong Yidong <cyd@gnu.org>
11293
11294 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11295 (vc-deduce-fileset): Doc fix.
11296
11297 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11298
11299 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11300
11301 2011-12-13 Sam Steingold <sds@gnu.org>
11302
11303 * man.el (Man-getpage-in-background): When running under a
11304 window-system, ignore $MANWIDTH and $COLUMNS.
11305
11306 2011-12-15 Kenichi Handa <handa@m17n.org>
11307
11308 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11309 (setup-ethiopic-environment-internal): Comment out key-binding for
11310 ethio-toggle-punctuation.
11311
11312 2011-12-13 Alan Mackenzie <acm@muc.de>
11313
11314 Add the switch statement to AWK Mode.
11315
11316 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11317 "default" to the keywords regexp.
11318
11319 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11320 expression as the rest.
11321 (c-nonlabel-token-key): Allow string literals for AWK.
11322 Refactor for the other modes.
11323
11324 Large brace-block initialisation makes CC Mode slow: Fix.
11325 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11326 routines. Limit backward searching in c-font-lock-enclosing.decl.
11327
11328 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11329 pp-state and literal type in addition to the limits.
11330 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11331 (c-state-literal-at): Use the above new defun.
11332 (c-slow-in-literal, c-fast-in-literal): Remove.
11333 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11334
11335 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11336 being in a literal. Add a limit for backward searching.
11337
11338 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11339 c-slow-in-literal.
11340
11341 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11344
11345 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11346
11347 * window.el (delete-other-windows): Use correct frame in call to
11348 window-with-parameter.
11349
11350 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11351
11352 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11353 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11354 (makefile-gmake-statements, makefile-makepp-statements):
11355 Use it and add new makepp keywords.
11356 (makefile-makepp-font-lock-keywords): Add new patterns.
11357 (makefile-match-function-end): Match new [...] and [[...]].
11358
11359 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * ses.el (ses-call-printer-return, ses-cell-property-get)
11362 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11363 (ses-create-cell-variable, ses-reset-header-string)
11364 (ses-cell-set-formula, ses-repair-cell-reference-all)
11365 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11366 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11367 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11368 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11369 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11370 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11371 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11372 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11373 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11374 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11375 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11376 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11377
11378 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11379
11380 * ses.el: The overall change is to add cell renaming, that is
11381 setting fancy names for cell symbols other than name matching
11382 "\\`[A-Z]+[0-9]+\\'" regexp .
11383 (ses-create-cell-variable): New defun.
11384 (ses-relocate-formula): Relocate formulas only for cells the
11385 symbols of which are not renamed, i.e. symbols whose names do not
11386 match regexp "\\`[A-Z]+[0-9]+\\'".
11387 (ses-relocate-all): Relocate values only for cells the symbols of
11388 which are not renamed.
11389 (ses-load): Create cells variables as the (ses-cell ...) are read,
11390 in order to check row col consistency with cell symbol name only
11391 for cells that are not renamed.
11392 (ses-replace-name-in-formula): New defun.
11393 (ses-rename-cell): New defun.
11394
11395 2011-12-11 Chong Yidong <cyd@gnu.org>
11396
11397 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11398 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11399
11400 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11401
11402 * window.el (other-window): Fix docstring.
11403
11404 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11405
11406 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11407 `from' or `to' address before taking its substring.
11408 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11409 encoded name is chopped in the middle of the encoded string, and
11410 thus displayed encoded.
11411
11412 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11415
11416 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11417
11418 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11419 to use texinfo-update-node and commands that call it if the
11420 Texinfo file uses @node lines without next/prev/up pointers.
11421 Correct outdated description about texinfo-master-menu.
11422 (texinfo-all-menus-update, texinfo-master-menu)
11423 (texinfo-update-node, texinfo-every-node-update)
11424 (texinfo-multiple-files-update): Doc fix. Warn against updating
11425 all the @node lines.
11426 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11427 argument is numeric. Explain better in the doc string what the
11428 function really does.
11429 (texinfo-insert-master-menu-list): Improve the error message
11430 displayed if there's no menu in the Top node.
11431 (Bug#2975) See also this thread:
11432 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11433
11434 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11435
11436 * speedbar.el (speedbar-supported-extension-expressions):
11437 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11438
11439 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11440
11441 * printing.el (pr-mode-alist):
11442 * simple.el (filter-buffer-substring-functions)
11443 (completion-list-insert-choice-function):
11444 * window.el (window-with-parameter, window-atom-root)
11445 (window-sides-slots, window-size-fixed, window-min-delta)
11446 (window-max-delta, window--resize-mini-window)
11447 (window--resize-child-windows-normal, window-tree)
11448 (delete-other-windows, quit-window, split-window)
11449 (display-buffer-record-window, special-display-buffer-names)
11450 (special-display-regexps, special-display-popup-frame)
11451 (same-window-p, split-window-sensibly)
11452 (display-buffer-overriding-action, display-buffer-alist)
11453 (display-buffer-base-action, display-buffer, switch-to-buffer)
11454 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11455 (fit-window-to-buffer, recenter-positions)
11456 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11457 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11458 and remove unneeded backslashes in docstrings.
11459
11460 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11463
11464 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11465 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11466 end in ".mk".
11467 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11468 when reading the makefile (bug#10116).
11469
11470 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11473 (bug#10116).
11474
11475 2011-12-06 Glenn Morris <rgm@gnu.org>
11476
11477 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11478
11479 2011-12-06 Chong Yidong <cyd@gnu.org>
11480
11481 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11482
11483 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11484
11485 * textmodes/table.el (table-shorten-cell): Fix typo.
11486
11487 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11488
11489 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11490
11491 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11492
11493 * descr-text.el (describe-char): Fix display of strong
11494 right-to-left characters and directional embeddings and overrides.
11495
11496 * simple.el (what-cursor-position): Fix display of codepoints of
11497 strong right-to-left characters.
11498
11499 2011-12-05 Chong Yidong <cyd@gnu.org>
11500
11501 * faces.el (read-color): Doc fix.
11502
11503 2011-12-05 Glenn Morris <rgm@gnu.org>
11504
11505 * align.el (align--set-marker): Add doc-string.
11506 Don't try to move something that is not a marker. (Bug#10216)
11507
11508 2011-12-04 Glenn Morris <rgm@gnu.org>
11509
11510 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11511 overly zealous deletion of trailing whitespace.
11512
11513 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11514
11515 * server.el (server-delete-client): On Windows, do not try to delete
11516 the only terminal.
11517 (server-process-filter): On Windows, treat requests for a tty frame as
11518 if they were for a GUI frame if the running server is in GUI mode.
11519
11520 2011-12-03 Glenn Morris <rgm@gnu.org>
11521
11522 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11523
11524 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * electric.el: Streamline electric-indent's hook.
11527 (electric-indent-chars): Revert to simple list.
11528 (electric-indent-functions): New var.
11529 (electric-indent-post-self-insert-function): Use it.
11530
11531 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11532 there's no inferior buffer (bug#10196).
11533 (prolog-consult-compile): Don't use toggle-read-only.
11534
11535 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11536
11537 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11538 interrupt. (Bug#10187)
11539
11540 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11543 (bug#9160).
11544
11545 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11546 (bug#10191).
11547
11548 2011-12-02 Juri Linkov <juri@jurta.org>
11549
11550 * info.el (Info-search): Display "end of manual" when Isearch
11551 reaches the end of single-file Info manual. (Bug#9918)
11552
11553 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11554
11555 * isearch.el (isearch-message-prefix): Run the input method part
11556 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11557
11558 2011-12-02 Juri Linkov <juri@jurta.org>
11559
11560 * isearch.el (isearch-occur): Use `word-search-regexp' for
11561 `isearch-word'.
11562 (isearch-search-and-update): Add condition for `isearch-word' and
11563 call `word-search-regexp'. (Bug#10145)
11564
11565 2011-12-01 Glenn Morris <rgm@gnu.org>
11566
11567 * eshell/em-hist.el (eshell-hist-initialize):
11568 Handle eshell-history-size nil and HISTSIZE set or unset.
11569 (eshell-history-file-name, eshell-history-size): Fix custom type.
11570
11571 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11574
11575 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11576
11577 * progmodes/verilog-mode.el (verilog-pretty-expr):
11578 Rework verilog-pretty-expr to handle new assignment operators in system
11579 verilog, such as += *= and the like.
11580 (verilog-assignment-operator-re): Regular expression to find the
11581 assigment operator in a verilog assignment.
11582 (verilog-assignment-operation-re): Regular expression to find an
11583 assignment statement for pretty-expr.
11584 (verilog-in-attribute-p): Query returns true if point is in an
11585 attribute context; used to skip these for expression line up from
11586 pretty-expr.
11587 (verilog-in-parameter-p): Query returns true if point is in an
11588 parameter definition context; used to skip these for expression
11589 line up from pretty-expr.
11590 (verilog-in-parenthesis-p): Query returns true if point is in a
11591 parenthetical expression, specifically ( ) but not [ ] or { };
11592 used by pretty-expr.
11593 (verilog-just-one-space): If there is no space, don't add one.
11594 (verilog-get-lineup-indent-2): Specifically skip just attribute
11595 contexts for expression lineup, rather than skipping all
11596 parenthetical expressions.
11597 (verilog-calculate-indent): Fix comment, and fix indent.
11598 (verilog-do-indent): Indent declarations in lists (suggested by
11599 Joachim Lechner).
11600 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11601 skeleton items.
11602 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11603 by Alain Mellan).
11604
11605 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11606
11607 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11608 parameters with embedded comments. Reported by Ray Stevens.
11609 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11610 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11611 Reported by Tim Holt.
11612 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11613 instantiated by upper module causing wrong expansion until AUTOed a
11614 second time. Reported by K C Buckenmaier.
11615 (verilog-diff-auto): Fix showing .* as a difference when
11616 `verilog-auto-star-save' off. Reported by Dan Dever.
11617 (verilog-auto-reset, verilog-read-always-signals)
11618 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11619 temporary signals in reset list if
11620 verilog-auto-reset-blocking-in-non is nil, and match assignment
11621 style to each signal's assignment type, bug381.
11622 Reported by Thomas Esposito.
11623 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11624 (verilog-uvm-statement-re): Support UVM indentation and
11625 highlighting, with old OVM keywords only.
11626 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11627 Support AUTOTIEOFF creating non-wire data types.
11628 Suggested by Jonathan Greenlaw.
11629 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11630 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11631 (verilog-inject-sense, verilog-read-inst-pins)
11632 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11633 Fix mismatching parenthesis inside commented out code when deleting
11634 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11635 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11636 non-numeric vector width. Reported by Alex Reed.
11637 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11638 detecting signals with parameter widths. Reported by Alex Reed.
11639 (verilog-auto-delete-trailing-whitespace):
11640 With `verilog-auto-delete-trailing-whitespace' remove trailing
11641 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11642 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11643 Fix verilog-scan-cache corruption when running user AUTO expansion
11644 hooks that call indentation routines.
11645 (verilog-simplify-range-expression): Fix typo ignoring lower case
11646 identifiers.
11647 (verilog-delete-auto): Fix delete-autos to also remove user created
11648 automatics, as long as they start with AUTO.
11649 (verilog-batch-diff-auto, verilog-diff-auto)
11650 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11651 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11652 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11653 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11654 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11655 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11656 is disabled and its cache will get corrupt, causing AUTOS not to
11657 expand. Instead use only -quick functions.
11658 (verilog-scan-region): Fix scanning over escaped quotes.
11659 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11660 (verilog-re-search-backward-quick)
11661 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11662 related functions now ignore strings, to fix misparsing of strings
11663 with magic comments embedded in them.
11664 (verilog-read-auto-template):
11665 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11666 Reported by Brad Dobbie.
11667 (verilog-read-auto-template):
11668 Fix 'verilog-auto-inst-template-numbers' with comments.
11669 Reported by Brad Dobbie.
11670 (verilog-auto-inst, verilog-auto-inst-param)
11671 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11672 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11673 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11674 debugging templates without merge conflicts, bug357.
11675 Reported by Brad Dobbie.
11676 (verilog-read-auto-template):
11677 Fix verilog-auto-inst-template-numbers with multiple templates.
11678 Reported by Brad Dobbie.
11679 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11680 abbrevs so user won't be asked to save.
11681 (verilog-read-auto-lisp-present): Fix to start at beginning of
11682 buffer in case called outside of verilog-auto.
11683 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11684 to "X-2". Reported by Matthew Myers.
11685 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11686 all inputs from module templates. Reported by Leith Johnson.
11687 (verilog-module-inside-filename-p): Fix locating programs as with
11688 modules.
11689 (verilog-auto-inst-port): Fix vl-width expressions when using
11690 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11691 (verilog-decls-get-regs, verilog-decls-get-signals,
11692 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11693 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11694 verilog-read-decls): Combine reg and wire structures into one var
11695 structure to represent SystemVerilog concepts.
11696 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11697 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11698 (verilog-auto-wire-type, verilog-insert-definition):
11699 Add verilog-auto-wire-type and AUTOLOGIC to support using
11700 SystemVerilog "logic" keyword instead of "wire"/"reg".
11701 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11702 to declares outputs that also have assignments (presumably in an
11703 ifdef or generate if so there's not a driver conflict).
11704 Reported by Matthew Myers.
11705 (verilog-auto-declare-nettype, verilog-insert-definition):
11706 Add verilog-auto-declare-nettype to fix declarations using
11707 `default_nettype none. Reported by Julian Gorfajn.
11708 (verilog-read-always-signals-recurse, verilog-read-decls)
11709 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11710 malformed end statement, bug325. Reported by Joshua Wise and
11711 Andrew Drake.
11712 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11713 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11714 when expanding .* in interfaces, bug320.
11715 Reported by Pierre-David Pfister.
11716 (verilog-read-module-name): Fix import statements between module
11717 name and open parenthesis, bug317.
11718 Reported by Pierre-David Pfister.
11719 (verilog-simplify-range-expression): Fix simplification of
11720 multiplications inside AUTOWIRE connections, bug303.
11721 (verilog-auto-inst-port): Support parameter expansion in
11722 multidimensional arrays.
11723 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11724 after "assert property". Reported by Julian Gorfajn.
11725 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11726 with multiplication, bug303.
11727 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11728 Reported by Jan Frode Lonnum.
11729
11730 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11731
11732 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11733 (hfy-shell-file-name, hfy-shell):
11734 * international/fontset.el (x-decompose-font-name): Fix typos.
11735
11736 2011-11-29 Ken Brown <kbrown@cornell.edu>
11737
11738 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11739 (gdb-version): Remove defvar.
11740 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11741 (gdb-gud-context-command, gdb-non-stop-handler)
11742 (gdb-current-context-command, gdb-stopped): Use it.
11743 (gdb-init-1): Enable pretty printing here.
11744 (gdb-non-stop-handler): Don't enable pretty-printing here.
11745 Check to see if the target supports non-stop mode; if not, turn off
11746 non-stop mode. Use the following.
11747 (gdb-check-target-async): New defun.
11748 (gud-watch, gdb-stopped): Fix whitespace.
11749 (gdb-get-source-file): Don't try to display the source file if
11750 `gdb-main-file' is nil.
11751
11752 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11753
11754 * align.el: Try to generate fewer markers (bug#10047).
11755 (align--set-marker): New macro.
11756 (align-region): Use it.
11757
11758 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11761
11762 2011-11-29 Chong Yidong <cyd@gnu.org>
11763
11764 * indent.el (indent-for-tab-command, indent-according-to-mode):
11765 Doc fix.
11766 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11767
11768 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11769
11770 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11771 aware of remote file names. (Bug#10124)
11772
11773 2011-11-29 Chong Yidong <cyd@gnu.org>
11774
11775 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11776
11777 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * files.el (find-file): Don't use force-same-window (bug#10144).
11780 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11781 use pop-to-buffer if the selected window can't be used.
11782 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11783
11784 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11785
11786 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11787 special-mode-map.
11788
11789 2011-11-28 Chong Yidong <cyd@gnu.org>
11790
11791 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11792
11793 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11794
11795 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11796 gdb-get-source-file-list on gdb-create-source-file-list.
11797
11798 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11799
11800 * whitespace.el (whitespace-newline): Use a different foreground
11801 color for 16-color light-background displays.
11802
11803 2011-11-24 Chong Yidong <cyd@gnu.org>
11804
11805 * window.el (display-buffer--special-action): Doc fix.
11806
11807 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11808
11809 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11810 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11811 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11812 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11813 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11814 (avl-tree-stack-first):
11815 * emacs-lisp/cconv.el (cconv--analyse-use):
11816 * net/gnutls.el (gnutls-negotiate): Fix typos.
11817
11818 2011-11-24 Glenn Morris <rgm@gnu.org>
11819
11820 * lpr.el (lpr-windows-system, lpr-lp-system):
11821 * mail/binhex.el (binhex-begin-line):
11822 * progmodes/grep.el (grep-history, grep-find-history):
11823 * textmodes/flyspell.el:
11824 * vc/pcvs-defs.el (cvs-global-menu):
11825 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11826 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11827 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11828
11829 * net/tls.el: Fix case of "GnuTLS".
11830
11831 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11832
11833 * version.el (emacs-build-system): Give it a doc-string.
11834
11835 2011-11-24 Juri Linkov <juri@jurta.org>
11836
11837 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11838
11839 2011-11-24 Glenn Morris <rgm@gnu.org>
11840
11841 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11842 if called on a non-mime message just toggle the headers. (Bug#8006)
11843
11844 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11847 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11848 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11849 (allout-rebullet-heading, allout-open-sibtopic)
11850 (allout-toggle-current-subtree-encryption)
11851 (allout-toggle-subtree-encryption, allout-encrypt-string)
11852 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11853 (allout-distinctive-bullets-string, allout-auto-activation):
11854 * window.el (window-normalize-buffer-to-display):
11855 * progmodes/verilog-mode.el (verilog-batch-indent):
11856 * textmodes/bibtex.el (bibtex-field-braces-opt)
11857 (bibtex-field-strings-opt):
11858 * vc/cvs-status.el (cvs-tree-merge):
11859 Fix typos.
11860
11861 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11862
11863 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11864 `non-essential' to t, in order to avoid remote connections.
11865
11866 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11867
11868 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11869 On MS-DOS and MS-Windows, compare with loaddefs.el
11870 case-insensitively.
11871
11872 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11873
11874 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11875
11876 2011-11-23 Glenn Morris <rgm@gnu.org>
11877
11878 * paths.el (rmail-file-name): Reformat the doc-string so that it
11879 is picked up.
11880
11881 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11882 (rmail-auto-file): Ignore case in the "special" field names,
11883 as mail-fetch-field does for all others.
11884
11885 * mail/rmail.el (rmail-forward):
11886 * mail/rmailkwd.el (rmail-set-label):
11887 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11888 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11889
11890 * mail/rmail.el (rmail-current-message): Doc fix.
11891
11892 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11893
11894 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11897
11898 2011-11-22 Glenn Morris <rgm@gnu.org>
11899
11900 * mail/rmailmm.el (test-rmail-mime-handler)
11901 (test-rmail-mime-bulk-handler)
11902 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11903
11904 2011-11-21 Juri Linkov <juri@jurta.org>
11905
11906 * calc/calc.el (calc-read-key-sequence):
11907 Let-bind `input-method-function' to nil. (Bug#10018)
11908
11909 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11910
11911 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11912 Tell the caller that the next line needs recomputation, even
11913 though it doesn't start a sexp (bug#10094).
11914
11915 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11918
11919 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11922 Use force-same-window.
11923
11924 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11925
11926 * descr-text.el (describe-char-unicode-data):
11927 * json.el (json-string-escape):
11928 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11929 (Footnote-unicode, Footnote-style-p):
11930 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11931
11932 2011-11-20 Chong Yidong <cyd@gnu.org>
11933
11934 * window.el (replace-buffer-in-windows): Restore interactive spec.
11935
11936 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11939
11940 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11941 (byte-compile-global-not-obsolete-vars): New var.
11942 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11943 Use it.
11944 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11945
11946 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11947
11948 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11949 * progmodes/pascal.el (electric-pascal-equal):
11950 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11951 * xml.el (xml-substitute-special): Fix typos.
11952
11953 2011-11-20 Glenn Morris <rgm@gnu.org>
11954
11955 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11956 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11957 Doc fixes.
11958 (rmail-decode-mime-charset): Mark as obsolete.
11959
11960 * mail/rmailsum.el (rmail-message-regexp-p-1):
11961 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11962 Before using mime functions, check they are set. (Bug#10077)
11963
11964 2011-11-19 Juri Linkov <juri@jurta.org>
11965
11966 * info.el (Info-finder-find-node): Use `package--builtins' instead
11967 of `package-alist'. Use node names formed by the pattern "Keyword "
11968 and the keyword name.
11969
11970 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11971
11972 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11973
11974 2011-11-19 Juri Linkov <juri@jurta.org>
11975
11976 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11977 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11978 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11979 `old-history', `old-history-forward'. Add let-binding
11980 `window-selected'. Remove calls to `kill-buffer',
11981 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11982 before calling `Info-find-node', so `Info-find-node-2' will reread
11983 the Info file. Restore window positions only when `window-selected'
11984 is non-nil.
11985
11986 2011-11-19 Juri Linkov <juri@jurta.org>
11987
11988 * isearch.el (isearch-lazy-highlight-new-loop):
11989 Remove condition `(not isearch-error)'. (Bug#9918)
11990
11991 * misearch.el (multi-isearch-search-fun): Add condition
11992 `(not bound)' to ignore lazy-highlighting search.
11993 Add the search-failed message "end of multi" when the end of
11994 multi-sequence is reached. Uncapitalize the search-failed
11995 message "Repeat for next buffer".
11996
11997 * info.el (Info-search): Add the search-failed message
11998 "end of the manual" when the end of the manual is reached
11999 in Isearch mode.
12000
12001 2011-11-19 Juri Linkov <juri@jurta.org>
12002
12003 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12004 Use non-destructive `remove' instead of `delete' because
12005 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12006 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12007
12008 2011-11-19 Juri Linkov <juri@jurta.org>
12009
12010 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12011 to nil instead of binding `search-ring' and `regexp-search-ring'.
12012 (Bug#9185)
12013
12014 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12015
12016 * simple.el (line-move): Force movement by logical lines for any
12017 hscrolled window, not only when auto-hscroll-mode is on.
12018 (line-move-visual): Update doc string to that effect. (Bug#10076)
12019
12020 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12021
12022 * language/european.el (macintosh): Define as alias for mac-roman.
12023
12024 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12025
12026 * mail/rmailmm.el (rmail-mime-display-header)
12027 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12028 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12029 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12030 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12031 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12032 of a raw aref.
12033 (rmail-mime-entity-segment): To get past the tagline, move forward
12034 2 more lines, to account for the 2 empty lines that precede and
12035 follow the line with the buttons.
12036 (rmail-mime-update-tagline): Move one more line, to get past the
12037 empty line that follows the buttons in the tagline. (Bug#9520)
12038
12039 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (window-max-delta-1, window-min-delta-1)
12042 (window-min-size-1, window-state-get-1, window-state-put-1)
12043 (window-state-put-2): Use "window--" prefix.
12044
12045 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12048 (smie-warning-count): New var.
12049 (smie-set-prec2tab): Use it.
12050 (smie-bnf->prec2): Improve warnings. Add docstring.
12051 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12052 (smie-bnf--set-class): New function.
12053 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12054 corner case.
12055
12056 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12057 (compilation-error-properties, compilation-move-to-column):
12058 Handle compilation-first-column while in the target buffer.
12059
12060 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12061 Don't hardcode point-min==1.
12062
12063 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12064 (eshell-rewrite-for-command): Remove workaround.
12065 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12066 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12067 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12068
12069 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12070
12071 2011-11-17 Glenn Morris <rgm@gnu.org>
12072
12073 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12074 Ignore buffer-local generated-autoload-file if it is the same
12075 as the global value. (Bug#10049)
12076
12077 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12080 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12081 (reftex-toc-previous-heading, reftex-toc-max-level)
12082 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12083 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12084 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12085 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12086 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12087 (reftex-toc-rename-label, reftex-toc-visit-location)
12088 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12089 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12090 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12091 leaving "*toc*" only for references to the buffer.
12092
12093 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12094
12095 * window.el (window-resize, delete-window, split-window):
12096 Replace window-splits by window-combination-resize.
12097 * cus-start.el (window-splits): Replace by window-combination-resize.
12098
12099 2011-11-17 Glenn Morris <rgm@gnu.org>
12100
12101 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12102 Make bash entry derive from sh entry, not shell entry.
12103
12104 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12105
12106 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12107 local file name.
12108
12109 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12110
12111 * menu-bar.el (menu-bar-file-menu):
12112 * printing.el (pr-ps-utility):
12113 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12114 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12115 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12116 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12117 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12118 (icalendar--convert-cyclic-to-ical)
12119 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12120 (icalendar--convert-ical-to-diary)
12121 (icalendar--convert-recurring-to-diary)
12122 (icalendar--convert-non-recurring-all-day-to-diary)
12123 (icalendar-import-format-sample):
12124 * progmodes/idlw-shell.el (idlwave-shell-mode):
12125 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12126 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12127 (vhdl-ps-print-init): Fix typos.
12128
12129 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12130
12131 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12132 FSF and collapse date sequence, obscure author/maintainer email address
12133 better, remove extra version line, track relocation of author's webpage.
12134
12135 * progmodes/python.el (python-pdbtrack-input-prompt)
12136 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12137 regular python pdb prompts. Adjustments shamelessly taken exactly as
12138 suggested in EmacsWiki page (tiny change):
12139 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12140
12141 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12142
12143 * expand.el (expand-pos, expand-index, expand-point):
12144 Remove redundant info from docstring.
12145 (expand-add-abbrevs): Doc fix.
12146 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12147 (expand-sample-perl-mode-expand-list): Fix typos.
12148
12149 * net/dbus.el (dbus-event-member-name):
12150 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12151 * term/pc-win.el (msdos-create-frame-with-faces):
12152 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12153
12154 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12155
12156 * window.el (split-window, window-state-get-1)
12157 (window-state-put-1, window-state-put-2): Rename occurrences of
12158 window-nest to window-combination-limit.
12159 * cus-start.el (window-nest): Rename to window-combination-limit.
12160
12161 2011-11-16 Chong Yidong <cyd@gnu.org>
12162
12163 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12164 regexp (Bug#10033).
12165
12166 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12169 `completing-read' will remove *Completions* and will preserve
12170 current-buffer for us.
12171 (tmm-add-prompt): Users of *Completions* will always (re)set its
12172 major mode.
12173 (tmm-old-comp-map): Remove.
12174
12175 2011-11-16 Glenn Morris <rgm@gnu.org>
12176
12177 * mail/rmailedit.el: Require rmailmm when compiling.
12178 (rmail-old-mime-state): New declaration.
12179 (rmail-edit-current-message): If editing a mime message,
12180 edit the "raw" message from the mbox buffer.
12181 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12182
12183 2011-11-15 Glenn Morris <rgm@gnu.org>
12184
12185 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12186 which wasn't being used. Add optional arg to force given state.
12187 (rmail-mime): Add optional arg to force given state.
12188
12189 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12190
12191 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12192 * frame.el (display-mm-dimensions-alist):
12193 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12194 (outline-move-subtree-down):
12195 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12196 (newsticker--treeview-do-get-node):
12197 * net/quickurl.el (quickurl-list-buffer-name):
12198 * progmodes/dcl-mode.el (dcl-mode):
12199 * progmodes/gdb-mi.el (gdb-mapcar*):
12200 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12201
12202 2011-11-15 Glenn Morris <rgm@gnu.org>
12203
12204 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12205 in a boolean sense, so just make it a boolean, and fix the doc.
12206 (rmail-show-mime-function, rmail-mime-feature)
12207 (rmail-require-mime-maybe): Doc fixes.
12208 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12209
12210 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12211
12212 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12213
12214 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12215 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12216 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12217 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12218
12219 2011-11-15 Glenn Morris <rgm@gnu.org>
12220
12221 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12222 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12223 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12224 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12225 (rmail-mime, rmail-show-mime): Doc fixes.
12226
12227 * term/ns-win.el (mode-line-frame-identification):
12228 Leave it alone. (Bug#10051)
12229
12230 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12231
12232 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12233 Handle empty buffers. (Bug#9978)
12234
12235 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12236
12237 * international/mule.el (define-charset):
12238 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12239 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12240 * progmodes/verilog-mode.el (verilog-backward-token):
12241 * textmodes/ispell.el (lookup-words):
12242 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12243
12244 2011-11-14 Glenn Morris <rgm@gnu.org>
12245
12246 * progmodes/executable.el
12247 (executable-make-buffer-file-executable-if-script-p):
12248 Handle file-modes returning nil.
12249
12250 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12251 message - not necessary, and causes problems. (Bug#9831)
12252
12253 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12254
12255 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12256
12257 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12258 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12259 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12260
12261 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12262
12263 * window.el (window-resize, delete-window): Use window-splits
12264 variable instead of function.
12265 (window-state-get-1, window-state-put-2, window-state-put):
12266 Don't deal with windows' splits status.
12267
12268 2011-11-12 Glenn Morris <rgm@gnu.org>
12269
12270 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12271 (apropos-documentation): Doc fixes.
12272
12273 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12274
12275 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12276 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12277
12278 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * electric.el (electric-indent-post-self-insert-function): Make it
12281 possible for a char to only indent in some circumstances.
12282 (electric-indent-mode): Simplify.
12283
12284 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12285
12286 * window.el (windows-with-parameter): Remove unused function.
12287 (windows-at-side): Rename to window-at-side-list.
12288 (window-check, window-atom-check, window-atom-check-1)
12289 (window-side-check, window-size-ignore, window-size-fixed-1)
12290 (window-in-direction-2): Prefix with "window--".
12291 (window-tree-1): Rename to window--subtree, fix doc-string.
12292
12293 2011-11-11 Glenn Morris <rgm@gnu.org>
12294
12295 * subr.el (eval-after-load): If FILE is already loaded,
12296 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12297
12298 2011-11-10 Glenn Morris <rgm@gnu.org>
12299
12300 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12301 Call svn via vc-svn-command rather than vc-do-command.
12302 (vc-svn-command): Add --non-interactive. (Bug#9993)
12303 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12304
12305 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12306 Add toggle-read-only. (Bug#7292)
12307 * files.el (toggle-read-only): Mention that it should only
12308 be used interactively. (Bug#10006)
12309
12310 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12311
12312 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12313 Adjust regexp for OCaml warnings.
12314
12315 * electric.el (electric-pair-post-self-insert-function): Let user
12316 turn it off buffer-locally (bug#9932).
12317
12318 * progmodes/python.el (python-beginning-of-statement):
12319 Rewrite (bug#2703).
12320
12321 * progmodes/compile.el: Better handle TABs (bug#9749).
12322 (compilation-internal-error-properties)
12323 (compilation-next-error-function): Obey the target buffer's
12324 compilation-error-screen-columns.
12325
12326 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12327
12328 * progmodes/meta-mode.el: Remove obsolete comments.
12329 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12330 Fix typos in docstrings.
12331
12332 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12333
12334 * window.el (window-size-fixed-p): Rewrite doc-string.
12335 (window-resizable-p): Rename to window--resizable-p. Update callers.
12336 (window--resizable): New function. Make all callers of
12337 window-resizable call window--resizable instead.
12338 (window-resizable): Rewrite in terms of window--resizable.
12339
12340 2011-11-08 Glenn Morris <rgm@gnu.org>
12341
12342 * progmodes/delphi.el (delphi-mode-syntax-table):
12343 Let define-derived-mode define a proper syntax table. (Bug#9994)
12344
12345 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * window.el: Stay away from defsubst.
12348 (window-list-no-nils): Remove.
12349 (window-state-get-1, window-state-get): Use backquote instead.
12350
12351 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12352
12353 * emacs-lisp/find-func.el (find-function-read):
12354 Fix incorrect use of default argument in `completing-read'.
12355
12356 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12357
12358 * window.el (display-buffer-function, special-display-function):
12359 Mention display-buffer-record-window but do not mention
12360 help-setup parameter in doc-strings.
12361 (window-min-delta): Fix doc-string typo.
12362
12363 2011-11-08 Chong Yidong <cyd@gnu.org>
12364
12365 * window.el (window-total-height, window-total-width): Doc fix.
12366 (window-body-size): Move from C.
12367 (window-body-height, window-body-width): Move to C.
12368
12369 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * window.el: Make special-display like display-buffer-alist (bug#9532).
12372 (display-buffer--special-action): New function, morphed
12373 from display-buffer--special.
12374 (display-buffer): Use it to handle special-display-buffers at higher
12375 priority (just after display-buffer-alist).
12376 (display-buffer-fallback-action, display-buffer--other-frame-action)
12377 (pop-to-buffer-same-window): Remove display-buffer--special.
12378
12379 2011-11-07 Glenn Morris <rgm@gnu.org>
12380
12381 * calendar/cal-menu.el (cal-menu-set-date-title):
12382 Do nothing if not in a calendar. (Bug#9976)
12383
12384 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12385
12386 * files.el (find-file): Always use selected-window.
12387
12388 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12389
12390 * window.el (window-combinations): Make WINDOW argument
12391 mandatory. Rewrite doc-string.
12392 (walk-window-subtree, window-atom-check, window-min-delta)
12393 (window-max-delta, window--resize-this-window)
12394 (window--resize-root-window-vertically, window-tree)
12395 (balance-windows, window-state-put): Rewrite doc-strings as to
12396 not mention the term "subwindow".
12397 (window--resize-subwindows-skip-p): Rename to
12398 window--resize-child-windows-skip-p.
12399 (window--resize-subwindows-normal): Rename to
12400 window--resize-child-windows-normal.
12401 (window--resize-subwindows): Rename to
12402 window--resize-child-windows.
12403 (window-or-subwindow-p): Rename to window--in-subtree-p.
12404
12405 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12406
12407 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12408 Ensure that mbox format messages end in two newlines (Bug#9974).
12409
12410 2011-11-06 Chong Yidong <cyd@gnu.org>
12411
12412 * window.el (window-combination-p): Function deleted; its
12413 side-effect is not used in any existing code.
12414 (window-combinations, window-combined-p): Call window-*-child
12415 directly.
12416
12417 2011-11-05 Chong Yidong <cyd@gnu.org>
12418
12419 * window.el (window-valid-p): Rename from window-any-p.
12420 (window-size-ignore, window-state-get): Callers changed.
12421 (window-normalize-window): Rename from window-normalize-any-window.
12422 New arg LIVE-ONLY, replacing window-normalize-live-window.
12423 (window-normalize-live-window): Delete.
12424 (window-combination-p, window-combined-p, window-combinations)
12425 (walk-window-subtree, window-atom-root, window-min-size)
12426 (window-sizable, window-sizable-p, window-size-fixed-p)
12427 (window-min-delta, window-max-delta, window-resizable)
12428 (window-resizable-p, window-full-height-p, window-full-width-p)
12429 (window-current-scroll-bars, window-point-1, set-window-point-1)
12430 (window-at-side-p, window-in-direction, window-resize)
12431 (adjust-window-trailing-edge, maximize-window, minimize-window)
12432 (window-deletable-p, delete-window, delete-other-windows)
12433 (record-window-buffer, unrecord-window-buffer)
12434 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12435 (quit-window, split-window, window-state-put)
12436 (set-window-text-height, fit-window-to-buffer)
12437 (shrink-window-if-larger-than-buffer): Callers changed.
12438
12439 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12440
12441 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12442 rfc2047-decode-string.
12443 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12444 warnings.
12445
12446 * window.el (window-body-height, window-body-width): Mention in
12447 the doc string that the return values are in frame's canonical
12448 units. (Bug#9949)
12449
12450 2011-11-03 Alan Mackenzie <acm@muc.de>
12451
12452 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12453 change in cc-engine.el.
12454
12455 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12456
12457 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12458
12459 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12460
12461 * window.el (quit-window): Call unrecord-window-buffer after
12462 showing another buffer in the window. (Bug#9937)
12463 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12464
12465 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12466
12467 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12468 Accept status with more than 9 shelves. (Bug#9935)
12469 Reported by Colin D Bennett <colin@gibibit.com>.
12470
12471 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12472
12473 * help.el (with-help-window): Don't reference
12474 temp-buffer-show-specifiers in doc-string.
12475
12476 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12477
12478 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12479 menu-item.
12480
12481 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12482
12483 * whitespace.el: New version 13.2.2.
12484 (whitespace-newline-mode): Disable properly. Reported by Sarah
12485 <EmacsWiki>.
12486
12487 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12488
12489 * net/newst-treeview.el: Remove "Time-stamp".
12490 (newsticker--group-manage-orphan-feeds): Do not call
12491 newsticker--treeview-tree-update.
12492 (newsticker-treeview-update, newsticker-treeview):
12493 Call newsticker--treeview-tree-update if necessary.
12494
12495 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12496
12497 * window.el (window-iso-combination-p, window-iso-combined-p)
12498 (window-iso-combinations): Remove "iso-" infix.
12499 Suggested by Chong Yidong.
12500 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12501 (window-max-delta-1, window-resize, window--resize-siblings)
12502 (window--resize-this-window, adjust-window-trailing-edge)
12503 (split-window, balance-windows-1)
12504 (shrink-window-if-larger-than-buffer):
12505 * calendar/calendar.el (calendar-generate-window):
12506 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12507
12508 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12511 in place (bug#9907).
12512 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12513 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12514 (eshell-structure-basic-command, eshell-rewrite-while-command)
12515 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12516 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12517 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12518 (eshell-do-pipelines-synchronously, eshell-eval-command):
12519 Use backquotes and prefer setq to set.
12520 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12521 (eshell-macrop): Use functionp.
12522 (eshell-do-eval): Handle multiple expressions in `while' body.
12523
12524 2011-10-30 Chong Yidong <cyd@gnu.org>
12525
12526 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12527 instead of set-mark (Bug#9810).
12528
12529 2011-10-30 Chong Yidong <cyd@gnu.org>
12530
12531 * window.el (split-window-below, split-window-right): Rename from
12532 split-window-above-each-other and split-window-side-by-side
12533 respectively. All callers changed.
12534 (split-window-sensibly, split-window-sensibly): Use them.
12535 (split-window-keep-point): Doc fix.
12536
12537 * isearch.el: Add isearch-scroll property to split-window-below
12538 and split-window-right.
12539
12540 * follow.el (follow-mode):
12541 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12542 * progmodes/ada-xref.el (ada-gdb-application):
12543 * emulation/vip.el (vip-buffer-in-two-windows):
12544 * image-dired.el (image-dired-dired-with-window-configuration):
12545 * dired-x.el (dired-do-find-marked-files):
12546 * dired.el (dired-pop-to-buffer):
12547 * bs.el (bs--show-with-configuration):
12548 * vc/emerge.el (emerge-setup-windows):
12549 * textmodes/two-column.el (2C-two-columns):
12550 * textmodes/reftex-toc.el (reftex-toc):
12551 * progmodes/gdb-mi.el (gdb-setup-windows):
12552 * progmodes/fortran.el (fortran-window-create):
12553 * net/newst-treeview.el (newsticker--treeview-window-init):
12554 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12555 * emulation/tpu-edt.el (tpu-gold-map):
12556 * emulation/crisp.el (crisp-mode-map):
12557 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12558
12559 2011-10-29 Chong Yidong <cyd@gnu.org>
12560
12561 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12562
12563 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12564
12565 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12566 forged Ispell output (Bug#7904).
12567
12568 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12569
12570 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * doc-view.el: Avoid ugly errors about not finding nil.
12573 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12574 (doc-view-dvipdf-program, doc-view-unoconv-program)
12575 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12576 Avoid nil or absolute file name as default value.
12577 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12578
12579 2011-10-28 Alan Mackenzie <acm@muc.de>
12580
12581 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12582
12583 2011-10-28 Alan Mackenzie <acm@muc.de>
12584
12585 Amend the handling of c-beginning/end-of-defun in nested declaration
12586 scopes.
12587
12588 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12589 cc-langs.el. Change it to a defcustom.
12590
12591 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12592 cc-vars.el.
12593
12594 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12595 Prevent "class foo : bar" being spuriously recognized as a label.
12596
12597 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12598 Add parameter `inclusive' (to include enclosing braces in the region).
12599 (c-widen-to-enclosing-decl-scope): New function.
12600 (c-while-widening-to-decl-block): New macro.
12601 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12602 outward for defun boundaries, and correspondingly change symbol
12603 `respect-enclosure' to `go-outward'.
12604 (c-declaration-limits): Change algorithm to report only the "innermost"
12605 defun's boundaries.
12606
12607 2011-10-28 Deniz Dogan <deniz@dogan.se>
12608
12609 * net/rcirc.el (rcirc-mode): Use hard newlines.
12610
12611 2011-10-28 Alan Mackenzie <acm@muc.de>
12612
12613 Amend to indent and fontify macros "which include their own semicolon"
12614 correctly, using the "virtual semicolon" mechanism.
12615
12616 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12617
12618 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12619 Recode to scan one line at a time rather than having \n and \r
12620 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12621 (c-forward-label): Amend for virtual semicolons.
12622 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12623
12624 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12625 of the new C macros.
12626
12627 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12628 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12629 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12630 (c-opt-cpp-macro-define): Make into a full language variable.
12631 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12632 AWK Mode (including \n, \r) removed, no longer needed.
12633
12634 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12635 Invoke c-make-macro-with-semi-re.
12636
12637 * progmodes/cc-vars.el (c-macro-with-semi-re):
12638 (c-macro-names-with-semicolon): New variables.
12639 (c-make-macro-with-semi-re): New function.
12640
12641 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 * vc/log-edit.el: Fill empty field rather than adding new one.
12644 (log-edit-add-field): New function.
12645 (log-edit-insert-changelog): Use it.
12646
12647 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12648
12649 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12650
12651 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12654 (gdb--check-interpreter): New function.
12655 (gdb): Use it.
12656
12657 2011-10-27 Glenn Morris <rgm@gnu.org>
12658
12659 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12660 (least-positive-float, least-negative-float)
12661 (least-positive-normalized-float, least-negative-normalized-float)
12662 (float-epsilon, float-negative-epsilon):
12663 Remove unnecessary declarations.
12664
12665 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12666 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12667 (least-positive-float, least-negative-float)
12668 (least-positive-normalized-float, least-negative-normalized-float)
12669 (float-epsilon, float-negative-epsilon): Add doc-strings,
12670 based on those in cl.texi.
12671
12672 * files.el (set-visited-file-name): If the major-mode changed,
12673 reload the local variables. (Bug#9796)
12674
12675 2011-10-27 Chong Yidong <cyd@gnu.org>
12676
12677 * subr.el (change-major-mode-after-body-hook): New hook.
12678 (run-mode-hooks): Run it.
12679
12680 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12681 Use change-major-mode-before-body-hook.
12682
12683 * simple.el (fundamental-mode):
12684 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12685 change introducing fundamental-mode-hook.
12686
12687 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12688
12689 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12690
12691 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12692
12693 * ido.el (ido-file-name-all-completions-1): Do not require
12694 tramp.el explicitly. (Bug#7583)
12695
12696 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 * progmodes/octave-mod.el:
12699 * progmodes/octave-inf.el: Update maintainer.
12700
12701 2011-10-26 Chong Yidong <cyd@gnu.org>
12702
12703 * subr.el (with-wrapper-hook): Rewrite doc.
12704
12705 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12706
12707 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12708 filenames "/method:foo:". (Bug#9793)
12709
12710 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12713 (bug#9865).
12714
12715 2011-10-24 Glenn Morris <rgm@gnu.org>
12716
12717 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12718
12719 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12720
12721 * notifications.el: Add the requirement of a running D-Bus session
12722 bus to the Commentary.
12723
12724 2011-10-24 Juri Linkov <juri@jurta.org>
12725
12726 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12727 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12728 (Bug#9364)
12729
12730 2011-10-24 Juri Linkov <juri@jurta.org>
12731
12732 * info.el (Info-following-node-name-re): Add newline to the list
12733 of allowed characters for leading space. (Bug#9824)
12734
12735 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * progmodes/octave-inf.el (inferior-octave-mode-map):
12738 Fix C-c C-h binding.
12739 * progmodes/octave-mod.el (octave-help): Remove.
12740
12741 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12742
12743 Sync with Tramp 2.2.3.
12744
12745 * net/tramp-cache.el (top): Pacify byte-compiler using
12746 `init-file-user' and `site-run-file'.
12747
12748 * net/trampver.el: Update release number.
12749
12750 2011-10-23 Chong Yidong <cyd@gnu.org>
12751
12752 * files.el (toggle-read-only): Remove obsolete comment about
12753 version control.
12754
12755 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12756 for toggle-read-only. Note that this hasn't called vc-next-action
12757 since 2008-05-02, though it wasn't documented at the time.
12758
12759 * vc/ediff-init.el (ediff-toggle-read-only-function):
12760 Use toggle-read-only.
12761
12762 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12763
12764 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12765 of c-parse-state.
12766
12767 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12768 correct faulty logical expression.
12769 (c-parse-state-state, c-record-parse-state-state):
12770 (c-replay-parse-state-state): New defvar/defuns.
12771 (c-debug-parse-state): Use new functions.
12772
12773 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12774
12775 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12776 last fix. Use window-in-direction correctly.
12777
12778 2011-10-21 Chong Yidong <cyd@gnu.org>
12779
12780 * progmodes/idlwave.el (idlwave-mode):
12781 * progmodes/vera-mode.el (vera-mode): No need to set
12782 require-final-newline; that's done in prog-mode.
12783 Suggested by Stefan Monnier.
12784
12785 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12786
12787 * mouse.el (mouse-drag-window-above)
12788 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12789 (mouse-drag-mode-line-1, mouse-drag-header-line)
12790 (mouse-drag-vertical-line-rightward-window): Remove.
12791 (mouse-drag-line): New function.
12792 (mouse-drag-mode-line, mouse-drag-header-line)
12793 (mouse-drag-vertical-line): Call mouse-drag-line.
12794 * window.el (window-at-side-p, windows-at-side): New functions.
12795
12796 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12797
12798 * tar-mode.el (tar-grind-file-mode):
12799 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12800
12801 2011-10-21 Chong Yidong <cyd@gnu.org>
12802
12803 * progmodes/idlwave.el (idlwave-mode):
12804 * progmodes/vera-mode.el (vera-mode):
12805 Use mode-require-final-newline.
12806
12807 2011-10-20 Glenn Morris <rgm@gnu.org>
12808
12809 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12810
12811 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12812
12813 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12814
12815 2011-10-20 Chong Yidong <cyd@gnu.org>
12816
12817 * emulation/cua-base.el (cua-mode):
12818 * mail/footnote.el (footnote-mode):
12819 * mail/mailabbrev.el (mail-abbrevs-mode):
12820 * net/xesam.el (xesam-minor-mode):
12821 * progmodes/bug-reference.el (bug-reference-mode):
12822 * progmodes/cap-words.el (capitalized-words-mode):
12823 * progmodes/compile.el (compilation-minor-mode)
12824 (compilation-shell-minor-mode):
12825 * progmodes/gud.el (gud-tooltip-mode):
12826 * progmodes/hideif.el (hide-ifdef-mode):
12827 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12828 * progmodes/subword.el (subword-mode):
12829 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12830 * progmodes/which-func.el (which-function-mode):
12831 * term/tvi970.el (tvi970-set-keypad-mode):
12832 * term/vt100.el (vt100-wide-mode):
12833 * textmodes/flyspell.el (flyspell-mode):
12834 * textmodes/ispell.el (ispell-minor-mode):
12835 * textmodes/nroff-mode.el (nroff-electric-mode):
12836 * textmodes/paragraphs.el (use-hard-newlines):
12837 * textmodes/refill.el (refill-mode):
12838 * textmodes/reftex.el (reftex-mode):
12839 * textmodes/rst.el (rst-minor-mode):
12840 * textmodes/sgml-mode.el (html-autoview-mode)
12841 (sgml-electric-tag-pair-mode):
12842 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12843 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12844 * emulation/crisp.el (crisp-mode):
12845 * emacs-lisp/eldoc.el (eldoc-mode):
12846 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12847 minor mode behavior.
12848
12849 2011-10-19 Juri Linkov <juri@jurta.org>
12850
12851 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12852 the list of hard-coded chars with escape-glyph face.
12853
12854 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12855
12856 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12857
12858 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12859
12860 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12861 running process.
12862
12863 2011-10-19 Glenn Morris <rgm@gnu.org>
12864
12865 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12866 Ignore ignored files. (Bug#9726)
12867
12868 2011-10-19 Chong Yidong <cyd@gnu.org>
12869
12870 Doc fix for minor modes, stating that an omitted argument enables
12871 the mode unconditionally when called from Lisp.
12872
12873 * abbrev.el (abbrev-mode):
12874 * allout.el (allout-mode):
12875 * autoinsert.el (auto-insert-mode):
12876 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12877 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12878 (global-auto-revert-mode):
12879 * battery.el (display-battery-mode):
12880 * composite.el (global-auto-composition-mode)
12881 (auto-composition-mode):
12882 * delsel.el (delete-selection-mode):
12883 * desktop.el (desktop-save-mode):
12884 * dired-x.el (dired-omit-mode):
12885 * dirtrack.el (dirtrack-mode):
12886 * doc-view.el (doc-view-minor-mode):
12887 * double.el (double-mode):
12888 * electric.el (electric-indent-mode, electric-pair-mode):
12889 * emacs-lock.el (emacs-lock-mode):
12890 * epa-hook.el (auto-encryption-mode):
12891 * follow.el (follow-mode):
12892 * font-core.el (font-lock-mode):
12893 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12894 * help.el (temp-buffer-resize-mode):
12895 * hilit-chg.el (highlight-changes-mode)
12896 (highlight-changes-visible-mode):
12897 * hi-lock.el (hi-lock-mode):
12898 * hl-line.el (hl-line-mode, global-hl-line-mode):
12899 * icomplete.el (icomplete-mode):
12900 * ido.el (ido-everywhere):
12901 * image-file.el (auto-image-file-mode):
12902 * image-mode.el (image-minor-mode):
12903 * iswitchb.el (iswitchb-mode):
12904 * jka-cmpr-hook.el (auto-compression-mode):
12905 * linum.el (linum-mode):
12906 * longlines.el (longlines-mode):
12907 * master.el (master-mode):
12908 * mb-depth.el (minibuffer-depth-indicate-mode):
12909 * menu-bar.el (menu-bar-mode):
12910 * minibuf-eldef.el (minibuffer-electric-default-mode):
12911 * mouse-sel.el (mouse-sel-mode):
12912 * msb.el (msb-mode):
12913 * mwheel.el (mouse-wheel-mode):
12914 * outline.el (outline-minor-mode):
12915 * paren.el (show-paren-mode):
12916 * recentf.el (recentf-mode):
12917 * reveal.el (reveal-mode, global-reveal-mode):
12918 * rfn-eshadow.el (file-name-shadow-mode):
12919 * ruler-mode.el (ruler-mode):
12920 * savehist.el (savehist-mode):
12921 * scroll-all.el (scroll-all-mode):
12922 * scroll-bar.el (scroll-bar-mode):
12923 * server.el (server-mode):
12924 * shell.el (shell-dirtrack-mode):
12925 * simple.el (auto-fill-mode, transient-mark-mode)
12926 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12927 (line-number-mode, column-number-mode, size-indication-mode)
12928 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12929 * strokes.el (strokes-mode):
12930 * time.el (display-time-mode):
12931 * t-mouse.el (gpm-mouse-mode):
12932 * tool-bar.el (tool-bar-mode):
12933 * tooltip.el (tooltip-mode):
12934 * type-break.el (type-break-mode-line-message-mode)
12935 (type-break-query-mode):
12936 * view.el (view-mode):
12937 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12938 (global-whitespace-mode, global-whitespace-newline-mode):
12939 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12940
12941 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12942 Fix autogenerated docstring.
12943
12944 2011-10-19 Juri Linkov <juri@jurta.org>
12945
12946 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12947 by checking environment variables "DESKTOP_SESSION" and
12948 "XDG_CURRENT_DESKTOP". (Bug#9779)
12949
12950 2011-10-19 Juri Linkov <juri@jurta.org>
12951
12952 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12953 (browse-url-chromium-program, browse-url-chromium-arguments):
12954 New defcustoms.
12955 (browse-url-default-browser): Check for `browse-url-chromium' and
12956 call `browse-url-chromium-program'.
12957 (browse-url-chromium): New command. (Bug#9779)
12958
12959 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12960
12961 * facemenu.el (list-colors-duplicates): On Windows, detect more
12962 duplicates by assuming that only colors matching "^System" are
12963 special "system colors". (Bug#9722)
12964
12965 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12968 to distinguish the author from the committer.
12969
12970 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12971
12972 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12973
12974 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12975
12976 * international/mule.el (sgml-html-meta-auto-coding-function):
12977 Add support for detecting encoding in HTML5 specified only as
12978 <meta charset="UTF-8">. Implementation just makes http-equiv and
12979 content-type parts from HTML4 encoding string optional. (Bug#9716)
12980
12981 2011-10-18 Glenn Morris <rgm@gnu.org>
12982
12983 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12984
12985 2011-10-18 Chong Yidong <cyd@gnu.org>
12986
12987 * faces.el (cursor): Doc fix.
12988
12989 2011-10-17 Chong Yidong <cyd@gnu.org>
12990
12991 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12992
12993 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12994
12995 * dirtrack.el (dirtrack): Support shell buffers with path
12996 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12997
12998 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12999
13000 * json.el: Bump version to 1.3 and note change in History.
13001 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13002
13003 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * comint.el (comint-insert-input, comint-send-input)
13006 (comint-get-old-input-default, comint-backward-matching-input)
13007 (comint-next-prompt): Use nil instead of `input' for field property of
13008 past user input (bug#114).
13009
13010 * minibuffer.el (completion--replace): Inherit surrounding properties
13011 (bug#114).
13012 (minibuffer-complete-and-exit): Use it.
13013
13014 * comint.el (comint--table-subvert): Quote the all-completions output
13015 (bug#9160).
13016
13017 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13018
13019 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13020
13021 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13022 window on right of selected. (Bug#9350) Reword other window
13023 entries and separate them from frame entries.
13024
13025 2011-10-15 Glenn Morris <rgm@gnu.org>
13026
13027 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13028 Doc fixes.
13029
13030 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * net/network-stream.el (network-stream-open-starttls):
13033 Improve detection of failure due to lack of TLS support.
13034
13035 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13036 putting the input text in front and in bold.
13037
13038 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13041
13042 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13043 empty buffer.
13044
13045 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13046 unread-command-events rather than pushing yet-another event.
13047
13048 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13049
13050 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13051 the explanation of the possible choices. Make the options passed
13052 to completing-read shorter.
13053
13054 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13055
13056 * textmodes/flyspell.el (flyspell-large-region): Make sure
13057 extended character mode is used if defined (Bug#1339).
13058
13059 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13060
13061 * simple.el (what-cursor-position): Fix the display of the
13062 character info for LRE, LRO, RLE, and RLO characters by appending
13063 an invisible PDF.
13064
13065 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13068 even in case of error; add debug spec; simplify data flow.
13069 (with-timeout-handler): Remove.
13070
13071 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13072
13073 Fix Bug#6019, Bug#9315.
13074
13075 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13076 complete `buffer-file-name', the local file name part could look
13077 remotely (for example on VMS).
13078
13079 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13080 `tramp-run-real-handler'.
13081 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13082 already quoted by '"'.
13083
13084 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13085 Let `file-name-handler-alist' be nil, the local file name part
13086 could look remotely (for example on VMS).
13087
13088 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13091 from here...
13092 (flyspell-post-command-hook): ...to here.
13093
13094 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13097 if not needed.
13098 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13099 using completion. Protect against "slow" callers.
13100 Remove the "message hack".
13101
13102 2011-10-11 Juri Linkov <juri@jurta.org>
13103
13104 * isearch.el (isearch-lazy-highlight-word): New variable.
13105 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13106 Use it. (Bug#9727)
13107
13108 2011-10-11 Glenn Morris <rgm@gnu.org>
13109
13110 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13111 like f90-previous-statement does.
13112
13113 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13114
13115 * eshell/eshell.el (eshell-command): History should be saved
13116 only in interactive use, to avoid error.
13117
13118 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13119
13120 * minibuffer.el (completion-file-name-table): Fix last change,
13121 i.e. ignore normal errors but not the other ones.
13122
13123 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (special-display-buffer-names)
13126 (special-display-regexps): Remove some remnants of earlier
13127 changes from doc-strings.
13128 (quit-windows-on): New function.
13129
13130 * vc/vc.el (vc-revert, vc-rollback):
13131 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13132 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13133 (Bug#6183) (Bug#7074) (Bug#7447)
13134
13135 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13136
13137 * window.el (frame-auto-hide-function): Add version tag.
13138 (Bug#9699)
13139
13140 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13141
13142 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13143 condition.
13144
13145 2011-10-09 Leo Liu <sdl.web@gmail.com>
13146
13147 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13148 (Bug#9701)
13149
13150 2011-10-08 Glenn Morris <rgm@gnu.org>
13151
13152 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13153 before the first code statement zero indent. (Bug#9690)
13154
13155 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13156
13157 * simple.el (count-words-region): Always count in the region.
13158 Report the number of lines and characters too.
13159 (count-words): New command, which counts in the buffer if the
13160 region is inactive, as count-words-region used to.
13161 (count-words--message): New function. Handle plurals.
13162 (count-lines-region): Make it an alias for count-words-region.
13163
13164 * bindings.el (esc-map): Replace count-lines-region with
13165 count-words-region.
13166
13167 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13168
13169 * window.el (window--delete): Delete dedicated frame
13170 unconditionally when argument KILL is non-nil. (Bug#9699)
13171 (switch-to-buffer): Fix doc-string typo.
13172
13173 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13174
13175 * eshell/eshell.el (eshell-command): Avoid using hooks.
13176
13177 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13178
13179 * bindings.el ([M-left],[M-right]): Bind to left-word and
13180 right-word respectively.
13181
13182 2011-10-07 Glenn Morris <rgm@gnu.org>
13183
13184 * cus-start.el (debug-on-quit): Fix custom type.
13185
13186 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187
13188 * subr.el (define-key-after): Clarify that the function is not
13189 useful for non-menu keymaps.
13190
13191 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13192
13193 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13194
13195 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13196 in current minibuffer (Fix bug with recursive minibuffers).
13197
13198 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13199
13200 * progmodes/gdb-mi.el (gdb): Doc fix.
13201
13202 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13203
13204 * window.el (frame-auto-hide-function): New option replacing
13205 frame-auto-delete. Suggested by Stefan Monnier.
13206 (window--delete): Call frame-auto-hide-function instead of
13207 investigating frame-auto-delete.
13208 (window-point-1, set-window-point-1): New functions.
13209 (window-in-direction, record-window-buffer, window-state-get-1)
13210 (display-buffer-record-window): Use window-point-1 instead of
13211 window-point.
13212 (set-window-buffer-start-and-point): Use set-window-point-1.
13213
13214 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13217
13218 2011-10-05 Glenn Morris <rgm@gnu.org>
13219
13220 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13221 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13222
13223 2011-10-05 Leo Liu <sdl.web@gmail.com>
13224
13225 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13226 works with buffer object.
13227
13228 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13229
13230 * mpc.el (mpc-tool-bar-map): Add labels.
13231
13232 2011-10-04 Glenn Morris <rgm@gnu.org>
13233
13234 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13235
13236 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13237
13238 * window.el (window--delete): New function.
13239 (frame-auto-delete): Resuscitate option.
13240 (bury-buffer, replace-buffer-in-windows)
13241 (quit-window): Rewrite using window--delete.
13242 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13243 Pass display-buffer-mark-dedicated to window--display-buffer-2
13244 (Bug#9639).
13245
13246 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13247
13248 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13249 returns a list (bug#9554). Add remote file name completion.
13250 * comint.el (comint--table-subvert): Curry and get quote&unquote
13251 functions as arguments.
13252 (comint--complete-file-name-data): Adjust call accordingly.
13253 * pcomplete.el (pcomplete--table-subvert): Remove.
13254 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13255
13256 * minibuffer.el (completion-table-case-fold): Use currying.
13257 (completion--styles-type, completion--cycling-threshold-type):
13258 New constants.
13259 (completion-styles, completion-category-overrides)
13260 (completion-cycle-threshold): Use them.
13261 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13262 completion-table-case-fold.
13263
13264 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13265
13266 * minibuffer.el (completion-category-overrides): Fix type of styles
13267 and add more user friendly tags (bug#9660).
13268
13269 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13272 (mule-input-method-string): New widget.
13273 (default-input-method, language-info-custom-alist): Use it.
13274
13275 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13276
13277 * pcomplete.el: Require comint.
13278 (pcomplete--common-suffix): Remove.
13279 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13280 (pcomplete--table-subvert): Sync with comint--table-subvert.
13281 (pcomplete--entries): Use comint-completion-file-name-table.
13282 * comint.el (comint-unquote-filename): Simplify.
13283 (comint-completion-file-name-table): New function (bug#9616).
13284 (comint--complete-file-name-data): Use it.
13285
13286 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13287 (pcmpl-gnu-tar-buffer): Remove.
13288 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13289 around. Make sure pcomplete-suffix-list is only changed temporarily.
13290 Don't look inside the tar's file if it's too large.
13291
13292 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13293
13294 * cus-edit.el (custom-mode-map):
13295 * epa.el (epa-key-list-mode-map):
13296 * man.el (Man-mode-map):
13297 * startup.el (splash-screen-keymap):
13298 * simple.el (special-mode-map): Use scroll-up-command and
13299 scroll-down-command.
13300
13301 * progmodes/idlw-help.el (idlwave-help-mode-map):
13302 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13303 * net/newst-plainview.el (newsticker-mode-map):
13304 * emulation/ws-mode.el (wordstar-mode-map):
13305 * emulation/vi.el (vi-com-map):
13306 * calc/calc-graph.el (calc-graph-show-dumb):
13307 * term/sun.el (terminal-init-sun):
13308 * term/ns-win.el (global-map):
13309 * progmodes/grep.el (grep-mode-map):
13310 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13311 * mail/rmail.el (rmail-mode-map):
13312 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13313
13314 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13315 custom-safe-themes as special.
13316
13317 2011-10-01 Julien Danjou <julien@danjou.info>
13318
13319 * notifications.el (notifications-notify): Fix docstring.
13320
13321 2011-10-01 Per Starbäck <per@starback.se>
13322
13323 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13324
13325 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13326
13327 * startup.el (command-line-1): Fix last fix by inserting
13328 initial-scratch-message into *scratch* before displaying it.
13329 (Bug#9605) and (Bug#9636)
13330
13331 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13332
13333 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13334 window is hscrolled, move by logical lines. (Bug#9607)
13335 (line-move-visual): Update the doc string to the above effect.
13336
13337 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13338
13339 * window.el (display-buffer-record-window): When WINDOW is the
13340 selected window use `point' instead of `window-point'. (Bug#9626)
13341
13342 * startup.el (command-line-1): Use insert-before-markers when
13343 inserting initial-scratch-message. (Bug#9605)
13344
13345 * help.el (help-window): Remove variable.
13346
13347 2011-09-29 Glenn Morris <rgm@gnu.org>
13348
13349 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13350
13351 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13352
13353 * descr-text.el (describe-char-categories): Accept category
13354 descriptions more than one line long.
13355
13356 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * simple.el (delete-trailing-whitespace): Fix last change.
13359
13360 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13361 Don't confuse "y => 3" as the beginning of a `y' operation.
13362
13363 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13364 object has more than 4 slots (bug#9613).
13365
13366 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13367
13368 * subr.el (with-output-to-temp-buffer):
13369 * net/quickurl.el (quickurl, quickurl-browse-url):
13370 Fix typos in docstrings.
13371
13372 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13373
13374 * minibuffer.el (completion-styles)
13375 (completion-category-overrides): Cross reference each other in doc
13376 strings.
13377
13378 2011-09-27 Glenn Morris <rgm@gnu.org>
13379
13380 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13381 to split-string. (Bug#9606)
13382
13383 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13384
13385 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13386 (bug#9615).
13387
13388 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13389
13390 * emacs-lisp/package.el (list-packages): Fix echo area message.
13391
13392 2011-09-27 Leo Liu <sdl.web@gmail.com>
13393
13394 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13395
13396 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13397
13398 * net/dbus.el (dbus-unregister-object): Don't release services for
13399 registered signals. (Bug#9581)
13400
13401 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13402
13403 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13404 function that picks between cfengine 2 and 3 support
13405 automatically. Update docs accordingly.
13406
13407 2011-09-22 Kenichi Handa <handa@m17n.org>
13408
13409 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13410 ZERO.
13411 (indian-itrans-v5-table-for-tamil): New variable.
13412 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13413
13414 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13415
13416 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13417 that's true if the current command involved collapsing of text.
13418 It's reset to false at the beginning of the next command.
13419 (allout-post-command-business): Move the cursor to the beginning
13420 of entry if the cursor is hidden and collapsing activity just
13421 happened.
13422
13423 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13424
13425 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13426 tracking (Bug#9541).
13427
13428 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13429
13430 * net/newst-reader.el (newsticker-html-renderer)
13431 (newsticker-show-news): Automatically load html rendering package
13432 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13433 because w3m-fill-column is let-bound" and the error "Symbol's value
13434 as variable is void: w3m-fill-column".
13435
13436 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13437
13438 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13439 Release services only if they are defined. (Bug#9581)
13440
13441 2011-09-23 Richard Stallman <rms@gnu.org>
13442
13443 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13444 distinguish start of paragraph from start of its text.
13445
13446 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13447
13448 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13449 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13450 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13451
13452 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 * international/mule-diag.el (mule-diag): Insert a newline after
13455 each fontset description.
13456
13457 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * simple.el (delete-trailing-whitespace):
13460 Document last change; simplify.
13461
13462 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13463
13464 * simple.el (delete-trailing-whitespace): Also delete
13465 extra newlines at the end of the buffer.
13466
13467 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13468 (picture-newline): Use forward-line so as to ignore fields.
13469
13470 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * subr.el (with-wrapper-hook): Fix edebug spec.
13473
13474 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13475
13476 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13477 (bug#4538).
13478
13479 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13480
13481 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13482 Fix nasty bug using wrong cached values.
13483
13484 2011-09-23 Alan Mackenzie <acm@muc.de>
13485
13486 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13487
13488 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13489
13490 * window.el (pop-to-buffer): Ensure right window is selected if we
13491 chose another frame.
13492
13493 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13494
13495 * simple.el (what-cursor-position): Use get-char-property-change
13496 and next-single-char-property-change, to be able to show display
13497 properties that come from overlays as well as text properties.
13498
13499 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13500
13501 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13502
13503 * cmuscheme.el (run-scheme, switch-to-scheme):
13504 * cus-edit.el (customize-group, custom-buffer-create)
13505 (customize-browse):
13506 * info.el (info):
13507 * shell.el (shell):
13508 * mail/sendmail.el (mail):
13509 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13510
13511 2011-09-22 Richard Stallman <rms@gnu.org>
13512
13513 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13514 move back only to line beg, don't move back over blank lines.
13515
13516 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13517
13518 * files.el (copy-directory): Set directory attributes only in case
13519 they could be retrieved from the source directory. (Bug#9565)
13520
13521 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13522
13523 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13524 (hs-find-block-beginning, hs-hide-level-recursive):
13525 Ignore strings as well as comments. (Bug#9502)
13526
13527 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13528
13529 * progmodes/sql.el (sql-comint-postgres):
13530 Convert port number to a string. (Bug#9566)
13531
13532 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13533
13534 * window.el (quit-window): Undedicate window when switching to
13535 previous buffer. Reported by Thierry Volpiatto
13536 <thierry.volpiatto@gmail.com>.
13537 (special-display-popup-frame): When popping up a new frame reset
13538 its previous buffers to nil. Simplify code.
13539
13540 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13541
13542 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13543 and process filter, as done also in `shell-command'.
13544
13545 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13546
13547 * window.el (set-window-buffer-start-and-point):
13548 Call set-window-start with NOFORCE argument t.
13549 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13550 (quit-window): Reword doc-string. Handle new format of
13551 quit-restore parameter. Don't delete window if it has a
13552 previous buffer we can show instead of the present one.
13553 (display-buffer-record-window): Rewrite using a new format for
13554 the quit-restore window parameter
13555 (special-display-popup-frame, display-buffer-same-window)
13556 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13557 (display-buffer-pop-up-window, display-buffer-use-some-window):
13558 Adapt symbol passed to display-buffer-record-window.
13559 * help.el (help-window-setup): Handle new format of quit-restore
13560 parameter.
13561
13562 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * faces.el (face-list): Fix docstring (bug#9564).
13565
13566 * window.el (display-buffer--action-function-custom-type):
13567 Don't include internal functions in the Custom interface.
13568
13569 2011-09-20 Juri Linkov <juri@jurta.org>
13570
13571 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13572 (Info-forward-node, Info-backward-node, Info-next-preorder)
13573 (Info-last-preorder): Use it. (Bug#9528)
13574
13575 2011-09-20 Juri Linkov <juri@jurta.org>
13576
13577 * info.el (Info-last-preorder): Visit last menu item only when
13578 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13579
13580 2011-09-20 Julien Danjou <julien@danjou.info>
13581
13582 * password-cache.el (password-cache-remove): Remove entries even if the
13583 value is nil, so that password with a nil value (negative caching) is
13584 possible to invalidate.
13585
13586 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13587
13588 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13589 all whitespace around breakpoint. (Bug#9553)
13590 (f90-find-breakpoint): Only break at whitespace inside a comment.
13591
13592 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * minibuffer.el (completion-file-name-table): Keep track of errors.
13595 (completion-table-with-predicate): Handle the case where pred1 is nil.
13596 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13597
13598 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13601 (debugger-return-value): Signal an error if the debugging context does
13602 not await any return value.
13603
13604 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13605 * image-mode.el (image-toggle-display-text)
13606 (image-toggle-display-image): Stay away from evil `intangible'.
13607
13608 2011-09-19 Leo Liu <sdl.web@gmail.com>
13609
13610 * replace.el (occur-revert-arguments): Make it permanent-local.
13611 (occur-mode): Don't call font-lock-defontify.
13612
13613 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13614
13615 * net/ldap.el (ldap-search-internal): Don't push empty search
13616 result (Bug#9508).
13617
13618 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13621
13622 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13623
13624 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13625 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13626
13627 2011-09-18 Juri Linkov <juri@jurta.org>
13628
13629 * buff-menu.el (Buffer-menu-mode-map):
13630 * dired.el (dired-mode-map):
13631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13632 (lisp-interaction-mode-map):
13633 * emacs-lisp/package.el (package-menu-mode-map):
13634 * epa.el (epa-key-list-mode-map):
13635 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13636 (menu-bar-options-menu):
13637 * outline.el (outline-mode-menu-bar-map):
13638 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13639 * vc/vc-dir.el (vc-dir-menu-map):
13640 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13641 Capitalize non-function content words in menu item strings.
13642
13643 * dired.el (dired-mode-map): Add menu item for
13644 `image-dired-dired-toggle-marked-thumbs'.
13645
13646 2011-09-18 Juri Linkov <juri@jurta.org>
13647
13648 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13649 to `isearch-case-fold-search' and restore its original value
13650 after the `isearch-mode' call.
13651
13652 2011-09-18 Juri Linkov <juri@jurta.org>
13653
13654 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13655 because `zgrep' returns 1 for successful matches (bug#9226).
13656
13657 2011-09-18 Juri Linkov <juri@jurta.org>
13658
13659 * info.el (Info-extract-menu-node-name): Check the second match
13660 for empty string (second test-case of bug#9528).
13661 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13662 intermediate nodes to the history (first test-case of bug#9528).
13663
13664 2011-09-18 Juri Linkov <juri@jurta.org>
13665
13666 * info.el (Info-mode-syntax-table): New variable.
13667 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13668
13669 2011-09-18 Juri Linkov <juri@jurta.org>
13670
13671 * info.el (Info-file-supports-index-cookies):
13672 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13673 outputs one more line for long file names (bug#4142).
13674
13675 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13676
13677 * newcomment.el (comment-normalize-vars): If prompting for
13678 comment-start, set comment-start-skip too (Bug#8424).
13679
13680 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13681
13682 * icomplete.el: Fix previous fix of Bug#5849.
13683 (icomplete-mode): Don't set completion-show-inline-help.
13684 (icomplete-minibuffer-setup): Set completion-show-inline-help
13685 locally during icompletion.
13686
13687 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13688
13689 * woman.el (woman2-process-escapes): Don't delete unrecognized
13690 escapes (Bug#7843).
13691
13692 * files.el (inhibit-first-line-modes-regexps): Add image files.
13693 (hack-local-variables-prop-line): Return nil for malformed
13694 prop-lines (Bug#9044).
13695
13696 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13697
13698 * net/tramp.el (top): Don't require 'shell.
13699 (tramp-methods): Fix docstring.
13700 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13701 Return complete remote file name. Handle "smb" case.
13702 Use `tramp-tmpdir', if defined for the respective method.
13703 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13704
13705 * net/tramp-compat.el (top): Require 'shell.
13706
13707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13708 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13709 `tramp-current-host'.
13710 (tramp-get-remote-tmpdir): Remove.
13711
13712 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13713 `tramp-tmpdir' entries.
13714 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13715 (tramp-smb-handle-file-attributes): Ignore errors.
13716 (tramp-smb-wait-for-output): Check also for process end.
13717
13718 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13719
13720 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13721 when sending QUIT (bug#9312).
13722
13723 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13724
13725 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13726 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13727 occur-mode-display-occurrence.
13728 (occur-edit-mode): Add usage message.
13729 (occur-cease-edit): New command.
13730 (occur-after-change-function): Use text properties to find the
13731 position of the prefix text.
13732 (occur-engine): Set stickiness of prefix text properties.
13733
13734 2011-09-17 Glenn Morris <rgm@gnu.org>
13735
13736 * progmodes/etags.el (complete-tag):
13737 Fix call to completion-in-region. (Bug#9526)
13738
13739 2011-09-17 Juri Linkov <juri@jurta.org>
13740
13741 * textmodes/ispell.el (ispell-word): Add to the error message
13742 the word, ispell program name and current dictionary (bug#9121).
13743 (ispell-tex-arg-end): Capitalize "error" in the error message.
13744
13745 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13746
13747 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13748 check. (Bug#4251)
13749
13750 2011-09-17 Juri Linkov <juri@jurta.org>
13751
13752 * window.el (window-safe-min-height, window-safe-min-width):
13753 Fix typos (followup to bug#9522).
13754
13755 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13756
13757 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13758
13759 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13760
13761 * simple.el (line-move): If goal-column is set, move by logical
13762 lines, not by display lines. (Bug#971)
13763 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13764 to reflect the above change.
13765
13766 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * image.el (imagemagick-register-types): Use regexp-opt.
13769
13770 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13771
13772 * window.el (display-buffer-base-action): Rename from
13773 display-buffer-default-action. Make default value empty.
13774 (display-buffer-overriding-action): Convert to defvar.
13775 (display-buffer-fallback-action): New var.
13776
13777 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13778
13779 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13780 declaration.
13781 (package--add-to-archive-contents): If there is a duplicate entry
13782 with an older version, remove it.
13783 (package-menu-mark-delete, package-menu-mark-install)
13784 (package-menu-mark-unmark): Make unused args optional.
13785 (package-menu-mark-obsolete-for-deletion):
13786 Use package-menu-get-status instead of a regexp search.
13787 (package-menu-get-status): Use tabulated-list-entry.
13788 (package-menu-mark-upgrades): New command.
13789 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13790 (package-menu-execute): Do installation before deletion.
13791 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13792 instead of checking major-mode.
13793 (package-menu--find-upgrades): New function.
13794
13795 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13796
13797 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13798 passwords in the log buffer.
13799 (smtpmail-process-filter): Update the process marker so that the
13800 "broken by peer" status message is inserted in the right place.
13801
13802 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13805 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13806 bibtex-completion-at-point-function.
13807 (bibtex-completion-at-point-function): Use them.
13808
13809 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13810
13811 * mpc.el (mpc-constraints-tag-lookup): New function.
13812 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13813 also to browser "album|playlist".
13814
13815 2011-09-14 Juri Linkov <juri@jurta.org>
13816
13817 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13818 (isearch-edit-string): Use length of `isearch-string' when
13819 `isearch-fail-pos' returns nil.
13820 (isearch-message): Remove duplicate code and call
13821 `isearch-fail-pos' with arg `t'.
13822
13823 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13824
13825 * replace.el (occur-mode-goto-occurrence): Don't force using other
13826 window (Bug#9499).
13827
13828 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13829
13830 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13831
13832 * window.el (display-buffer-window): Remove.
13833 (display-buffer-record-window): Use help-setup window parameter
13834 instead of variable display-buffer-window.
13835 (display-buffer-function, special-display-buffer-names)
13836 (special-display-function): Mention help-setup parameter instead
13837 of display-buffer-window in doc-string.
13838 * help.el (help-window-setup): New argument help-window.
13839 Use help-window-setup parameter instead of display-buffer-window.
13840 Reword some messages.
13841 (with-help-window): Pass window used for displaying the buffer
13842 to help-window-setup. Don't set display-buffer-window.
13843
13844 2011-09-13 Glenn Morris <rgm@gnu.org>
13845
13846 * emacs-lisp/debug.el (debugger-make-xrefs):
13847 Preserve point. (Bug#9462)
13848
13849 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13850
13851 * window.el (window-deletable-p): Use next-frame.
13852
13853 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13854
13855 * window.el (window-auto-delete): Remove.
13856 (window-deletable-p): Remove argument FORCE. Don't deal with
13857 dedication and previous buffers.
13858 (switch-to-prev-buffer): Don't delete window.
13859 (delete-windows-on): Delete a window's frame if and only if the
13860 window is dedicated.
13861 (replace-buffer-in-windows): Delete buffer's window or frame if
13862 and only if window is dedicated.
13863 (quit-window): Handle quit-restore as before last change.
13864 (bury-buffer): Delete window only if window-deletable-p returns t.
13865
13866 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13867
13868 * window.el (window-deletable-p): Never delete the last frame on a
13869 given terminal.
13870
13871 2011-09-13 Glenn Morris <rgm@gnu.org>
13872
13873 * help.el (describe-key-briefly): Copy previous standard-output change.
13874
13875 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13876
13877 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13878
13879 2011-09-13 Glenn Morris <rgm@gnu.org>
13880
13881 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13882 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13883
13884 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13885
13886 * dired-aux.el (dired-mark-read-string): Don't return default
13887 value on empty input (Bug#9361).
13888 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13889 Omit initial minibuffer contents.
13890 (dired-do-chmod): Signal an error on empty input.
13891 (dired-mark-read-string): Don't return default on empty input.
13892
13893 * files.el (file-modes-symbolic-to-number): Doc fix.
13894
13895 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * international/mule-cmds.el (ucs-completions): Remove.
13898 (read-char-by-name): Use complete-with-action instead; add metadata.
13899
13900 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13901
13902 * window.el (display-buffer--action-function-custom-type)
13903 (display-buffer--action-custom-type): New vars.
13904 (display-buffer-alist, display-buffer-default-action)
13905 (display-buffer-overriding-action): Add defcustom types.
13906
13907 * frame.el (delete-other-frames): Doc fix (Bug#276).
13908
13909 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13910
13911 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13912
13913 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13914
13915 Change modes that used same-window-* vars to use switch-to-buffer.
13916
13917 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13918 Use switch-to-buffer.
13919
13920 * cus-edit.el (customize-group, custom-buffer-create)
13921 (customize-browse, custom-buffer-create-other-window):
13922 Use switch-to-buffer or switch-to-buffer-other-window.
13923
13924 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13925 (Info-prev, Info-up, Info-speedbar-goto-node)
13926 (info-display-manual): Use switch-to-buffer.
13927 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13928
13929 * mail/sendmail.el (mail): Use switch-to-buffer.
13930 (mail-recover): Use switch-to-buffer-other-window.
13931
13932 * cmuscheme.el (run-scheme, switch-to-scheme):
13933 * ielm.el (ielm):
13934 * shell.el (shell):
13935 * net/rlogin.el (rlogin):
13936 * net/telnet.el (telnet, rsh):
13937 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13938
13939 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13940
13941 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13942
13943 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13944
13945 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13946 so don't mention it (bug#9301).
13947 (dired-sort-toggle-or-edit): Clarify string further.
13948
13949 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13950 match `x', `w32' and `ns', like the manual says (bug#9029).
13951
13952 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13953 (process-kill-buffer-query-function): Mention the buffer name in
13954 the query.
13955
13956 * image-mode.el (image-next-line): The line parameter is mandatory
13957 (bug#9258).
13958
13959 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13960 which can be useful (bug#9301).
13961
13962 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13963
13964 * subr.el (match-string): Mention that the current buffer should
13965 be the same as the search was done in (bug#9282).
13966
13967 * facemenu.el: Disable the remove-* commands if the mark isn't
13968 active (bug#9162).
13969
13970 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13971
13972 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13973 of display-buffer.
13974 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13975
13976 * replace.el (occur-mode-goto-occurrence)
13977 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13978 and display-buffer.
13979
13980 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13981 display-buffer.
13982
13983 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13984 special-display and same-window variables.
13985 (mail-other-window): Use switch-to-buffer-other-window.
13986 (mail-other-frame): USe switch-to-buffer-other-frame.
13987
13988 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13989 Use display-buffer-other-frame.
13990 (gdb-display-gdb-buffer): Use pop-to-buffer.
13991
13992 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13993
13994 * progmodes/python.el: Don't set same-window-buffer-names.
13995
13996 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13997
13998 * window.el (display-buffer-alist): Add *Python*.
13999
14000 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14001
14002 * window.el (display-buffer-alist): Add entry for buffers
14003 previously handled same-window-*.
14004 (display-buffer-alist, display-buffer-default-action)
14005 (display-buffer-overriding-action): Mark as risky.
14006 (display-buffer-alist): Document action function changes.
14007 (display-buffer--same-window-action)
14008 (display-buffer--other-frame-action): New variables.
14009 (switch-to-buffer, display-buffer-other-frame): Use them.
14010 (display-buffer): Rename reuse-frame entry to reusable-frames.
14011 (display-buffer-reuse-selected-window): Function deleted.
14012 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14013 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14014 (display-buffer-special): New function.
14015 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14016 display-buffer-reuse-or-pop-window. Split off special-display
14017 part into display-buffer-special.
14018 (display-buffer-use-some-window): Don't perform any special
14019 pop-up-frames handling.
14020 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14021 (display-buffer--maybe-same-window): Rename from
14022 display-buffer-maybe-same-window.
14023
14024 * info.el: Don't set same-window-regexps.
14025 (info-setup): New function.
14026 (info-other-window, info): Call it.
14027
14028 * cus-edit.el: Don't set same-window-regexps.
14029 (customize-group): New argument.
14030 (customize-group-other-window): Use it.
14031 (customize-face, customize-face-other-window): Likewise.
14032 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14033
14034 * net/rlogin.el:
14035 * net/telnet.el:
14036 * progmodes/gud.el: Don't set same-window-regexps.
14037
14038 * cmuscheme.el:
14039 * ielm.el:
14040 * shell.el:
14041 * mail/sendmail.el:
14042 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14043
14044 2011-09-10 Juri Linkov <juri@jurta.org>
14045
14046 * isearch.el (isearch-edit-string): Remove obsolete mention of
14047 `C-w' (`isearch-yank-word-or-char') from docstring.
14048 (isearch-query-replace): Fix typo in docstring (bug#9466).
14049
14050 2011-09-10 Juri Linkov <juri@jurta.org>
14051
14052 * paren.el (show-paren-function): Don't show escaped parens.
14053 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14054
14055 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14056
14057 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14058 (mm-default-file-encoding): Remove autoload forms, they are
14059 replaced with autoload cookies in mml.el and mm-encode.el.
14060 (mail-add-attachment): New command.
14061 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14062 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14063 the doc string.
14064 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14065
14066 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14067
14068 * simple.el (count-words-region): Use buffer if there's no region
14069 (bug#9429).
14070
14071 2011-09-09 Juri Linkov <juri@jurta.org>
14072
14073 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14074 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14075 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14076
14077 2011-09-09 Alan Mackenzie <acm@muc.de>
14078
14079 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14080 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14081
14082 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14083
14084 Fix for Savannah bug#9392.
14085 * simple.el (mail-encode-mml): New defvar.
14086
14087 * mail/rmail.el (mail-encode-mml): Add a defvar.
14088 (rmail-enable-mime-composing): Default to t.
14089 (rmail-forward): Use MIME method of forwarding only if both
14090 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14091 Set mail-encode-mml non-nil if the MIME method was used.
14092
14093 * mail/sendmail.el (mml-to-mime): Add autoload form.
14094 (mail-encode-mml): Add a defvar.
14095 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14096 to nil.
14097 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14098 message through mml-to-mime, and reset mail-encode-mml to nil.
14099
14100 2011-09-09 Glenn Morris <rgm@gnu.org>
14101
14102 * woman.el (woman-if-body): When processing an .el block,
14103 do not delete the next .el block as well. (Bug#9447)
14104 (woman-special-characters): Add oq, cq, and hy characters.
14105
14106 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14107
14108 * window.el (window-deletable-p): Make sure window is live before
14109 invoking window-prev-buffers.
14110
14111 2011-09-08 Leo Liu <sdl.web@gmail.com>
14112
14113 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14114
14115 2011-09-08 Juri Linkov <juri@jurta.org>
14116
14117 * progmodes/compile.el (compilation-environment): Make it
14118 a defcustom (bug#8340).
14119
14120 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14121
14122 * window.el (frame-auto-delete): Rename to window-auto-delete.
14123 Make it control auto-deletion of windows and/or frames.
14124 (window-deletable-p): New argument FORCE. Rewrite conditions
14125 for deleting window/frame. (Bug#9419)
14126 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14127 Rewrite handling of case when window/frame can be deleted.
14128 (delete-windows-on): Call window-deletable-p with new FORCE
14129 argument t. (Bug#9456)
14130
14131 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14132
14133 * help-mode.el (help-mode): Restore autoload.
14134
14135 2011-09-07 Juri Linkov <juri@jurta.org>
14136
14137 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14138 `compilation-environment'. Set buffer-local
14139 `compilation-environment' to `thisenv' later after (funcall mode).
14140 (Bug#8340)
14141
14142 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14143 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14144 instead of replacing its value. (Bug#8340)
14145
14146 2011-09-07 Juri Linkov <juri@jurta.org>
14147
14148 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14149 based on text properties put by `grep-filter' instead of matching
14150 escape sequences.
14151 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14152 to the value of `grep-error-screen-columns' (bug#9438).
14153
14154 2011-09-07 Juri Linkov <juri@jurta.org>
14155
14156 * simple.el (next-error-highlight, next-error-highlight-no-select):
14157 Doc fix (bug#9432).
14158
14159 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14160
14161 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14162 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14163
14164 2011-09-07 Leo Liu <sdl.web@gmail.com>
14165
14166 * net/rcirc.el (rcirc-mode): Conditionally initialize
14167 rcirc-input-ring.
14168
14169 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14170
14171 * emacs-lisp/find-func.el (find-function-C-source): Only set
14172 find-function-C-source-directory after checking that we found a source
14173 file there (bug#9440).
14174
14175 2011-09-06 Alan Mackenzie <acm@muc.de>
14176
14177 * isearch.el (isearch-other-meta-char): Wherever a key list is
14178 unread, "unread" the prefix arg, too. This fixes bug #8901.
14179
14180 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14181
14182 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14183
14184 2011-09-05 Juri Linkov <juri@jurta.org>
14185
14186 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14187
14188 2011-09-05 Juri Linkov <juri@jurta.org>
14189
14190 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14191 keeping point where processing of grep matches begins, and
14192 continue to delete remaining escape sequences from the same point.
14193 (grep-filter): Make leading zero optional in "0?1;31m" because
14194 git-grep emits "\033[1;31m" escape sequences unlike expected
14195 "\033[01;31m" as GNU Grep does (bug#9408).
14196 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14197
14198 2011-09-05 Juri Linkov <juri@jurta.org>
14199
14200 * subr.el (y-or-n-p): Capitalize "yes".
14201
14202 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14203
14204 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14205 `tramp-cache-unload-hook' where appropriate.
14206 (tramp-methods): Rename `tramp-remote-sh' to
14207 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14208 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14209
14210 * net/tramp-sh.el (top): Don't require 'shell.
14211 (tramp-methods): Add `tramp-remote-shell' and
14212 `tramp-remote-shell-args' entries.
14213 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14214 (tramp-sh-handle-shell-command): Remove.
14215 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14216 Use `tramp-remote-shell'.
14217
14218 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14219
14220 * mail/sendmail.el (sendmail-query-once-function): Delete.
14221 (sendmail-query-once): Save directly to send-mail-function.
14222 Update message-send-mail-function too.
14223
14224 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14225
14226 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14227
14228 * progmodes/python.el (python-mode-map): Use correct function to
14229 start python interpreter from menu-bar (as reported by Geert
14230 Kloosterman).
14231 (inferior-python-mode-map): Fix typo.
14232 (python-shell-map): Remove.
14233
14234 2011-09-03 Deniz Dogan <deniz@dogan.se>
14235
14236 * net/rcirc.el (rcirc-print): Simplify code for
14237 rcirc-scroll-show-maximum-output. There is no need to walk
14238 through all windows to find the right one.
14239
14240 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14241
14242 * help.el (help-return-method): Doc fix.
14243
14244 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14245
14246 * window.el (window-deletable-p): Don't return a non-nil value
14247 when there's a buffer that was shown in the window before.
14248 (Bug#9419)
14249 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14250 Set window's previous buffers to nil.
14251
14252 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14253
14254 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14255 newline before and after the tag line, so it doesn't interfere
14256 with determining the paragraph direction of bidirectional text.
14257
14258 2011-09-03 Leo Liu <sdl.web@gmail.com>
14259
14260 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14261
14262 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14263
14264 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14265 (pop-to-buffer): Change interactive spec. Pass second argument
14266 directly to display-buffer.
14267 (display-buffer): Fix interactive spec. Use functionp to
14268 distinguish between a function and a list of functions.
14269
14270 * abbrev.el (edit-abbrevs):
14271 * arc-mode.el (archive-extract):
14272 * autoinsert.el (auto-insert):
14273 * bookmark.el (bookmark-bmenu-list):
14274 * files.el (find-file):
14275 * view.el (view-buffer):
14276 * progmodes/compile.el (compilation-goto-locus):
14277 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14278
14279 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14280
14281 * window.el (display-buffer-alist): Doc fix.
14282 (display-buffer): Add docstring. Don't treat
14283 display-buffer-default specially.
14284 (display-buffer-reuse-selected-window)
14285 (display-buffer-same-window, display-buffer-maybe-same-window)
14286 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14287 (display-buffer-pop-up-window)
14288 (display-buffer-reuse-or-pop-window)
14289 (display-buffer-use-some-window): New functions.
14290 (display-buffer-default-action): Use them.
14291 (display-buffer-default): Delete.
14292 (pop-to-buffer-1): Fix choice of actions.
14293
14294 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * minibuffer.el (completion--insert-strings): Don't get confused by
14297 completion entries that end with an LF char.
14298
14299 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14300
14301 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14302
14303 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * window.el (display-buffer): Restore interactive spec.
14306 (display-buffer-same-window, display-buffer-other-window):
14307 New functions.
14308 (pop-to-buffer-1): New function. Use the above.
14309 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14310 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14311
14312 * view.el (view-buffer-other-window, view-buffer-other-frame):
14313 Just use pop-to-buffer.
14314
14315 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14316
14317 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14318
14319 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14320
14321 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14322
14323 2011-08-31 Richard Stallman <rms@gnu.org>
14324
14325 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14326 of the separation of rmail-view-buffer from rmail-buffer.
14327 If you say no to "replace original", the decrypt is in the
14328 view buffer. If you say yes, the decrypt goes into the
14329 rmail buffer also.
14330
14331 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14332
14333 * window.el (display-buffer-window): Rewrite doc-string.
14334 (display-buffer-record-window): New function.
14335 (display-buffer-macro-specifiers)
14336 (display-buffer-even-window-sizes, display-buffer-set-height)
14337 (display-buffer-set-width, display-buffer-in-window)
14338 (display-buffer-reuse-window, display-buffer-split-specifiers)
14339 (display-buffer-side-specifiers, display-buffer-split-window-1)
14340 (display-buffer-split-window, display-buffer-split-atom-window)
14341 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14342 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14343 (display-buffer-other-window-means-other-frame)
14344 (display-buffer-normalize-special)
14345 (display-buffer-normalize-default)
14346 (display-buffer-normalize-argument)
14347 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14348 (display-buffer-normalize-specifiers, display-buffer-frame)
14349 (display-buffer-same-window, display-buffer-same-frame)
14350 (display-buffer-other-window)
14351 (display-buffer-same-frame-other-window)
14352 (display-buffer-other-frame, pop-to-buffer-same-window)
14353 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14354 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14355 (switch-to-buffer-same-frame)
14356 (switch-to-buffer-other-window-same-frame)
14357 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14358 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14359 (display-buffer-alist-set): Remove.
14360 (display-buffer-function, special-display-buffer-names)
14361 (special-display-regexps, special-display-function):
14362 In doc-string refer to display-buffer-window and quit-restore
14363 parameter.
14364 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14365 (special-display-frame-alist, special-display-popup-frame)
14366 (same-window-buffer-names, same-window-regexps, same-window-p)
14367 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14368 (split-window-preferred-function, split-height-threshold)
14369 (split-width-threshold, window-splittable-p)
14370 (split-window-sensibly, window--try-to-split-window)
14371 (window--frame-usable-p, even-window-heights)
14372 (window--even-window-heights, window--display-buffer-1)
14373 (window--display-buffer-2, display-buffer-other-frame):
14374 Restore old Emacs 23 code, order and doc-strings where applicable.
14375 (display-buffer-default, display-buffer-assq-regexp): New functions.
14376 (display-buffer-alist): Rewrite doc-string.
14377 (display-buffer-default-action)
14378 (display-buffer-overriding-action): New variables.
14379 (display-buffer, switch-to-buffer): Rewrite.
14380 (pop-to-buffer): Restore Emacs 23 behavior but use
14381 window-normalize-buffer-to-display.
14382 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14383 Restore Emacs 23 behavior but use
14384 window-normalize-buffer-to-switch-to.
14385 (pop-to-buffer-same-window): Rewrite.
14386 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14387 Rewrite using Emacs 23 options.
14388
14389 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14390
14391 * net/tramp.el (tramp-root-regexp): Remove.
14392 (tramp-completion-file-name-regexp-unified)
14393 (tramp-completion-file-name-regexp-separate)
14394 (tramp-completion-file-name-regexp-url): Don't use leading volume
14395 letter on w32 systems. (Bug#5303, Bug#9311)
14396 (tramp-drop-volume-letter): Simplify definition.
14397 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14398
14399 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14402 (bug#9356).
14403
14404 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14405
14406 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14407
14408 2011-08-29 Juri Linkov <juri@jurta.org>
14409
14410 * isearch.el (isearch-done): Don't display message "Mark saved"
14411 when arg `edit' is non-nil to prevent its flicker in the echo area.
14412
14413 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14414
14415 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14416 obsolete packages for deletion.
14417
14418 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14419
14420 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14421 (help-mode): Derive help-mode from special-mode. Don't invoke
14422 view-mode from help-mode.
14423 (help-xref-override-view-map): Remove.
14424 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14425 view-mode is not used anymore.
14426
14427 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14428
14429 * server.el (server-port): Doc fix.
14430
14431 * cus-theme.el (custom-theme-choose-mode): Inherit from
14432 special-mode (Bug#9124).
14433 (custom-theme-choose-mode-map): Add special-mode to parent.
14434
14435 2011-08-28 Alan Mackenzie <acm@muc.de>
14436
14437 * progmodes/cc-fonts.el
14438 (c-make-font-lock-BO-decl-search-function): New function.
14439 (c-basic-matchers-after - "Fontify the clauses after various
14440 keywords"): Extract the three keyword lists for the 3 erroneous
14441 constructs from the list of four, and use the new function above
14442 in place of an old one.
14443
14444 2011-08-28 Deniz Dogan <deniz@dogan.se>
14445
14446 * net/rcirc.el (rcirc-insert-prev-input)
14447 (rcirc-insert-next-input): Remove unused argument.
14448
14449 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14450
14451 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14452
14453 2011-08-27 Alan Mackenzie <acm@muc.de>
14454
14455 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14456 handle function pointer parameters properly.
14457
14458 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14459
14460 * window.el (display-buffer-reuse-window): Fix case where
14461 selected window was reused with non-nil OTHER-WINDOW argument.
14462 (Bug#9381)
14463
14464 2011-08-27 Deniz Dogan <deniz@dogan.se>
14465
14466 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14467 oftc's NickServ messages.
14468
14469 2011-08-27 Glenn Morris <rgm@gnu.org>
14470
14471 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14472
14473 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14474
14475 * emacs-lisp/package.el (package-install): Call package-initialize
14476 if called interactively.
14477
14478 2011-08-26 Leo Liu <sdl.web@gmail.com>
14479
14480 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14481
14482 2011-08-25 Juri Linkov <juri@jurta.org>
14483
14484 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14485 `search-whitespace-regexp' (bug#9364).
14486
14487 2011-08-25 Juri Linkov <juri@jurta.org>
14488
14489 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14490 `regexp-search-ring' to their global values to protect from
14491 updating by `read-from-minibuffer' (bug#9185).
14492
14493 2011-08-25 Juri Linkov <juri@jurta.org>
14494
14495 * textmodes/ispell.el (ispell-command-loop): Add newline
14496 at the end of the "Use option `i'..." line.
14497
14498 2011-08-25 Juri Linkov <juri@jurta.org>
14499
14500 * battery.el (display-battery-mode): If `battery-status-function'
14501 or `battery-mode-line-format' is nil, display the message and set
14502 `display-battery-mode' to nil (bug#9363).
14503
14504 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14505
14506 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14507 bidi-string-mark-left-to-right; they are unnecessary now.
14508
14509 2011-08-25 Deniz Dogan <deniz@dogan.se>
14510
14511 * net/quickurl.el: Documentation typo fixes.
14512
14513 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14514
14515 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14516
14517 2011-08-25 Glenn Morris <rgm@gnu.org>
14518
14519 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14520
14521 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14522 (smtpmail-via-smtp): Handle nil response from smtp.
14523
14524 2011-08-24 Juri Linkov <juri@jurta.org>
14525
14526 * proced.el (proced-marked): Inherit from `error' instead of
14527 `font-lock-warning-face'.
14528
14529 * ibuffer.el (ibuffer-marked-face): Change default face from
14530 `font-lock-warning-face' to `warning'.
14531 (ibuffer-deletion-face): Change default face from
14532 `font-lock-type-face' to `error'.
14533
14534 * battery.el (battery-update): Use the face `error' instead of
14535 `font-lock-warning-face' (bug#6117).
14536
14537 2011-08-24 Juri Linkov <juri@jurta.org>
14538
14539 * faces.el (success): Change face color from "Green3" to
14540 "ForestGreen" on light background (bug#9353).
14541
14542 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14543
14544 * window.el (quit-window): Rename from quit-restore-window.
14545 Use same arglist as old quit-window.
14546 (frame-auto-delete): Doc fix.
14547
14548 * view.el (view-mode-exit): Use quit-window.
14549
14550 2011-08-24 Juri Linkov <juri@jurta.org>
14551
14552 * isearch.el (isearch-ring-adjust1): Start visiting previous
14553 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14554 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14555 for empty search string (when the last search string is reused
14556 automatically) to adjust the isearch ring to the last element and
14557 prepare the correct index for further M-p commands (bug#9185).
14558
14559 2011-08-24 Kenichi Handa <handa@m17n.org>
14560
14561 * international/ucs-normalize.el: If decomposition property of
14562 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14563 nil.
14564 (nfd, nfkd): Likewise.
14565
14566 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14569 from process filters aren't reliably transmitted to the surrounding
14570 accept-process-output.
14571 (mpc-proc-check): New function.
14572 (mpc-proc-sync): Use it (bug#8293)
14573
14574 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14575
14576 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14577 Add compatibility functions (bug#9313).
14578
14579 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14580
14581 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14582
14583 * international/uni-bidi.el: Regenerate.
14584
14585 2011-08-23 Kenichi Handa <handa@m17n.org>
14586
14587 * international/charprop.el:
14588 * international/uni-bidi.el:
14589 * international/uni-category.el:
14590 * international/uni-combining.el:
14591 * international/uni-comment.el:
14592 * international/uni-decimal.el:
14593 * international/uni-decomposition.el:
14594 * international/uni-digit.el:
14595 * international/uni-lowercase.el:
14596 * international/uni-mirrored.el:
14597 * international/uni-name.el:
14598 * international/uni-numeric.el:
14599 * international/uni-old-name.el:
14600 * international/uni-titlecase.el:
14601 * international/uni-uppercase.el: Regenerate.
14602
14603 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14604
14605 * help.el (help-window-setup): Fix message displayed when other
14606 window is reused. (Bug#9341)
14607
14608 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14609
14610 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14611 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14612
14613 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14614 Mark obsolete.
14615 * shell.el (shell-parse-pcomplete-arguments): New function.
14616 (shell-completion-vars): Use it instead (bug#9160).
14617
14618 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14621 strings and comments (bug#9333).
14622
14623 * emacs-lisp/debug.el (debug-arglist): New function.
14624 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14625 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14626
14627 2011-08-22 Juri Linkov <juri@jurta.org>
14628
14629 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14630 Revert regexp that highlights output switches to its old
14631 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14632
14633 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14634 to check for empty output (bug#9226).
14635
14636 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14637
14638 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14639 symbol-constituent as the default, as that stops font-lock from
14640 working properly (Bug#8843).
14641
14642 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14643
14644 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14645 `coding-system-for-*' around the process open call to avoid
14646 auth-source side effects.
14647 (smtpmail-try-auth-methods): Expand the secret password.
14648 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14649 probe hangs.
14650
14651 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14652
14653 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14654
14655 * emacs-lisp/find-func.el (find-function-noselect): New arg
14656 lisp-only.
14657
14658 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14659 signal an error for built-in functions (Bug#6664).
14660
14661 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14662
14663 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14664 (smtpmail-try-auth-methods): Use it.
14665
14666 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14667
14668 * font-lock.el (font-lock-fontify-region)
14669 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14670 (font-lock-default-unfontify-buffer)
14671 (font-lock-default-fontify-region)
14672 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14673
14674 * progmodes/compile.el (compilation-error-properties):
14675 Fix confusion between file struct and message struct (Bug#9319).
14676 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14677 `ant' regexp.
14678
14679 * net/browse-url.el (browse-url-firefox): Don't call
14680 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14681
14682 2011-08-20 Glenn Morris <rgm@gnu.org>
14683
14684 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14685
14686 * tutorial.el (tutorial--default-keys): Update some default bindings.
14687
14688 * files.el (hack-local-variables): Fully ignore case for "mode:".
14689
14690 2011-08-20 Alan Mackenzie <acm@muc.de>
14691
14692 Resolve invalid use of a regexp in regexp-opt.
14693
14694 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14695 detection for a java annotation.
14696
14697 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14698 detection for a java annotation.
14699
14700 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14701 handling for java.
14702 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14703
14704 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14705
14706 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14707 (Bug#9274).
14708
14709 2011-08-20 Alan Mackenzie <acm@muc.de>
14710
14711 Fontify CPP expressions correctly when starting in the middle of
14712 such a construct. Mainly for when jit-lock etc. starts a chunk
14713 here.
14714
14715 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14716 variable.
14717 (c-make-font-lock-search-form): New function, extracted from
14718 c-make-font-lock-search-function.
14719 (c-make-font-lock-search-function): Use the above function.
14720 (c-make-font-lock-context-search-function): New function.
14721 (c-cpp-matchers): Enhance the preprocessor expression case with
14722 the above function
14723 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14724 which takes an expression.
14725
14726 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14727
14728 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14729
14730 * window.el (display-buffer-reuse-window)
14731 (display-buffer-pop-up-window): Don't reuse or split a side
14732 window.
14733
14734 2011-08-19 Glenn Morris <rgm@gnu.org>
14735
14736 * files.el (hack-local-variables-prop-line, hack-local-variables):
14737 Downcase "Mode:". (Bug#9331)
14738
14739 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14740
14741 * international/characters.el: Add L and R categories.
14742
14743 * subr.el (bidi-string-mark-left-to-right): Rename from
14744 string-mark-left-to-right. Use category search.
14745
14746 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14747
14748 2011-08-18 Juri Linkov <juri@jurta.org>
14749
14750 * faces.el (error, warning, success): New faces with definitions
14751 copied from old default values of `font-lock-warning-face',
14752 `compilation-warning', `compilation-info' (bug#6117).
14753
14754 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14755
14756 * progmodes/compile.el (compilation-error): Inherit from `error'.
14757 (compilation-warning): Inherit from `warning'.
14758 (compilation-info): Inherit from `success'.
14759
14760 * dired.el (dired-marked): Inherit from `warning'.
14761 (dired-flagged): Inherit from `error'.
14762
14763 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14764
14765 * mail/smtpmail.el (auth-source): Require to avoid problems with
14766 binding variables (bug#9298). Also clean up some unused
14767 autoloads.
14768
14769 * net/network-stream.el (network-stream-open-starttls):
14770 Support using starttls.el without using gnutls-cli.
14771
14772 2011-08-17 Juri Linkov <juri@jurta.org>
14773
14774 * progmodes/grep.el (rgrep): Handle the case when
14775 `grep-find-command' is a cons cell (bug#9278).
14776
14777 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14778
14779 * window.el (display-buffer-pop-up-frame): Run frame creation
14780 function with BUFFER current (as special-display-popup-frame
14781 does). Reported by Drew Adams.
14782
14783 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14784
14785 * epa-mail.el: Simplify GnuPG group expansion using
14786 epg-expand-group.
14787 (epa-mail-group-alist, epa-mail-group-modtime)
14788 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14789 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14790 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14791 Remove.
14792
14793 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14794
14795 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14796
14797 2011-08-16 Alan Mackenzie <acm@muc.de>
14798
14799 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14800 Correct, to avoid the inside of macros.
14801
14802 2011-08-16 Richard Stallman <rms@gnu.org>
14803
14804 * epa-mail.el: Handle GnuPG group definitions.
14805 (epa-mail-group-alist, epa-mail-group-modtime)
14806 (epa-mail-gnupg-conf-file): New variables.
14807 (epa-mail-parse-groups, epa-mail-sync-groups)
14808 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14809 (epa-mail-expand-recipients): New functions.
14810 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14811
14812 * mail/rmail.el (rmail-epa-decrypt): New command.
14813
14814 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14815 Don't bind buffer-read-only, just inhibit-read-only.
14816 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14817 (epa-decrypt-armor-in-region): Make error message clearer.
14818
14819 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14820
14821 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14822 and "a2b" to "ab" for `prefix'.
14823
14824 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14825
14826 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14827 filter groups.
14828 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14829 Fourquet (Bug#8804).
14830
14831 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14832
14833 * startup.el (argi): Declare as global variable (bug#9275).
14834
14835 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14836
14837 * subr.el (string-mark-left-to-right): Search the entire string
14838 for RTL script, not just the terminating character. Doc fix.
14839
14840 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14841
14842 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14843 New function.
14844 (js--regexp-literal, js-syntax-propertize-function): Remove.
14845 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14846 (js-mode-map): Don't rebind electric keys.
14847 (js-insert-and-indent): Remove.
14848 (js-mode): Setup electric-layout and electric-indent instead.
14849
14850 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14851
14852 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14853
14854 * epa.el (epa-progress-callback-function): Fix the logic of
14855 displaying progress.
14856 * epa-file.el (epa-file-insert-file-contents): Make progress
14857 display more user-friendly.
14858 (epa-file-write-region): Ditto.
14859
14860 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14861
14862 * subr.el (string-mark-left-to-right): New function.
14863
14864 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14865 Use string-mark-left-to-right.
14866 (list-buffers-noselect): Caller changed.
14867
14868 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14869 Use string-mark-left-to-right.
14870 (tabulated-list-print): Recenter after moving point.
14871
14872 2011-08-10 Juri Linkov <juri@jurta.org>
14873
14874 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14875 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14876 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14877
14878 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14879
14880 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14881 (Bug#7554).
14882
14883 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14886 character. (Bug#6594)
14887
14888 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14889
14890 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14891 (image-dired--with-db-file): New macro.
14892 (image-dired-write-tags, image-dired-remove-tag)
14893 (image-dired-create-gallery-lists, image-dired-write-comments)
14894 (image-dired-get-comment, image-dired-mark-tagged-files)
14895 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14896 (image-dired-gallery-generate): Use insert-file-contents.
14897
14898 * time.el (display-time-world-list, display-time-world-display):
14899 * time-stamp.el (time-stamp-string):
14900 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14901 set-time-zone-rule (Bug#7337).
14902
14903 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14904
14905 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14906 (epg-error-to-string, epg-errors-to-string): New function.
14907 (epg-wait-for-completion): Reverse errors list.
14908 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14909 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14910 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14911 (epg-sign-keys, epg-generate-key-from-file)
14912 (epg-generate-key-from-string): Format errors by using
14913 epg-errors-to-string (bug#9255).
14914 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14915
14916 2011-08-07 Juri Linkov <juri@jurta.org>
14917
14918 * faces.el (list-faces-display): Remove extra angle bracket
14919 from `help-mode-map'.
14920
14921 * info.el (Info-history-toc-nodes): Doc fix.
14922
14923 * longlines.el (longlines-mode): Doc fix.
14924
14925 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14928 of statements and in a few more cases (bug#9183).
14929
14930 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14931 New functions.
14932 (cl-transform-lambda): Use them (bug#9239).
14933
14934 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14935
14936 * window.el (display-buffer-same-window)
14937 (display-buffer-same-frame, display-buffer-other-window)
14938 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14939 (pop-to-buffer-other-window)
14940 (pop-to-buffer-same-frame-other-window)
14941 (pop-to-buffer-other-frame): Make them defuns.
14942 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14943
14944 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * subr.el (make-composed-keymap): Move from C. Change calling
14947 convention, and improve docstring to bring attention to a subtle point.
14948 * minibuffer.el (completing-read-default): Adjust accordingly.
14949
14950 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14951
14952 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14953 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14954
14955 * net/trampver.el: Update release number.
14956
14957 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14960 "in" (bug#9190).
14961
14962 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14963
14964 * mail/sendmail.el (sendmail-query-once): Restore the current
14965 buffer after querying (bug#9074).
14966
14967 * dired.el (dired-flagged): Use different faces for marked and
14968 flagged files (bug#6117).
14969
14970 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14971 (bug#4433).
14972
14973 * ido.el (ido-mode): Switch off the message if called
14974 non-interactively.
14975
14976 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14977 before 587, since it appears that that's more likely to work for
14978 more people.
14979
14980 * cus-edit.el (custom-file): When running under emacs -q, always
14981 refuse to save the customizations, even if the .emacs file doesn't
14982 exist.
14983
14984 * info.el: Remove the `Info-beginning-of-buffer' function
14985 (bug#8325).
14986
14987 * net/network-stream.el (network-stream-open-starttls):
14988 Use `starttls-available-p' to see whether starttls.el can be used.
14989
14990 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14991
14992 * window.el (display-buffer-in-window): Don't set dedicated status
14993 of window here (Bug#9215).
14994 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14995 (display-buffer-pop-up-side-window)
14996 (display-buffer-in-side-window): Set dedicated status of window here.
14997
14998 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14999
15000 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15001 before binding generated-autoload-file.
15002
15003 2011-08-01 Deniz Dogan <deniz@dogan.se>
15004
15005 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15006
15007 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15008
15009 Sync with Tramp 2.2.2.
15010
15011 * net/trampver.el: Update release number.
15012
15013 2011-07-30 Juri Linkov <juri@jurta.org>
15014
15015 * dired-aux.el (dired-touch-initial): Remove function.
15016 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15017 current time, and `default' to the last modification time of the
15018 current marked file (bug#6887).
15019
15020 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15021
15022 * simple.el (goto-line): Use string-to-number to provide a
15023 numeric argument to read-number (bug#9163).
15024
15025 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15026
15027 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15028 connection process, it could be nil.
15029
15030 2011-07-27 Leo Liu <sdl.web@gmail.com>
15031
15032 Simplify url handling in rcirc-mode.
15033
15034 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15035 (rcirc-browse-url-at-mouse): Remove.
15036 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15037
15038 2011-07-26 Alan Mackenzie <acm@muc.de>
15039
15040 Fontify bitfield declarations properly.
15041
15042 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15043 (c-symbol-chars): Now exported as a lang variable.
15044 (c-not-primitive-type-keywords): New lang variable.
15045
15046 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15047 QT keyword "more" to prevent "more slots: ...." being spuriously
15048 parsed as a bitfield declaration.
15049
15050 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15051 Refactor and enhance to handle bitfield declarations.
15052 (c-punctuation-in): New function.
15053 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15054 declarations properly.
15055
15056 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15057
15058 * calendar/icalendar.el (icalendar--all-events): Take care of
15059 multiple vcalendars in a single file.
15060 (icalendar--convert-float-to-ical): Checkdoc fixes.
15061
15062 2011-07-25 Deniz Dogan <deniz@dogan.se>
15063
15064 * image.el (insert-image): Clarifying docstring.
15065
15066 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15067
15068 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15069 `tramp-send-command-and-check' if there is no error.
15070 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15071
15072 2011-07-22 Alan Mackenzie <acm@muc.de>
15073
15074 Prevent cc-langs.elc being loaded at run time.
15075
15076 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15077 cc-langs.
15078
15079 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15080 "(require 'cc-langs)". Quote a form so it will evaluate at
15081 (cc-mode's) compilation time.
15082
15083 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15084
15085 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15086 loading. (Bug#9114)
15087
15088 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15089
15090 * window.el (display-buffer-pop-up-window)
15091 (display-buffer-pop-up-side-window)
15092 (display-buffer-in-side-window): Call display-buffer-set-height
15093 and display-buffer-set-width after setting the new window's
15094 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15095
15096 2011-07-20 Sam Steingold <sds@gnu.org>
15097
15098 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15099 (etags-tags-included-tables): Call `convert-standard-filename' on
15100 the file names contained in TAGS so that windows Emacs can handle
15101 TAGS files created by cygwin ctags.
15102
15103 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15104
15105 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15106 which apparently didn't work.
15107
15108 2011-07-19 Roland Winkler <winkler@gnu.org>
15109
15110 * proced.el (proced-send-signal): For *Marked Processes* buffer
15111 put point at beginning of buffer.
15112
15113 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15114
15115 * proced.el (proced-format): Make header lines align with the text
15116 (bug#1779).
15117
15118 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15119
15120 * view.el (view-buffer): Allow running in `special' modes if we're
15121 visiting a file (bug#8615).
15122
15123 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15124
15125 * window.el (display-buffer-alist-of-strings-p)
15126 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15127 New functions.
15128 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15129 more accurately.
15130
15131 2011-07-18 Alan Mackenzie <acm@muc.de>
15132
15133 Fontify declarators properly when, e.g., a jit-lock chunk begins
15134 inside a declaration.
15135
15136 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15137
15138 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15139 New function.
15140 (c-complex-decl-matchers): Insert reference to
15141 c-font-lock-enclosing-decls.
15142
15143 * progmodes/cc-engine.el (c-backward-single-comment):
15144 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15145 to nil around calls to (forward-comment -1).
15146
15147 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15148
15149 * image.el (put-image): Doc typo fix.
15150
15151 * progmodes/etags.el (tags-search): Doc typo fix.
15152
15153 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15154 password if we get errors 550 to 554.
15155
15156 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15157
15158 * net/gnutls.el (gnutls-log-level): Remove.
15159
15160 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15161 indentation character (bug#6380).
15162
15163 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15164
15165 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15166 to clarify what the problem is (bug#4291).
15167
15168 * simple.el (current-kill): Clarify what
15169 `interprogram-paste-function' does (bug#7500).
15170 (auto-fill-mode): Document `auto-fill-function' in relation to
15171 `auto-fill-mode' (bug#2470).
15172
15173 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15174
15175 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15176 method if slot is read-only (bug#9035).
15177
15178 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15179
15180 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15181 * window.el (pop-to-buffer): Select window used even if it was
15182 selected before, see discussion of (Bug#8615), (Bug#6954).
15183 Pass argument NORECORD on to select-frame-set-input-focus.
15184
15185 2011-07-15 Glenn Morris <rgm@gnu.org>
15186
15187 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15188 Respect help-form.
15189
15190 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15191
15192 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15193 (gnutls-negotiate): Use it.
15194
15195 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * net/gnutls.el (gnutls-negotiate):
15198 Upcase `gnutls-algorithm-priority'.
15199
15200 2011-07-15 Glenn Morris <rgm@gnu.org>
15201
15202 * jka-compr.el (jka-compr-verbose): Move from here...
15203 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15204 Add missing :version tag.
15205 * info.el: No need to require jka-compr when compiling.
15206
15207 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15208
15209 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15210 (gnutls-negotiate): Use it.
15211
15212 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15213
15214 * info.el (Info-beginning-of-buffer): New command.
15215 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15216 announcing `b' as the key (bug#8325).
15217 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15218
15219 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15220
15221 * international/mule-cmds.el
15222 (describe-specified-language-support): Make the error message
15223 clearer (bug#8905).
15224
15225 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15226
15227 * isearch.el (isearch-barrier): Add a doc string, since it's
15228 mentioned in a function doc string (bug#8678).
15229
15230 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15231
15232 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15233 buffer argument (Bug#9083) and self-identifying label argument.
15234
15235 2011-07-15 Glenn Morris <rgm@gnu.org>
15236
15237 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15238
15239 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15240
15241 * man.el (Man-fontify-manpage): Fix message when formatting the
15242 man page (bug#7929).
15243
15244 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15245
15246 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15247 argument LRM; if non-nil, append an invisible LRM character to the
15248 buffer name.
15249 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15250 last argument non-nil, when formatting buffer names.
15251 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15252 paragraph direction.
15253
15254 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15255
15256 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15257 the man page name (bug#7929).
15258
15259 * image.el (put-image): Mention the `put-image' overlay property
15260 (bug#7834).
15261
15262 * scroll-bar.el (set-scroll-bar-mode): Mention that
15263 `scroll-bar-mode' lists the values (bug#7772).
15264
15265 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15266 command (bug#7729).
15267
15268 * rect.el (apply-on-rectangle): Return the point after the last
15269 operation.
15270 (string-rectangle): Go to the point after the last operation
15271 (bug#7522).
15272
15273 * printing.el (pr-toggle-region): Clarify the documentation
15274 slightly (bug#7493).
15275
15276 * time.el (display-time-update):
15277 Allow `display-time-mail-function' to return nil (bug#7158).
15278 Fix suggested by Detlev Zundel.
15279
15280 * vc/diff.el (diff): Clarify the order the file names are read
15281 (bug#7111).
15282
15283 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15284 the doc string (bug#7015).
15285
15286 * font-lock.el (font-lock-maximum-decoration): Mention what
15287 numeric levels mean (bug#6935).
15288
15289 * startup.el (initial-buffer-choice): Don't mention the `none'
15290 selection, which is against policy.
15291
15292 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15293
15294 * window.el (display-buffer-normalize-special):
15295 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15296
15297 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15298
15299 * subr.el (version<, version<=, version=): Mention "-CVS" and
15300 "-12345" alpha version numbers.
15301
15302 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15303
15304 * bindings.el: Add advertised binding for set-mark-command
15305 (Bug#5772).
15306
15307 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15308
15309 * bindings.el (mode-line-other-buffer):
15310 * bookmark.el (bookmark-bmenu-2-window):
15311 * bs.el (bs-cycle-next, bs-cycle-previous):
15312 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15313 switch-to-buffer.
15314
15315 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15316 Delete.
15317
15318 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15319
15320 * follow.el (follow-debug-message, follow-redisplay):
15321 * jka-cmpr-hook.el (with-auto-compression-mode):
15322 Fix typos in docstrings.
15323
15324 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15325
15326 * subr.el (with-silent-modifications): Clarify somewhat what the
15327 macro inhibits (bug#6525).
15328
15329 * simple.el (eval-expression): Note what it does if called
15330 interactively (bug#6495).
15331
15332 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15333
15334 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15335 Use pop-to-buffer buffer-or-name if it is nil.
15336
15337 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15338 Remove switch-to-buffer.
15339
15340 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15341
15342 * files.el (make-directory): Clarify that an error will be raised
15343 if there's an error (bug#6397).
15344
15345 * startup.el (initial-buffer-choice): Add `none' as a choice
15346 (bug#6234).
15347
15348 * subr.el (add-hook): Clarify section about buffer-local hooks
15349 (bug#6218).
15350
15351 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15352
15353 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15354
15355 * tabify.el (untabify): Preserve the current column so that point
15356 doesn't move (bug#6032).
15357
15358 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15359
15360 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15361 Rewrite to avoid awkward possessive "s" (bug#5986).
15362
15363 2011-07-13 Glenn Morris <rgm@gnu.org>
15364
15365 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15366 (dired-insert-directory): Give a message the first time
15367 if ls is found not to support --dired.
15368
15369 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15370
15371 * simple.el (toggle-truncate-lines): Clarify what is toggled
15372 (bug#5580). Text by Drew Adams.
15373
15374 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * simple.el (blink-matching-open): Make the error message from the
15377 last change less verbose.
15378
15379 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15380
15381 * font-lock.el (font-lock-comment-face): Use the high contrast
15382 "yellow" color for font-lock-comment-face on low color terminals
15383 using a dark background color (bug#4221).
15384
15385 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15386
15387 * dired.el (dired-insert-set-properties): Make the doc string
15388 reflect what it does now (bug#5325).
15389
15390 * simple.el (blink-matching-open): Say that we were unable to find
15391 the match within the limit, if we're limited (bug#5122).
15392
15393 * international/mule-cmds.el (prefer-coding-system): Add an
15394 example (bug#4869).
15395
15396 * progmodes/etags.el (tags-search): Document `file-list-form'
15397 (bug#4731).
15398
15399 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15400
15401 * net/browse-url.el (browse-url-default-browser)
15402 (browse-url-browser-function): Make the default browser choice a
15403 bit more logical (bug#4300). Also clean up the doc string.
15404
15405 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15406
15407 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15408 binary endings (bug#4440).
15409
15410 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15411
15412 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15413 which can be pretty annoying (bug#8971).
15414
15415 * jka-compr.el (jka-compr-verbose): New variable, and use
15416 throughout (bug#8971).
15417
15418 * info.el (Info-find-file): Fall back on the installation
15419 directory if we can't find the info node anywhere else.
15420
15421 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15422
15423 * vc/vc.el (vc-revert-file):
15424 Don't set file time-stamp in the past. (Bug#5181)
15425
15426 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15427
15428 * files.el (after-find-file): Give a better error message when
15429 trying to find a symlink that points to a file that doesn't exist
15430 (bug#4398).
15431
15432 * progmodes/cc-vars.el: Remove (probably) misleading comment
15433 (bug#4396).
15434
15435 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15436
15437 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15438
15439 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15440
15441 * mouse-sel.el: Hack restoring functionality, while keeping
15442 compatibility with 2010-07-03 changes to mouse selection.
15443 (mouse-sel-primary-overlay): New var.
15444 (mouse-sel-selection-alist): Use it.
15445 (mouse-sel-mode): Doc fix; remove points that are default features
15446 of mouse.el.
15447
15448 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15449
15450 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15451 Fix previous fix (bug#2490).
15452
15453 2011-07-12 Roland Winkler <winkler@gnu.org>
15454
15455 * textmodes/bibtex.el (bibtex-initialize):
15456 Use pop-to-buffer-same-window.
15457 (bibtex-search-entries): Fix interactive call.
15458
15459 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15460
15461 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15462 Fontise bytecomp Error lines more correctly (bug#2490).
15463 Fix suggested by Johan Bockgård.
15464
15465 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15466
15467 * dired-x.el (dired-guess-default): Use `delete-dups'.
15468
15469 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15470
15471 * dired.el (dired-mark-prompt):
15472 * dired-aux.el (dired-read-shell-command): Doc fix.
15473
15474 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15475
15476 * mail/sendmail.el (sendmail-query-once):
15477 Use `customize-save-variable' unconditionally, now that it works under
15478 emacs -Q.
15479
15480 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15481
15482 * cus-edit.el (custom-file): Take an optional no-error variable.
15483 (customize-save-variable): Set the variable, and give a warning if
15484 running under "emacs -q".
15485
15486 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15487
15488 * loadhist.el (unload-feature-special-hooks):
15489 Add `auto-coding-functions', `fill-nobreak-predicate' and
15490 `find-directory-functions' (bug#5327).
15491
15492 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493
15494 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15495
15496 * cus-edit.el (custom-guess-name-alist): -alist variables should
15497 use the `alist' type (bug#3120). Suggested by Drew Adams.
15498
15499 * printing.el: Add documentation to all the `pr-toggle-' commands.
15500
15501 2011-07-11 Leo Liu <sdl.web@gmail.com>
15502
15503 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15504 backends where it makes sense (bug#2623).
15505
15506 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15507
15508 * dired-x.el (dired-guess-default): Remove duplicate shell command
15509 entries (bug#2028).
15510 (dired-guess-default): Fix grammar in doc string (bug#2028).
15511 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15512
15513 * subr.el (remove-duplicates): New conveniency function.
15514
15515 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15516
15517 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15518 (bug#1526).
15519
15520 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15521
15522 * window.el (display-buffer-normalize-default): Don't invert
15523 meaning of even-window-heights. Reported by Eli Zaretskii
15524 <eliz@gnu.org>.
15525
15526 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15527
15528 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15529
15530 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15531
15532 * window.el (display-buffer): Fix arguments to
15533 display-buffer-reuse-window in last change.
15534
15535 * faces.el (link): Use a less saturated blue on light backgrounds.
15536
15537 * startup.el (fancy-startup-text, fancy-about-text)
15538 (fancy-startup-tail): Use font-lock faces, for background safety.
15539
15540 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15541
15542 * emulation/viper-cmd.el (viper-change-state-to-vi):
15543 Limit triggering of abbrev expansion (Bug#9038).
15544
15545 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15546
15547 * window.el (display-buffer-default-specifiers): Remove.
15548 (display-buffer-macro-specifiers): Remove default specifiers.
15549 (display-buffer-alist): Default to nil.
15550 (display-buffer-reuse-window): New optional argument other-window.
15551 (display-buffer-pop-up-window): Allow splitting internal
15552 windows. Check whether a live window was created.
15553 (display-buffer-other-window-means-other-frame)
15554 (display-buffer-normalize-arguments): Rename to
15555 display-buffer-normalize-argument and rewrite. Set the
15556 other-window specifier.
15557 (display-buffer-normalize-special): New function.
15558 (display-buffer-normalize-options): Rename to
15559 display-buffer-normalize-default and rewrite.
15560 (display-buffer-normalize-options-inhibit): Remove.
15561 (display-buffer-normalize-specifiers): Rewrite.
15562 (display-buffer): Process other-window specifier and call
15563 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15564 more faithfully.
15565 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15566 (display-buffer-alist-set): Don't handle 'unset default values.
15567 (display-buffer-in-window, display-buffer-alist-set):
15568 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15569 <tassilo@member.fsf.org>.
15570
15571 2011-07-09 Leo Liu <sdl.web@gmail.com>
15572
15573 * register.el (insert-register): Restore accidental change on
15574 2011-06-26. (Bug#9028)
15575
15576 2011-07-09 Glenn Morris <rgm@gnu.org>
15577
15578 * subr.el (remq): Handle the empty list. (Bug#9024)
15579
15580 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15581
15582 * mail/sendmail.el (send-mail-function): No longer delay custom
15583 initialization.
15584 * custom.el (custom-initialize-delay): Doc fix.
15585
15586 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15589
15590 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15591
15592 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15593 human-friendly prompt.
15594
15595 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15596
15597 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15598 provided by a particular plugin.
15599
15600 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15601
15602 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15603 save customizations (with "emacs -Q"), just set the variable
15604 instead of erroring out.
15605
15606 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15607
15608 2011-07-08 Juri Linkov <juri@jurta.org>
15609
15610 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15611 (archive-zip-update-case): Use 7z if found by `executable-find'.
15612 The order of searching the available programs is the same as in
15613 `archive-zip-extract' (bug#8968).
15614
15615 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15616
15617 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15618 (menu-bar-options-menu): Tweak descriptions.
15619
15620 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15621
15622 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15623 menu items into verb phrases (bug#1421). Also refill to fit under
15624 80 columns.
15625
15626 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15627
15628 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15629 (Info-read-node-name): Doc fix (Bug#1084).
15630
15631 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15632 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15633 (end-of-sexp, beginning-of-sexp)
15634 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15635 (forward-symbol, forward-same-syntax, word-at-point)
15636 (sentence-at-point): Doc fix (Bug#1144).
15637
15638 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15639
15640 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15641 should cover it (bug#1281).
15642
15643 * cus-edit.el (custom-show): Mark as obsolete.
15644
15645 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15646 negotiation fails, then possibly try again with a non-encrypted
15647 connection (bug#9017).
15648
15649 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15650 be used.
15651
15652 2011-07-07 Richard Stallman <rms@gnu.org>
15653
15654 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15655 property, and handle its changed format.
15656 Look for the correct line number.
15657 Use file's line contents (but not past first =) to find
15658 correct line in message.
15659
15660 2011-07-07 Kenichi Handa <handa@m17n.org>
15661
15662 * international/characters.el (build-unicode-category-table):
15663 Delete it.
15664 (unicode-category-table): Set it by unicode-property-table-internal.
15665
15666 * international/mule-cmds.el (char-code-property-alist): Move to
15667 to src/chartab.c.
15668 (get-char-code-property): Call unicode-property-table-internal to
15669 load a file. Call get-unicode-property-internal where necessary.
15670 (put-char-code-property): Call unicode-property-table-internal to
15671 load a file. Call put-unicode-property-internal where necessary.
15672 put-unicode-property-internal where necessary.
15673 (char-code-property-description):
15674 Call unicode-property-table-internal to load a file.
15675
15676 * international/charprop.el:
15677 * international/uni-bidi.el:
15678 * international/uni-category.el:
15679 * international/uni-combining.el:
15680 * international/uni-comment.el:
15681 * international/uni-decimal.el:
15682 * international/uni-decomposition.el:
15683 * international/uni-digit.el:
15684 * international/uni-lowercase.el:
15685 * international/uni-mirrored.el:
15686 * international/uni-name.el:
15687 * international/uni-numeric.el:
15688 * international/uni-old-name.el:
15689 * international/uni-titlecase.el:
15690 * international/uni-uppercase.el: Regenerate.
15691
15692 * loadup.el: Load international/charprop.el before
15693 international/characters.
15694
15695 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15696
15697 * window.el (next-buffer, previous-buffer): Signal an error if
15698 called from a minibuffer window.
15699
15700 * bindings.el: Revert 2011-07-04 change.
15701
15702 2011-07-06 Richard Stallman <rms@gnu.org>
15703
15704 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15705 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15706 Treat markers like ints.
15707 (rmail-mime-entity): Doc fix.
15708
15709 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15710
15711 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15712 defcustom again for backwards compatibility.
15713
15714 * simple.el (shell-command-on-region): Fill.
15715
15716 * dired-aux.el (dired-kill-line): Add a doc string.
15717
15718 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15719 to "\\sw\\|\\s_" (bug#358).
15720
15721 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15722 (dired-unmark-backward): Ditto.
15723 (dired-flag-backup-files): Ditto.
15724
15725 * dired-x.el (dired-mark-sexp): Ditto.
15726
15727 2011-07-06 Richard Stallman <rms@gnu.org>
15728
15729 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15730 (rmail-mime-entity): New arg TRUNCATED.
15731 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15732 New functions.
15733 (rmail-mime-save): Warn if entity is truncated.
15734 (rmail-mime-toggle-hidden): Likewise, for showing.
15735 (rmail-mime-process-multipart): Record when an entity is truncated.
15736
15737 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15738 if ENTITY is a string.
15739
15740 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15741
15742 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15743 of faces when `M-C-x'-ing their definitions (bug#8378).
15744 Also clean up the code slightly.
15745
15746 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15747 because that makes the colors go away.
15748
15749 * mail/sendmail.el (send-mail-function): Change the default to
15750 `sendmail-query-once'.
15751 (sendmail-query-once): Add an autoload cookie.
15752
15753 * net/network-stream.el (network-stream-open-starttls): Try using
15754 a plain connection even if the server offered STARTTLS, and we
15755 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15756 capability. This should make smtpmail.el work in slightly more
15757 configurations.
15758
15759 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15760
15761 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15762 New defun.
15763 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15764
15765 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15766
15767 * progmodes/sql.el: Version 3.0
15768 (sql-product-alist): Add product :completion-object,
15769 :completion-column, and :statement attributes.
15770 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15771 (sql-mode-syntax-table): Mark all punctuation.
15772 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15773 ansi keywords.
15774 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15775 (sql-mode-oracle-font-lock-keywords): Improve.
15776 (sql-oracle-show-reserved-words): New function for development.
15777 (sql-product-font-lock): Simplify for source code buffers.
15778 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15779 New functions.
15780 (sql-highlight-product): Set product specific syntax table.
15781 (sql-mode-map): Add statement movement functions.
15782 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15783 New variable.
15784 (sql-statement-regexp, sql-beginning-of-statement)
15785 (sql-end-of-statement, sql-signum): New functions.
15786 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15787 (sql-show-sqli-buffer): Bug fix.
15788 (sql-interactive-mode): Store connection data as buffer local.
15789 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15790 with sql-interactive-mode.
15791 (sql-save-connection): Save buffer local settings.
15792 (sql-connection-menu-filter): Change menu entry name.
15793 (sql-product-interactive): Bug fix.
15794 (sql-preoutput-hold): New variable.
15795 (sql-interactive-remove-continuation-prompt): Bug fixes.
15796 (sql-debug-redirect): New variable.
15797 (sql-str-literal): New function.
15798 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15799 Redesign.
15800 (sql-oracle-save-settings, sql-oracle-restore-settings)
15801 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15802 (sql-completion-object, sql-completion-column)
15803 (sql-completion-sqlbuf): New variables.
15804 (sql-build-completions-1, sql-build-completions)
15805 (sql-try-completion): New functions.
15806 (sql-read-table-name): Use them.
15807 (sql-contains-names): New buffer local variable.
15808 (sql-list-all, sql-list-table): Use it.
15809 (sql-oracle-completion-types): New variable.
15810 (sql-oracle-completion-object, sql-sqlite-completion-object)
15811 (sql-postgres-completion-object): New functions.
15812
15813 2011-07-06 Glenn Morris <rgm@gnu.org>
15814
15815 * window.el (pop-to-buffer): Doc fix.
15816
15817 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15818
15819 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15820
15821 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15822
15823 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15824
15825 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15826
15827 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15828
15829 * button.el (button): Inherit from link face. Suggested by Dan
15830 Nicolaescu.
15831
15832 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * progmodes/gdb-mi.el: Fit in 80 columns.
15835 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15836 switch-to-buffer.
15837
15838 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15839 if imenu is simply not configured (bug#8941).
15840
15841 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15842
15843 * allout.el (allout-post-undo-hook): New allout outline-change
15844 event hook to signal undo activity.
15845 (allout-post-command-business): Run allout-post-undo-hook if an
15846 undo just occurred.
15847 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15848 * allout-widgets.el (allout-widgets-after-undo-function):
15849 Ensure the integrity of the current item's decoration after it has been
15850 in the vicinity of an undo.
15851 (allout-widgets-mode): Include allout-widgets-after-undo-function
15852 on the new allout-post-undo-hook.
15853
15854 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15855
15856 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15857 Let define-derived-mode define it.
15858 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15859 cycles of abbrev-table inheritance (bug#8998).
15860
15861 2011-07-05 Roland Winkler <winkler@gnu.org>
15862
15863 * textmodes/bibtex.el: Add support for biblatex.
15864 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15865 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15866 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15867 (bibtex-entry-alist, bibtex-field-alist): New variables.
15868 (bibtex-entry-field-alist): Obsolete alias for
15869 bibtex-BibTeX-entry-alist.
15870 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15871 (bibtex-set-dialect): New command.
15872 (bibtex-entry-type, bibtex-entry-head)
15873 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15874 Bind via bibtex-set-dialect.
15875 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15876 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15877 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15878 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15879 Define via bibtex-set-dialect.
15880 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15881 Obey bibtex-no-opt-remove-re.
15882 (bibtex-vec-push, bibtex-vec-incr): New functions.
15883 (bibtex-format-entry, bibtex-field-list)
15884 (bibtex-print-help-message, bibtex-validate)
15885 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15886
15887 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15888
15889 * progmodes/compile.el (compilation-goto-locus):
15890 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15891 * bs.el (bs-cycle-next, bs-cycle-previous):
15892 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15893 * bindings.el (mode-line-other-buffer):
15894 * autoinsert.el (auto-insert):
15895 * arc-mode.el (archive-extract):
15896 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15897
15898 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15899
15900 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15901 Fix check of `emacs-lock-unlockable-modes'.
15902 Coerce true values of `emacs-lock--try-unlocking' to t.
15903
15904 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15905
15906 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15907 * emacs-lock.el: New file.
15908
15909 2011-07-05 Julien Danjou <julien@danjou.info>
15910
15911 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15912 than `boundp' to check if face is set.
15913
15914 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15915
15916 * register.el (registerv-make):
15917 * window.el (window-min-height): Fix typos in docstrings.
15918
15919 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15920
15921 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15922 Update doc string.
15923
15924 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15925
15926 * server.el (server-execute): Catch quit and call
15927 `server-return-error' to pass the error back to emacsclient and
15928 close the connection (bug#8942).
15929
15930 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15931
15932 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15933 insecure exception for current topic. Also note that auto-saves
15934 are handled differently.
15935
15936 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15937 State variables for tracking auto-save inhibition situation.
15938
15939 (allout-write-contents-hook-handler): Rename from
15940 'allout-write-file-hook-handler', and describe how it depends on
15941 write-contents-functions sensitivity to non-nil value to prevent
15942 file write.
15943
15944 (allout-auto-save-hook-handler): Remove. auto-save does not check
15945 this in individual buffers, only in the starting buffer, so this
15946 is not the right way for us to inhibit auto-save in a buffer
15947 according to its condition.
15948
15949 (allout-mode): Use new allout-write-contents-hook-handler, and
15950 only with write-contents-functions. Remove auto-save provisions -
15951 they're implemented elsewhere.
15952
15953 (allout-before-change-handler): If undo is in progress, note that
15954 for attention of allout-post-command-business.
15955
15956 (allout-post-command-business): If the command we're following was
15957 an undo, check for change in the status of encrypted items and
15958 adjust auto-save inhibitions accordingly.
15959
15960 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15961 according to whether there are or aren't any plain-text topics
15962 pending encryption.
15963
15964 (allout-inhibit-auto-save-info-for-decryption):
15965 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15966 if there are plain-text topics pending encryption.
15967
15968 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15969 buffer-saved-size and some allout state to not inhibit auto-saves
15970 if there are no longer any plain-text topics pending encryption.
15971
15972 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15973 No longer provide for exemption of the current topic.
15974
15975 2011-07-04 Juri Linkov <juri@jurta.org>
15976
15977 Add 7z operations to delete and save changed members (bug#8968).
15978 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15979 New defcustoms.
15980 (archive-7z-write-file-member): New function.
15981 (archive-7z-summarize): Fix the number of dashes in the
15982 listing output.
15983
15984 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15985
15986 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15987 (bug#8958).
15988
15989 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15990
15991 * bindings.el: Ignore next-buffer and previous-buffer in
15992 minibuffer-local-map.
15993
15994 * font-lock.el (font-lock-builtin-face): Change light background
15995 color to dark slate blue (Bug#6693).
15996
15997 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15998
15999 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16000
16001 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16004 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16005 Add switch-to-buffer.
16006
16007 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16008
16009 * isearch.el (isearch-search-fun-function): Clarify further the
16010 meaning of the function returned.
16011
16012 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16013
16014 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16015
16016 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16017 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16018 Use it.
16019 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16020 `tramp-default-remote-path' does not exist.
16021 (tramp-send-command-and-read): New optional argument NOERROR.
16022 (tramp-open-connection-setup-interactive-shell)
16023 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16024 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16025 (tramp-process-sentinel): Flush also process' connection property.
16026 (tramp-sh-handle-start-file-process): Do not set process
16027 sentinel. It is done now ...
16028 (tramp-maybe-open-connection): ... here. (Bug#8929)
16029
16030 2011-07-04 MON KEY <monkey@sandpframing.com>
16031
16032 * play/animate.el (animate-string): Doc fixes and allow changing
16033 the buffer name (bug#5417).
16034
16035 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16036
16037 * play/animate.el (animation-buffer-name): Rename from *animate*.
16038
16039 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16040
16041 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16042 This is simpler and helps future-proof the code.
16043 (timer-until): Use time-subtract and float-time.
16044 (timer--time-less-p): Use time-less-p.
16045
16046 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16047
16048 * type-break.el (timep): Use the value of `float-time' to avoid a
16049 byte-compiler warning.
16050
16051 * server.el (server-eval-and-print): Return any result, even nil.
16052
16053 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16054
16055 * type-break.el: Accept time formats that the builtins accept.
16056 (timep, type-break-time-difference): Accept any format that
16057 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16058 This is simpler and helps future-proof the code.
16059 (type-break-time-difference): Round rather than ignoring
16060 subseconds components.
16061
16062 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16063
16064 * info.el (Info-apropos-matches): Make non-interactive, since it
16065 doesn't seem to do anything useful as a command (bug#8829).
16066
16067 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16068
16069 * frame.el (frame-background-mode, frame-set-background-mode):
16070 Move from faces.el.
16071 (frame-default-terminal-background): New function.
16072
16073 * custom.el (custom-push-theme): Don't record faces in `changed'
16074 theme; this doesn't work correctly for per-frame face settings.
16075 (disable-theme): Use face-set-after-frame-default to reset faces.
16076 (custom--frame-color-default): New function.
16077
16078 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16079
16080 * dired.el (dired-flagging-regexp): Remove unused variable
16081 (bug#8769).
16082
16083 2011-03-29 Kevin Ryde <user42@zip.com.au>
16084
16085 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16086 `perl-Test2' extend to match possible "fail #N" rep count
16087 (bug#8377).
16088
16089 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16090
16091 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16092 `smtpmail-via-smtp' now returns the error instead of nil.
16093
16094 * isearch.el (isearch-search-fun-function): Clarify the doc string
16095 (bug#8101).
16096
16097 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16098
16099 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16100 unnecessary spaces (bug#8987).
16101
16102 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16103
16104 * net/network-stream.el (open-network-stream): Use the
16105 :end-of-capability command thoughout.
16106
16107 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16108
16109 * net/network-stream.el (open-network-stream): Add the
16110 :end-of-capability command parameter, used by pop3.el.
16111
16112 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16113
16114 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16115
16116 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16117 for list)" (bug#6475).
16118
16119 * files.el (file-expand-wildcards): Ignore non-readable
16120 sub-directories while trying to find matches instead of signaling
16121 an error (bug#6297).
16122
16123 * man.el (Man-reference-regexp): Allow matching possible
16124 word-wrapped references (bug#6289).
16125
16126 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16127 for consistency with the other vc buffers (bug#6197).
16128 (vc-checkin): Ditto.
16129
16130 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16131
16132 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16133
16134 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16135
16136 * custom.el (defcustom): Clarify that :set is only used in the
16137 Customize user interface (bug#6089).
16138
16139 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16140 associated with a file, refuse to run instead of erroring out
16141 (bug#6084).
16142
16143 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16144 the doc string, since it appears that using `fill-column' always
16145 controls the width (bug#7845).
16146
16147 * simple.el (shell-command-on-region): Say where the error output
16148 went if `shell-command-default-error-buffer' is set (bug#6857).
16149
16150 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16151
16152 * allout.el (allout-yank-processing): Adjust cursor position for
16153 backwards-deleted space.
16154
16155 (allout-rebullet-heading): Register changes with
16156 allout-exposure-changed-hook, so the modified topic is properly
16157 decorated.
16158
16159 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16160
16161 * minibuffer.el (completion-in-region): Document PREDICATE
16162 (bug#7136).
16163
16164 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16165 of keyword/argument pairs (bug#6904).
16166
16167 * replace.el (multi-occur):
16168 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16169
16170 2011-07-02 Drew Adams <drew.adams@oracle.com>
16171
16172 * dired.el (dired-mark-if): Make the message about whether it's
16173 marking or unmarking clearer (bug#8523).
16174
16175 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16176
16177 * disp-table.el (display-table-print-array): New function.
16178 (describe-display-table): Use it to print the vectors more pretty
16179 (Bug#8859).
16180
16181 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16182
16183 * window.el (window-state-get-1): Don't assign clone numbers.
16184 Add clone-of item to list of window parameters.
16185 (window-state-put-2): Don't process clone numbers.
16186 (display-buffer-alist): Fix doc-string.
16187
16188 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16189
16190 * subr.el (remq): Don't allocate if it's not needed.
16191 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16192 (keymap--merge-bindings): New functions.
16193 (keymap-canonicalize): Use them to refine the canonicalization.
16194 * minibuffer.el (minibuffer-local-completion-map)
16195 (minibuffer-local-must-match-map): Move initialization from C.
16196 (minibuffer-local-filename-completion-map): Move initialization from C;
16197 don't inherit from anything here.
16198 (minibuffer-local-filename-must-match-map): Make obsolete.
16199 (completing-read-default): Use make-composed-keymap to combine
16200 minibuffer-local-filename-completion-map with either
16201 minibuffer-local-must-match-map or
16202 minibuffer-local-filename-completion-map.
16203
16204 2011-07-01 Glenn Morris <rgm@gnu.org>
16205
16206 * type-break.el (type-break-time-sum): Use dolist.
16207
16208 * textmodes/flyspell.el (flyspell-word-search-backward):
16209 Replace CL function.
16210
16211 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16212
16213 * mouse.el (mouse--strip-first-event): New function.
16214 (function-key-map): Use it to map fringe clicks to normal clicks
16215 by default.
16216
16217 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16218 (vc-bzr-revision-completion-table): Add support for annotate and date.
16219
16220 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16221 inherit from parent.
16222
16223 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16224
16225 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16226 (dired-show-file-type): Doc fixup (bug#8818).
16227
16228 * dired.el (dired-mode): Fix up the doc string as suggested by
16229 Drew Adams (bug#8817).
16230
16231 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16232 cookie, since the manual says that it should be possible to add
16233 this function to `find-file-hook' (bug#8709).
16234
16235 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16236
16237 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16238 here. Noted Ted Zlatanov as the maintainer.
16239 (cfengine-common-settings, cfengine-common-syntax): New functions
16240 to set up common things between `cfengine-mode' and
16241 `cfengine3-mode'.
16242 (cfengine3-mode): New mode.
16243 (cfengine3-defuns cfengine3-defuns-regex
16244 (cfengine3-class-selector-regex cfengine3-category-regex)
16245 (cfengine3-vartypes cfengine3-font-lock-keywords)
16246 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16247 (cfengine3-indent-line): Add from cfengine3.el.
16248
16249 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16250
16251 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16252
16253 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16254
16255 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16256
16257 * window.el (same-window-buffer-names, same-window-regexps)
16258 (same-window-p, special-display-frame-alist)
16259 (special-display-popup-frame, special-display-function)
16260 (special-display-buffer-names, special-display-regexps)
16261 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16262 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16263 (split-window-preferred-function, split-height-threshold)
16264 (split-width-threshold, even-window-heights)
16265 (display-buffer-mark-dedicated, window-splittable-p)
16266 (split-window-sensibly, window-safely-shrinkable-p):
16267 Un-obsolete.
16268 (display-buffer): Don't spread args with function specifier
16269 because special-display-popup-frame won't like it.
16270
16271 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16272
16273 Time-stamp simplifications and fixes.
16274 These improve accuracy slightly, and future-proof the code
16275 against some potential changes to current-time format.
16276
16277 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16278 by using time-since and float-time.
16279
16280 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16281 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16282 + NNN microseconds".
16283
16284 * type-break.el (type-break-time-sum): Rewrite using time-add.
16285
16286 * play/hanoi.el (hanoi-current-time-float): Remove.
16287 All uses replaced by float-time.
16288
16289 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16290 This yields a more-accurate answer.
16291 (rng-time-to-float): Remove; no longer needed.
16292
16293 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16294
16295 * calendar/timeclock.el (timeclock-seconds-to-time):
16296 Defalias to seconds-to-time, since they're the same thing.
16297
16298 * emacs-lisp/elp.el (elp-elapsed-time):
16299 * emacs-lisp/benchmark.el (benchmark-elapse):
16300 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16301
16302 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16303
16304 * window.el (bury-buffer): Don't iconify the only frame.
16305 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16306 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16307
16308 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16309
16310 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16311 Add mouse-yank-primary.
16312
16313 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16314
16315 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16316
16317 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16320 (find-library-name): Use it to find relative load names when provided
16321 absolute file name (bug#8803).
16322
16323 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16324
16325 * textmodes/flyspell.el (flyspell-word): Consider words that
16326 differ only in case as potential doublons (bug#5687).
16327
16328 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16329 Remove two rather uninteresting debugging-like messages to make
16330 debbugs.el more silent.
16331
16332 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16333 a password-like phrase.
16334
16335 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16336
16337 * progmodes/cc-guess.el: New file.
16338
16339 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16340
16341 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16342 derived from `c-basic-common-init'.
16343
16344 * progmodes/cc-mode.el (top-level): Require cc-guess.
16345 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16346
16347 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16348
16349 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16350
16351 2011-06-30 Alan Mackenzie <acm@muc.de>
16352
16353 * progmodes/cc-engine.el (c-guess-continued-construct):
16354 Correct the handling of template-args-cont, particularly for when font
16355 lock is disabled. Name this case as "CASE G".
16356
16357 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16358
16359 * allout.el (allout-yank-processing): Fix injection of extra space
16360 between bullet and non-whitespace character in first topic when
16361 pasting, ensuring that the actual spacing in the pasted topic
16362 following the bullet char is preserved. This extra space was
16363 causing pasted encrypted topics to get a decrypted status even
16364 when the content was actually still encrypted. Now the decryption
16365 status from before the paste is preserved.
16366
16367 (allout-flag-region): Set all allout overlays so they evaporate
16368 when reduced to zero length (evanescent), to prevent overlay
16369 leakage.
16370
16371 2011-06-30 Glenn Morris <rgm@gnu.org>
16372
16373 * w32-fns.el (w32-charset-info-alist): Declare.
16374
16375 * find-dired.el (find-grep-options): Simplify.
16376
16377 * term/ns-win.el (ns-set-resource): Declare.
16378
16379 * ses.el (row, col): Declare dynamic variables honestly.
16380
16381 * textmodes/reftex-parse.el (index-tags): Declare.
16382
16383 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16384
16385 * cus-edit.el (customize-push-and-save): New function.
16386
16387 * files.el (hack-local-variables-confirm): Use it.
16388
16389 * custom.el (load-theme): New arg NO-CONFIRM.
16390 Use customize-push-and-save (Bug#8720).
16391 (custom-enabled-themes): Doc fix.
16392
16393 * cus-theme.el (customize-create-theme)
16394 (custom-theme-merge-theme): Callers to load-theme changed.
16395
16396 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16397
16398 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16399 short URLs have at least one dot in them (bug #7614).
16400
16401 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16402 nil, because using a pty is apparently too slow (bug #895).
16403
16404 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16405
16406 * mail/sendmail.el (sendmail-query-once): New function.
16407 (sendmail-query-once-function): New variable.
16408
16409 2011-06-29 Glenn Morris <rgm@gnu.org>
16410
16411 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16412
16413 * ses.el (top-level): Require cl when compiling.
16414 (ses-set-localvars): Fix error statement.
16415 Call it at compile time to silence a storm of warnings.
16416
16417 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16418
16419 * window.el (normalize-live-buffer): Rename to
16420 window-normalize-buffer.
16421 (normalize-live-frame): Rename to window-normalize-frame.
16422 (normalize-any-window): Rename to window-normalize-any-window.
16423 (normalize-live-window): Rename to window-normalize-live-window.
16424 (make-window-atom): Rename to window-make-atom.
16425 (window-resize-reset): Rename to window--resize-reset.
16426 (window-resize-reset-1): Rename to window--resize-reset-1.
16427 (resize-mini-window): Rename to window--resize-mini-window.
16428 (resize-subwindows-skip-p): Rename to
16429 window--resize-subwindows-skip-p.
16430 (resize-subwindows-normal): Rename to
16431 window--resize-subwindows-normal.
16432 (resize-subwindows): Rename to window--resize-subwindows.
16433 (resize-other-windows): Rename to window--resize-siblings.
16434 (resize-this-window): Rename to window--resize-this-window.
16435 (resize-root-window): Rename to window--resize-root-window.
16436 (resize-root-window-vertically): Rename to
16437 window--resize-root-window-vertically.
16438 (normalize-buffer-to-display): Rename to
16439 window-normalize-buffer-to-display.
16440 (normalize-buffer-to-switch-to): Rename to
16441 window-normalize-buffer-to-switch-to.
16442 Correspondingly update all callers of the functions listed
16443 above.
16444 (display-buffer-alist, display-buffer-normalize-arguments)
16445 (display-buffer-normalize-options, display-buffer)
16446 (display-buffer-alist-set): Use "function" instead of
16447 "fun-with-args".
16448
16449 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16450
16451 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16452 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16453 debbugs.gnu.org. Mention acknowledgment email.
16454
16455 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16456
16457 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16458 buffer multibyteness, since it shouldn't matter.
16459
16460 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16461
16462 * window.el (display-buffer-in-side-window): Handle dedicated
16463 windows as in display-buffer-reuse-window.
16464 (display-buffer-normalize-alist): Use value of override
16465 specifier.
16466 (display-buffer-normalize-specifiers): Use value of
16467 other-window-means-other-frame specifier.
16468 (display-buffer-alist): Rewrite some texts in widgets.
16469 (display-buffer): Spread arguments when calling function
16470 specified by fun-with-args.
16471
16472 2011-06-28 Deniz Dogan <deniz@dogan.se>
16473
16474 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16475 Unnest `let'.
16476
16477 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16478 selectors (Bug#5732).
16479 (css-proprietary-nmstart-re): Use `regexp-opt'.
16480
16481 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16482
16483 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16484 (eshell-ls-date-format): New defcustom.
16485 (eshell-ls-file): Use it.
16486
16487 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16488
16489 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16490
16491 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16492
16493 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16494 (ange-ftp-make-tmp-name): New arg.
16495 (ange-ftp-file-local-copy): Use it.
16496
16497 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16498
16499 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16500 no-conversion (Bug#8870).
16501
16502 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16503
16504 * window.el (window-right, window-left, window-child)
16505 (window-child-count, window-last-child)
16506 (window-iso-combination-p, walk-window-tree-1)
16507 (window-atom-check-1, window-tree-1, delete-window)
16508 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16509 new naming conventions - window-vchild, window-hchild,
16510 window-next and window-prev are now called window-top-child,
16511 window-left-child, window-next-sibling and window-prev-sibling
16512 respectively.
16513 (resize-window-reset): Rename to window-resize-reset.
16514 (resize-window-reset-1): Rename to window-resize-reset-1.
16515 (resize-window): Rename to window-resize.
16516 (window-min-height, window-min-width)
16517 (resize-mini-window, resize-this-window, resize-root-window)
16518 (resize-root-window-vertically, adjust-window-trailing-edge)
16519 (enlarge-window, shrink-window, maximize-window)
16520 (minimize-window, delete-window, quit-restore-window)
16521 (split-window, balance-windows, balance-windows-area-adjust)
16522 (balance-windows-area, window-state-put-2)
16523 (display-buffer-even-window-sizes, display-buffer-set-height)
16524 (display-buffer-set-width, set-window-text-height)
16525 (fit-window-to-buffer): Rename all "resize-window" prefixed
16526 calls to use the "window-resize" prefix convention.
16527 (display-buffer-alist): Fix symbol for label specifier.
16528 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16529 corresponding specifier.
16530 Reported by Juanma Barranquero <lekktu@gmail.com>.
16531
16532 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16533
16534 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16535 convention.
16536 (ses-call-printer): Does not pass an empty string to formatter when the
16537 cell is empty to keep from barking printer Calc math-format-value.
16538
16539 2011-06-27 Richard Stallman <rms@gnu.org>
16540
16541 * battery.el (battery-mode-line-limit): New variable.
16542 (battery-update): Handle it.
16543
16544 * mail/rmailmm.el (rmail-mime-process-multipart):
16545 Handle truncated messages.
16546
16547 2011-06-27 Glenn Morris <rgm@gnu.org>
16548
16549 * progmodes/flymake.el (flymake-err-line-patterns):
16550 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16551
16552 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16553
16554 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16555 (ses--clean-!, ses--clean-_): New functions.
16556 (ses-range): Add configurability of readout order, and conversion
16557 to Calc vector.
16558
16559 * ses.el (ses-repair-cell-reference-all): New function.
16560 (ses-cell-symbol): Set macro as safe, so that it can be used in
16561 formulas.
16562
16563 * ses.el: Update cycle detection algorithm.
16564 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16565 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16566 (ses-set-localvars): New function.
16567 (ses-make-cell): Add property-list as a cell element.
16568 (ses-cell-property-get-fun, ses-cell-property-get)
16569 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16570 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16571 New functions.
16572 (ses-cell-property-set, ses-cell-property-pop)
16573 (ses-cell-property-get-handle): New macro.
16574 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16575 New aliases, used for code readability.
16576 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16577 cycle detection.
16578 (ses-self-reference-early-detection): New defcustom.
16579 (ses-formula-references): Robustify against self-referring cells.
16580 (ses-mode): Use ses-set-localvars.
16581 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16582 before lauching the update processing.
16583 (ses-initialize-Dijkstra-attempt): New function.
16584 (ses-recalculate-cell): Update for cycle detection based on
16585 Dijkstra algorithm.
16586
16587 * ses.el: Fix commenting and indenting convention.
16588
16589 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16590
16591 * bs.el (bs-cycle-next): Complete last change.
16592
16593 2011-06-27 Drew Adams <drew.adams@oracle.com>
16594
16595 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16596
16597 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16598
16599 * net/network-stream.el (network-stream-open-starttls):
16600 Don't re-get capabilities unless we've reestablished connection.
16601 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16602
16603 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16604 to binary to possibly avoid line encoding issues on Windows (among
16605 other things).
16606
16607 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16608
16609 * net/network-stream.el (open-network-stream): Return an :error
16610 saying what the problem was, if possible.
16611
16612 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16613 server.
16614
16615 * net/network-stream.el (network-stream-open-starttls): If we
16616 wanted to use STARTTLS, and the server offered it, but we weren't
16617 able to because we had no STARTTLS support, then close the connection.
16618 (open-network-stream): Return an :error element, if present.
16619
16620 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16621
16622 * hl-line.el (hl-line-sticky-flag): Doc fix.
16623 (global-hl-line-sticky-flag): New option (Bug#8323).
16624 (global-hl-line-highlight): Obey it.
16625
16626 * vc/vc.el (vc-revert-show-diff): Default to t.
16627
16628 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16629
16630 * allout-widgets.el (allout-widgets-post-command-business):
16631 Stop decorating intermediate isearch matches. They're not being
16632 undecorated when an isearch is continued past, and isearch
16633 automatically collapses them. This leads to "widget leaks", where
16634 decorated items accumulate in collapsed areas. Lines with lots of
16635 hidden widgets can slow down cursor travel, substantially.
16636 Too much complicated machinery would be needed to ensure undecoration,
16637 so we're doing without this nicety.
16638
16639 (allout-widgets-tally-string): Don't try to do a hash-table-count
16640 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16641 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16642 *Messages* when allout-widgets-maintain-tally is t.
16643
16644 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16645
16646 * window.el (display-buffer-normalize-argument): Rename to
16647 display-buffer-normalize-arguments. Handle special meaning of
16648 LABEL argument. Respect special-display-function when popping up
16649 a new frame. Fix code searching for a window showing the buffer
16650 on another frame.
16651 (display-buffer-normalize-specifiers):
16652 Call display-buffer-normalize-arguments.
16653 (display-buffer-in-window): Don't undedicate the window if its
16654 buffer remains the same.
16655 Reported by Drew Adams <drew.adams@oracle.com>.
16656 (display-buffer-alist): Add choice for same-window macro
16657 specfier.
16658 (display-buffer): Mention special meaning of LABEL argument in
16659 doc-string. Fix quoting. Don't pop up a new frame even as
16660 fallback.
16661
16662 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16663
16664 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16665 avoid deleting the current window in some cases (bug#8911).
16666
16667 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16668
16669 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16670 (Bug#8934)
16671
16672 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16673
16674 * net/network-stream.el (network-stream-open-starttls):
16675 Use built-in TLS support if `gnutls-available-p' is true.
16676 (network-stream-open-tls): Ditto.
16677
16678 2011-06-26 Leo Liu <sdl.web@gmail.com>
16679
16680 * register.el (registerv): New struct.
16681 (registerv-make): New function.
16682 (jump-to-register, describe-register-1, insert-register):
16683 Support the jump-func, print-func and insert-func slot of a registerv
16684 struct. (Bug#8415)
16685
16686 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16687
16688 * vc/vc.el (vc-revert-show-diff): New defcustom.
16689 (vc-diff-internal): New arg specifying diff buffer.
16690 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16691 reuse an existing *vc-diff* buffer (Bug#8927).
16692
16693 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16694
16695 2011-06-26 Glenn Morris <rgm@gnu.org>
16696
16697 * progmodes/f90.el (f90-critical-indent): New option.
16698 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16699 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16700 (f90-mode): Doc fix.
16701 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16702 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16703 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16704 (f90-match-end): Handle block, critical.
16705
16706 2011-06-25 Glenn Morris <rgm@gnu.org>
16707
16708 * calendar/diary-lib.el (diary-included-files): Doc fix.
16709 (diary-include-files): New function, extracted from
16710 diary-include-other-diary-files and diary-mark-included-diary-files.
16711 (diary-include-other-diary-files, diary-mark-included-diary-files):
16712 Just call diary-include-files.
16713 (diary-mark-entries): Reset diary-included-files on first call.
16714
16715 * calendar/diary-lib.el (diary-mark-entries)
16716 (diary-mark-included-diary-files):
16717 Visit included diary-files in temp buffers.
16718
16719 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16720 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16721 (f90-start-block-re, f90-imenu-generic-expression)
16722 (f90-looking-at-program-block-start, f90-no-block-limit):
16723 Add support for submodules.
16724
16725 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16726 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16727
16728 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16729
16730 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16731 buffer-file-type before setting its value, to avoid disastrous
16732 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16733
16734 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16735
16736 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16737
16738 * ses.el (ses-unload-function):
16739 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16740
16741 * proced.el (proced-unload-function):
16742 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16743
16744 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16745
16746 * server.el (server-create-window-system-frame): Add parameters arg.
16747 (server-process-filter): Doc fix. Handle frame-parameters.
16748
16749 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16750
16751 Fix bug#8730, bug#8781.
16752
16753 * loadhist.el (unload--set-major-mode): New function.
16754 (unload-feature): Use it.
16755
16756 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16757 (python-unload-function): New function.
16758
16759 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16760
16761 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16762
16763 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16764
16765 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16766 the candidates list.
16767
16768 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16769
16770 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16771
16772 2011-06-23 Richard Stallman <rms@gnu.org>
16773
16774 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16775 (rmail-variables): Set next-error-move-function.
16776 (rmail-what-message): Take argument POS.
16777 (rmail-next-error-move): New function.
16778
16779 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16780
16781 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16782 messages for adjacent non-terminals.
16783
16784 2011-06-23 Richard Stallman <rms@gnu.org>
16785
16786 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16787 (rmail-show-message-1): Preserve buffer modified flag.
16788 (rmail-start-mail): Don't specify use of rmail-mail-return;
16789 that's done by mail-bury now.
16790 (rmail-mail-return): Handle arg NEWBUF.
16791
16792 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16793
16794 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16795 SIZE is a number.
16796
16797 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16798
16799 * window.el (get-lru-window, get-mru-window)
16800 (get-largest-window): Never return a minibuffer window.
16801 (display-buffer-pop-up-window): Fix a bug that could lead to
16802 reusing the minibuffer window.
16803 (display-buffer): Pass original specifier argument to
16804 display-buffer-function instead of the normalized one.
16805 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16806
16807 2011-06-22 Leo Liu <sdl.web@gmail.com>
16808
16809 * minibuffer.el (completing-read-function)
16810 (completing-read-default): Move from minibuf.c.
16811
16812 2011-06-22 Richard Stallman <rms@gnu.org>
16813
16814 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16815 to Rmail even if not started by a special Rmail command.
16816
16817 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16818 Copy the buffer currently showing just one message.
16819
16820 2011-06-22 Roland Winkler <winkler@gnu.org>
16821
16822 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16823 (bibtex-clean-entry): First delete the old key so that a
16824 customized algorithm for generating the new key does not get
16825 confused by the old key.
16826 (bibtex-url): Obey regexp of first step.
16827 (bibtex-search-entries): Do not use add-to-list with local
16828 list-var.
16829
16830 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16831
16832 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16833 stored a user name, then query for the password first, instead of
16834 waiting for SMTP to give an error message and the trying again.
16835
16836 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16837
16838 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16839 BUFFER in call-process.
16840
16841 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16842
16843 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16844 QUIT twice.
16845 (smtpmail-try-auth-methods): Require user name and password from
16846 auth-source.
16847
16848 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16849
16850 * window.el (display-buffer-default-specifiers)
16851 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16852 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16853 (split-window): Normalize SIDE argument (Bug#8916).
16854
16855 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16856 (special-display-frame-alist, special-display-popup-frame):
16857 Remove duplicate declarations. These are now in window.el.
16858
16859 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16860
16861 * mail/smtpmail.el (smtpmail-via-smtp):
16862 Set :use-starttls-if-possible so that we always use STARTTLS if the
16863 server supports it. SMTP servers that support STARTTLS commonly
16864 require it.
16865
16866 * net/network-stream.el (network-stream-open-starttls): Support
16867 upgrading to STARTTLS always, even if we don't have built-in support.
16868 (open-network-stream): Add the :always-query-capabilities keyword.
16869
16870 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16871 upgrades with `open-network-stream', and rely solely on
16872 auth-source for all credentials. Big changes throughout the file,
16873 but in particular:
16874 (smtpmail-auth-credentials): Remove.
16875 (smtpmail-starttls-credentials): Remove.
16876 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16877 MAIL FROM, too.
16878
16879 * net/network-stream.el (network-stream-open-starttls):
16880 Provide support for client certificates both for external and built-in
16881 STARTTLS.
16882 (auth-source): Require.
16883 (open-network-stream): Document the :client-certificate keyword.
16884 (network-stream-certificate): Change cert-cert to cert and
16885 cert-key to key.
16886
16887 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16888
16889 * net/tramp-cache.el (top): Don't load the persistency file when
16890 "emacs -Q" has been called.
16891
16892 2011-06-21 Tim Harper <timcharper@gmail.com>
16893
16894 * term/ns-win.el (ns-initialize-window-system):
16895 Set application-specific `ApplePressAndHoldEnabled' system
16896 resource to NO as it is not yet supported by the NS port.
16897
16898 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16899
16900 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16901 (list-dynamic-libraries): ...not here.
16902
16903 2011-06-21 Leo Liu <sdl.web@gmail.com>
16904
16905 * subr.el (sha1): Implement sha1 using secure-hash.
16906
16907 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16908
16909 * window.el (display-buffer-alist): In default value do not
16910 enforce searching a window on any but the selected frame.
16911 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16912 (display-buffer-select-window): Remove function.
16913 (display-buffer-in-window): When a window on another frame gets
16914 reused, do not select it any more but just raise its frame if
16915 necessary (Bug#8851) and (Bug#8856).
16916 (display-buffer-normalize-options): Handle pop-up-frames related
16917 options more faithfully.
16918 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16919 window if it is on another frame.
16920 (display-buffer-alist, display-buffer-default-specifiers):
16921 Don't make new frame unsplittable by default.
16922 (display-buffer-normalize-argument): Fix doc-string typo and use
16923 'same-frame-other-window instead of 'other-window when associating
16924 with display-buffer-macro-specifiers.
16925
16926 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16927
16928 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16929 New functions.
16930 (5x5-mode-map, 5x5-mode-menu): Bind them.
16931 (5x5-draw-grid): Tweak the solver's rendering.
16932
16933 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16934
16935 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16936 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16937
16938 2011-06-21 Drew Adams <drew.adams@oracle.com>
16939
16940 * menu-bar.el: Use function variable instead of switch-to-buffer.
16941 (menu-bar-select-buffer-function): New variable.
16942 (menu-bar-update-buffers): Use it (bug#8876).
16943
16944 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16945
16946 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16947 variable's status.
16948
16949 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16950
16951 * x-dnd.el (x-dnd-version-from-flags)
16952 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16953 and long as number (Bug#8899).
16954 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16955
16956 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16957
16958 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16959 (completion-try-completion, completion-all-completions): Compute the
16960 metadata argument if it's missing; make it optional (bug#8795).
16961
16962 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16963 (widget-complete): Use new :completion-function property.
16964 (widget-completions-at-point): New function.
16965 (default): Use :completion-function instead of :complete.
16966 (widget-default-completions): Rename from widget-default-complete;
16967 Rewrite.
16968 (widget-string-complete, widget-file-complete, widget-color-complete):
16969 Remove functions.
16970 (file, symbol, function, variable, coding-system, color):
16971 * international/mule-cmds.el (default-input-method, charset)
16972 (language-info-custom-alist):
16973 * cus-edit.el (face): Use new property :completions.
16974
16975 * progmodes/pascal.el (pascal-completions-at-point): New function.
16976 (pascal-mode): Use it.
16977 (pascal-mode-map): Use completion-at-point.
16978 (pascal-toggle-completions): Make obsolete.
16979 (pascal-complete-word, pascal-show-completions):
16980 * progmodes/octave-mod.el (octave-complete-symbol):
16981 Redefine as obsolete alias.
16982 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16983 Signal absence of completion info for old Octave,
16984 (inferior-octave-complete): Redefine as obsolete alias.
16985 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16986 (meta-completions-at-point): Rename from meta-complete-symbol and
16987 adapt it for use on completion-at-point-functions.
16988 (meta-common-mode): Use it.
16989 (meta-looking-at-backward, meta-match-buffer): Remove.
16990 (meta-complete-symbol): Redefine as obsolete alias.
16991 (meta-common-mode-map): Use completion-at-point.
16992 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16993 (makefile-mode-map): Use completion-at-point.
16994 (makefile-completions-at-point): Rename from makefile-complete and
16995 adapt it for use on completion-at-point-functions.
16996 (makefile-mode): Use it.
16997 (makefile-complete): Redefine as obsolete alias.
16998
16999 2011-06-20 Deniz Dogan <deniz@dogan.se>
17000
17001 * net/rcirc.el: Delete trailing whitespaces once and for all.
17002
17003 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17004
17005 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17006
17007 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17008
17009 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17010
17011 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17012
17013 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17014
17015 * window.el (display-buffer-other-window-means-other-frame):
17016 Call display-buffer-normalize-alist.
17017 (display-buffer-normalize-specifiers-1): Rename to
17018 display-buffer-normalize-argument. New argument other-frame.
17019 Rewrite.
17020 (display-buffer-normalize-specifiers-2): Rename to
17021 display-buffer-normalize-options.
17022 (display-buffer-normalize-alist-1): New function.
17023 (display-buffer-normalize-specifiers-3): Rename to
17024 display-buffer-normalize-alist.
17025 Call display-buffer-normalize-alist-1.
17026 (display-buffer-normalize-options-inhibit): New variable.
17027 (display-buffer-normalize-specifiers): Rewrite calling
17028 display-buffer-normalize-alist,
17029 display-buffer-normalize-argument, and
17030 display-buffer-normalize-options. Don't call the latter if
17031 display-buffer-normalize-options-inhibit is non-nil.
17032 (frame-auto-delete): New option.
17033 (window-deletable-p): Use frame-auto-delete.
17034 (window-list-no-nils, window-state-ignored-parameters)
17035 (window-state-get-1, window-state-get, window-state-put-list)
17036 (window-state-put-1, window-state-put-2, window-state-put):
17037 New functions.
17038 (display-buffer-normalize-options): Move special-display-p group
17039 after pop-up-frame group (Bug#8851) and (Bug#8856).
17040
17041 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17042
17043 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17044 groups (Bug#8776).
17045 (rx-submatch-n): New function.
17046 (rx): Document it.
17047
17048 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17049 (Bug#8768).
17050
17051 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17052
17053 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17054
17055 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17056 anytime existing face settings are present (Bug#8889).
17057
17058 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17059 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17060 Remove unused argument.
17061
17062 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17063
17064 * window.el (display-buffer-default-specifiers):
17065 Remove pop-up-frame. Add pop-up-window-min-height,
17066 pop-up-window-min-width, and another reuse-window specifier
17067 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17068 (display-buffer-normalize-specifiers-2):
17069 Handle split-height-threshold and split-width-threshold also when
17070 pop-up-windows is unset. Add a reuse-window specifier for the
17071 case popping up a new window fails.
17072 (special-display-popup-frame): Remove double quoting.
17073 (display-buffer-normalize-specifiers-1): Fix thinko.
17074
17075 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17076
17077 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17078 according to comint-completion-addsuffix.
17079
17080 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17081 (pcomplete-suffix-list): Mark as obsolete.
17082 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17083 pcomplete-seen in the closure.
17084 (pcomplete-comint-setup): Setup completion-at-point as well.
17085 (pcomplete--entries): New function.
17086 (pcomplete--env-regexp): New var.
17087 (pcomplete-entries): Rewrite to work with partial-completion and
17088 without relying on pcomplete-suffix-list.
17089 (pcomplete-pare-list): Remove, unused.
17090
17091 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17092
17093 * window.el (display-buffer-alist): Set pop-up-window-min-height
17094 and pop-up-window-min-width in default value. Reported by
17095 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17096 other-window-means-other-frame.
17097 (display-buffer-macro-specifiers): Comment out entry for
17098 other-window specifier.
17099 (display-buffer-other-window-means-other-frame): New function.
17100 (display-buffer-normalize-specifiers-1): New arguments
17101 buffer-name and label. Treat other-window case specially.
17102 (display-buffer-normalize-specifiers-2): Treat other-window case
17103 specially.
17104 (display-buffer-normalize-specifiers-3): New function.
17105 (display-buffer-normalize-specifiers):
17106 Call display-buffer-normalize-specifiers-3.
17107
17108 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17109
17110 * window.el (same-window-p): Fix two typos introduced when
17111 adding with-no-warnings.
17112 (display-buffer-normalize-specifiers-1): Don't check
17113 pop-up-frames for 'unset initialization.
17114 (display-buffer-normalize-specifiers-2): Major rewrite using
17115 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17116 (pop-up-frames, display-buffer-reuse-frames)
17117 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17118 Suggested by David Engster <deng@randomsample.de>.
17119 (even-window-heights): Initialize to 'unset.
17120 (display-buffer-alist-set): Handle new 'unset initializations.
17121 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17122 other window case.
17123
17124 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17125
17126 * window.el (display-buffer-normalize-specifiers-1):
17127 Respect current value of pop-up-frames for most reasonable values of
17128 second argument of display-buffer (Bug#8865).
17129 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17130 (switch-to-buffer-other-window-same-frame)
17131 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17132 Adams (Bug#8875).
17133 (display-buffer): Don't check noninteractive when calling
17134 display-buffer-pop-up-frame.
17135 (display-buffer-pop-up-frame): Never pop up a frame in
17136 noninteractive mode (Bug#8857).
17137 (enlarge-window, shrink-window): Don't report an error when the
17138 window can't be resized as requested (Bug#8862).
17139
17140 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17141
17142 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17143
17144 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17145
17146 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17147
17148 2011-06-15 Alan Mackenzie <acm@muc.de>
17149
17150 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17151 for declarators, disable knr checking to speed up for normal files.
17152 2: Refactor, replacing a sequence of nested if forms by a cond form.
17153
17154 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17155
17156 * net/network-stream.el (open-network-stream): Add the keyword
17157 :always-query-capabilities for the case where you want to force a
17158 `plain' network connection, but the protocol still requires the
17159 capabilitiy command (i.e., SMTP and EHLO).
17160
17161 * subr.el (process-live-p): Rename from `process-alive-p' for
17162 consistency with other `-live-p' functions.
17163
17164 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17165
17166 * window.el (same-window-buffer-names, same-window-regexps)
17167 (special-display-frame-alist, special-display-popup-frame)
17168 (special-display-function, special-display-buffer-names)
17169 (special-display-regexps, pop-up-frame-alist)
17170 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17171 (pop-up-windows, split-window-preferred-function)
17172 (split-height-threshold, split-width-threshold, even-window-heights)
17173 (display-buffer-mark-dedicated): Don't encourage the use of
17174 display-buffer-alist from Elisp code.
17175
17176 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17177
17178 * progmodes/python.el (python-mode): Derive from prog-mode.
17179 * progmodes/ps-mode.el (ps-mode):
17180 * progmodes/mixal-mode.el (mixal-mode):
17181 * progmodes/cfengine.el (cfengine-mode):
17182 * progmodes/ld-script.el (ld-script-mode): Likewise.
17183
17184 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17185
17186 * window.el (display-buffer-alist): Trim default value to avoid
17187 popping up a new frame (Bug#8857) or reusing an arbitrary window
17188 on another frame.
17189 (display-buffer): Do not fall back on popping up a new frame in
17190 batch mode (Bug#8857).
17191
17192 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17193
17194 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17195 (custom-theme-summary): New function.
17196 (customize-themes): Use it.
17197
17198 2011-06-13 Glenn Morris <rgm@gnu.org>
17199
17200 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17201
17202 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17203
17204 * help.el (help-window): Remove variable.
17205 (help-window-point-marker, temp-buffer-max-height)
17206 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17207 (help-print-return-message): Don't set help-window.
17208 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17209 (help-window-setup-finish): Remove.
17210 (help-window-display-message, help-window-setup)
17211 (with-help-window): Major rewrite based on new
17212 display-buffer-window variable.
17213
17214 * help-mode.el (help-mode-finish): Remove help-window related
17215 code.
17216
17217 * view.el (view-exits-all-viewing-windows): Remove reference to
17218 view-return-to-alist in doc-string.
17219 (view-return-to-alist): Make obsolete.
17220 (view-buffer): Call pop-to-buffer-same-window and remove
17221 undo-window code.
17222 (view-buffer-other-window): Call pop-to-buffer-other-window and
17223 simplify code. Ignore second argument.
17224 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17225 simplify code. Ignore second argument.
17226 (view-return-to-alist-update): Make obsolete.
17227 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17228 Rewrite using quit-restore window parameters.
17229 (view-mode-exit): Rename second argument to EXIT-ONLY.
17230 Rewrite using quit-restore-window.
17231 (View-exit, View-exit-and-edit, View-leave, View-quit)
17232 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17233 appropriate arguments.
17234 (view-end-message): Use quit-restore window parameter.
17235
17236 * window.el (display-buffer-function): Rewrite doc-string.
17237 (display-buffer-window, display-buffer-alist): New variables.
17238 (display-buffer-split-specifiers)
17239 (display-buffer-side-specifiers)
17240 (display-buffer-macro-specifiers): New constants.
17241 (display-buffer-even-window-sizes, display-buffer-set-height)
17242 (display-buffer-set-width, display-buffer-select-window)
17243 (display-buffer-in-window, display-buffer-reuse-window)
17244 (display-buffer-split-window-1, display-buffer-split-window)
17245 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17246 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17247 (display-buffer-in-side-window, normalize-buffer-to-display)
17248 (display-buffer-normalize-specifiers-1)
17249 (display-buffer-normalize-specifiers-2)
17250 (display-buffer-normalize-specifiers, display-buffer-frame):
17251 New functions.
17252 (display-buffer): Major rewrite.
17253 (display-buffer-other-window, display-buffer-other-frame)
17254 (pop-to-buffer, switch-to-buffer-other-window)
17255 (switch-to-buffer-other-frame): Rewrite.
17256 (display-buffer-same-window, display-buffer-same-frame)
17257 (display-buffer-same-frame-other-window)
17258 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17259 (pop-to-buffer-other-window)
17260 (pop-to-buffer-same-frame-other-window)
17261 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17262 (switch-to-buffer-other-window-same-frame): New functions.
17263 (same-window-p, special-display-p): Rewrite disabling warnings.
17264 Make obsolete.
17265 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17266 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17267 Make obsolete
17268 (same-window-buffer-names, same-window-regexps)
17269 (special-display-frame-alist, special-display-popup-frame)
17270 (special-display-function, special-display-buffer-names)
17271 (special-display-regexps, pop-up-frame-alist)
17272 (pop-up-frame-function, split-window-preferred-function)
17273 (split-height-threshold, split-width-threshold)
17274 (even-window-heights): Make obsolete.
17275
17276 2011-06-12 Glenn Morris <rgm@gnu.org>
17277
17278 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17279 Misc simplifications.
17280
17281 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17282
17283 * window.el (window-safely-shrinkable-p): Restore function which
17284 was inadvertently removed in change from 2011-06-11. Declare as
17285 obsolete.
17286
17287 * calendar/calendar.el (calendar-generate-window):
17288 Use window-iso-combined-p instead of combination of one-window-p and
17289 window-safely-shrinkable-p.
17290
17291 2011-06-12 Glenn Morris <rgm@gnu.org>
17292
17293 * progmodes/fortran.el (fortran-mode-syntax-table):
17294 * progmodes/f90.el (f90-mode-syntax-table):
17295 Set % to punctuation. (Bug#8820)
17296 (f90-find-tag-default): Remove, no longer needed.
17297
17298 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17299
17300 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17301
17302 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17303
17304 * image.el (image-animated-p): Return animation delay in seconds.
17305 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17306 (image-animate-timeout): Remove DELAY argument. Don't assume
17307 every subimage has the same delay; get it from image-animated-p.
17308 (image-animate): Caller changed.
17309
17310 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17311
17312 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17313 to ignored backtrace functions.
17314
17315 2011-06-11 Glenn Morris <rgm@gnu.org>
17316
17317 * calendar/appt.el (appt-disp-window-function): Doc fix.
17318 (appt-check): Handle overlapping appointments. (Bug#8337)
17319
17320 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17321
17322 * window.el (window-tree-1, window-tree): New functions, moving
17323 the latter to window.el.
17324 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17325 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17326 (bw-refresh-edges): Remove.
17327 (balance-windows-1, balance-windows-2): New functions.
17328 (balance-windows): Rewrite in terms of window tree functions,
17329 balance-windows-1 and balance-windows-2.
17330 (bw-adjust-window): Remove.
17331 (balance-windows-area-adjust): New function with functionality of
17332 bw-adjust-window but using resize-window.
17333 (set-window-text-height): Rewrite doc-string.
17334 Use normalize-live-window and resize-window.
17335 (enlarge-window-horizontally, shrink-window-horizontally):
17336 Rename argument to DELTA.
17337 (window-buffer-height): New function.
17338 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17339 Rewrite using new window resize routines.
17340 (kill-buffer-and-window, mouse-autoselect-window-select):
17341 Use ignore-errors instead of condition-case.
17342 (quit-window): Call delete-frame instead of delete-windows-on
17343 for the only buffer on frame.
17344
17345 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17346
17347 * loadup.el (top-level): Load window before files for the sake
17348 of replace-buffer-in-windows.
17349
17350 * files.el (read-buffer-to-switch)
17351 (switch-to-buffer-other-window)
17352 (switch-to-buffer-other-frame, display-buffer-other-frame):
17353 Move to window.el.
17354
17355 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17356 (previous-buffer): Move to window.el.
17357
17358 * bindings.el (unbury-buffer): Move to window.el.
17359
17360 * window.el (delete-other-windows-vertically): Move after
17361 definition of delete-other-windows.
17362 (other-window, delete-windows-on, replace-buffer-in-windows):
17363 Move here from window.c.
17364 (record-window-buffer, unrecord-window-buffer)
17365 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17366 (switch-to-next-buffer): New functions.
17367 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17368 from simple.el. Call switch-to-next-buffer.
17369 (previous-buffer): Move here from simple.el.
17370 Call switch-to-prev-buffer.
17371 (bury-buffer): Move here from buffer.c. Switch to previous
17372 buffer when window cannot be deleted.
17373 (unbury-buffer): Move here from bindings.el.
17374 (ctl-x-map): Move binding for other-window from window.c to
17375 here.
17376 (read-buffer-to-switch, switch-to-buffer-other-window)
17377 (switch-to-buffer-other-frame): Move here from files.el.
17378 (normalize-buffer-to-switch-to): New functions.
17379 (switch-to-buffer): Move here from buffer.c.
17380 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17381
17382 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17383
17384 * window.el (window-min-height, window-min-width): Move here
17385 from window.c. Add defcustoms and rewrite doc-strings.
17386 (resize-mini-window, resize-window): New functions.
17387 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17388 Move here from window.c.
17389 (maximize-window, minimize-window): New functions.
17390 (delete-window, delete-other-windows, split-window): Move here
17391 from window.c.
17392 (window-split-min-size): New function.
17393 (split-window-keep-point): Mention split-window-above-each-other
17394 instead of split-window-vertically.
17395 (split-window-above-each-other, split-window-vertically):
17396 Rename split-window-vertically to split-window-above-each-other
17397 and provide defalias for old definition.
17398 (split-window-side-by-side, split-window-horizontally):
17399 Rename split-window-horizontally to split-window-side-by-side
17400 and provide defalias for the old definition.
17401 (ctl-x-map): Move bindings for delete-window,
17402 delete-other-windows and enlarge-window here from window.c.
17403 Replace bindings for split-window-vertically and
17404 split-window-horizontally by bindings for
17405 split-window-above-each-other and split-window-side-by-side.
17406
17407 * cus-start.el (all): Remove entries for window-min-height and
17408 window-min-width. Add entries for window-splits and
17409 window-nest.
17410
17411 2011-06-09 Glenn Morris <rgm@gnu.org>
17412
17413 * calendar/appt.el (appt-mode-line): New function.
17414 (appt-check, appt-disp-window): Use it.
17415
17416 * files.el (hack-one-local-variable-eval-safep):
17417 Allow minor-modes with explicit +/-1 arguments.
17418
17419 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17420
17421 * term/xterm.el (xterm): Add defgroup.
17422 (xterm-extra-capabilities): Add defcustom to supply known xterm
17423 capabilities, skip querying them, or query them (default).
17424 (terminal-init-xterm): Use it.
17425 (terminal-init-xterm-modify-other-keys): New function to set up
17426 modifyOtherKeys support to simplify `terminal-init-xterm'.
17427
17428 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17429
17430 * window.el (resize-window-reset, resize-window-reset-1)
17431 (resize-subwindows-skip-p, resize-subwindows-normal)
17432 (resize-subwindows, resize-other-windows, resize-this-window)
17433 (resize-root-window, resize-root-window-vertically)
17434 (window-deletable-p, window-or-subwindow-p)
17435 (frame-root-window-p): New functions.
17436
17437 2011-06-09 Glenn Morris <rgm@gnu.org>
17438
17439 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17440 (ange-ftp-get-files): Use it.
17441
17442 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17443
17444 * mail/sendmail.el (mail-recover-1, mail-recover):
17445 * files.el (recover-file, recover-session):
17446 Handle dired-listing-switches not being just a single short option.
17447
17448 2011-06-09 Glenn Morris <rgm@gnu.org>
17449
17450 * calendar/appt.el (appt-display-message, appt-disp-window):
17451 Handle lists of appointments.
17452
17453 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17454
17455 * window.el (one-window-p): Move down in code.
17456 Rewrite doc-string.
17457 (window-current-scroll-bars): Rewrite doc-string.
17458 Normalize live window argument.
17459 (walk-windows, get-window-with-predicate, count-windows):
17460 Rewrite doc-string. Use window-list-1.
17461 (window-in-direction-2, window-in-direction, get-mru-window):
17462 New functions.
17463
17464 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17465
17466 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17467 Doc fix (Bug#8713).
17468
17469 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17470
17471 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17472
17473 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17474
17475 * loadhist.el (unload-feature-special-hooks):
17476 Add `comint-output-filter-functions'.
17477
17478 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17479
17480 * calendar/appt.el (appt-check): Move some initializations into the let.
17481
17482 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17483
17484 * window.el (window-height): Defalias to window-total-height.
17485 (window-width): Defalias to window-body-width.
17486
17487 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17488
17489 * image-mode.el (image-toggle-animation): New command.
17490 (image-mode-map): Bind it to RET.
17491 (image-mode): Update message.
17492 (image-toggle-display-image): Avoid a spurious cache flush.
17493 (image-transform-rotation): Doc fix.
17494 (image-transform-properties): Return quickly in the normal case.
17495 (image-animate-loop): Rename from image-animate-max-time.
17496
17497 * image.el (image-animate-max-time): Move to image-mode.el.
17498 (create-animated-image): Remove unnecessary function.
17499 (image-animate): Rename from image-animate-start. New arg.
17500 (image-animate-stop): Remove; just use image-animate-timer.
17501 (image-animate-timer): Use car-safe.
17502 (image-animate-timeout): Rename argument.
17503
17504 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17505
17506 * window.el (get-lru-window, get-largest-window): Move here from
17507 window.c. Rename first argument to ALL-FRAMES.
17508 Rephrase doc-strings.
17509 (get-buffer-window-list): Rewrite using window-list-1.
17510 Rephrase doc-string.
17511 (window-safe-min-height, window-safe-min-width): New constants.
17512 (window-size-ignore, window-min-size, window-min-size-1)
17513 (window-sizable, window-sizable-p, window-size-fixed-1)
17514 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17515 (window-max-delta-1, window-max-delta, window-resizable)
17516 (window-resizable-p, window-total-height, window-total-width)
17517 (window-body-width): New functions.
17518 (window-full-height-p, window-full-width-p): Rewrite using
17519 window-total-size.
17520 (window-body-height): Rewrite using window-body-size.
17521
17522 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17523
17524 * window.el (window-right, window-left, window-child)
17525 (window-child-count, window-last-child, window-any-p)
17526 (normalize-live-buffer, normalize-live-frame)
17527 (normalize-any-window, normalize-live-window)
17528 (window-iso-combination-p, window-iso-combined-p)
17529 (window-iso-combinations)
17530 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17531 (windows-with-parameter, window-with-parameter)
17532 (window-atom-root, make-window-atom, window-atom-check-1)
17533 (window-atom-check, window-side-check, window-check):
17534 New functions.
17535 (ignore-window-parameters, window-sides, window-sides-vertical)
17536 (window-sides-slots): New variables.
17537 (window-size-fixed): Move down in code. Minor doc-string fix.
17538
17539 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17540
17541 * comint.el (comint-dynamic-complete-as-filename)
17542 (comint-dynamic-complete-filename): Correctly call
17543 completion-in-region.
17544
17545 2011-06-05 Deniz Dogan <deniz@dogan.se>
17546
17547 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17548 in last change.
17549
17550 2011-06-05 Deniz Dogan <deniz@dogan.se>
17551
17552 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17553 (rcirc): Use it to prompt for encryption.
17554
17555 2011-06-05 Roland Winkler <winkler@gnu.org>
17556
17557 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17558 (bibtex-search-entries): New command bound to C-c C-a.
17559 (bibtex-display-entries): New function.
17560
17561 2011-06-05 Roland Winkler <winkler@gnu.org>
17562
17563 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17564 (bibtex-insert-kill): After yanking insert newline if necessary.
17565 (bibtex-initialize): Call bibtex-string-files-init only once.
17566 (bibtex-mode): Do not call easy-menu-add.
17567 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17568 (bibtex-yank): Set arg properly if nil.
17569
17570 2011-06-05 Roland Winkler <winkler@gnu.org>
17571
17572 * textmodes/bibtex.el (bibtex-search-entry-globally):
17573 New variable.
17574 (bibtex-search-entry): Use it.
17575
17576 2011-06-05 Roland Winkler <winkler@gnu.org>
17577
17578 * textmodes/bibtex.el (bibtex-entry-format): New option
17579 sort-fields.
17580 (bibtex-format-entry, bibtex-reformat): Honor this option.
17581 (bibtex-parse-entry): Return fields in proper order.
17582
17583 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * doc-view.el (doc-view-remove-if): Move computation of result out
17586 of `dolist' to silence misleading lexical-binding warning.
17587
17588 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17589
17590 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17591 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17592
17593 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17594
17595 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17596 "SunOS 5.10".
17597
17598 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17599
17600 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17601 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17602 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17603 (tramp-parse-putty):
17604 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17605 (tramp-completion-function-alist-ssh)
17606 (tramp-completion-function-alist-telnet)
17607 (tramp-completion-function-alist-su)
17608 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17609 cookie.
17610
17611 * net/tramp-ftp.el:
17612 * net/tramp-sh.el:
17613 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17614 load "tramp.el" `tramp-set-completion-function'.
17615
17616 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17617
17618 * shell.el: Require and use pcomplete.
17619 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17620 (shell-completion-vars): Set pcomplete-default-completion-function.
17621
17622 2011-06-04 Deniz Dogan <deniz@dogan.se>
17623
17624 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17625 `memq' (Bug#8799).
17626
17627 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17630
17631 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17632
17633 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17634 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17635 * vc/log-view.el (log-view-beginning-of-defun):
17636 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17637 (smerge-refine-forward, smerge-refine-chopup-region):
17638 Silence warning for unused `dotimes' counter variables.
17639
17640 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17641
17642 * net/tramp.el (tramp-with-progress-reporter): Rename from
17643 with-progress-reporter. Use `declare'.
17644 * net/tramp-smb.el:
17645 * net/tramp-sh.el:
17646 * net/tramp-gvfs.el: Update all uses.
17647
17648 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17649
17650 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17651 buffer isn't killed before making it current.
17652
17653 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17654
17655 Silence various byte-compiler warnings.
17656 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17657 `access-type' and new obsolescence format.
17658 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17659 new format.
17660 (byte-compile-check-variable): New `access-type' argument.
17661 Only warn if the access-type is obsolete.
17662 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17663 (byte-compile-variable-set): Adjust callers.
17664 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17665 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17666 setting it as obsolete.
17667 * simple.el (minibuffer-completing-symbol):
17668 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17669 access as obsolete.
17670 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17671 obsolete yet.
17672 * international/quail.el (quail-mouse-choose-completion): Remove unused
17673 code referring to obsolete var.
17674 (quail-choose-completion-string): Remove.
17675 * server.el (server-clients-with, server-kill-buffer-query-function)
17676 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17677 * proced.el (proced-send-signal):
17678 * emacs-lisp/lisp.el (lisp-complete-symbol):
17679 Replace completion-annotate-function with completion-extra-properties.
17680
17681 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17682
17683 * simple.el (goto-line): Use read-number.
17684 (overriding-map-is-bound): Remove.
17685 (saved-overriding-map): Change default.
17686 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17687 Take the map as argument.
17688 (universal-argument, negative-argument, digit-argument): Use it.
17689 (restore-overriding-map): Adjust.
17690 (do-auto-fill): Use fill-forward-paragraph.
17691 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17692
17693 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17694 (minibuffer-inactive-mode): New major mode.
17695 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17696 the *Messages* buffer" hack.
17697 (mouse-popup-menubar): Don't burp if the event is a normal key.
17698
17699 Miscellaneous tweaks.
17700 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17701 lexical scoping as in subr.el's dolist and dotimes.
17702 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17703 Silence compiler warning.
17704 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17705 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17706 * international/ccl.el (ccl-compile): Trivial simplification.
17707 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17708 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17709 `printflag' argument.
17710 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17711 Purecopy the whole obsolescence data.
17712
17713 2011-06-01 Leo Liu <sdl.web@gmail.com>
17714
17715 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17716 improve doc-string as suggested by Marco Pessotto
17717 <melmothx@gmail.com>.
17718 (rcirc-print): Fix last change.
17719
17720 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17721
17722 * minibuffer.el (complete-with-action): Return nil for the metadata and
17723 boundaries of non-functional tables.
17724 (completion-table-dynamic): Return nil for the metadata.
17725 (completion-table-with-terminator): Add default case, using
17726 complete-with-action.
17727 (completion--metadata): New function.
17728 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17729 to try and avoid pathological performance problems.
17730 (completion--embedded-envvar-table): Return `category' metadata.
17731
17732 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17733
17734 * subr.el (process-alive-p): New tiny convenience function.
17735
17736 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17737
17738 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17739 content but also its previous major mode.
17740
17741 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17742
17743 * emacs-lisp/debug.el (debug): Restore the previous content of the
17744 *Backtrace* buffer when we exit with C-M-c.
17745
17746 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17747
17748 * minibuffer.el: Add metadata method to completion tables.
17749 (completion-category-overrides): New defcustom.
17750 (completion-metadata, completion--field-metadata)
17751 (completion-metadata-get, completion--styles)
17752 (completion--cycle-threshold): New functions.
17753 (completion-try-completion, completion-all-completions):
17754 Add `metadata' argument to choose completion-styles.
17755 (completion--do-completion): Use metadata to choose cycling.
17756 (completion-all-sorted-completions): Use metadata for sorting.
17757 Remove :completion-cycle-penalty which is not needed any more.
17758 (completion--try-word-completion): Add `metadata' argument.
17759 (minibuffer-completion-help): Check metadata for annotation function
17760 and sorting.
17761 (completion-file-name-table): Return `category' metadata.
17762 (minibuffer-completing-file-name): Make obsolete.
17763 * simple.el (minibuffer-completing-symbol): Make obsolete.
17764 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17765 completion-try-completion.
17766
17767 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17768
17769 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17770
17771 2011-05-30 Leo Liu <sdl.web@gmail.com>
17772
17773 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17774 (rcirc-print): Decode all incoming messages (bug#8744).
17775 (rcirc-decode-coding-system): Allow value nil for automatic coding
17776 system detection.
17777
17778 2011-06-01 Glenn Morris <rgm@gnu.org>
17779
17780 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17781
17782 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17783
17784 * image.el (image-animate-max-time): Allow nil and t values.
17785 Default to nil.
17786 (create-animated-image): Doc fix.
17787 (image-animate-start): Remove second arg; just use
17788 image-animate-max-time.
17789 (image-animate-timeout): Doc fix. Args changed.
17790
17791 * image-mode.el (image-toggle-display-image): Ensure that the
17792 image spec passed to the animate timer is the same object as in
17793 the buffer's display property (Bug#6981).
17794 (image-transform-properties): Doc fix.
17795
17796 * image.el (image-animate-max-time): Default to nil.
17797
17798 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17799
17800 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17801 entire buffer list (Bug#8184).
17802
17803 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17804
17805 * image.el (imagemagick-types-inhibit)
17806 (imagemagick-register-types): Doc fix.
17807
17808 2011-05-29 Deniz Dogan <deniz@dogan.se>
17809
17810 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17811 default.
17812
17813 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17814
17815 * select.el: Don't perform clipboard-manager saving in hooks;
17816 leave the hooks empty.
17817
17818 2011-05-28 Leo Liu <sdl.web@gmail.com>
17819
17820 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17821 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17822 (occur-edit-mode): New major mode (Bug#8463).
17823 (occur-after-change-function): New function.
17824 (occur-engine): Give Occur tags a read-only property.
17825
17826 2011-05-28 Kevin Ryde <user42@zip.com.au>
17827
17828 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17829
17830 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17831
17832 * bindings.el (help-echo): Make the initial non-indicator dash
17833 empty on graphical terminals (Bug#7295).
17834
17835 * files.el (auto-mode-alist): Move config rule after the
17836 in-stripping one (Bug#8547).
17837
17838 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17839
17840 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17841 setting (Bug#8740).
17842
17843 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17844
17845 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17846 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17847 (Bug#8539).
17848
17849 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17850
17851 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17852
17853 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17854
17855 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17856 (hs-hide-block-at-point, hs-find-block-beginning)
17857 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17858 (Bug#8279).
17859
17860 2011-05-28 Glenn Morris <rgm@gnu.org>
17861
17862 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17863
17864 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17865
17866 * help-fns.el (describe-function-1): If the function is a derived
17867 major mode, print the parent mode.
17868
17869 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17870 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17871
17872 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17873
17874 * minibuffer.el (completion--capf-wrapper): Check applicability before
17875 returning non-nil for non-exclusive completion data.
17876 * progmodes/etags.el (tags-completion-at-point-function):
17877 * info-look.el (info-lookup-completions-at-point): Mark as
17878 non-exclusive.
17879 (info-complete): Adjust accordingly.
17880
17881 * info-look.el: Convert to lexical-binding and completion-at-point.
17882 (info-lookup-completions-at-point): New function.
17883 (info-complete): Use it and completion-in-region.
17884
17885 2011-05-28 Drew Adams <drew.adams@oracle.com>
17886
17887 * isearch.el: Let M-e start with point at the first mismatched char.
17888 (isearch-fail-pos): New function.
17889 (isearch-edit-string): Use it.
17890
17891 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17892
17893 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17894
17895 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17896
17897 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17898 traversal functions for avl-trees.
17899 (avl-tree--stack): New struct.
17900 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17901 (avl-tree-enter): Add optional `updatefun' arg.
17902 (avl-tree--do-enter): Add optional `updatefun' arg.
17903 Change return value.
17904 (avl-tree-delete): Add optional `test' and `nilflag' args.
17905 (avl-tree--do-delete): Add `test' and `nilflag' args.
17906 Change return value.
17907 (avl-tree-member): Add optional `nilflag'
17908 (avl-tree-member-p): New function.
17909 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17910 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17911 (avl-tree-stack-empty-p): New functions.
17912
17913 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17914 avl-tree--del-balance1 and make it work both ways.
17915 (avl-tree--del-balance2): Remove.
17916 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17917 make it work both ways.
17918 (avl-tree--enter-balance2): Remove.
17919 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17920 New macros.
17921 (avl-tree--mapc, avl-tree-map): Add direction argument.
17922
17923 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17924
17925 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17926
17927 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17928
17929 * select.el: Support clipboard managers with built-in function
17930 x-clipboard-manager-save, via delete-frame-functions and
17931 kill-emacs-hook.
17932 (xselect-convert-to-targets): Add MULTIPLE target to list.
17933 (xselect-convert-to-save-targets): New function.
17934
17935 2011-05-27 Kenichi Handa <handa@m17n.org>
17936
17937 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17938 let-binding rfc2047-encode-encoded-words to nil.
17939
17940 2011-05-27 Glenn Morris <rgm@gnu.org>
17941
17942 * mail/emacsbug.el: Don't require url-util.
17943
17944 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17945
17946 * files.el (set-auto-mode):
17947 Also respect mode: entries at the end of the file. (Bug#8586)
17948
17949 2011-05-26 Glenn Morris <rgm@gnu.org>
17950
17951 * files.el (hack-local-variables-prop-line, hack-local-variables):
17952 Downcase mode names, as seems to be traditional.
17953 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17954
17955 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17956 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17957
17958 2011-05-25 Julien Danjou <julien@danjou.info>
17959
17960 * textmodes/rst.el (rst-define-level-faces): Do not define face
17961 symbol if it is already defined.
17962
17963 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17964
17965 * play/5x5.el (5x5-new-game, 5x5-randomize):
17966 Reset 5x5-solver-output to nil when a new grid is cast.
17967 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17968 these debugging traces, as defmacro breaks the compiled code.
17969
17970 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17971
17972 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17973
17974 2011-05-24 Leo Liu <sdl.web@gmail.com>
17975
17976 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17977 (vc-bzr-sha1): Adapt.
17978
17979 * sha1.el: Remove. Function `sha1' is now builtin.
17980
17981 * bindings.el: Provide sha1 feature.
17982
17983 2011-05-24 Kenichi Handa <handa@m17n.org>
17984
17985 * mail/sendmail.el: Require `rfc2047'.
17986 (mail-insert-from-field): Do not perform RFC2047 encoding.
17987 (mail-encode-header): New function.
17988 (sendmail-send-it): Set buffer-file-coding-system of the work
17989 buffer to the return value of select-message-coding-system.
17990 Call mail-encode-header.
17991
17992 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17993
17994 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17995
17996 * mail/supercite.el (sc-default-cite-frame):
17997 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17998
17999 2011-05-24 Glenn Morris <rgm@gnu.org>
18000
18001 * progmodes/python.el (brm-menu): Declare.
18002
18003 * emulation/viper.el (viper-set-hooks): Declare.
18004
18005 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18006 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18007 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18008 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18009 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18010 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18011
18012 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18013
18014 Add an :exit-function for completion-at-point.
18015
18016 * minibuffer.el (completion--done): New fun.
18017 (completion--do-completion): Use it. New arg `expect-exact'.
18018 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18019 since completion--do-completion does it for us now.
18020 (minibuffer-force-complete): Use completion--done and
18021 completion--replace. Handle sole-completion case with more care.
18022 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18023 (completion-extra-properties): New var.
18024 (completion-annotate-function): Make obsolete.
18025 (minibuffer-completion-help): Adjust accordingly.
18026 Use completion-list-insert-choice-function.
18027 (completion-at-point, completion-help-at-point):
18028 Bind completion-extra-properties.
18029 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18030 * simple.el (completion-list-insert-choice-function): New var.
18031 (completion-setup-function): Preserve it.
18032 (choose-completion): Pay attention to it, shuffle the code a bit.
18033 (choose-completion-string): New arg `insert-function'.
18034
18035 * textmodes/bibtex.el: Convert to lexical binding.
18036 (bibtex-mode-map): Use completion-at-point.
18037 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18038 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18039 (bibtex-complete): Define as obsolete alias.
18040 (bibtex-complete-internal): Remove.
18041 (bibtex-format-entry): Remove unused sub-group in regexp.
18042 * shell.el (shell--command-completion-data)
18043 (shell-environment-variable-completion):
18044 * pcomplete.el (pcomplete-completions-at-point):
18045 * comint.el (comint--complete-file-name-data): Use :exit-function
18046 instead of completion-table-with-terminator so it also works for
18047 choose-completion.
18048
18049 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18050
18051 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18052
18053 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18054 (bug#8710).
18055
18056 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18057
18058 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18059
18060 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18061 customization variable and implement: If non-nil, auto-fill will
18062 be inhibited while on topic's header line.
18063
18064 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18065
18066 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18067 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18068 always have a solution in grid size = 5 cases.
18069 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18070 (5x5-solver-output, 5x5-log-buffer): New vars.
18071 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18072 Make these variables buffer local to achieve 5x5 multi-session-ness.
18073 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18074 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18075 (5x5-solve-suggest): New funs.
18076 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18077 randomize a grid so that we ensure that there is always a solution.
18078 (5x5-make-random-grid): Allow other movement than flipping.
18079
18080 2011-05-23 Kevin Ryde <user42@zip.com.au>
18081
18082 * emacs-lisp/advice.el (ad-read-advised-function):
18083 Use `function-called-at-point' as the default, if it has
18084 advice and passes PREDICATE.
18085
18086 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18087
18088 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18089 byte-compile-lambda if it's actually a lambda.
18090
18091 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18092 Fix function quoting. Use backquote better.
18093
18094 2011-05-22 Yuanle Song <sylecn@gmail.com>
18095
18096 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18097 matching (Bug#8516).
18098
18099 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18100
18101 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18102 different face (Bug#8178).
18103
18104 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18105
18106 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18107 defface (Bug#8144).
18108
18109 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18110
18111 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18112 funcall as well (bug#8712). Warn when performing those conversions.
18113 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18114
18115 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18116
18117 2011-05-22 Glenn Morris <rgm@gnu.org>
18118
18119 * files.el (hack-local-variables-prop-line): Small simplifications.
18120 (hack-local-variables, hack-local-variables-prop-line):
18121 If MODE-ONLY, return the mode, rather than just `t'.
18122
18123 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18124
18125 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18126
18127 2011-05-21 Glenn Morris <rgm@gnu.org>
18128
18129 * files.el (hack-local-variables-prop-line, hack-local-variables):
18130 If only interested in the mode, don't bother doing the other stuff.
18131
18132 * image-mode.el (image-after-revert-hook):
18133 Redraw all frames on which the image is visible. (Bug#8567)
18134
18135 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18136
18137 * wid-edit.el (widget-checklist-match-inline):
18138 Fix 2011-04-19 change. (Bug#8649)
18139
18140 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18141
18142 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18143 Also allow singlespace after single-letter capitals followed by a dot.
18144
18145 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18146 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18147
18148 2011-05-20 Nix <nix@esperi.org.uk>
18149
18150 * files.el (basic-save-buffer-2):
18151 Fix handling of break-hardlink-on-save with non-existent files.
18152
18153 2011-05-19 Deniz Dogan <deniz@dogan.se>
18154
18155 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18156 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18157
18158 2011-05-19 Glenn Morris <rgm@gnu.org>
18159
18160 * progmodes/f90.el (f90-type-def-re):
18161 Handle "type, bind(c)". (Bug#8691)
18162
18163 * emacs-lisp/autoload.el (batch-update-autoloads):
18164 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18165
18166 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18167
18168 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18169 property for the correct connection in case of multihops.
18170
18171 2011-05-18 Glenn Morris <rgm@gnu.org>
18172
18173 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18174 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18175
18176 Rationalize calendar handling of day and month abbrev-arrays.
18177 * calendar/calendar.el (calendar-customized-p): New function.
18178 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18179 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18180 Add :set function.
18181 (calendar-abbrev-length, calendar-day-abbrev-array)
18182 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18183 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18184 Elements may no longer be nil.
18185 (calendar-day-name, calendar-month-name):
18186 Update for changed nature of abbrev arrays.
18187 * calendar/diary-lib.el (diary-name-pattern):
18188 Update for changed nature of abbrev arrays.
18189 (diary-mark-entries-1): Update calendar-make-alist calls.
18190 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18191 * calendar/cal-html.el (cal-html-day-abbrev-array):
18192 Simply inherit from calendar-day-abbrev-array.
18193
18194 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18195
18196 * progmodes/grep.el (grep-mode): Disable default
18197 compilation-directory-matcher setting (bug#8684).
18198
18199 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18200
18201 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18202 instead of "head" and "tail". There were problems with SunOS 5.9,
18203 and it performs better.
18204
18205 2011-05-17 Glenn Morris <rgm@gnu.org>
18206
18207 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18208
18209 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18210 Replace obsolete function.
18211
18212 * shell.el (pcomplete-parse-arguments-function): Declare.
18213
18214 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18215 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18216 (appt-check): Doc fixes.
18217 (appt-disp-window-function, appt-delete-window-function):
18218 Remove needless special case in custom :type.
18219 (appt-display-count): Default to 0, not nil.
18220 (appt-check): Reset appt-display-count to 0, not nil.
18221
18222 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18223
18224 * progmodes/python.el (python-font-lock-keywords):
18225 Add the Python 3.X keyword "nonlocal" (bug#8639).
18226
18227 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18228
18229 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18230
18231 2011-05-16 Kevin Ryde <user42@zip.com.au>
18232
18233 * info-look.el (makefile-automake-mode): New setups, looking in
18234 automake manual, then makefile-mode.
18235 (makefile-mode): Remove automake manual, have it just in
18236 makefile-automake-mode since there's various things different or
18237 not relevant to plain make.
18238 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18239 believe a hypothetical automake-mode would go to makefile-mode,
18240 not the other way around.
18241
18242 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18243
18244 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18245 hunk-end tags (Bug#8672).
18246
18247 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18248 vc-annotate-show-diff-revision-at-line (Bug#8671).
18249
18250 2011-05-14 Glenn Morris <rgm@gnu.org>
18251
18252 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18253 in the middle of an existing one with multiple authors. (Bug#8645)
18254 (change-log-font-lock-keywords): Also handle multiple author lines
18255 with leading tabs. (Bug#8644)
18256
18257 * calendar/appt.el (appt-check): Rename some local variables.
18258 Some simplification/reordering.
18259
18260 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18261 (feedmail-sendmail-f-doesnt-sell-me-out)
18262 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18263 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18264 (feedmail-queue-runner-message-sender): Set :version.
18265 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18266 (bbdb-dwim-net-address, vm-mail): Declare.
18267 (feedmail-binmail-gnulinuxish-template):
18268 Rename from feedmail-binmail-linuxish-template.
18269 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18270 Use insert-buffer-substring.
18271
18272 2011-05-14 Bill Carpenter <bill@carpenter.org>
18273
18274 * mail/feedmail.el (feedmail-patch-level): Increase.
18275 (feedmail-debug): New custom group.
18276 (feedmail-confirm-outgoing-timeout)
18277 (feedmail-sendmail-f-doesnt-sell-me-out)
18278 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18279 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18280 (feedmail-sender-line, feedmail-from-line)
18281 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18282 (feedmail-spray-this-address)
18283 (feedmail-spray-address-fiddle-plex-list)
18284 (feedmail-queue-use-send-time-for-date)
18285 (feedmail-queue-use-send-time-for-message-id)
18286 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18287 (feedmail-buffer-eating-function):
18288 Doc fixes.
18289 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18290 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18291 (feedmail-message-action-scroll-down): New functions.
18292 (feedmail-queue-directory, feedmail-queue-draft-directory):
18293 Use expand-file-name.
18294 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18295 Remove C-v help entry.
18296 (feedmail-queue-buffer-file-name): New variable.
18297 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18298 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18299 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18300 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18301 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18302 (feedmail-message-action-toggle-spray)
18303 (feedmail-run-the-queue-no-prompts)
18304 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18305 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18306 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18307 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18308 (feedmail-envelope-deducer, feedmail-fiddle-from)
18309 (feedmail-fiddle-sender, feedmail-default-date-generator)
18310 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18311 (feedmail-fiddle-spray-address)
18312 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18313 (feedmail-fiddle-list-of-fiddle-plexes)
18314 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18315 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18316 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18317 Change default. Doc fix.
18318 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18319 (feedmail-binmail-linuxish-template): New constant.
18320 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18321 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18322 (feedmail-send-it): Add debug call.
18323 Use feedmail-queue-buffer-file-name, and
18324 feedmail-send-it-immediately-wrapper.
18325 (feedmail-message-action-send): Add debug call.
18326 Use feedmail-send-it-immediately-wrapper.
18327 (feedmail-queue-express-to-queue): Add debug call.
18328 Run feedmail-queue-express-hook.
18329 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18330 (feedmail-message-action-help-blat):
18331 Rename from feedmail-queue-send-edit-prompt-help-first.
18332 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18333 Check line-endings. Handle errors better.
18334 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18335 Doc fix. Add debug call.
18336 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18337 Use feedmail-queue-send-edit-prompt-inner.
18338 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18339 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18340 from feedmail-queue-send-edit-prompt.
18341 (feedmail-queue-send-edit-prompt-help)
18342 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18343 (feedmail-tidy-up-slug): Add debug call.
18344 Respect feedmail-queue-slug-suspect-regexp.
18345 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18346 (feedmail-dump-message-to-queue): Add debug call.
18347 Expand queue-directory.
18348 (feedmail-dump-message-to-queue): Change message slightly.
18349 Use feedmail-say-chatter.
18350 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18351 (feedmail-send-it-immediately-wrapper): New function.
18352 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18353 Insert empty string rather than newline. Handle full-frame case.
18354 Use catch/throw. Use feedmail-say-chatter.
18355 (feedmail-fiddle-from): Try mail-host-address.
18356 (feedmail-default-message-id-generator): Doc fix.
18357 Bind system-time-locale. Handle missing end.
18358 (feedmail-fiddle-x-mailer): Add debug call.
18359 Handle feedmail-x-mailer-line being nil.
18360 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18361 Add debug call. Use buffer-substring-no-properties.
18362 (feedmail-say-debug, feedmail-say-chatter): New functions.
18363 (feedmail-find-eoh): Give an explicit error.
18364
18365 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18366
18367 * net/newst-treeview.el (newsticker-treeview-face): Change default
18368 family from helvetica to sans.
18369 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18370 etc/images/newsticker.
18371
18372 * net/newst-reader.el (newsticker-feed-face): Change default
18373 family from helvetica to sans.
18374
18375 * net/newst-plainview.el (newsticker-new-item-face)
18376 (newsticker-old-item-face, newsticker-immortal-item-face)
18377 (newsticker-obsolete-item-face, newsticker-date-face)
18378 (newsticker-statistics-face): Change default family from
18379 helvetica to sans.
18380 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18381 etc/images/newsticker.
18382
18383 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18384 (newsticker--process-auto-mark-filter-match): Tell user about
18385 auto-marking.
18386
18387 2011-05-13 Didier Verna <didier@xemacs.org>
18388
18389 Common Lisp indentation improvements on defmethod and lambda-lists.
18390 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18391 TODO entries.
18392 (lisp-lambda-list-keyword-parameter-indentation)
18393 (lisp-lambda-list-keyword-parameter-alignment)
18394 (lisp-lambda-list-keyword-alignment): New customizable user options.
18395 (lisp-indent-defun-method): Improve docstring.
18396 (extended-loop-p): Fix comment.
18397 (lisp-indent-lambda-list-keywords-regexp): New variable.
18398 (lisp-indent-lambda-list): New function.
18399 (lisp-indent-259): Use it.
18400 (lisp-indent-defmethod): Support for more than one
18401 method qualifier and properly indent methods lambda-lists.
18402 (defgeneric): Provide a missing common-lisp-indent-function property.
18403
18404 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18405
18406 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18407 bounds for the empty string (bug#8667).
18408
18409 2011-05-13 Glenn Morris <rgm@gnu.org>
18410
18411 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18412
18413 * mail/sendmail.el (sendmail-program): Try executable-find first.
18414 (sendmail-send-it): `sendmail-program' cannot be unbound.
18415
18416 * calendar/appt.el (appt-make-list): Simplify.
18417 (appt-time-msg-list): Doc fix.
18418 (appt-check): Change mode-line message at the time of the appointment.
18419
18420 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18421
18422 * progmodes/ld-script.el (ld-script-keywords)
18423 (ld-script-builtins): Update keywords list.
18424
18425 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18426
18427 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18428
18429 * shell.el (shell-completion-vars): New function.
18430 (shell-mode):
18431 * simple.el (read-shell-command): Use it.
18432 (blink-matching-open): No need for " [...]" in minibuffer-message.
18433
18434 2011-05-12 Glenn Morris <rgm@gnu.org>
18435
18436 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18437 (appt-check): Simplify.
18438
18439 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18440
18441 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18442 literal "/dev/null".
18443
18444 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18447 Fix typo.
18448
18449 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18450
18451 * progmodes/which-func.el (which-function):
18452 Use add-log-current-defun instead of add-log-current-defun-function,
18453 which might not be defined (Bug#8260).
18454
18455 2011-05-12 Glenn Morris <rgm@gnu.org>
18456
18457 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18458 Let byte-compile-initial-macro-environment always take precedence.
18459
18460 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * net/rcirc.el: Add support for SSL/TLS connections.
18463 (rcirc-server-alist): New field `encryption'.
18464 (rcirc): Check `encryption' settings.
18465 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18466 Merge make-local-variable into `set'.
18467 (rcirc--connection-open-p): New function.
18468 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18469 the process is not a network process (e.g. running gnutls-cli).
18470 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18471 Make rcirc-(en|de)code-coding-system local here.
18472 (rcirc-mode): Merge make-local-variable into `set'.
18473 (rcirc-parent-buffer): Make permanent buffer-local.
18474 (rcirc-multiline-minor-mode): Don't do it here.
18475 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18476 there's no server buffer.
18477
18478 2011-05-11 Glenn Morris <rgm@gnu.org>
18479
18480 * newcomment.el (comment-kill): Prefix "unused" local.
18481
18482 * term/w32console.el (get-screen-color): Declare.
18483
18484 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18485 Handle symbol elements of byte-compile-initial-macro-environment.
18486
18487 2011-05-10 Leo Liu <sdl.web@gmail.com>
18488
18489 * bookmark.el (bookmark-bmenu-mode-map):
18490 Bind bookmark-bmenu-search to `/'.
18491
18492 * mail/footnote.el: Convert to utf-8 encoding.
18493 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18494 (Footnote-unicode): New function.
18495 (footnote-style-alist): Add unicode style to the list.
18496 (footnote-style): Doc fix.
18497
18498 2011-05-10 Jim Meyering <meyering@redhat.com>
18499
18500 Fix doubled-word typos.
18501 * international/quail.el (quail-insert-kbd-layout): and and -> and
18502 * kermit.el: and and -> and
18503 * net/ldap.el (ldap-search-internal): to to -> to
18504 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18505 * progmodes/js.el (js-mode): and and -> and
18506 * textmodes/artist.el (artist-move-to-xy): at at -> at
18507 (artist-draw-region-trim-line-endings): if if -> if
18508 And Safetyc -> Safety.
18509 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18510
18511 2011-05-10 Glenn Morris <rgm@gnu.org>
18512 Stefan Monnier <monnier@iro.umontreal.ca>
18513
18514 * files.el (hack-one-local-variable-eval-safep):
18515 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18516
18517 2011-05-10 Glenn Morris <rgm@gnu.org>
18518
18519 * calendar/diary-lib.el (diary-list-entries-hook)
18520 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18521 (diary-nongregorian-marking-hook, diary-list-entries)
18522 (diary-include-other-diary-files, diary-mark-entries)
18523 (diary-mark-included-diary-files): Doc fixes.
18524
18525 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18526
18527 * misc.el: Require tabulated-list.el during compilation.
18528
18529 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18530
18531 * progmodes/compile.el (compilation-start):
18532 Run compilation-filter-hook for the async case too.
18533 (compilation-filter-hook): Doc fix.
18534
18535 2011-05-09 Deniz Dogan <deniz@dogan.se>
18536
18537 * wdired.el: Remove outdated installation comment. Fix usage
18538 comment.
18539
18540 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18541
18542 * misc.el: Implement new command `list-dynamic-libraries'.
18543 (list-dynamic-libraries--loaded-only-p): New variable.
18544 (list-dynamic-libraries--refresh): New function.
18545 (list-dynamic-libraries): New command.
18546
18547 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18548
18549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18550 Fix the ant regexp to handle end-line and end-column info from jikes.
18551 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18552 higher priority to avoid clobbering by gnu.
18553
18554 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18555
18556 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18557 if the face has existing theme settings (Bug#8454).
18558
18559 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18560
18561 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18562 Only match variables declared via `my' or `our' (Bug#8261).
18563
18564 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18565 special file names `.' and `..' (Bug#8259).
18566
18567 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18568
18569 * progmodes/grep.el (grep-mode-font-lock-keywords):
18570 Remove buffer-changing entries.
18571 (grep-filter): New function.
18572 (grep-mode): Add it to compilation-filter-hook.
18573
18574 * progmodes/compile.el (compilation-filter-hook)
18575 (compilation-filter-start): New defvars.
18576 (compilation-filter): Call compilation-filter-hook prior to
18577 updating the process mark.
18578
18579 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18580
18581 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18582
18583 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18584
18585 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18586 mailclient-send-it even if window-system is nil. (Bug#8595)
18587
18588 * term/w32console.el (terminal-init-w32console):
18589 Call get-screen-color and use its output to set the frame
18590 background-mode. (Bug#8597)
18591
18592 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18593
18594 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18595 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18596 New functions.
18597 (defgeneric, eieio--defmethod): Use them.
18598 (eieio-defgeneric): Remove.
18599 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18600
18601 2011-05-07 Glenn Morris <rgm@gnu.org>
18602
18603 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18604 Use let rather than let*.
18605 (timeclock-find-discrep): Remove unused local.
18606
18607 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18608
18609 * calendar/appt.el (appt-time-msg-list): Doc fix.
18610
18611 2011-05-06 Noah Friedman <friedman@splode.com>
18612
18613 * apropos.el (apropos-print-doc): Only use
18614 emacs-lisp-docstring-fill-column when it is bound to an integer,
18615 per that variable's documentation.
18616
18617 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18618
18619 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18620 and warnings are not silently discarded (e.g. use -d instead of -P).
18621
18622 2011-05-06 Glenn Morris <rgm@gnu.org>
18623
18624 * calendar/appt.el (appt-message-warning-time): Doc fix.
18625 (appt-warning-time-regexp): New option.
18626 (appt-make-list): Respect appt-message-warning-time.
18627
18628 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18629 New options.
18630 (diary-add-to-list): Strip comments from the displayed string.
18631 (diary-mode): Set comment-start and comment-end.
18632
18633 * vc/diff-mode.el (smerge-refine-subst): Declare.
18634 (diff-refine-hunk): Don't require smerge-mode when compiling.
18635
18636 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18637
18638 * simple.el (list-processes): Return nil as the docstring says.
18639
18640 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18641
18642 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18643 to "".
18644 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18645 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18646 determining of binary transfer. (Bug#7383)
18647
18648 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18649
18650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18651 Fix port computation bug. (Bug#8618)
18652
18653 2011-05-05 Glenn Morris <rgm@gnu.org>
18654
18655 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18656
18657 * simple.el (shell-dynamic-complete-functions)
18658 (comint-dynamic-complete-functions): Declare.
18659
18660 * net/network-stream.el (gnutls-negotiate):
18661 * simple.el (tabulated-list-print): Fix declarations.
18662
18663 * progmodes/gud.el (syntax-symbol, syntax-point):
18664 Remove unnecessary and incorrect declarations.
18665
18666 * emacs-lisp/check-declare.el (check-declare-scan):
18667 Handle byte-compile-initial-macro-environment in bytecomp.el.
18668
18669 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18670
18671 Fix earlier half-done eieio-defmethod change (bug#8338).
18672 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18673 Streamline and change calling convention.
18674 (defmethod): Adjust accordingly and simplify.
18675 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18676 new eieio--defmethod.
18677 (slot-boundp): Minor CSE simplification.
18678
18679 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18680
18681 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18682 (glasses-make-readable): Use glasses-separate-capital-groups.
18683
18684 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18685
18686 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18687 (warning-series): Doc fix.
18688 (display-warning): Don't try to create the buffer if we just found it.
18689
18690 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18691
18692 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18693 (autoload-find-generated-file): New function.
18694 (generate-file-autoloads): Bind generated-autoload-file to
18695 buffer-file-name.
18696 (update-file-autoloads, update-directory-autoloads):
18697 Use autoload-find-generated-file. If called interactively, prompt for
18698 output file (Bug#7989).
18699 (batch-update-autoloads): Doc fix.
18700
18701 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18702
18703 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18704
18705 2011-05-04 Glenn Morris <rgm@gnu.org>
18706
18707 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18708 function, so it follows changes in calendar-date-style.
18709 (diary-fancy-date-matcher): New function.
18710 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18711 (diary-fancy-font-lock-fontify-region-function):
18712 Use diary-fancy-date-pattern as a function.
18713
18714 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18715 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18716
18717 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18718
18719 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18720 instead of positional arguments. Allow :keylist and :crlfiles
18721 arguments.
18722 (open-gnutls-stream): Call it.
18723
18724 * net/network-stream.el (network-stream-open-starttls): Adjust to
18725 call `gnutls-negotiate' with :process and :hostname arguments.
18726
18727 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18728
18729 * minibuffer.el (completion--message): New function.
18730 (completion--do-completion, minibuffer-complete)
18731 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18732 (completion--do-completion): Don't ignore completion-auto-help when in
18733 icomplete-mode.
18734
18735 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18736 internal encoding (e.g. tibetan zero is not whitespace).
18737 (global-whitespace-mode): Prefer save-current-buffer.
18738 (whitespace-trailing-regexp): Remove useless save-match-data.
18739 (whitespace-empty-at-bob-regexp): Minor simplification.
18740
18741 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18742
18743 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18744
18745 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18746
18747 * textmodes/ispell.el (ispell-add-per-file-word-list):
18748 Use `concat' to create string for insertion.
18749
18750 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18751
18752 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18753 Avoid open-line which runs post-self-insert-hook.
18754 (bibtex-fill-entry): Remove unused `end' var.
18755
18756 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18757
18758 * textmodes/ispell.el (ispell-add-per-file-word-list):
18759 Protect against `nil' value of `comment-start' (Bug#8579).
18760
18761 2011-05-03 Leo Liu <sdl.web@gmail.com>
18762
18763 * isearch.el (isearch-yank-pop): New command.
18764 (isearch-mode-map): Bind it to `M-y'.
18765 (isearch-forward): Mention it.
18766
18767 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18768
18769 * simple.el (minibuffer-complete-shell-command): Remove.
18770 (minibuffer-local-shell-command-map): Use completion-at-point.
18771 (read-shell-command): Setup completion vars here instead.
18772 (read-expression-map): Bind TAB to symbol completion.
18773
18774 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18775 error directly rather via storing it into `results'.
18776
18777 2011-05-02 Leo Liu <sdl.web@gmail.com>
18778
18779 * vc/diff.el: Fix description.
18780
18781 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18782
18783 * server.el (server-eval-at): New function.
18784
18785 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18786
18787 * net/network-stream.el (open-network-stream): Take a :nowait
18788 parameter and pass it on to `make-network-process'.
18789 (network-stream-open-plain): Ditto.
18790
18791 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18792
18793 * faces.el (face-spec-set-match-display): Don't match toolkit
18794 options on terminal frames.
18795
18796 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18797
18798 * progmodes/pascal.el: Use lexical binding.
18799 (pascal-mode-map): Remove author preferences.
18800
18801 * pcomplete.el (pcomplete-std-complete): Don't abuse
18802 completion-at-point.
18803
18804 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18805
18806 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18807 removing code that has been dead since 1991 or so.
18808
18809 * startup.el (command-line): When warning about "_emacs", use a
18810 delayed warning to allow the user to filter it out.
18811
18812 2011-04-28 Deniz Dogan <deniz@dogan.se>
18813
18814 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18815 user has not joined.
18816
18817 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18818
18819 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18820 aren't any completions at point.
18821
18822 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18823
18824 * subr.el (display-delayed-warnings): New function.
18825 (delayed-warnings-hook): New variable.
18826
18827 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18828
18829 * minibuffer.el (completion-at-point, completion-help-at-point):
18830 Don't presume that a given completion-at-point-function will always
18831 use the same calling convention.
18832
18833 * pcomplete.el (pcomplete-completions-at-point):
18834 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18835 pcomplete-seen is non-nil.
18836 (pcomplete-comint-setup): Also recognize the new comint/shell
18837 completion functions.
18838 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18839 pcomplete-seen is non-nil.
18840
18841 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18842
18843 * calendar/icalendar.el (diary-lib): Add require statement.
18844 (icalendar--create-uid): Read out a uid from a text-property on
18845 the first character in the entry. This allows for code to add its
18846 own uid to the entry.
18847 (icalendar--convert-float-to-ical): Add export of
18848 `diary-float'-entries save for those with the optional DAY
18849 argument.
18850
18851 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18852
18853 * subr.el (shell-quote-argument): Use alternate escaping strategy
18854 when we spot a variable reference in a string.
18855
18856 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18857
18858 * cus-start.el (all): Define customization for debug-on-event.
18859
18860 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18861
18862 * subr.el (shell-quote-argument): Escape correctly under Windows.
18863
18864 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18867
18868 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18869
18870 * net/tramp.el (tramp-process-actions): Add POS argument.
18871 Delete region between POS and (pos).
18872
18873 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18874 Use `nil' position in `tramp-process-actions' call.
18875 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18876
18877 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18878 position in `tramp-process-actions' call.
18879
18880 * net/trampver.el: Update release number.
18881
18882 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18883
18884 * custom.el (defcustom): Obey lexical-binding.
18885
18886 Fix octave-inf completion problems reported by Alexander Klimov.
18887 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18888 Inherit from octave-mode-syntax-table.
18889 (inferior-octave-mode): Set info-lookup-mode.
18890 (inferior-octave-completion-at-point): New function.
18891 (inferior-octave-complete): Use it and completion-in-region.
18892 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18893 comint-filename-completion.
18894 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18895 symbol elements which shouldn't be word elements.
18896 (octave-font-lock-keywords, octave-beginning-of-defun)
18897 (octave-function-header-regexp): Adjust regexps accordingly.
18898 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18899
18900 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18901
18902 * net/gnutls.el (gnutls-errorp): Declare before first use.
18903
18904 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18905
18906 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18907 verify-error, and verify-hostname-error parameters. Check whether
18908 default trustfile exists before going to use it. Add missing
18909 argument to gnutls-message-maybe call. Return value.
18910 Reported by Claudio Bley <claudio.bley@gmail.com>.
18911 (open-gnutls-stream): Add usage example.
18912
18913 * net/network-stream.el (network-stream-open-starttls): Give host
18914 parameter to `gnutls-negotiate'.
18915 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18916 * subr.el (shell-quote-argument): Escape correctly under Windows.
18917
18918 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18919
18920 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18921 Use correct match group (bug#8438).
18922
18923 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18924
18925 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18926 (package-menu--generate): New arg specifying packages to show.
18927 (package-menu-refresh, package-menu-execute, list-packages):
18928 Callers changed.
18929 (package-show-package-list): New function, replacing deleted
18930 package--list-packages (renamed because it is non-internal).
18931
18932 * finder.el (finder-list-matches): Use package-show-package-list
18933 instead of deleted package--list-packages.
18934
18935 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18936 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18937 (vc-annotate-mode-map): Bind it to RET.
18938
18939 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18940
18941 * progmodes/etags.el (next-file): Don't use set-buffer to change
18942 buffers (Bug#8478).
18943
18944 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18945
18946 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18947
18948 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18949 (apropos-accumulator): Doc fix.
18950 (apropos-function, apropos-macro, apropos-command)
18951 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18952 (apropos-plist): Add face property.
18953 (apropos-symbols-internal): Fix indentation.
18954 (apropos-print): Simplify help, and recognize apropos-multi-type.
18955 (apropos-print-doc): Use button-type-get to extract the button's
18956 face property. Fill docstring (Bug#8352).
18957
18958 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18959
18960 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18961
18962 * play/mpuz.el (mpuz-silent): Doc fix.
18963 (mpuz-mode-map): Use mapc.
18964 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18965 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18966 Fix typos in docstrings.
18967
18968 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18969 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18970
18971 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18972
18973 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18974
18975 * minibuffer.el (completion--do-completion): Avoid the "Next char
18976 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18977
18978 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18979 mouse-2 into unread-command-events, it is interpreted correctly.
18980
18981 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18982 (image-toggle-display): Doc fix.
18983
18984 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18985
18986 * textmodes/page.el (what-page): Use line-number-at-pos to
18987 calculate line number (Bug#6825).
18988
18989 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18990
18991 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18992 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18993 Pass argument NO-DEFAULT to `find-tag-interactive'.
18994
18995 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18996
18997 Lexical-binding cleanup.
18998
18999 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19000 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19001 * progmodes/ada-prj.el (ada-prj-initialize-values)
19002 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19003 (ada-prj-show-value):
19004 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19005 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19006 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19007 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19008 * progmodes/bug-reference.el (bug-reference-push-button):
19009 * progmodes/fortran.el (fortran-line-length):
19010 * progmodes/glasses.el (glasses-change):
19011 * progmodes/octave-mod.el (octave-fill-paragraph):
19012 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19013 (python-pdbtrack-grub-for-buffer, python-sentinel):
19014 * progmodes/sql.el (sql-save-connection):
19015 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19016 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19017 Mark unused parameters.
19018
19019 * progmodes/compile.el (compilation--flush-directory-cache)
19020 (compilation--flush-parse, compile-internal): Mark unused parameters.
19021 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19022 (compilation-next-error-function): Remove unused variable `timestamp'.
19023
19024 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19025 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19026
19027 * progmodes/dcl-mode.el (dcl-end-of-command):
19028 Remove unused variable `start'.
19029 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19030 (dcl-option-value-basic, dcl-option-value-offset)
19031 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19032 Mark unused parameters.
19033 (dcl-save-local-variable): Remove unused variable `val'.
19034 (mode): Declare.
19035
19036 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19037 Mark unused parameters.
19038 (delphi-ignore-changes): Move before first use.
19039 (delphi-charset-token-at): Remove unused variable `start'.
19040 (delphi-else-start): Remove unused variable `if-count'.
19041 (delphi-comment-block-start, delphi-comment-block-end):
19042 Remove unused variable `kind'.
19043 (delphi-indent-line): Remove unused variable `new-point'.
19044
19045 * progmodes/ebrowse.el (ebrowse-files-list)
19046 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19047 Mark unused parameters. Don't quote `lambda'.
19048 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19049 Don't quote `lambda'.
19050 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19051 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19052 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19053 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19054 Use `ignore-errors'.
19055 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19056 (ebrowse-view/find-file-and-search-pattern)
19057 (ebrowse-view/find-member-declaration/definition):
19058 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19059 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19060 Rename parameter PREFIX-ARG to PREFIX.
19061 (ebrowse-tags-read-name): Remove unused variables `start' and
19062 `member-info'.
19063 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19064 to `tags-file'.
19065
19066 * progmodes/etags.el (local-find-tag-hook): Declare.
19067 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19068 Mark unused parameters.
19069
19070 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19071 (executable-interpret): Mark unused parameter.
19072
19073 * progmodes/flymake.el (flymake-process-sentinel)
19074 (flymake-after-change-function)
19075 (flymake-create-temp-with-folder-structure)
19076 (flymake-get-include-dirs-dot): Mark unused parameters.
19077 (flymake-safe-delete-directory): Remove unused variable `err'.
19078
19079 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19080 (speedbar-timer-fn, speedbar-line-text)
19081 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19082 (speedbar-center-buffer-smartly): Declare functions.
19083 (gdb-find-watch-expression): Remove unused variable `array'.
19084 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19085 (gdb-starting): Mark unused parameters.
19086 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19087 (gdb-table-string): Remove unused variable `res'.
19088 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19089 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19090 (gdb-display-buffer): Remove unused variable `cur-size'.
19091
19092 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19093 allow lexical-binding compilation.
19094 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19095 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19096 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19097 Mark unused parameters.
19098 (gud-gdb-marker-filter): Remove unused variable `match'.
19099 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19100 lambda expressions and funcall them, instead of using `fset'.
19101
19102 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19103 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19104
19105 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19106 variable `header-beg'; use `let'.
19107
19108 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19109 `restart', `last-sexp' and `at-do'.
19110
19111 * progmodes/js.el (js--debug): Mark unused parameter.
19112 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19113 (js--splice-into-items): Remove unused variable `item'.
19114 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19115
19116 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19117 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19118 (makefile-complete): Remove unused variable `try'.
19119 (makefile-fill-paragraph, makefile-match-function-end):
19120 Mark unused parameters.
19121
19122 * progmodes/octave-inf.el (inferior-octave-complete):
19123 Remove unused variable `proc'.
19124 (inferior-octave-output-digest): Mark unused parameter.
19125
19126 * progmodes/perl-mode.el (perl-calculate-indent):
19127 Remove unused variable `err'.
19128
19129 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19130 (prolog-indent-line): Mark unused parameters.
19131 (prolog-indent-line): Remove unused variable `beg'.
19132
19133 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19134 (reporter-dont-compact-list): Declare.
19135
19136 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19137 Remove unused variable `char'.
19138 (sh-debug): Mark unused parameter.
19139 (sh-get-indent-info): Remove unused variable `start'.
19140 (sh-calculate-indent): Remove unused variable `var'.
19141
19142 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19143 (simula-electric-keyword): Remove unused variable `null'.
19144 (simula-search-backward, simula-search-forward): Remove unused
19145 variables `begin' and `end'.
19146
19147 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19148 Remove unused variable `pos'.
19149 (vera-electric-tab, vera-comment-uncomment-region):
19150 Mark unused parameters.
19151 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19152
19153 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19154
19155 * emacs-lisp/package.el (package--builtins, package-alist)
19156 (package-load-descriptor, package-built-in-p, package-activate)
19157 (define-package, package-installed-p)
19158 (package-compute-transaction, package-buffer-info)
19159 (package--push): Doc fix. Distinguish more clearly between
19160 version strings and version lists.
19161
19162 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19163
19164 Lexical-binding cleanup.
19165
19166 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19167 (5x5-make-mutate-best):
19168 * play/fortune.el (fortune-in-buffer):
19169 * play/gomoku.el (gomoku-init-display):
19170 * play/solitaire.el (solitaire, solitaire-do-check):
19171 * play/tetris.el (tetris-default-update-speed-function):
19172 Mark unused parameters.
19173
19174 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19175 (bubbles--shift): Remove unused variable `char-org'.
19176 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19177 (bubbles--show-images): Remove unused variable `char'.
19178
19179 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19180 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19181 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19182 (decipher-analyze-buffer): Use ?\s.
19183 (decipher-make-checkpoint): Remove unused variable `mapping'.
19184
19185 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19186
19187 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19188 Remove unused variable `result'; use `let'.
19189
19190 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19191 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19192 (gametree-children-shown-p, gametree-compute-reduced-score):
19193 Use `ignore-errors'.
19194
19195 * play/handwrite.el (ps-lpr-switches): Declare.
19196 (handwrite): Remove unused variables `pmin' and `lastp'.
19197
19198 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19199
19200 * play/landmark.el (landmark-init-display)
19201 (landmark-update-naught-weights): Mark unused parameters.
19202 (landmark-y): Remove unused variable `noise'. Simplify.
19203 (landmark-human-plays): Remove unused variable `score'.
19204
19205 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19206 (mpuz-try-proposal): Remove unused variable `game'.
19207
19208 * play/zone.el (life-patterns): Declare.
19209
19210 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19211
19212 * vc/vc.el (ediff-vc-internal): Declare function.
19213
19214 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19215
19216 * shell.el: Use lexical-binding and std completion UI.
19217 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19218 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19219 comint-preoutput-filter-functions rather than on
19220 comint-output-filter-functions.
19221 (shell-command-completion, shell--command-completion-data)
19222 (shell-filename-completion, shell-environment-variable-completion)
19223 (shell-c-a-p-replace-by-expanded-directory): New functions.
19224 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19225 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19226 (shell-dynamic-complete-environment-variable): Use them.
19227 (shell-dynamic-complete-as-environment-variable)
19228 (shell-dynamic-complete-as-command): Remove.
19229 (shell-match-partial-variable): Match past point.
19230 * comint.el: Clean up use of completion-at-point-functions.
19231 (comint-completion-at-point): New function.
19232 (comint-mode): Use it completion-at-point-functions.
19233 (comint-dynamic-complete): Make it obsolete.
19234 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19235 (comint-c-a-p-replace-by-expanded-history): New function.
19236 (comint-dynamic-complete-functions)
19237 (comint-replace-by-expanded-history): Use it.
19238 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19239 termination strings. Try harder to avoid second try-completion.
19240 (completion-in-region-mode-map): Disable bindings that don't work yet.
19241
19242 * comint.el: Use lexical-binding. Require CL.
19243 (comint-dynamic-complete-functions): Use comint-filename-completion.
19244 (comint-completion-addsuffix): Tweak custom type.
19245 (comint-filename-completion, comint--common-suffix)
19246 (comint--common-quoted-suffix, comint--table-subvert)
19247 (comint--complete-file-name-data): New functions.
19248 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19249 (comint-dynamic-list-filename-completions): Use them.
19250 (comint-dynamic-simple-complete): Make obsolete.
19251
19252 * minibuffer.el (completion-in-region-mode):
19253 Keep completion-in-region-mode--predicate global.
19254 (completion-in-region--postch):
19255 Assume completion-in-region-mode--predicate is not null.
19256
19257 * progmodes/flymake.el (flymake-start-syntax-check-process):
19258 Obey `dir'. Simplify.
19259
19260 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19261 we're in VC after all.
19262
19263 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19264
19265 * vc/vc.el (vc-diff-build-argument-list-internal)
19266 (vc-version-ediff, vc-ediff): New commands.
19267 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19268
19269 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19270
19271 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19272 add sanity check.
19273
19274 * obsolete/erc-hecomplete.el: Make obsolete.
19275 * obsolete/: Standardize obsolescence info in the header.
19276
19277 2011-04-20 Glenn Morris <rgm@gnu.org>
19278
19279 * calendar/solar.el (solar-horizontal-coordinates):
19280 Use the longitude argument rather than `calendar-longitude'.
19281 (solar-date-next-longitude): Remove unused locals.
19282
19283 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19284
19285 * whitespace.el: New version 13.2.1.
19286
19287 2011-04-20 felix <EmacsWiki> (tiny change)
19288
19289 * whitespace.el (global-whitespace-mode): Keep highlight when
19290 switching between major modes on a file.
19291
19292 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19293
19294 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19295 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19296 multi-line comments as well.
19297
19298 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19299
19300 Lexical-binding cleanup.
19301
19302 * arc-mode.el (archive-mode-revert):
19303 * cmuscheme.el (scheme-interactively-start-process):
19304 * custom.el (custom-initialize-delay):
19305 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19306 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19307 * emacs-lock.el (emacs-lock-clear-sentinel):
19308 * ezimage.el (defezimage):
19309 * follow.el (follow-avoid-tail-recenter):
19310 * fringe.el (set-fringe-mode-1):
19311 * generic-x.el (bat-generic-mode-compile):
19312 * help-mode.el (help-info-variable, help-do-xref)
19313 (help-mode-revert-buffer):
19314 * help.el (view-emacs-todo):
19315 * iswitchb.el (iswitchb-completion-help):
19316 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19317 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19318 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19319 * locate.el (locate-update):
19320 * longlines.el (longlines-encode-region)
19321 (longlines-after-change-function):
19322 * outline.el (outline-isearch-open-invisible):
19323 * ps-def.el (declare-function, charset-dimension, char-width)
19324 (encode-char):
19325 * ps-mule.el (ps-mule-plot-string):
19326 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19327 (recentf-edit-list-select, recentf-edit-list-validate)
19328 (recentf-open-files-action):
19329 * rect.el (delete-whitespace-rectangle-line)
19330 (rectangle-number-line-callback):
19331 * register.el (window-configuration-to-register)
19332 (frame-configuration-to-register):
19333 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19334 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19335 (xselect-convert-to-targets, xselect-convert-to-delete)
19336 (xselect-convert-to-filename, xselect-convert-to-charpos)
19337 (xselect-convert-to-lineno, xselect-convert-to-colno)
19338 (xselect-convert-to-os, xselect-convert-to-host)
19339 (xselect-convert-to-user, xselect-convert-to-class)
19340 (xselect-convert-to-name, xselect-convert-to-integer)
19341 (xselect-convert-to-atom, xselect-convert-to-identity):
19342 * subr.el (declare, ignore, process-kill-without-query)
19343 (text-clone-maintain):
19344 * terminal.el (te-get-char, te-tic-sentinel):
19345 * tool-bar.el (tool-bar-make-keymap):
19346 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19347 * type-break.el (type-break-mode, type-break-noninteractive-query):
19348 * view.el (View-back-to-mark):
19349 * wid-browse.el (widget-browse-action, widget-browse-widget)
19350 (widget-browse-widgets, widget-browse-sexp):
19351 * widget.el (define-widget-keywords):
19352 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19353 Mark unused parameters.
19354
19355 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19356 (align-areas): Remove unused variable `look'.
19357 (align-region): Remove unused variables `real-end' and `pos-list'.
19358
19359 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19360
19361 * bindings.el (mode-line-modified, mode-line-remote):
19362 Mark unused parameters.
19363 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19364
19365 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19366 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19367
19368 * comint.el (comint-history-isearch-pop-state)
19369 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19370 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19371 (comint-substitute-in-file-name): Doc fix.
19372
19373 * completion.el (cmpl-statistics-block): Mark unused parameter.
19374 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19375 (save-completions-to-file, load-completions-from-file):
19376 Remove unused local variable `e'.
19377
19378 * composite.el (compose-chars): Remove unused variable `len'.
19379 (lgstring-insert-glyph): Remove unused variable `g'.
19380 (compose-glyph-string): Remove unused variables `ascent',
19381 `descent', `lbearing' and `rbearing'.
19382 (compose-glyph-string-relative): Remove unused variables
19383 `lbearing', `rbearing' and `wadjust'.
19384 (compose-gstring-for-graphic): Remove unused variables `header',
19385 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19386 (compose-gstring-for-terminal): Remove unused variables `header'
19387 and `nchars'. Use `let', not `let*'.
19388
19389 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19390 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19391 (Custom-buffer-done, custom-buffer-create-internal)
19392 (custom-browse-visibility-action, custom-browse-group-tag-action)
19393 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19394 (widget-magic-mouse-down-action, custom-toggle-parent)
19395 (custom-add-parent-links, custom-toggle-hide-variable)
19396 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19397 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19398 (custom-face-menu-create, custom-variable-menu-create, get)
19399 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19400 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19401 (customize-apropos): Remove unused variable `tests'.
19402 (custom-group-value-create): Remove unused variable `hidden-p'.
19403 (sort-fold-case): Declare.
19404
19405 * cus-theme.el (custom-reset-standard-faces-list)
19406 (custom-reset-standard-variables-list): Declare.
19407 (customize-create-theme, custom-theme-revert, custom-theme-write)
19408 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19409 Mark unused parameters.
19410
19411 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19412
19413 * delim-col.el (delimit-columns-max): Move defvar before first use.
19414
19415 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19416 (describe-char): Don't quote `lambda'. Mark unused parameter.
19417
19418 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19419 (auto-insert): Declare.
19420 (desktop-restore-file-buffer): Rename desktop-* parameters;
19421 mark unused ones.
19422 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19423 (desktop-buffer): Rename desktop-* parameters.
19424
19425 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19426 (dframe-reposition-frame-xemacs, dframe-help-echo)
19427 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19428 Mark unused parameters.
19429
19430 * dired-aux.el (backup-extract-version-start, overwrite-query)
19431 (overwrite-backup-query, rename-regexp-query)
19432 (rename-non-directory-query): Declare.
19433 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19434 (dired-add-entry): Remove unused variable `orig-file-name'.
19435 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19436 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19437 `dired-copy-preserve-time' directly.
19438 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19439 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19440
19441 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19442 (dired-virtual-revert, dired-make-relative-symlink):
19443 Mark unused parameters.
19444 (manual-program): Declare.
19445 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19446 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19447 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19448
19449 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19450
19451 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19452
19453 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19454 Declare.
19455
19456 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19457
19458 * electric.el (Electric-command-loop): Rename parameter
19459 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19460
19461 * expand.el (expand-in-literal): Remove unused variable `here'.
19462
19463 * facemenu.el (facemenu-add-new-color):
19464 Remove unused variable `docstring'.
19465
19466 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19467 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19468 (face-attr-construct): Mark unused parameter. Doc fix.
19469 (read-color): Remove unused variable `hex-string'.
19470
19471 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19472 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19473 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19474 (display-buffer-other-frame): Remove unused variable `old-window'.
19475 (kill-buffer-hook): Declare.
19476 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19477 Mark unused parameters.
19478 (after-find-file): Pass 1 to `auto-save-mode', not t.
19479
19480 * files-x.el (auto-insert): Declare.
19481 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19482
19483 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19484 variable `buf'. Mark unused parameter.
19485 (find-lisp-insert-directory): Mark unused parameter.
19486
19487 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19488 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19489 (format-common-tail): Remove, unused.
19490 (format-deannotate-region): Remove unused variable `loc'.
19491 (format-annotate-region): Remove unused variable `p'.
19492 (format-annotate-single-property-change): Remove unused variables
19493 `default' and `tail'.
19494
19495 * forms.el (read-file-filter): Declare.
19496 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19497
19498 * frame.el (frame-creation-function-alist): Mark unused parameter.
19499 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19500
19501 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19502 Remove unused parameters.
19503 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19504 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19505
19506 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19507 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19508 (hfy-prepare-tag-map): Mark unused parameters.
19509 (htmlfontify-buffer): Use `called-interactively-p'.
19510
19511 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19512 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19513 (ibuffer-do-occur): Mark unused parameters.
19514 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19515 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19516
19517 * ibuffer.el: Don't quote `lambda'.
19518 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19519 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19520 Mark unused parameters.
19521
19522 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19523 (ido-completing-read): Mark unused parameters.
19524 (ido-copy-current-word): Mark unused parameters;
19525 remove unused variable `name'.
19526 (ido-sort-merged-list): Remove unused parameter `dirs'.
19527
19528 * ielm.el (ielm-input-sender): Mark unused parameter.
19529 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19530 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19531 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19532 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19533 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19534
19535 * image-dired.el (image-dired-display-thumbs): Remove unused
19536 variables `curr-file' and `count'.
19537 (image-dired-remove-tag): Remove unused variable `start'.
19538 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19539 variable `curr-file'
19540 (image-dired-rotate-original): Remove unused variable `temp-file'.
19541 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19542 Remove unused variable `file'.
19543 (image-dired-gallery-generate): Remove unused variable `curr'.
19544 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19545
19546 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19547
19548 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19549
19550 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19551
19552 * isearch.el (minibuffer-history-symbol): Declare.
19553 (isearch-edit-string): Remove unused variable `err'.
19554 (isearch-message-prefix, isearch-message-suffix):
19555 Mark unused parameters.
19556
19557 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19558
19559 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19560
19561 * makesum.el (double-column): Remove unused variable `cnt'.
19562
19563 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19564 (ido-ignore-item-temp-list): Declare.
19565
19566 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19567 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19568 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19569 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19570 `mouse-col-delta'.
19571
19572 * mouse-sel.el (mouse-extend-internal):
19573 Remove unused variable `orig-window-frame'.
19574
19575 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19576 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19577 Move declarations before first use.
19578 (pcomplete-opt): Mark unused parameters; doc fix.
19579
19580 * proced.el (proced-revert): Mark unused parameter.
19581 (proced-send-signal): Remove unused variable `err'.
19582
19583 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19584 Rename parameter PREFIX-ARG to ARG.
19585 (ps-basic-plot-string, ps-basic-plot-whitespace):
19586 Mark unused parameters.
19587
19588 * replace.el (replace-count): Define.
19589 (occur-revert-function): Mark unused parameters.
19590 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19591 (isearch-case-fold-search, isearch-string): Declare.
19592 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19593 bind `case-fold-search'. Remove unused variables `beg' and `end',
19594 and simplify.
19595 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19596 COUNT and bind `replace-count'.
19597 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19598 to COUNT.
19599
19600 * savehist.el (print-readably, print-string-length): Declare.
19601
19602 * shadowfile.el (shadow-expand-cluster-in-file-name):
19603 Remove unused variable `cluster'.
19604 (shadow-copy-file): Remove unused variable `i'.
19605 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19606 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19607 (shadow-define-literal-group, shadow-define-regexp-group)
19608 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19609
19610 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19611 (shell): Use `called-interactively-p'.
19612 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19613
19614 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19615 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19616 (delete-backward-char): Remove unused variable `ocol'.
19617 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19618 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19619 (event-apply-hyper-modifier, event-apply-shift-modifier)
19620 (event-apply-control-modifier, event-apply-meta-modifier):
19621 Mark unused parameters.
19622 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19623 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19624
19625 * speedbar.el (speedbar-ignored-directory-expressions)
19626 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19627 (speedbar-find-file, speedbar-dir-follow)
19628 (speedbar-directory-buttons-follow, speedbar-tag-find)
19629 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19630 (speedbar-buffers-line-directory, speedbar-buffer-click):
19631 Mark unused parameters.
19632 (speedbar-tag-file): Remove unused variable `mode'.
19633 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19634
19635 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19636
19637 * talk.el (talk): Remove unused variable `display'.
19638
19639 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19640 (tar-write-region-annotate): Mark unused parameter.
19641
19642 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19643 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19644 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19645 warning by another.
19646
19647 * time-stamp.el (time-stamp-string-preprocess):
19648 Remove unused variable `require-padding'.
19649
19650 * tree-widget.el (widget-glyph-enable): Declare.
19651 (tree-widget-action): Mark unused parameter.
19652
19653 * w32-fns.el (x-get-selection): Mark unused parameter.
19654 (autoload-make-program, generated-autoload-file): Declare.
19655
19656 * wdired.el (wdired-revert): Mark unused parameters.
19657 (wdired-xcase-word): Remove unused variable `err'.
19658
19659 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19660 (whitespace-help-scroll): Remove unused variable `data-help'.
19661
19662 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19663 (widget-image-insert, widget-after-change, default)
19664 (widget-default-format-handler, widget-default-notify)
19665 (widget-default-prompt-value, widget-info-link-action)
19666 (widget-url-link-action, widget-function-link-action)
19667 (widget-variable-link-action, widget-file-link-action)
19668 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19669 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19670 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19671 (widget-insert-button-action, widget-delete-button-action, visibility)
19672 (widget-documentation-link-action, widget-documentation-string-action)
19673 (widget-const-prompt-value, widget-regexp-match, symbol)
19674 (widget-coding-system-prompt-value)
19675 (widget-key-sequence-value-to-external, sexp)
19676 (widget-sexp-value-to-internal, character, vector, cons)
19677 (widget-choice-prompt-value, widget-boolean-prompt-value)
19678 (widget-color--choose-action): Mark unused parameters.
19679 (widget-item-match-inline, widget-choice-match-inline)
19680 (widget-checklist-match, widget-checklist-match-inline)
19681 (widget-group-match): Rename parameter VALUES to VALS.
19682 (widget-field-value-set): Remove unused variable `size'.
19683 (widget-color-action): Remove unused variables `value' and `start'.
19684
19685 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19686 variable `dir'. Doc fix.
19687 (windmove-find-other-window): Don't pass it.
19688
19689 * window.el (count-windows): Mark unused parameter.
19690 (bw-adjust-window): Remove unused variable `err'.
19691
19692 * woman.el (woman-file-name): Remove unused variable `default'.
19693 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19694 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19695 (global-font-lock-mode): Declare.
19696 (woman-decode-region): Mark unused parameter.
19697 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19698
19699 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19700 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19701 (x-dnd-handle-moz-url): Remove unused variable `title'.
19702 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19703
19704 * xml.el (xml-parse-tag, xml-parse-attlist):
19705 Remove unused variable `pos'.
19706
19707 2011-04-19 Glenn Morris <rgm@gnu.org>
19708
19709 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19710 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19711 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19712 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19713 * calendar/cal-html.el (cal-html-insert-minical):
19714 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19715 (calendar-mark-date-pattern):
19716 Prefix "unused" locals.
19717
19718 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19719 optional argument `style'.
19720
19721 * calendar/appt.el (appt-make-list):
19722 * calendar/cal-china.el (calendar-chinese-date-string):
19723 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19724 (diary-hebrew-yahrzeit):
19725 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19726 * calendar/calendar.el (calendar-generate-window):
19727 * calendar/time-date.el (time-to-days):
19728 Remove unused local variables.
19729
19730 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19731
19732 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19733 glyphless-char-display table.
19734 (tabulated-list-glyphless-char-display): New var.
19735
19736 2011-04-18 Sam Steingold <sds@gnu.org>
19737
19738 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19739 to acknowledgments.
19740
19741 2011-04-17 Glenn Morris <rgm@gnu.org>
19742
19743 * calendar/diary-lib.el (diary-sexp-entry):
19744 * calendar/holidays.el (holiday-sexp):
19745 Set debug-on-error rather than the removed stack-trace-on-error.
19746
19747 2011-04-16 Glenn Morris <rgm@gnu.org>
19748
19749 * progmodes/f90.el: Use lexical-binding.
19750 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19751
19752 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19753
19754 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19755 (mail-mode): Setup mailalias completion here instead.
19756 * mail/mailalias.el: Use lexical-binding.
19757 (pattern, mailalias-done): Declare dynamic.
19758 (mail-completion-at-point-function): New function, from mail-complete.
19759 (mail-complete): Use it.
19760 (mail-completion-expand): New function.
19761 (mail-get-names): Use it.
19762 (mail-directory, mail-directory-process, mail-directory-stream):
19763 Don't use `pattern' for lexically bound arg.
19764
19765 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19766
19767 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19768 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19769 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19770
19771 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19772 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19773 (byte-interactive-p): Define them again, for use when inlining
19774 old code.
19775
19776 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19777
19778 * loadup.el: Use `string-to-number', not `string-to-int'.
19779
19780 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19781
19782 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19783 gud-gdb-complete-command.
19784 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19785 (gud-gdb-completion-at-point): New function.
19786 (gud-gdb-completions): Remove.
19787
19788 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19789
19790 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19791 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19792 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19793 whether `executable-find' is bound.
19794
19795 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19796
19797 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19798
19799 * minibuffer.el (completion-in-region-mode-predicate)
19800 (completion-in-region-mode--predicate): New vars.
19801 (completion-in-region, completion-in-region--postch)
19802 (completion-in-region-mode): Use them.
19803 (completion--capf-wrapper): Also return the hook function.
19804 (completion-at-point, completion-help-at-point):
19805 Adjust and provide a predicate.
19806
19807 Preserve arg names for advice of subr and lexical functions (bug#8457).
19808 * help-fns.el (help-function-arglist): Consolidate the subr and
19809 new-byte-code cases. Add argument `preserve-names' to extract names
19810 from the docstring when needed.
19811 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19812 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19813 (ad-arglist): Use help-function-arglist's new arg.
19814 (ad-definition-type): Use cond.
19815
19816 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19817
19818 * autorevert.el (auto-revert-handler):
19819 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19820 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19821 Don't quote lambda.
19822
19823 * image-mode.el (image-transform-set-scale):
19824 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19825
19826 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19827
19828 * net/network-stream.el (network-stream-open-starttls): Only do
19829 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19830 Upgrades via gnutls-cli are too slow to be done opportunistically.
19831
19832 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19833
19834 * dframe.el (dframe-current-frame): Remove spurious quote.
19835
19836 2011-04-12 Glenn Morris <rgm@gnu.org>
19837
19838 * calendar/cal-tex.el (cal-tex-end-document):
19839 Try to automatically use latin1 input if needed.
19840
19841 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19842 Don't try to cons a mark onto an empty element.
19843
19844 2011-04-11 Leo Liu <sdl.web@gmail.com>
19845
19846 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19847 buffers.
19848 (ido-kill-buffer-at-head): Support killing virtual buffers.
19849
19850 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19851
19852 * minibuffer.el (completion-show-inline-help): New var.
19853 (completion--do-completion, minibuffer-complete)
19854 (minibuffer-force-complete, minibuffer-complete-word):
19855 Inhibit minibuffer messages if completion-show-inline-help is nil.
19856
19857 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19858 to avoid interference from inline help (Bug#5849).
19859
19860 2011-04-10 Leo Liu <sdl.web@gmail.com>
19861
19862 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19863 Fix typo.
19864
19865 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19866
19867 * image-mode.el (image-toggle-display-image): Signal an error if
19868 not in Image mode.
19869 (image-transform-mode, image-transform-resize)
19870 (image-transform-set-rotation): Doc fix.
19871 (image-transform-set-resize): Delete.
19872 (image-transform-set-scale, image-transform-fit-to-height)
19873 (image-transform-fit-to-width): Handle image-toggle-display-image
19874 and image-transform-resize directly.
19875
19876 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19877
19878 * doc-view.el (doc-view-fit-width-to-window)
19879 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19880 New functions for fitting the shown image to the Emacs window size.
19881 (doc-view-mode-map): Add bindings for the new functions.
19882
19883 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19884
19885 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19886 Fix typo in docstring.
19887
19888 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19889
19890 * files.el (file-size-human-readable): Produce one digit after
19891 decimal, like "ls -lh" does.
19892
19893 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19894 the file size representation.
19895
19896 * simple.el (list-processes): If async subprocesses are not
19897 available, error out with a clear error message.
19898
19899 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19900
19901 * help.el (help-form-show): New function, to be called from C.
19902 Put help-form output in a buffer named differently than *Help*.
19903
19904 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19905
19906 * files.el (file-size-human-readable): New function.
19907
19908 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19909 computing the representation inline. Don't require `cl'.
19910
19911 2011-04-08 Glenn Morris <rgm@gnu.org>
19912
19913 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19914
19915 * net/browse-url.el (browse-url-firefox):
19916 Test system-type, not system-configuration.
19917
19918 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19919 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19920 Use log-edit-empty-buffer-p. (Bug#7598)
19921
19922 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19923 (rlogin-mode-map): Initialize in the defvar.
19924 (rlogin): Use ignore-errors.
19925
19926 * replace.el (occur-mode-map): Some fixes for menu items.
19927
19928 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19929
19930 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19931
19932 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19933
19934 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19935 issuing unused warnings.
19936
19937 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19938 macro directly.
19939
19940 * simple.el: Lisp reimplement of list-processes. Based on an
19941 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19942 (process-menu-mode): New major mode.
19943 (list-processes--refresh, list-processes):
19944 (process-menu-visit-buffer): New functions.
19945
19946 * files.el (save-buffers-kill-emacs): Don't assume any return
19947 value of list-processes, which is undocumented anyway.
19948
19949 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19950
19951 * emacs-lisp/tabulated-list.el: New file.
19952
19953 * emacs-lisp/package.el: Use Tabulated List mode.
19954 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19955 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19956 table format using Tabulated List mode variables.
19957 (package--push): New macro, replacing package-list-maybe-add.
19958 (package-menu--generate): Use package--push. Renamed from
19959 package--generate-package-list.
19960 (package-menu-refresh, list-packages): Use it.
19961 (package-menu--print-info): Rename from package-print-package.
19962 Return insertion data instead of inserting it directly.
19963 (package-menu-describe-package, package-menu-execute):
19964 Use tabulated-list-get-id.
19965 (package-menu-mark-delete, package-menu-mark-install)
19966 (package-menu-mark-unmark, package-menu-backup-unmark)
19967 (package-menu-mark-obsolete-for-deletion):
19968 Use tabulated-list-put-tag.
19969 (package--list-packages, package-menu-revert)
19970 (package-menu-get-package, package-menu-get-version)
19971 (package-menu-sort-by-column): Functions deleted.
19972 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19973 (package-menu--status-predicate, package-menu--version-predicate)
19974 (package-menu--name-predicate)
19975 (package-menu--description-predicate): Handle arguments in the
19976 Tabulated List format.
19977 (package-list-packages-no-fetch): Call list-packages.
19978
19979 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19980
19981 * files.el (after-find-file-from-revert-buffer): Remove variable.
19982 (after-find-file): Don't bind it.
19983 (revert-buffer-in-progress-p): New variable.
19984 (revert-buffer): Bind it.
19985 Pass nil for `after-find-file-from-revert-buffer'.
19986
19987 * saveplace.el (save-place-find-file-hook): Use new variable
19988 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19989
19990 2011-04-06 Glenn Morris <rgm@gnu.org>
19991
19992 * Makefile.in (AUTOGEN_VCS): New variable.
19993 (autoloads): Use $AUTOGEN_VCS.
19994
19995 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19996 * calendar/calendar.el (calendar-mode-map):
19997 Check for toolkit scroll bars. (Bug#8305)
19998
19999 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20000
20001 * minibuffer.el (completion-in-region--postch)
20002 (completion-in-region-mode): Remove unnecessary messages.
20003
20004 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20005
20006 * font-lock.el (font-lock-refresh-defaults):
20007 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20008 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20009
20010 * info.el (Info-directory-list, Info-read-node-name-2)
20011 (Info-split-parameter-string): Doc fixes.
20012 (Info-virtual-nodes): Reflow docstring.
20013 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20014 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20015 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20016 Fix typos in docstrings.
20017 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20018 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20019 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20020 (Info-restore-desktop-buffer): Mark unused parameters.
20021 (Info-directory-find-file, Info-directory-find-node)
20022 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20023 (Info-virtual-index-find-node, Info-apropos-find-file)
20024 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20025 Mark unused parameters; fix typos in docstrings.
20026 (Info-virtual-index): Remove unused local variable `nodename'.
20027
20028 2011-04-05 Deniz Dogan <deniz@dogan.se>
20029
20030 * net/rcirc.el: Update my e-mail address.
20031 (rcirc-mode-map): Remove M-o binding.
20032
20033 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20034
20035 * startup.el (command-line): Save the cursor's theme-face
20036 directly, instead of using face-override-spec.
20037
20038 * custom.el (load-theme): Minor optimization in assigning faces.
20039
20040 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20041
20042 * help-fns.el (describe-variable): Complete all variables having
20043 documentation, including keywords.
20044 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20045
20046 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20047
20048 Convert to lexical-binding.
20049
20050 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20051 (bs--get-marked-string, bs--get-modified-string)
20052 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20053 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20054 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20055
20056 * ehelp.el (electric-help-execute-extended)
20057 (electric-help-ctrl-x-prefix):
20058 * hexl.el (hexl-revert-buffer-function):
20059 * linum.el (linum-after-change, linum-after-scroll):
20060 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20061
20062 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20063
20064 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20065
20066 * epa-dired.el:
20067 * epa-mail.el:
20068 * epa-hook.el:
20069 * epa-file.el:
20070 * epa.el:
20071 * epg.el: Use lexical binding.
20072
20073 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20074
20075 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20076
20077 * textmodes/flyspell.el (flyspell-word): Recognize default
20078 dictionary case for flyspell-mark-duplications-exceptions.
20079 Use regexp matching for languages.
20080 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20081 default dictionary (Bug#7926).
20082
20083 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20084
20085 * emacs-lisp/package.el (package--with-work-buffer):
20086 Recognize https URLs.
20087
20088 * net/network-stream.el: Move from gnus/proto-stream.el.
20089 Change prefix to network-stream throughout.
20090 (open-protocol-stream): Merge into open-network-stream, leaving
20091 open-protocol-stream as an alias. Handle nil BUFFER args.
20092
20093 * subr.el (open-network-stream): Move to net/network-stream.el.
20094
20095 2011-04-02 Glenn Morris <rgm@gnu.org>
20096
20097 * find-dired.el (find-exec-terminator): New option.
20098 (find-ls-option): Test for -ls support.
20099 (find-ls-subdir-switches): Test for -b in find-ls-option.
20100 (find-dired, find-grep-dired): Doc fixes.
20101 (find-dired): Use find-exec-terminator.
20102
20103 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20104 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20105 (find-name-arg): Remove purecopy.
20106
20107 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20108 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20109 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20110 accordingly. Don't add the null-device if not needed.
20111
20112 * files.el (save-some-buffers): Doc fix.
20113
20114 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20115
20116 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20117
20118 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20119
20120 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20121 Use `dolist' rather than `mapcar'.
20122
20123 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20124
20125 Add lexical binding.
20126
20127 * subr.el (apply-partially): Use new closures rather than CL.
20128 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20129 (dolist, dotimes): Use slightly different expansion for lexical code.
20130 (functionp): Move to C.
20131 (letrec): New macro.
20132 (with-wrapper-hook): Use it and apply-partially instead of CL.
20133 (eval-after-load): Preserve lexical-binding.
20134 (save-window-excursion, with-output-to-temp-buffer): Turn them
20135 into macros.
20136
20137 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20138
20139 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20140 than the arglist.
20141 (help-add-fundoc-usage): Don't add `Not documented'.
20142 (help-function-arglist): Handle closures, subroutines, and new
20143 byte-code-functions.
20144 (help-make-usage): Remove leading underscores.
20145 (describe-function-1): Handle closures.
20146 (describe-variable): Use special-variable-p for completion.
20147
20148 * files.el (lexical-binding): Declare safe.
20149
20150 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20151 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20152 (pcase): Add `let' pattern.
20153 Change memoization so it actually works.
20154 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20155 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20156 <let>: New case.
20157
20158 * emacs-lisp/macroexp.el: Use lexical binding.
20159 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20160 Don't convert ' to #' without checking that it's indeed quoting
20161 a lambda.
20162
20163 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20164 Use eval-sexp-add-defvars.
20165 (eval-sexp-add-defvars): New fun.
20166
20167 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20168
20169 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20170 Don't autoload.
20171 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20172 than the internal `byte-compile-lambda'.
20173 (defmethod): Don't hide code under quotes.
20174 (eieio-defmethod): New `code' argument.
20175
20176 * emacs-lisp/eieio-comp.el: Remove.
20177
20178 * emacs-lisp/edebug.el (edebug-eval-defun)
20179 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20180 (edebug-toggle): Avoid `eval'.
20181
20182 * emacs-lisp/disass.el (disassemble-internal): Handle new
20183 `closure' objects.
20184 (disassemble-1): Handle new byte codes.
20185
20186 * emacs-lisp/cl.el (pushnew): Silence warning.
20187
20188 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20189 (cl-byte-compile-throw): Remove.
20190 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20191
20192 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20193 closures.
20194
20195 * emacs-lisp/cconv.el: New file.
20196
20197 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20198 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20199 (byte-compile-initial-macro-environment):
20200 Handle declare-function here.
20201 (byte-compile--lexical-environment): New var.
20202 (byte-stack-ref, byte-stack-set, byte-discardN)
20203 (byte-discardN-preserve-tos): New lap codes.
20204 (byte-interactive-p): Don't use any more.
20205 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20206 New macros.
20207 (byte-compile-lapcode): Use them and handle new lap codes.
20208 (byte-compile-obsolete): Remove.
20209 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20210 (byte-compile-arglist-warn): Check late def of inlinable funs.
20211 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20212 since they should have been expanded by now.
20213 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20214 (byte-compile-from-buffer): Remove unused second arg.
20215 (byte-compile-preprocess): New function.
20216 (byte-compile-toplevel-file-form): New function to distinguish
20217 file-form calls from outside from file-form calls from hunk-handlers.
20218 (byte-compile-file-form): Simplify.
20219 (byte-compile-file-form-defsubst): Remove.
20220 (byte-compile-file-form-defmumble): Simplify now that
20221 byte-compile-lambda always returns a byte-code-function.
20222 (byte-compile): Preprocess.
20223 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20224 Remove, not used any more.
20225 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20226 (byte-compile-make-args-desc): New funs.
20227 (byte-compile-lambda): Handle lexical functions. Always return
20228 a byte-code-function.
20229 (byte-compile-reserved-constants): New var, to make up room for
20230 closed-over variables.
20231 (byte-compile-constants-vector): Obey it.
20232 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20233 (byte-compile-macroexpand-declare-function): New function.
20234 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20235 byte-code-functions.
20236 (byte-compile-form): Check obsolescence here.
20237 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20238 (byte-compile-variable-ref): Remove.
20239 (byte-compile-dynamic-variable-op): New fun.
20240 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20241 (byte-compile-variable-set): New funs.
20242 (byte-compile-discard): Add 2 args.
20243 (byte-compile-stack-ref, byte-compile-stack-set)
20244 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20245 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20246 macroexpand-all instead.
20247 (byte-compile-quote-form): Remove.
20248 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20249 (byte-compile-bind, byte-compile-unbind): New funs.
20250 (byte-compile-let): Handle let* and lexical binding.
20251 (byte-compile-let*): Remove.
20252 (byte-compile-catch, byte-compile-unwind-protect)
20253 (byte-compile-track-mouse, byte-compile-condition-case):
20254 Handle a new :fun-body form, used for lexical scoping.
20255 (byte-compile-save-window-excursion)
20256 (byte-compile-with-output-to-temp-buffer): Remove.
20257 (byte-compile-defun): Simplify.
20258 (byte-compile-stack-adjustment): New fun.
20259 (byte-compile-out): Use it.
20260 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20261
20262 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20263 handler any more.
20264
20265 * emacs-lisp/byte-opt.el: Use lexical binding.
20266 (byte-inline-lapcode): Remove (to bytecomp).
20267 (byte-compile-inline-expand): Pay attention to inlining to/from
20268 lexically bound code.
20269 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20270 any more.
20271 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20272 any more and don't call compiler-macros.
20273 (byte-compile-splice-in-already-compiled-code): Remove.
20274 (byte-code): Don't inline any more.
20275 (disassemble-offset): Receive `bytes' as argument rather than via
20276 dynamic scoping.
20277 (byte-compile-tag-number): Declare before first use.
20278 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20279 `return' even if make-spliceable.
20280 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20281 obsolete interactive-p.
20282 (byte-optimize-lapcode): Optimize new lap-codes.
20283 Don't trip up on new form of `byte-constant' lap code.
20284
20285 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20286
20287 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20288
20289 * custom.el (custom-initialize-default, custom-declare-variable):
20290 Use `defvar'.
20291
20292 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20293 New variables.
20294 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20295 (COMPILE_FIRST): Add macroexp and cconv.
20296 * makefile.w32-in: Mirror changes in Makefile.in.
20297
20298 * vc/cvs-status.el:
20299 * vc/diff-mode.el:
20300 * vc/log-edit.el:
20301 * vc/log-view.el:
20302 * vc/smerge-mode.el:
20303 * textmodes/bibtex-style.el:
20304 * textmodes/css-mode.el:
20305 * startup.el:
20306 * uniquify.el:
20307 * minibuffer.el:
20308 * newcomment.el:
20309 * reveal.el:
20310 * server.el:
20311 * mpc.el:
20312 * emacs-lisp/smie.el:
20313 * doc-view.el:
20314 * dired.el:
20315 * abbrev.el: Use lexical binding.
20316
20317 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20318
20319 * info.el (info-display-manual): New function.
20320
20321 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20322
20323 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20324
20325 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20326
20327 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20328 an entry for that server in rcirc-authinfo. (Bug#8385)
20329
20330 2011-03-31 Glenn Morris <rgm@gnu.org>
20331
20332 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20333
20334 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20335
20336 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20337
20338 * progmodes/python.el (python-default-interpreter)
20339 (python-python-command-args, python-jython-command-args)
20340 (python-which-shell, python-which-args, python-which-bufname)
20341 (python-file-queue, python-comint-output-filter-function)
20342 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20343 variables and functions.
20344
20345 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20346
20347 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20348 (completion-in-region-mode): New minor mode.
20349 (completion-in-region): Use it.
20350 (completion-in-region--data, completion-in-region-mode-map): New vars.
20351 (completion-in-region--postch): New function.
20352 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20353 New vars.
20354 (completion--capf-wrapper): New function.
20355 (completion-at-point): Use it to track well-behavedness of
20356 hook functions.
20357 (completion-help-at-point): New command.
20358
20359 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20360
20361 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20362 syntax class to search for whitespace on a single line
20363 (Message-ID: <4D938140.4030905@redhat.com>).
20364
20365 2011-03-30 Leo Liu <sdl.web@gmail.com>
20366
20367 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20368 New commands.
20369 (edit-abbrevs-map): Bind them here.
20370 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20371
20372 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20373
20374 * allout.el (allout-hide-by-annotation, allout-flag-region):
20375 Reduce possibility of overlay leakage by making them volatile.
20376
20377 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20378 hash is not shared between buffers. Mode initialization is
20379 responsible for giving it a useful starting value.
20380 (allout-item-span): Reduce possibility of overlay leakage by
20381 making them volatile.
20382 (allout-widgets-count-buttons-in-region): Add diagnostic function
20383 for tracking down button overlay leaks.
20384
20385 2011-03-29 Leo Liu <sdl.web@gmail.com>
20386
20387 * ido.el (ido-read-internal): Use the default history var
20388 minibuffer-history if no HISTORY is specified.
20389
20390 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20391
20392 * net/imap.el (imap-shell-open, imap-process-connection-type):
20393 Use imap-process-connection-type for 'shell' streams as well as
20394 Kerberos, SSL, other subprocesses.
20395
20396 2011-03-28 Leo Liu <sdl.web@gmail.com>
20397
20398 * abbrev.el (abbrev-table-empty-p): New function.
20399 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20400 nonempty ones. (Bug#5937)
20401
20402 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20403
20404 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20405
20406 2011-03-27 Leo Liu <sdl.web@gmail.com>
20407
20408 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20409 for foreground and background colors.
20410 (ansi-color-make-color-map): Adapt.
20411
20412 2011-03-25 Leo Liu <sdl.web@gmail.com>
20413
20414 * midnight.el (midnight-time-float): Remove. Note it calculates
20415 the microsecond component incorrectly and seconds-to-time does the
20416 same job.
20417 Remove redundant (require 'timer).
20418
20419 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20420 (ido-completions): Remove unused arguments. (Bug#8329)
20421
20422 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 * minibuffer.el (completion--flush-all-sorted-completions):
20425 Remove itself from hook.
20426 (completion-at-point): Let the functions perform the completion
20427 immediately and return nil or t.
20428 * comint.el (comint-dynamic-complete-functions): Now identical to
20429 completion-at-point-functions.
20430 (comint-dynamic-list-input-ring): Remove unused var `index'.
20431 (comint--match-partial-filename, comint--unquote&expand-filename):
20432 New funs, split from comint-match-partial-filename.
20433 (comint-dynamic-complete): Use completion-at-point.
20434 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20435
20436 2011-03-24 Drew Adams <drew.adams@oracle.com>
20437
20438 * thingatpt.el: Support `defun'.
20439
20440 2011-03-23 Leo Liu <sdl.web@gmail.com>
20441
20442 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20443
20444 * help-mode.el (help-mode-finish): Tweak regexp.
20445
20446 2011-03-23 Glenn Morris <rgm@gnu.org>
20447
20448 * eshell/esh-opt.el (eshell-eval-using-options):
20449 Do not bind unused local variable `eshell-option-stub'.
20450
20451 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20452
20453 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20454
20455 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20456 keymap variable in `with-no-warnings' to avoid a warning when the
20457 keymap has been already `defconst'ed.
20458
20459 2011-03-22 Leo Liu <sdl.web@gmail.com>
20460
20461 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20462 encode all chars in abbrevs; otherwise use emacs-mule or
20463 utf-8-emacs. (Bug#8308)
20464
20465 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20466
20467 * simple.el (backward-delete-char-untabify):
20468 Avoid warning about using `delete-backward-char'.
20469
20470 * image.el (image-type-file-name-regexps): Make it variable.
20471 `imagemagick-register-types' modifies it, and the user may want
20472 to add new extensions for known image types.
20473 (imagemagick-register-types): Throw error if not using ImageMagick.
20474
20475 2011-03-22 Leo Liu <sdl.web@gmail.com>
20476
20477 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20478 located before rcirc-prompt-end-marker.
20479 (rcirc-complete): Error if point is not after rcirc prompt.
20480 Handle the case when table is nil.
20481 (rcirc-user-authenticated): Define to fix compiler warning.
20482
20483 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20484
20485 * custom.el (custom--inhibit-theme-enable): Make it affect only
20486 custom-theme-set-variables and custom-theme-set-faces.
20487 (provide-theme): Ignore custom--inhibit-theme-enable.
20488 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20489 (custom-enabling-themes): Delete variable.
20490 (enable-theme): Accept only loaded themes as arguments.
20491 Ignore the special custom-enabled-themes variable.
20492 (custom-enabled-themes): Forbid themes from setting this.
20493 Eliminate use of custom-enabling-themes.
20494 (custom-push-theme): Quote "changed" custom var entry.
20495
20496 2011-03-21 Leo Liu <sdl.web@gmail.com>
20497
20498 * ido.el (ido-read-internal): Add ido-selected to history instead
20499 of user input.
20500
20501 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20502
20503 * subr.el (deferred-action-list, deferred-action-function):
20504 Mark obsolete.
20505
20506 2011-03-21 Leo Liu <sdl.web@gmail.com>
20507
20508 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20509 change on 2011-02-13 (bug#8309).
20510
20511 * minibuffer.el (read-file-name-function): Change default value.
20512 (read-file-name--defaults): Rename from read-file-name-defaults.
20513 (read-file-name-default): Rename from read-file-name.
20514 (read-file-name): Call read-file-name-function.
20515
20516 2011-03-21 Glenn Morris <rgm@gnu.org>
20517
20518 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20519 Doc fixes.
20520
20521 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20522
20523 * cus-theme.el: Add missing provide statement.
20524 (customize-create-theme): Extract theme value correctly.
20525 (custom-theme-visit-theme): Autoload.
20526 (customize-create-theme): Prompt before inserting default faces.
20527
20528 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20529
20530 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20531 units and musical notes.
20532
20533 2011-03-20 Leo Liu <sdl.web@gmail.com>
20534
20535 * ido.el (ido-read-internal): Use completing-read-default.
20536 (ido-completing-read): Fix compatibility with completing-read.
20537
20538 2011-03-20 Christian Ohler <ohler@gnu.org>
20539
20540 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20541 (ert-delete-all-tests): Use `called-interactively-p' rather than
20542 `interactive-p'.
20543 (ert--make-xrefs-region): Respect END.
20544
20545 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20546
20547 * dired-aux.el (dired-create-directory): Signal an error if the
20548 directory already exists (Bug#8246).
20549
20550 * facemenu.el (list-colors-display): Call list-faces-display
20551 inside with-help-window.
20552 (list-colors-print): Use display property to align the final
20553 column, instead of checking window-width.
20554
20555 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20556
20557 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20558 windows-nt systems.
20559 (emerge-protect-metachars): Quote correctly for ms-dos and
20560 windows-nt systems.
20561
20562 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20563
20564 * info.el (info-initialize): Replace all uses of `:' with
20565 path-separator for compatibility with non-Unix systems.
20566 Cache quoting of path-separator. (Bug#8258)
20567
20568 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20569
20570 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20571 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20572 (mouse-avoidance-mode): Fix typos in docstrings.
20573
20574 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20575
20576 * startup.el (package-subdirectory-regexp): Move from package.el.
20577 Omit \\` and \\', and let callers add them.
20578
20579 * emacs-lisp/package.el (package-strip-version)
20580 (package-load-all-descriptors): Add \\` and \\' to
20581 package-subdirectory-regexp before using it.
20582 (package-untar-buffer): New arg DIR; ensure that file untars only
20583 into this expected directory. Remove superfluous delete-region.
20584 (package-unpack): Caller changed.
20585 (package-tar-file-info): Use package-subdirectory-regexp.
20586
20587 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20588
20589 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20590 diff-mode-shared-map (bug#8284).
20591 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20592
20593 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20594
20595 * calendar/time-date.el (format-seconds): Use assoc instead of
20596 assoc-string, since assoc-string doesn't exist in XEmacs.
20597
20598 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20599
20600 * custom.el (custom-known-themes): Reflow docstring.
20601 (custom-theme-load-path): Fix typo in docstring.
20602 (load-theme): Fix typo in error message.
20603 (custom-available-themes, custom-variable-theme-value):
20604 Use `let', not `let*'.
20605
20606 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20607
20608 * calc/README: Mention inclusion of musical notes.
20609
20610 * calc/calc-units.el (calc-lu-quant): Rename from
20611 `calc-logunits-quantity'.
20612 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20613 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20614 (calc-db): Rename from `calc-dblevel'.
20615 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20616 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20617 (calc-np): Rename from `calc-nplevel'.
20618 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20619 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20620 (calc-lu-plus): Rename from `calc-logunits-add'.
20621 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20622 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20623 (calc-lu-minus): Rename from `calc-logunits-sub'.
20624 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20625 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20626 (calc-lu-times): Rename from `calc-logunits-mul'.
20627 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20628 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20629 (calc-lu-divide): Rename from `calc-logunits-div'.
20630 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20631 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20632
20633 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20634 functions being autoloaded.
20635
20636 * calc/calc.el (calc-lu-power-reference): Rename from
20637 `calc-logunits-power-reference'.
20638 (calc-lu-field-reference): Rename from
20639 `calc-logunits-field-reference'.
20640
20641 * calc/calc-help.el (calc-l-prefix-help):
20642 Mention musical note functions.
20643
20644 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20645
20646 * minibuffer.el (completion-all-sorted-completions):
20647 Use :completion-cycle-penalty text property if present.
20648
20649 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20650
20651 * allout.el (allout-yank-processing): Adjust for new rebulleting
20652 regime so bullet being yanked is used without prompting the user
20653 for a choice.
20654
20655 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20656
20657 * startup.el (command-line): Warn the user that _emacs is deprecated.
20658
20659 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20660
20661 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20662 (delphi-verbose, delphi-comment-face, delphi-string-face)
20663 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20664 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20665 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20666 (delphi-new-comment-line, delphi-font-lock-defaults)
20667 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20668 Fix typos in docstrings.
20669
20670 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20671
20672 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20673 Invert the roles of character and string values for INSTEAD, so a
20674 string is used for the more common case of a defaulting prompt.
20675
20676 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20677
20678 * progmodes/ruby-mode.el (ruby-backward-sexp):
20679 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20680 * play/gamegrid.el (gamegrid-make-face):
20681 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20682 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20683 * notifications.el (notifications-notify):
20684 * net/xesam.el (xesam-search-engines):
20685 * net/quickurl.el (quickurl-list-insert):
20686 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20687
20688 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20689
20690 * startup.el (command-line): Update package subdirectory regexp.
20691
20692 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20693
20694 * allout.el (allout-abbreviate-flattened-numbering)
20695 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20696
20697 * subr.el (read-char-choice): Only show the cursor after the prompt,
20698 not after the answer.
20699
20700 2011-03-15 Kevin Ryde <user42@zip.com.au>
20701
20702 * help-fns.el (variable-at-point): Skip leading quotes, if any
20703 (bug#8253).
20704
20705 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20706
20707 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20708 warning message.
20709
20710 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20711
20712 * shell.el (shell): When called interactively, offer to change the
20713 shell file name on remote hosts.
20714
20715 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20716
20717 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20718 integration for LDAP parameters. The host, base, user or binddn,
20719 and secret tokens can be specified in a netrc file, for instance.
20720 This is optional because an `auth-source' parameter must be
20721 specified in the search attributes.
20722
20723 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20724
20725 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20726
20727 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20728
20729 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20730 into declaration. Remove redundant and harmful binding.
20731
20732 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20733
20734 * files.el (file-ownership-preserved-p): Pass `integer' as an
20735 explicit 2nd argument to `file-attributes'. If the file's owner
20736 is the Administrators group on Windows, and the current user is
20737 Administrator, consider that a match.
20738
20739 * server.el (server-ensure-safe-dir): Consider server directory
20740 safe on MS-Windows if its owner is the Administrators group while
20741 the current Emacs user is Administrator. Use `=' to compare
20742 numerical UIDs, since they could be integers or floats.
20743
20744 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20745
20746 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20747
20748 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20749
20750 Sync with Tramp 2.2.1.
20751
20752 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20753
20754 * net/trampver.el: Update release number.
20755
20756 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * progmodes/compile.el (compilation--previous-directory): Fix up
20759 various nil/dead-marker mismatches (bug#8014).
20760 (compilation-directory-properties, compilation-error-properties):
20761 Don't call it at a position past the one we're about to change.
20762
20763 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20764 Disable obsolescence warnings in the file that declares it.
20765
20766 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20767
20768 * allout-widgets.el (allout-widgets-tally):
20769 Initialize allout-widgets-tally as a hash table rather than nil to
20770 prevent mode-line redisplay warnings. Also, clarify the module
20771 description and fix a comment typo.
20772
20773 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20774
20775 * help-fns.el (describe-variable): Don't complete keywords.
20776 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20777
20778 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20779
20780 * emacs-lisp/package.el (package-version-join): Impose a standard
20781 string representation for pre/alpha/beta version lists.
20782 (package-unpack-single): Standardize the directory name by passing
20783 it through package-version-join.
20784 (package-strip-rcs-id): Accept any version string that does not
20785 signal an error in version-to-list.
20786
20787 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20788
20789 * simple.el (delete-trailing-whitespace): Return nil for the
20790 benefit of `write-file-functions'.
20791
20792 2011-03-10 Glenn Morris <rgm@gnu.org>
20793
20794 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20795
20796 * vc/vc-git.el (vc-git-program): New option.
20797 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20798 (vc-git--call): Use it.
20799
20800 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20801
20802 * cus-edit.el (Custom-newline): If no button at point, look
20803 for a subgroup button at start-of-line. (Bug#2298)
20804
20805 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20806
20807 2011-03-10 Julien Danjou <julien@danjou.info>
20808
20809 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20810 `cursor-type' is nil.
20811
20812 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20813
20814 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20815
20816 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20817
20818 * allout.el: Change so yank of distinctive-bullet items
20819 preserves the existing header prefix, rebulleting it if necessary,
20820 rather than replacing it. This is necessary for proper operation
20821 of cooperative addons like allout-widgets.
20822 (allout-make-topic-prefix, allout-rebullet-heading):
20823 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20824 value as alternate bullet to be used, instead of prompting the user
20825 for a bullet character.
20826
20827 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20828
20829 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20830 Do not use `tramp-file-name-port', because this returns also
20831 `tramp-default-port'.
20832
20833 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20834
20835 * net/rcirc.el (rcirc-handler-001): Remove useless
20836 with-rcirc-process-buffer.
20837 (rcirc-check-auth-status): Swap arguments to string-match.
20838
20839 2011-03-09 Glenn Morris <rgm@gnu.org>
20840
20841 * shell.el (shell-mode):
20842 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20843
20844 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20845 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20846
20847 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20848
20849 * emacs-lisp/package.el (package-refresh-contents)
20850 (package-menu-execute): Use condition-case-no-debug.
20851
20852 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20853
20854 * simple.el (shell-command-to-string): Use `process-file'.
20855
20856 * emacs-lisp/package.el (package-tar-file-info): Handle also
20857 remote files.
20858
20859 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20860 Use `equal' for upload base check.
20861
20862 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20863
20864 * textmodes/texinfo.el (texinfo-environments):
20865 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20866
20867 2011-03-08 Glenn Morris <rgm@gnu.org>
20868
20869 * cus-start.el (cursor-in-non-selected-windows):
20870 Fix :set quoting oddness. (Bug#8192)
20871
20872 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20873 in some setf expressions. (Bug#2159)
20874
20875 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20876
20877 * custom.el (custom-available-themes): Return themes in
20878 alphabetical order.
20879
20880 See ChangeLog.15 for earlier changes.
20881
20882 ;; Local Variables:
20883 ;; coding: utf-8
20884 ;; End:
20885
20886 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20887
20888 This file is part of GNU Emacs.
20889
20890 GNU Emacs is free software: you can redistribute it and/or modify
20891 it under the terms of the GNU General Public License as published by
20892 the Free Software Foundation, either version 3 of the License, or
20893 (at your option) any later version.
20894
20895 GNU Emacs is distributed in the hope that it will be useful,
20896 but WITHOUT ANY WARRANTY; without even the implied warranty of
20897 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20898 GNU General Public License for more details.
20899
20900 You should have received a copy of the GNU General Public License
20901 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.