Fix bugs in the CC Mode state cache. Enhance a debugging mechanism.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-11-21 Alan Mackenzie <acm@muc.de>
2
3 Fix bugs in the state cache. Enhance a debugging mechanism.
4 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5 "brace at column zero" strategy for C++.
6 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
7 (c-parse-state-point): New variable.
8 (c-record-parse-state-state): Record old parse state with
9 `copy-tree'. Record previous value of point.
10 (c-debug-parse-state-double-cons): New debugging function.
11 (c-debug-parse-state): Call the above new function.
12 (c-toggle-parse-state-debug): Output a confirmatory message.
13
14 * progmodes/cc-mode.el (c-before-change, c-after-change): Call
15 c-invalidate-state-cache from `c-before-change' instead of
16 `c-after-change'.
17
18 2012-11-20 Daniel Colascione <dancol@dancol.org>
19
20 * term/w32-win.el (cygwin-convert-path-from-windows): Accomodate
21 rename of cygwin_convert_path* to cygwin_convert_file_name*.
22 This change is a backport from trunk.
23
24 2012-11-20 Eli Zaretskii <eliz@gnu.org>
25
26 * simple.el (line-move): Don't call line-move-partial if
27 scroll-conservatively is in effect. (Bug#12927)
28
29 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
30
31 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
32 order to distinguish from trunk.
33
34 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
37 non-symbols for compiler macros (yet).
38
39 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
40 Fallback on completion-at-point rather than
41 pcomplete-expand-and-complete, and only if pcomplete actually failed.
42 (eshell-cmpl-initialize): Setup completion-at-point.
43
44 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
45
46 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
47
48 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
49
50 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
51 are remote, check out-of-band property for both.
52
53 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * window.el (switch-to-buffer): Re-add the warning that was lost in the
56 code rewrite.
57
58 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
59
60 More minor time fixes.
61 * calendar/time-date.el: Commentary fix.
62 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
63 too much other code depends on (0 0) time stamps.
64 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
65 Add a couple of FIXME comments.
66
67 Minor cleanup for times as lists of four integers.
68 * files.el (dir-locals-directory-cache):
69 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
70 Doc fixes.
71 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
72 * ps-bdf.el (bdf-file-newer-than-time):
73 Process four-integers time stamps, not two. Doc fixes.
74
75 2012-11-18 Glenn Morris <rgm@gnu.org>
76
77 * image.el (insert-image, insert-sliced-image): Doc fix.
78
79 2012-11-17 Chong Yidong <cyd@gnu.org>
80
81 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
82 (Bug#12810).
83
84 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
85
86 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
87 response when the target file is in a subdirectory (Bug#12757).
88
89 2012-11-17 Chong Yidong <cyd@gnu.org>
90
91 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
92
93 2012-11-17 Glenn Morris <rgm@gnu.org>
94
95 * woman.el (woman-non-underline-faces):
96 * emacs-lisp/cl-lib.el (face-underline-p):
97 Use set-face-underline rather than the alias set-face-underline-p.
98
99 * window.el (with-temp-buffer-window): Doc fix.
100 * subr.el (with-output-to-temp-buffer):
101 Add doc xref to with-temp-buffer-window.
102
103 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/cl-lib.el: Set more meaningful version number.
106
107 2012-11-16 Martin Rudalics <rudalics@gmx.at>
108
109 * window.el (enlarge-window, shrink-window): Don't mention return
110 value in doc-string (Bug#12896).
111 (window--display-buffer): Don't resize frames - it won't work
112 with all window managers and defeat pop-up-frame-alist.
113 (display-buffer-alist): In doc-string explain that CONDITION can
114 be a function and which arguments are passed to it (Bug#12854).
115 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
116 expressions (Bug#12854).
117 (display-buffer): Pass ACTION argument to
118 display-buffer-assq-regexp.
119
120 2012-11-16 Glenn Morris <rgm@gnu.org>
121
122 * window.el (fit-frame-to-buffer-bottom-margin)
123 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
124
125 * faces.el (face-underline-p): Use face-attribute-specified-or.
126
127 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
128
129 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
130
131 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
134
135 2012-11-15 Glenn Morris <rgm@gnu.org>
136
137 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
138 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
139
140 * faces.el (face-underline-p): Doc fix. Handle :underline being
141 things other than `t' (a string, a list).
142 (face-inverse-video-p): Doc fix.
143 (set-face-underline): Rename it back from set-face-underline-p.
144 Doc fix. Allow interactive input of values other than t.
145 (read-face-attribute): Apply formatting to :underline,
146 since like :box and :stipple it can take list values.
147
148 * term.el (ansi-term): Don't let C-x escape-char binding
149 clobber the more standard C-c binding. (Bug#12842)
150
151 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
154 (bug#12879).
155
156 2012-11-14 Glenn Morris <rgm@gnu.org>
157
158 * subr.el (set-temporary-overlay-map): Doc fix.
159
160 2012-11-13 Martin Rudalics <rudalics@gmx.at>
161
162 * window.el (record-window-buffer)
163 (display-buffer-record-window): When copying the markers to
164 window-point preserve window-point-insertion-type. (Bug#12588)
165
166 2012-11-13 Glenn Morris <rgm@gnu.org>
167
168 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
169 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
170 Use new names for hooks rather than obsolete aliases.
171
172 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
175
176 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
177
178 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
179 39 and 49. This fixes bug#12792. Also, treat unimplemented
180 parameters as 0, thereby restoring the behavior of revisions prior
181 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
182
183 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
184
185 Fix end-of-defun misbehavior.
186 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
187 python-beginning-of-defun-function. Handle nested defuns
188 correctly.
189 (python-nav-end-of-defun): Rename from
190 python-end-of-defun-function. Ensure forward movement.
191 (python-info-current-defun): Reimplement to work as intended
192 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
193 parent defuns as soon as possible.
194
195 2012-11-12 Glenn Morris <rgm@gnu.org>
196
197 * progmodes/flymake.el (flymake-error-bitmap)
198 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
199 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
200
201 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
202
203 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
204 backward, always stop at indentation. Reverts the change from
205 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
206
207 2012-11-11 Glenn Morris <rgm@gnu.org>
208
209 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
210 Add ibuffer-filter-by-derived-mode.
211
212 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
213 the same name shadowing each other.
214
215 * window.el (with-temp-buffer-window): Doc tweak.
216
217 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
218
219 * help.el (temp-buffer-max-height):
220 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
221 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
222
223 2012-11-10 Leo Liu <sdl.web@gmail.com>
224
225 * ido.el (ido-set-matches-1): Fix split-string args to avoid
226 performance issue. (Bug#12796)
227
228 2012-11-10 Glenn Morris <rgm@gnu.org>
229
230 * term.el (term-default-fg-color, term-default-bg-color):
231 Make obsolete, rather than just saying "deprecated" in the doc.
232
233 * term.el (term): Rename from `term-face'.
234 (term-current-face, ansi-term-color-vector)
235 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
236 Update all users.
237
238 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
239
240 * server.el (server-create-window-system-frame): Improve comment.
241
242 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
243
244 * server.el (server-create-window-system-frame): Handle Nextstep
245 specially (Bug#12780).
246
247 2012-11-08 Glenn Morris <rgm@gnu.org>
248
249 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
250 Unautoload, and make obsolete. (Bug#7449)
251
252 2012-11-08 Chong Yidong <cyd@gnu.org>
253
254 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
255 rename from diff-remove-trailing-whitespace (Bug#12831).
256
257 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
260 miscompilation of trace.el.
261
262 2012-11-08 Glenn Morris <rgm@gnu.org>
263
264 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
265
266 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
269 (bug#12812).
270
271 2012-11-07 Chong Yidong <cyd@gnu.org>
272
273 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
274 a defcustom with an appropriate :set function.
275 (minibuffer-default--in-prompt-regexps): New function.
276
277 2012-11-07 Glenn Morris <rgm@gnu.org>
278
279 * emacs-lisp/cl.el (define-setf-expander, defsetf)
280 (define-modify-macro): Doc fixes.
281
282 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
283 (gv-define-simple-setter): Update doc of `fix-return'.
284
285 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
288 twice when `fix-return' is set (bug#12813).
289
290 * emacs-lisp/cl.el (defsetf): Pass the third arg to
291 gv-define-simple-setter (bug#12812).
292
293 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
296 (bug#12756).
297
298 2012-11-06 Glenn Morris <rgm@gnu.org>
299
300 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
301
302 2012-11-05 Glenn Morris <rgm@gnu.org>
303
304 * emacs-lisp/cl-extra.el (cl-prettyexpand):
305 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
306 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
307 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
308
309 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
310
311 2012-11-03 Glenn Morris <rgm@gnu.org>
312
313 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
314 Rename handler properties back from cl-- to cl-. (Bug#12788)
315
316 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
317
318 2012-11-03 Eli Zaretskii <eliz@gnu.org>
319
320 * term/pc-win.el: Don't load term/internal from here.
321
322 * loadup.el: Load term/internal from here.
323
324 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
325
326 * progmodes/python.el (inferior-python-mode): Fix hang in
327 jit-lock (Bug#12645).
328
329 2012-11-03 Martin Rudalics <rudalics@gmx.at>
330
331 * window.el (switch-to-visible-buffer)
332 (switch-to-buffer-preserve-window-point): Fix doc-strings.
333
334 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
335
336 * play/gomoku.el (gomoku-display-statistics): Update mode line
337 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
338
339 2012-10-31 Martin Rudalics <rudalics@gmx.at>
340
341 * window.el (quit-restore-window): If the window has been
342 created on an existing frame and ended up as the sole window on
343 that frame, do not delete it (Bug#12764).
344
345 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * progmodes/sh-script.el (sh--inside-noncommand-expression):
348 Rename from sh--inside-arithmetic-expression, handle more cases
349 (bug#11263).
350
351 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
352 (sh-font-lock-open-heredoc): Use it (bug#12770).
353
354 2012-10-30 Glenn Morris <rgm@gnu.org>
355
356 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
357
358 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
359
360 2012-10-29 Chong Yidong <cyd@gnu.org>
361
362 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
363 function key is stored in a keyboard macro (Bug#4894).
364
365 * thingatpt.el (number-at-point): Apply a thing-at-point property.
366
367 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
370 header comments".
371 (diff-unified->context, diff-context->unified)
372 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
373
374 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
375
376 * files.el (find-alternate-file): Only ask one question (bug#12487).
377
378 2012-10-29 Chong Yidong <cyd@gnu.org>
379
380 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
381 Suggested by Dan Nicolaescu (Bug#6326).
382
383 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
384
385 * startup.el (fancy-about-screen): Don't message (Bug#12680).
386
387 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
388
389 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
390
391 * face-remap.el (face-remap-add-relative): Handle the case where a
392 face-remapping-alist entry is a cons cell (Bug#12762).
393
394 2012-10-29 Kevin Ryde <user42@zip.com.au>
395
396 * woman.el (woman-parse-numeric-value): Handle picas correctly
397 (Bug#12639).
398
399 2012-10-29 Glenn Morris <rgm@gnu.org>
400
401 * emacs-lisp/cl.el (defsetf): Doc fix.
402
403 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
406 syntax to the matching opener, if any (bug#12547).
407 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
408 matching open as a "case-(".
409 (sh-smie-rc-grammar): Add a corresponding rule for it.
410
411 2012-10-28 Daniel Hackney <dan@haxney.org>
412
413 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
414 "PKGNAME-autoloads.el" in case we created it.
415
416 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
419 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
420 (completion--twq-all): Disable too-strict assertions.
421
422 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
423
424 2012-10-27 Eli Zaretskii <eliz@gnu.org>
425
426 * profiler.el (profiler-report-make-entry-part): Fix help-echo
427 text to match the real keybindings.
428
429 2012-10-27 Juri Linkov <juri@jurta.org>
430
431 * wdired.el (wdired-keep-marker-rename): New defcustom.
432 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
433 (Bug#11795)
434
435 * dired.el (dired-keep-marker-rename): Add reference to
436 `wdired-keep-marker-rename' in the docstring.
437 Add default character value ?R to display initially in
438 Customization UI instead of ?@.
439
440 2012-10-27 Martin Rudalics <rudalics@gmx.at>
441
442 * window.el (display-buffer): In doc-string describe
443 window-height and window-width alist entries.
444
445 * time.el (display-time-world): Restore fit-window-to-buffer
446 behavior.
447
448 2012-10-27 Chong Yidong <cyd@gnu.org>
449
450 * subr.el (insert-buffer-substring-as-yank): Doc fix.
451
452 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
453
454 * minibuffer.el (completion-category-overrides): New completion
455 category `bookmark' (bug#11131).
456
457 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/advice.el (ad-assemble-advised-definition):
460 Silence bogus compiler warnings for ad-do-it.
461
462 * bookmark.el (bookmark-completing-read): Set the completion category
463 to `bookmark' (bug#11131).
464
465 2012-10-26 Bastien <bzg@altern.org>
466 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * face-remap.el: Use lexical-binding.
469 (text-scale-adjust): Improve docstring. Use itself for the temporary
470 overlay-map bindings, so as to repeat the "Use..." message each time.
471
472 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * emacs-lisp/macroexp.el (macroexp--expand-all):
475 Obey byte-compile-warning-enabled-p (bug#12486).
476
477 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
478 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
479
480 2012-10-26 Martin Rudalics <rudalics@gmx.at>
481
482 * mouse.el (mouse-drag-line): Move last form into preceding when
483 clause (Bug#12731).
484
485 * help.el (resize-temp-buffer-window): Fix doc-string.
486
487 2012-10-25 David Engster <deng@randomsample.de>
488
489 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
490 Remove. This feature is already integrated in imenu.
491
492 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
493 always loaded. Require `speedbar' unconditionally.
494
495 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
498
499 * minibuffer.el (minibuffer-force-complete): Fix thinko.
500
501 * net/ldap.el (ldap-search-internal): The official ldif format starts
502 with a "version: 1" header (bug#12724).
503
504 * emacs-lisp/package.el (package-installed-p): Warn if not ready
505 (bug#12721).
506
507 2012-10-25 Glenn Morris <rgm@gnu.org>
508
509 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
510
511 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * minibuffer.el (minibuffer-force-complete): Use one more marker
514 for the temporary-overlay-map command (bug#12619).
515
516 2012-10-24 Chong Yidong <cyd@gnu.org>
517
518 * time.el (display-time-world-mode): Derive from special-mode.
519 (display-time-world): Use display-buffer (Bug#12708).
520 (display-time-world-mode-map): Variable deleted.
521 (display-time-world-display): Wrap the final delete-char inside
522 inhibit-read-only.
523
524 2012-10-24 Chong Yidong <cyd@gnu.org>
525
526 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
527 Doc fix.
528
529 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
530
531 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * minibuffer.el (completion--all-sorted-completions-location): New var.
534 (completion--cache-all-sorted-completions)
535 (completion--flush-all-sorted-completions): Use it.
536 (completion-in-region, completion-in-region--postch)
537 (completion-at-point, completion-help-at-point): Use markers in
538 completion-in-region--data (bug#12619).
539
540 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * progmodes/compile.el (compilation-start): Try to handle common
543 quoting of `cd' argument (bug#12640).
544
545 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
546 (bug#12671).
547
548 2012-10-23 Glenn Morris <rgm@gnu.org>
549
550 * progmodes/gud.el (gud-menu-map):
551 Check gdb-active-process is bound. (Bug#12358)
552
553 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * repeat.el (repeat): Set real-this-command (bug#12232).
556
557 * htmlfontify.el (hfy-post-html-hook):
558 * filesets.el (filesets-cache-fill-content-hook):
559 * arc-mode.el (archive-extract-hook):
560 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
561 * net/rcirc.el (rcirc-sentinel-functions)
562 (rcirc-receive-message-functions, rcirc-activity-functions)
563 (rcirc-print-functions):
564 * net/dbus.el (dbus-event-error-functions):
565 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
566 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
567 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
568 * term/sun.el (sun-raw-prefix-hooks):
569 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
570
571 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
572
573 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
574 Set `tramp-chunksize' to 1. This improves the performance.
575 (tramp-smb-wait-for-output): Add timeout to
576 `tramp-accept-process-output' calls.
577
578 2012-10-23 Chong Yidong <cyd@gnu.org>
579
580 * faces.el (font-list-limit): Define as an obsolete variable.
581
582 * startup.el (command-line):
583 * cus-start.el: Don't refer to font-list-limit.
584
585 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
586
587 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * subr.el (internal-temp-output-buffer-show): Rename from
590 temp-output-buffer-show, since previously compiled files expect this name.
591
592 2012-10-23 Glenn Morris <rgm@gnu.org>
593
594 * image.el (image-type-from-file-name): If multiple types match,
595 return the first one that is supported. (Bug#9045)
596
597 2012-10-22 Glenn Morris <rgm@gnu.org>
598
599 * image.el (imagemagick-enabled-types): Doc fix.
600
601 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
602
603 * progmodes/which-func.el (which-func-current): The hash-table may have
604 an explicit nil (bug#12338).
605
606 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * electric.el (electric-pair-delete-selection-self-insert-function):
609 Rename to electric-pair-will-use-region, return a boolean.
610 (electric-pair-mode): Adjust accordingly. Don't require delsel.
611
612 * delsel.el (delete-selection-helper): Use a function instead of a hook.
613 (delete-selection-pre-hook): Use use-region-p.
614 (delete-selection-self-insert-function): Remove.
615 (self-insert-command): Obey self-insert-uses-region-functions.
616 (self-insert-iso): Revert to previous setting, since we don't actually
617 know what that command does.
618 (delete-selection-self-insert-hooks): Remove.
619
620 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
621
622 * delsel.el (delete-selection-helper): New function, extracted from
623 delete-selection-pre-hook.
624 (delete-selection-pre-hook): Use it.
625 (delete-selection-self-insert-function): New function.
626 (delete-selection-self-insert-hooks): New hook.
627 (self-insert-command, self-insert-iso): Use it.
628 * electric.el (electric-pair-syntax): New function, extracted from
629 electric-pair-post-self-insert-function.
630 (electric-pair-post-self-insert-function): Use it.
631 (electric-pair-delete-selection-self-insert-function): New function.
632 (electric-pair-mode): Require delsel and setup
633 delete-selection-self-insert-hooks (bug#11520).
634
635 2012-10-20 Chong Yidong <cyd@gnu.org>
636
637 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
638 no changes to show (Bug#12586).
639
640 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
641 list explicitly (Bug#12571).
642
643 2012-10-20 Arne Jørgensen <arne@arnested.dk>
644
645 * progmodes/flymake.el (flymake-create-temp-inplace):
646 Use file-truename.
647
648 2012-10-20 Eli Zaretskii <eliz@gnu.org>
649
650 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
651
652 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
653
654 * calc/calc-units.el (math-extract-units): Properly extract powers
655 of units.
656
657 2012-10-20 Daniel Colascione <dancol@dancol.org>
658
659 * frame.el (make-frame): Set x-display-name as we used to in order
660 to unbreak creating an X11 frame from an Emacs daemon started
661 without a display.
662
663 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * minibuffer.el (minibuffer-force-complete): Make the next completion use
666 the same completion-field (bug@12221).
667
668 2012-10-19 Martin Rudalics <rudalics@gmx.at>
669
670 * emacs-lisp/debug.el (debug): Record height of debugger window
671 also when debugger will be back (Bug#8789).
672
673 2012-10-18 Chong Yidong <cyd@gnu.org>
674
675 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
676 Convert to defcustom.
677 (gdb-get-source-file): Don't bind pop-up-windows.
678
679 * progmodes/gud.el (gud-display-line): Don't specially re-use
680 other frames for the gdb-mi case (Bug#12648).
681
682 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/advice.el: Clean up commentary a bit.
685 (ad-do-advised-functions, ad-with-originals): Use `declare'.
686 (byte-code-function-p): Never redefine.
687
688 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
689
690 2012-10-18 Glenn Morris <rgm@gnu.org>
691
692 * dired.el (dired-sort-toggle): Some ls implementations only allow
693 a single option string. (Bug#12666)
694
695 * minibuffer.el (completion-cycle-threshold): Doc fix.
696
697 2012-10-17 Kenichi Handa <handa@gnu.org>
698
699 * international/mule.el (set-keyboard-coding-system):
700 Recover input meta mode when the new coding system doesn not use 8-bit.
701 Supply TERMINAL arg to set-input-meta-mode.
702
703 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
704
705 * wdired.el (wdired-old-marks): New variable.
706 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
707 (wdired-do-renames): Move point with renamed file and don't lose
708 mark status (Bug#11795).
709
710 2012-10-16 Juri Linkov <juri@jurta.org>
711
712 * replace.el (query-replace-help): Mention multi-buffer replacement
713 keys in the Help message. (Bug#12655)
714
715 2012-10-15 Chong Yidong <cyd@gnu.org>
716
717 * emacs-lisp/byte-run.el (defsubst): Doc fix.
718
719 2012-10-14 Eli Zaretskii <eliz@gnu.org>
720
721 * window.el (display-buffer): Doc fix.
722
723 * progmodes/compile.el (compilation-error-regexp-alist-alist):
724 Adjust the msft regexp to the output of Studio 2010, and move msft
725 before edg-1. See the discussion on emacs-devel,
726 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
727 for the details.
728
729 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
732 (oset): Move uses of object-class-fast macro after its definition.
733
734 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
735
736 2012-10-13 Chong Yidong <cyd@gnu.org>
737
738 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
739 enabled, re-enable it (Bug#11963).
740
741 2012-10-13 Martin Rudalics <rudalics@gmx.at>
742
743 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
744 non-nil, restore window configuration (Bug#12623).
745
746 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * help-fns.el (describe-variable, describe-function-1):
749 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
750
751 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
752
753 2012-10-12 Glenn Morris <rgm@gnu.org>
754
755 * mail/rmailsum.el (rmail-header-summary):
756 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
757
758 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
759
760 * progmodes/python.el (python-mode-map):
761 Replace subtitute-key-definition with proper command remapping.
762 (python-nav--up-list): Fix behavior for blocks on the same level.
763
764 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
767
768 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
769 changes to the format of load-history.
770
771 * international/mule-cmds.el (read-char-by-name): Move let-binding of
772 completion-ignore-case in case that var is buffer-local (bug#12615).
773
774 2012-10-11 Kenichi Handa <handa@gnu.org>
775
776 * international/eucjp-ms.el: Re-generated.
777
778 2012-10-10 Kenichi Handa <handa@gnu.org>
779
780 * select.el (xselect--encode-string): If a coding is specified for
781 selection, and that is compatible with COMPOUND_TEXT, use it.
782
783 2012-10-10 Martin Rudalics <rudalics@gmx.at>
784
785 * window.el (switch-to-buffer-preserve-window-point): New option.
786 (switch-to-buffer):
787 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
788
789 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
792 Don't document nil as a useful value (bug#12583).
793
794 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/tramp.el (tramp-debug-message):
797 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
798 (with-tramp-progress-reporter): Rename from
799 `tramp-with-progress-reporter'.
800 (with-tramp-file-property, with-tramp-connection-property):
801 Move from tramp-cache.el, rename from `with-file-property' and
802 `with-connection-property', respectively.
803
804 * net/tramp-cache.el: Remove `with-file-property' and
805 `with-connection-property'.
806
807 * net/tramp.el:
808 * net/tramp-gvfs.el:
809 * net/tramp-sh.el:
810 * net/tramp-smb.el: Adapt callees.
811
812 * net/trampver.el: Update release number.
813
814 2012-10-09 Glenn Morris <rgm@gnu.org>
815
816 * w32-fns.el (set-message-beep):
817 * term/w32-win.el (set-message-beep): Update declarations.
818
819 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
822 (mode-line-widen, mode-line-input-method-map)
823 (mode-line-coding-system-map, mode-line-remote)
824 (mode-line-unbury-buffer, mode-line-bury-buffer)
825 (mode-line-next-buffer, mode-line-previous-buffer):
826 Replace save-selected-window+select-window => with-selected-window.
827
828 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
829 * progmodes/cc-vars.el (bq-process): Remove, unused.
830
831 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
832
833 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
834
835 Implemented `backward-up-list'-like navigation.
836 * progmodes/python.el (python-nav-up-list)
837 (python-nav-backward-up-list): New functions.
838 (python-mode-map): Define substitute key for backward-up-list to
839 python-nav-backward-up-list.
840
841 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
842
843 * progmodes/python.el (python-fill-paragraph): Rename from
844 python-fill-paragraph-function. Fixed fill-paragraph for
845 decorators (Bug#12605).
846
847 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
848
849 * progmodes/python.el (python-shell-output-filter): Handle extra
850 carriage return in OSX (Bug#12409).
851
852 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
853
854 Fix shell handling of unbalanced quotes and parens in output.
855 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
856 (python-syntax-propertize-function): Use it.
857 (python-shell-output-syntax-table): New var.
858 (inferior-python-mode): Prevent unbalanced parens/quotes from
859 previous output mess with current input context.
860
861 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
862
863 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
864 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
865
866 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
867
868 * ffap.el (ffap-replace-file-component): Support Tramp file name
869 syntax, not only ange-ftp's one.
870
871 2012-10-08 Glenn Morris <rgm@gnu.org>
872
873 * cus-start.el (message-log-max): Set :version.
874
875 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
876
877 2012-10-08 Martin Rudalics <rudalics@gmx.at>
878
879 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
880 the minibuffer window (Bug#10851).
881
882 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
883
884 Enhancements on forward-sexp movement.
885 * progmodes/python.el (python-nav-beginning-of-statement)
886 (python-nav-end-of-statement): Return point-marker.
887 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
888 (python-info-current-symbol)
889 (python-info-statement-starts-block-p): Rename from
890 python-info-beginning-of-block-p.
891 (python-info-statement-ends-block-p): Rename from
892 python-info-end-of-block-p.
893 (python-info-beginning-of-statement-p)
894 (python-info-end-of-statement-p)
895 (python-info-beginning-of-block-p, python-info-end-of-block-p):
896 New functions.
897
898 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
899
900 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
901 frame-selected-windows.
902
903 2012-10-08 Daniel Colascione <dancol@dancol.org>
904
905 * battery.el (battery-status-function): Check for
906 w32-battery-status itself, not system-time windows-nt.
907
908 * frame.el: Require cl-lib.
909 (display-format-alist): New variable mapping frame types to
910 functions that initialize them.
911 (window-system-for-display): New function: interprets
912 display-format-alist.
913 (make-frame-on-display): Remove existing display-selection logic
914 and just forward to make-frame, which will now DTRT.
915 (make-frame): Restructure to use window-system-for-display to
916 figure out how to create a frame on a given display.
917 (display-mouse-p): Look for frame-type w32, not a particular
918 system-type.
919
920 * loadup.el: Load w32 lisp code when we have the w32 feature.
921
922 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
923 system-type windows-nt.
924
925 * server.el (server-create-window-system-frame): Look for window
926 type.
927 (server-proces-filter): Only force a window system when windows-nt
928 _and_ w32. Explain why.
929
930 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
931 of window systems we configure for the mode.
932
933 * startup.el (command-line): Mark window system is initialized
934 after we've done it.
935
936 * common-win.el (x-select-text): Look for w32, not windows-nt.
937
938 * ns-win.el: Require cl-lib. Add ourselves to
939 display-format-alist.
940 (ns-initialize-window-system): Assert we're not initialized twice.
941
942 * w32-win.el: Enable lexical binding; require cl-lib; add
943 ourselves to display-format-alist.
944 (w32-handle-dropped-file): Convert incoming dropped files from
945 Windows paths to Cygwin ones before passing them on to the rest of
946 Emacs.
947 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
948 (w32-initialize-window-system): Assert we're not initialized twice.
949
950 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
951 (x-initialize-window-system): Assert we're not initialized twice.
952
953 * w32-common-fns.el: New File.
954 (w32-version, w32-using-nt, w32-get-clipboard-data)
955 (w32-set-clipboard-data, x-set-selection, x-get-selection)
956 (w32-charset-info-alist, x-last-selected, text)
957 (x-get-selection-value, x-selection-value): Move here.
958
959 * w32-fns.el: Require w32-common-fns.
960 (w32-version, w32-using-nt, w32-get-clipboard-data)
961 (w32-set-clipboard-data, x-set-selection, x-get-selection)
962 (w32-charset-info-alist, x-last-selected, text)
963 (x-get-selection-value, x-selection-value): Move to
964 w32-common-fns.
965
966 * w32-vars.el:
967 (w32-allow-system-shell, w32-system-shells): Define only in
968 non-cygwin case.
969
970 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
973 (read-passwd): Remove a few more potential sources of leaks.
974
975 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
976
977 * progmodes/python.el (inferior-python-mode)
978 (python-shell-make-comint): Fix initialization of local
979 variables copied from parent buffer.
980
981 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
982
983 * term/ns-win.el (ns-read-file-name): Update declaration to match
984 nsfns.m.
985 (ns-respond-to-change-font): Change fontsize separatly so we are sure
986 it is set when font is acted upon.
987
988 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
989
990 Enhancements to indentation.
991 * progmodes/python.el (python-indent-context): Give priority to
992 inside-string context. Make comments indentation markers.
993 (python-indent-region): Do not mess with strings, unless it's the
994 enclosing set of quotes.
995
996 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * window.el (internal--before-save-selected-window)
999 (internal--after-save-selected-window): New functions extracted from
1000 save-selected-window. Make sure we return the `alist' we construct.
1001 (save-selected-window): Use them.
1002
1003 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1004 Use with-selected-window.
1005
1006 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1007 forms that define macros (bug#12593).
1008
1009 2012-10-07 Kenichi Handa <handa@gnu.org>
1010
1011 * international/mule-conf.el (compound-text-with-extensions):
1012 Add :mime-charset property as x-ctext.
1013
1014 2012-10-07 Stefan Merten <smerten@oekonux.de>
1015
1016 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1017 (rst-indent-literal-normal, rst-indent-literal-minimized)
1018 (rst-indent-comment): Correct :version tag.
1019 (rst-official-cvs-rev): Correct version string.
1020
1021 2012-10-07 Glenn Morris <rgm@gnu.org>
1022
1023 * mail/rmailmm.el (rmail-mime-process-multipart):
1024 Do not confuse a multipart message with an epilogue
1025 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1026
1027 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1028
1029 Fix shell output retrieval and comint-prompt-regexp init.
1030 * progmodes/python.el (inferior-python-mode):
1031 (python-shell-make-comint): Fix initialization of
1032 comint-prompt-regexp from copied file local variables.
1033 (python-shell-fetched-lines): Remove var.
1034 (python-shell-output-filter-in-progress): Rename from
1035 python-shell-fetch-lines-in-progress.
1036 (python-shell-output-filter-buffer): Rename from
1037 python-shell-fetch-lines-string.
1038 (python-shell-fetch-lines-filter): Delete function.
1039 (python-shell-output-filter): New function.
1040 (python-shell-send-string-no-output): Use them.
1041
1042 2012-10-07 Glenn Morris <rgm@gnu.org>
1043
1044 * hi-lock.el (hi-lock-process-phrase):
1045 Try to make it less fragile. (Bug#7161)
1046
1047 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1048
1049 2012-10-06 Glenn Morris <rgm@gnu.org>
1050
1051 * ehelp.el (electric-help-mode): Use help-mode rather than
1052 non-existent mode `help'.
1053 (electric-help-map): Use button-buffer-map. (Bug#10917)
1054
1055 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1056 (reftex-create-bibtex-footer): Fix custom types.
1057
1058 * progmodes/sh-script.el (sh-indent-after-continuation):
1059 Add explicit :group.
1060
1061 * textmodes/rst.el (rst-preferred-decorations)
1062 (rst-shift-basic-offset): Clarify obsolescence versions.
1063
1064 * profiler.el (profiler): Add missing group :version tag.
1065 * avoid.el (mouse-avoidance-banish-position):
1066 * proced.el (proced-renice-command):
1067 * calc/calc.el (calc-ensure-consistent-units):
1068 * calendar/icalendar.el (icalendar-import-format-uid):
1069 * net/tramp.el (tramp-save-ad-hoc-proxies):
1070 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1071 * progmodes/flymake.el (flymake-error-bitmap)
1072 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1073 * progmodes/sh-script.el (sh-indent-after-continuation):
1074 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1075 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1076 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1077 (vhdl-array-index-record-field-in-sensitivity-list)
1078 (vhdl-indent-comment-like-next-code-line):
1079 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1080 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1081 (reftex-cite-key-separator, reftex-create-bibtex-header)
1082 (reftex-create-bibtex-footer):
1083 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1084 (rst-indent-literal-normal, rst-indent-literal-minimized)
1085 (rst-indent-comment): Add missing custom :version tags.
1086
1087 * calendar/timeclock.el (timeclock-modeline-display):
1088 Add missing obsolete alias for renamed user option.
1089
1090 * strokes.el (strokes-modeline-string):
1091 * emulation/crisp.el (crisp-mode-modeline-string):
1092 * eshell/esh-mode.el (eshell-status-in-modeline):
1093 Aliases to defcustoms must come before the defcustom.
1094
1095 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1096 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1097 (cal-tex-cursor-week-monday): Doc fixes.
1098 (cal-tex-cursor-week2-summary): Doc fix.
1099 Rename from cal-tex-cursor-week-at-a-glance.
1100
1101 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1102 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1103
1104 * calendar/calendar.el (calendar-mode-map):
1105 Add cal-tex-cursor-week2-summary.
1106
1107 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1110
1111 * subr.el (read-passwd-map): New var.
1112 (read-passwd): Use `read-string' again.
1113 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1114
1115 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1116
1117 * register.el (append-to-register, prepend-to-register):
1118 Deactivate mark, as does `copy-to-register' (bug#12389).
1119
1120 2012-10-06 Chong Yidong <cyd@gnu.org>
1121
1122 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1123
1124 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1125
1126 * international/characters.el: Fix simple mistake ((car chars) ->
1127 elt), delete duplicated code.
1128
1129 2012-10-06 Glenn Morris <rgm@gnu.org>
1130
1131 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1132
1133 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1134
1135 * color.el (color-hsl-to-rgb): Fix incorrect results for
1136 small and large hue values. (Bug#12559)
1137
1138 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1139
1140 Enhancements to docstring formatting when filling paragraphs.
1141 * progmodes/python.el (python-fill-docstring-style): Rename from
1142 python-fill-string-style. Added new style.
1143 (python-fill-string): Use new style. Better checks for
1144 docstrings.
1145
1146 2012-10-05 Glenn Morris <rgm@gnu.org>
1147
1148 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1149
1150 * color.el (color-name-to-rgb, color-rgb-to-hex)
1151 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1152 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1153 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1154 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1155
1156 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1157
1158 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1159
1160 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1161 to get the correct size across symlinks.
1162
1163 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1164
1165 2012-10-04 Juri Linkov <juri@jurta.org>
1166
1167 * replace.el (query-replace-interactive): Declare obsolete.
1168 (query-replace-read-from): Add the last incremental search string
1169 to the list of default values accessible via M-n.
1170 (map-query-replace-regexp): Use `read-regexp'.
1171 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1172 (map-query-replace-regexp, replace-string, replace-regexp):
1173 Fix docstrings to replace mentions of `query-replace-interactive'
1174 with alternatives. (Bug#12526)
1175
1176 2012-10-04 Juri Linkov <juri@jurta.org>
1177
1178 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1179 (dired-pop-to-buffer): Declare obsolete.
1180 (dired-mark-pop-up): Doc fix.
1181
1182 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1183
1184 Allow user to set docstring style for fill-paragraph.
1185 * progmodes/python.el
1186 (python-fill-comment-function, python-fill-string-function)
1187 (python-fill-decorator-function, python-fill-paren-function):
1188 Remove :safe for defcustoms.
1189 (python-fill-string-style): New defcustom
1190 (python-fill-paragraph-function): Enhance context detection.
1191 (python-fill-string): Honor python-fill-string-style settings.
1192
1193 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1194
1195 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1196 after setting its buffer (Bug#10805).
1197
1198 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1199
1200 Fix cornercase for string syntax.
1201 * progmodes/python.el (python-syntax-propertize-function):
1202 Simplify and enhance the regexp for unescaped quotes. Now it also
1203 matches quotes in weird situations like the single quote in
1204 "something\"'".
1205 (python-syntax-stringify): Simplify num-quotes detecting code.
1206
1207 2012-10-03 Glenn Morris <rgm@gnu.org>
1208
1209 * help-macro.el (three-step-help):
1210 Revert 2012-09-29 change. (Bug#12567)
1211
1212 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1213
1214 * menu-bar.el (kill-this-buffer): Don't do anything when
1215 `menu-frame' is not alive or visible (Bug#8184).
1216
1217 * emacs-lisp/debug.el (debug): When quitting the debugger window
1218 restore current buffer (Bug#12502).
1219
1220 2012-10-02 Chong Yidong <cyd@gnu.org>
1221
1222 * progmodes/hideif.el (hif-lookup, hif-defined):
1223 Handle semantic-c-takeover-hideif.
1224
1225 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1226
1227 Change sampling interval units from ms to ns.
1228 * profiler.el (profiler-sampling-interval): Change units
1229 from ms to ns, multiplying the default by 1000000 so that
1230 it remains 1 ms.
1231 (profiler-report-cpu-line-format): Give enough room for
1232 the maximum counters on 64-bit hosts.
1233 (profiler-report-render-calltree-1): Call them "CPU samples",
1234 not "Time (ms)", since they are not milliseconds now (and
1235 never really were).
1236
1237 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1238
1239 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1240 Fix querying BBDB for entries without a last name (Bug#11580).
1241
1242 2012-10-02 Chong Yidong <cyd@gnu.org>
1243
1244 * emacs-lisp/eieio.el: Restore Version header.
1245
1246 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * vc/diff-mode.el (diff--auto-refine-data): New var.
1249 (diff-hunk): Use it to delay refinement.
1250 (diff-mode): Remove overlays when we turn off font-lock.
1251
1252 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1253 (table-initialize-table-fixed-width-mode)
1254 (table-set-table-fixed-width-mode): Remove functions.
1255 (table-command-list): Move initialization into declaration.
1256 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1257 (table-with-cache-buffer): Use `declare'.
1258 (table-span-cell): Simplify via CSE.
1259 (table-fixed-width-mode): Use define-minor-mode.
1260 (table-call-interactively, table-funcall, table-apply): Remove.
1261 (table-function): New function, to replace them.
1262
1263 * bookmark.el (bookmark-search-pattern): Remove var.
1264 (bookmark-read-search-input): Remove function.
1265 (bookmark-bmenu-search): Reimplement using a minibuffer.
1266
1267 * faces.el (modeline): Remove obsolete face name.
1268
1269 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1270 and give a non-nil default value.
1271 (add-change-log-entry): Simplify accordingly.
1272
1273 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1274
1275 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1276 (vc-git-log-edit-toggle-amend): New function.
1277 (vc-git-log-edit-toggle-signoff): New function.
1278 (vc-git-log-edit-mode): New major mode.
1279 (vc-git-log-edit-mode-map): Keymap for it.
1280 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1281
1282 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1283 header names.
1284 (log-edit-toggle-header): New function.
1285 (log-edit-extract-headers): Accept function values in HEADERS alist.
1286
1287 2012-10-01 David Engster <deng@randomsample.de>
1288
1289 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1290 from symbol property and change message to be more consistent with
1291 Emacs proper.
1292 (eieio-describe-generic): Add filename for each implementation.
1293 Fix indices for generic and normal methods.
1294 (eieio-method-def, eieio-class-def): New buttons.
1295 (eieio-help-find-method-definition)
1296 (eieio-help-find-class-definition): New functions.
1297 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1298 class, constructor and method definitions.
1299
1300 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1301 information in symbol property.
1302 (scoped-class): Remove.
1303 (eieio-slot-name-index, call-next-method): Check if it is bound.
1304
1305 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1306
1307 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1308 (eieio-custom-mode): New major mode.
1309 (eieio-customize-object): Use it.
1310
1311 2012-10-01 Eric Ludlam <zappo@gnu.org>
1312
1313 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1314 specifying the expected class, and whether subclassing is allowed.
1315 (eieio-persistent-convert-list-to-object):
1316 (eieio-persistent-validate/fix-slot-value)
1317 (eieio-persistent-slot-type-is-class-p): New functions.
1318 (eieio-named::slot-missing): Doc fix.
1319
1320 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1321 Stop using unused publd variable.
1322
1323 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1324 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1325 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1326 (eieio-speedbar-handle-click): Do not specify a class for the
1327 method. Fixes method invocation order problems with EDE.
1328
1329 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1332 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1333
1334 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1335
1336 * bookmark.el (bookmark-version-control): Give tags in the
1337 :type choices (Bug#12309), and improve doc string.
1338 (bookmark-write-file): Bind `print-circle' to `t' to allow
1339 circular custom bookmark types. (Bug#12503)
1340
1341 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1342
1343 Revert the FOLLOW-SYMLINKS change for file-attributes.
1344 * files.el (remote-file-name-inhibit-cache, after-find-file):
1345 * time.el (display-time-file-nonempty-p): Undo last change.
1346
1347 * profiler.el (profiler-sampling-interval): Change default back to 1.
1348 See Stefan Monnier in
1349 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1350
1351 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1352
1353 Shell output catching a la gud-gdb.
1354 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1355 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1356 New Vars.
1357 (python-shell-fetch-lines-filter): New function.
1358 (python-shell-send-string-no-output): Use them.
1359
1360 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1361
1362 * profiler.el (profiler-sampling-interval): Rename from
1363 profiler-sample-interval.
1364 (profiler-sampling-interval): Default to 10.
1365 (profiler-find-profile): New command (was profiler-find-log).
1366 (profiler-find-profile-other-window): New command.
1367 (profiler-find-profile-other-frame): New command.
1368 (profiler-profile): Introduce API-level data structure.
1369
1370 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1371
1372 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1373 * files.el (remote-file-name-inhibit-cache):
1374 * time.el (display-time-file-nonempty-p): Use it.
1375 * files.el (after-find-file): Don't chase links before calling
1376 file-exists-p, as file-exists-p already does the right thing.
1377
1378 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1379
1380 Merge from standalone RefTeX repository.
1381
1382 The following ChangeLog entries are shortened versions of the
1383 original ones with file paths adapted. A not so strongly edited
1384 version of the original ChangeLog can be found in the commit log.
1385
1386 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1387 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1388 Correctly handle new value type returned by `reftex-citation'.
1389
1390 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1391 that entries with whitespace at various places are found.
1392 Doc fix. Include entries that are cross-referenced from cited entries.
1393 Include @String definitions in the resulting bib file. Add header
1394 and footer defined in `reftex-create-bibtex-header' and
1395 `reftex-create-bibtex-footer'.
1396 (reftex-do-citation): Make it possible again to insert
1397 non-existent entries. Save match data when asking for optional
1398 arguments. Return all keys, not just the first one.
1399 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1400 all citations in the same line.
1401 (reftex-parse-bibtex-entry): Accept additional optional argument
1402 `raw' and keep quotes or braces if it is non-nil. Match fields
1403 containing hyphens besides word constituents.
1404 (reftex-get-string-refs): New function.
1405 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1406 and ask if it should be reread in case it did.
1407 (reftex-pop-to-bibtex-entry)
1408 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1409 entries with spaces or tabs in front of arguments.
1410 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1411 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1412 Match entries containing numbers and symbol constituents.
1413 (reftex-do-citation, reftex-figure-out-cite-format):
1414 Use `reftex-cite-key-separator'.
1415
1416 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1417 (reftex-mouse-view-crossref): Explain why point is set.
1418
1419 * textmodes/reftex-global.el: Whitespace changes.
1420
1421 * textmodes/reftex-index.el: Move provide statement to end of
1422 file.
1423 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1424 (reftex-index-visit-phrases-buffer): Set marker when visiting
1425 buffer. This allows for returning from the phrases file to the
1426 file one was just editing instead of the file where the last
1427 phrases was added from.
1428 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1429 punctuation syntax as it usually is not used as string quote in
1430 TeX-related modes and may occur unmatched. The change also
1431 prevents fontification of quoted content.
1432 (reftex-index-phrases-mode): Use it.
1433
1434 * textmodes/reftex-parse.el (reftex-parse-from-file):
1435 Move backward one char if a `\' was matched after a section macro.
1436 (reftex-parse-from-file): Use beginning of match instead of end as
1437 bound.
1438
1439 * textmodes/reftex-ref.el: Adapt creation of
1440 `reftex-<package>-<macro>' functions to new structure of
1441 `reftex-ref-style-alist'.
1442 (reftex-reference): Use `reftex-ref-style-list' function.
1443 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1444 reference macro if `reftex-ref-macro-prompt' is non-nil.
1445 (reftex-reference): Pass refstyle to `reftex-format-special'.
1446 Determine reference macro by looking at
1447 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1448 Use only one special format function.
1449 (reftex-varioref-vref, reftex-fancyref-fref)
1450 (reftex-fancyref-Fref): Remove definitions. The functions are now
1451 generated from `reftex-ref-style-alist'.
1452 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1453 Remove.
1454 (reftex-format-special): New function.
1455
1456 * textmodes/reftex-sel.el
1457 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1458 of `reftex-ref-style-alist'. Remove code for testing macro type.
1459 (reftex-select-toggle-varioref)
1460 (reftex-select-toggle-fancyref): Remove.
1461 (reftex-select-cycle-ref-style-internal)
1462 (reftex-select-cycle-ref-style-forward)
1463 (reftex-select-cycle-ref-style-backward): New functions.
1464 (reftex-select-label-map): Use `v' and `V' for general cycling
1465 through reference styles. Add `p' for switching between number
1466 and page reference types.
1467
1468 * textmodes/reftex-toc.el (reftex-re-enlarge):
1469 Call `enlarge-window' only if there is something to do because in Emacs
1470 the horizontal version throws an error even if the parameter is 0.
1471
1472 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1473 (reftex-plug-into-AUCTeX): Doc fix.
1474 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1475 string. Adapt to new name.
1476 (reftex-ref-style-alist): Change structure so that it is not
1477 possible to use multiple different package names within a style.
1478 Remove the symbols for symbols for macro type distinction.
1479 Add characters for macro selection.
1480 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1481 (reftex-create-bibtex-footer): New variables.
1482 (reftex-format-ref-function): Mention third argument of special
1483 format function.
1484 (reftex-ref-style-alist, reftex-ref-style-default-list):
1485 New variables.
1486 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1487 to new implementation. Mark as obsolete. Add compatibility code
1488 for honoring the variable values in case they are set.
1489 (reftex-cite-format-builtin, reftex-bibliography-commands):
1490 Add support for ConTeXt.
1491 (reftex-format-ref-function, reftex-format-cite-function):
1492 Fix custom type.
1493 (reftex-cite-key-separator): New variable.
1494
1495 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1496 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1497 `reftex-syntax-table' because parens have to retain their paren
1498 syntax in order for parsing of BibTeX entries like @book(...) to
1499 work.
1500 (reftex-in-comment): Do not error out if `comment-start-skip' is
1501 not set. Deal correctly with escaped comment characters.
1502 (reftex-tie-multifile-symbols): Add doc string.
1503 Initialize `reftex-ref-style-list'.
1504 (reftex-untie-multifile-symbols): Add doc string.
1505 (reftex-add-index-macros): Doc fix.
1506 (reftex-ref-style-activate, reftex-ref-style-toggle)
1507 (reftex-ref-style-list): New functions.
1508 (reftex-mode-menu): Use them. Adapt to new structure of
1509 `reftex-ref-style-alist'.
1510 (reftex-select-with-char): Kill the RefTeX Select buffer when
1511 done.
1512 (reftex-remove-if): New function.
1513 (reftex-erase-all-selection-and-index-buffers)
1514 (reftex-mode-menu): Reference styles are now computed from
1515 `reftex-ref-style-alist'. Fix typo.
1516 (reftex-report-bug): New function.
1517 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1518 algorithms with O(n log n). Introduce optional argument SORT (not
1519 yet used).
1520
1521 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1522
1523 Enhancements for triple-quote string syntax.
1524 * progmodes/python.el (python-syntax-propertize-function):
1525 Match both quote cases in one regexp.
1526 (python-syntax-stringify): Handle matches properly.
1527
1528 2012-09-30 Juri Linkov <juri@jurta.org>
1529
1530 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1531 to nil around the call to `insert' to prevent
1532 directory time modification by lock_file. (Bug#2295)
1533 * tar-mode.el (tar-summarize-buffer): Idem.
1534
1535 2012-09-30 Juri Linkov <juri@jurta.org>
1536
1537 * facemenu.el (list-colors-sort): Add option "Luminance".
1538 (list-colors-sort-key): Implement it.
1539
1540 * vc/diff-mode.el (diff-refine-removed):
1541 * vc/ediff-init.el (ediff-fine-diff-A):
1542 * vc/smerge-mode.el (smerge-refined-removed):
1543 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1544
1545 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1546
1547 * term/ns-win.el (x-file-dialog): New function.
1548
1549 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * ido.el (ido-max-directory-size): Default to nil; the current
1552 default is small for POSIX systems, and impractical on Windows 7
1553 now that lstat returns directory sizes for NTFS.
1554
1555 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1556
1557 In buffer display functions handle window-height/window-width
1558 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1559 * window.el (window--display-buffer): New argument ALIST.
1560 Obey window-height and window-width alist entries.
1561 (window--try-to-split-window): New argument ALIST.
1562 Bind window-combination-limit to t when the window's size shall be
1563 changed and window-combination-limit equals `window-size'.
1564 (display-buffer-in-atom-window)
1565 (display-buffer-in-major-side-window)
1566 (display-buffer-in-side-window, display-buffer-same-window)
1567 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1568 (display-buffer-pop-up-window, display-buffer-below-selected)
1569 (display-buffer-at-bottom, display-buffer-in-previous-window)
1570 (display-buffer-use-some-window): Adjust all callers of
1571 window--display-buffer and window--try-to-split-window.
1572 (fit-frame-to-buffer): New option.
1573 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1574 is non-nil.
1575 (display-buffer-in-major-side-window): Evaluate window-height /
1576 window-width alist entries.
1577
1578 * help.el (temp-buffer-resize-frames)
1579 (temp-buffer-resize-regexps): Remove options.
1580 (temp-buffer-resize-mode): Adjust doc-string.
1581 (resize-temp-buffer-window): Don't consult
1582 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1583 temp-buffer-resize-frames.
1584
1585 * dired.el (dired-mark-pop-up):
1586 Call display-buffer-below-selected with a fit-window-to-buffer alist
1587 entry.
1588
1589 2012-09-30 Chong Yidong <cyd@gnu.org>
1590
1591 * server.el (server-host): Document the security implications.
1592 (server-auth-key): Doc fix.
1593
1594 * startup.el (initial-buffer-choice): Doc fix.
1595
1596 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1597
1598 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1599 restriction change.
1600
1601 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1602
1603 * help-fns.el (help-fns--obsolete): Fix last change.
1604
1605 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1608 (minor-mode-map-alist): Remove redundant code.
1609
1610 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1611 visited in a buffer.
1612 (cvs-insert-visited-file): New function.
1613 (find-file-hook): Use it.
1614
1615 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1616
1617 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1618 chose face.
1619 (log-edit-empty-buffer-p): Don't require a space after a header.
1620
1621 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1622
1623 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1624
1625 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1626 a proper minor-mode.
1627
1628 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1629
1630 2012-09-29 Glenn Morris <rgm@gnu.org>
1631
1632 * winner.el (winner-mode): Remove variable (let define-minor-mode
1633 handle it).
1634 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1635 Doc fixes.
1636 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1637 (winner-mode): Use define-minor-mode.
1638
1639 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1640 the full definition in loaddefs, rather than duplicating it.
1641
1642 * help-macro.el (three-step-help): No need to autoload defcustom.
1643
1644 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1645 (inferior-lisp-program, inferior-lisp-load-command)
1646 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1647 No need to autoload defcustoms.
1648
1649 * hippie-exp.el (hippie-expand-try-functions-list)
1650 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1651 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1652 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1653 (hippie-expand-only-buffers): No need to autoload defcustoms.
1654 * progmodes/vhdl-mode.el (vhdl-line-expand):
1655 Explicitly load hippie-exp, so it does not get autoloaded
1656 while hippie-expand-try-functions-list is let-bound.
1657
1658 2012-09-28 Glenn Morris <rgm@gnu.org>
1659
1660 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1661
1662 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1663 Only "cl.el" counts as cl these days.
1664
1665 2012-09-28 Juri Linkov <juri@jurta.org>
1666
1667 Display archive errors in the echo area instead of inserting
1668 to the file buffer.
1669
1670 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1671 to STDERR-TEST that can be a regexp matching a successful output.
1672 Create a temporary file and redirect stderr to it. Search for
1673 STDERR-TEST in the stderr output and display it in the echo area
1674 if no match is found.
1675 (archive-extract-by-file): New function like
1676 `archive-extract-by-stdout' but extracting archives to files
1677 and looking for successful matches in stdout. Function body is
1678 mostly copied from `archive-rar-extract'.
1679 (archive-rar-extract): Use `archive-extract-by-file'.
1680 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1681
1682 2012-09-28 Leo Liu <sdl.web@gmail.com>
1683
1684 * pcomplete.el (pcomplete-show-completions):
1685 Use minibuffer-message to make pcomplete usable in minibuffer.
1686
1687 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1688
1689 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * type-break.el: Use lexical-binding.
1692 (type-break-mode): Use define-minor-mode.
1693
1694 * emacs-lisp/pcase.el (pcase--mark-used): New.
1695 (pcase--u1): Use it (bug#12512).
1696
1697 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1698 in load-history with the right file name.
1699
1700 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1701
1702 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1703 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1704 (doc-view-get-bounding-box): Make bounding box slicing work for
1705 ODF and DVI documents.
1706
1707 2012-09-28 Glenn Morris <rgm@gnu.org>
1708
1709 * type-break.el (type-break-mode, type-break-interval)
1710 (type-break-good-rest-interval, type-break-keystroke-threshold):
1711 No need to autoload.
1712 (type-break-good-rest-interval, type-break-keystroke-threshold):
1713 Add :set-after.
1714
1715 2012-09-28 Chong Yidong <cyd@gnu.org>
1716
1717 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1718 Add :version tag.
1719
1720 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1723
1724 2012-09-27 Glenn Morris <rgm@gnu.org>
1725
1726 * faces.el (x-display-name): Declare (for without-x builds).
1727
1728 * linum.el (linum-format): Don't autoload it. Improve :type.
1729
1730 * progmodes/tcl.el: Don't require outline when compiling.
1731 (outline-regexp, outline-level): Declare.
1732 * textmodes/sgml-mode.el: Don't require outline when compiling.
1733 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1734
1735 * term.el (term-ansi-reset):
1736 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1737
1738 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1739 files for RCS and SCCS. (Bug#9781)
1740
1741 2012-09-27 Chong Yidong <cyd@gnu.org>
1742
1743 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1744 change; value should be t.
1745
1746 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1747
1748 * image-mode.el: Use lexical-binding.
1749 (image-mode-winprops): Use t to stand for the window of
1750 a buffer that's not displayed.
1751 * doc-view.el (doc-view-new-window-function): Handle the new
1752 t in winprops.
1753 (doc-view-enlarge): Make it a real nop if the size is not changed.
1754 (doc-view-display): Handle the case where the buffer is not (yet?)
1755 displayed in any window.
1756 (doc-view-saved-settings): New var.
1757 (doc-view-mode): Use it.
1758 (doc-view-fallback-mode): Set it.
1759
1760 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1761 Set lexical-binding.
1762 (minibuffer-eldef-shorten-default): New var.
1763 (minibuffer-default-in-prompt-regexps): Use it for new default.
1764 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1765
1766 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * international/uni-bidi.el:
1769 * international/uni-category.el:
1770 * international/uni-name.el:
1771 * international/uni-numeric.el: Regenerate.
1772
1773 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1774 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * profiler.el: New file.
1777
1778 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1781 (testcover-reinstrument): Simplify with CSE.
1782
1783 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1784
1785 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1786
1787 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1788
1789 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1790 (verilog-auto-input, verilog-auto-insert-lisp)
1791 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1792 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1793 (verilog-auto-unused, verilog-auto-wire)
1794 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1795 newline. Reported by Andrew Jones.
1796 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1797 Reported by Brad Dobbie.
1798 (verilog-batch-delete-trailing-whitespace):
1799 Create verilog-batch-delete-trailing-whitespace.
1800 Reported by Brad Dobbie.
1801 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1802 parameters from another module. Reported by Dan Katz.
1803 (verilog-auto, verilog-auto-assign-modport)
1804 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1805 AUTOINOUTMODPORT for UVM interface module shell generation.
1806 Reported by Brad Dobbie.
1807 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1808 standard behavior.
1809 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1810 Reported by Matt Martin.
1811
1812 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1813
1814 * window.el (window--resize-child-windows): When resizing child
1815 windows proportionally, process them in reverse order to
1816 preserve the "when splitting a window the new one gets the odd
1817 line" behavior.
1818 (window--resize-root-window-vertically): When resizing the
1819 minibuffer window try to affect only windows at the bottom of the
1820 frame. (Bug#12419)
1821
1822 2012-09-25 Chong Yidong <cyd@gnu.org>
1823
1824 * subr.el (declare): Doc fix.
1825
1826 * help-fns.el (help-fns--obsolete): Handle macros properly.
1827
1828 2012-09-25 Chong Yidong <cyd@gnu.org>
1829
1830 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1831 this function obsolete.
1832
1833 * calendar/cal-x.el (calendar-two-frame-setup)
1834 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1835 * calendar/calendar.el (american-calendar, european-calendar)
1836 (calendar-for-loop):
1837 * comint.el (comint-dynamic-simple-complete)
1838 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1839 * desktop.el (desktop-load-default):
1840 * dired-x.el (dired-omit-here-always)
1841 (dired-hack-local-variables, dired-default-directory):
1842 * emacs-lisp/derived.el (derived-mode-class):
1843 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1844 * emacs-lock.el (toggle-emacs-lock):
1845 * epa.el (epa-display-verify-result):
1846 * epg.el (epg-sign-keys, epg-start-sign-keys)
1847 (epg-passphrase-callback-function):
1848 * eshell/esh-util.el (eshell-for):
1849 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1850 (eshell-add-to-window-buffer-names):
1851 * files.el (locate-file-completion):
1852 * imenu.el (imenu-example--create-c-index)
1853 (imenu-example--create-lisp-index)
1854 (imenu-example--lisp-extract-index-name)
1855 (imenu-example--name-and-position):
1856 * international/mule-cmds.el (princ-list):
1857 * international/mule-diag.el (decode-codepage-char):
1858 * international/mule-util.el (detect-coding-with-priority):
1859 * iswitchb.el (iswitchb-read-buffer):
1860 * mail/mailalias.el (mail-complete):
1861 * mail/sendmail.el (mail-sent-via):
1862 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1863 (mouse-major-mode-menu):
1864 * password-cache.el (password-read-and-add):
1865 * pcomplete.el (pcomplete-parse-comint-arguments):
1866 * progmodes/sh-script.el (sh-maybe-here-document):
1867 * replace.el (query-replace-regexp-eval):
1868 * savehist.el (savehist-load):
1869 * simple.el (choose-completion-delete-max-match):
1870 * term.el (term-dynamic-simple-complete):
1871 * vc/ediff-init.el (ediff-check-version):
1872 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1873 * vc/vc.el (vc-diff-switches-list):
1874 * view.el (view-return-to-alist-update): Likewise.
1875
1876 * subr.el (eval-next-after-load, makehash, insert-string)
1877 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1878 mark obsolete.
1879 (mode-line-inverse-video): Variable deleted.
1880
1881 * international/mule-util.el (string-to-sequence): Remove.
1882
1883 * calendar/calendar.el (calendar-version):
1884 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1885 (icalendar-convert-diary-to-ical):
1886 * cus-edit.el (custom-mode):
1887 * ansi-color.el (ansi-color-unfontify-region):
1888 * international/latin1-disp.el (latin1-char-displayable-p):
1889 * progmodes/cwarn.el (turn-on-cwarn-mode):
1890 * progmodes/which-func.el (which-func-update-1):
1891 Use define-obsolete-function-alias.
1892
1893 * net/newst-backend.el (newsticker-cache-filename):
1894 * net/newst-treeview.el (newsticker-groups-filename):
1895 Fix incorrect obsolescence declaration.
1896
1897 * allout.el (allout-passphrase-hint-string): Likewise.
1898 (allout-init): Use a declare form to mark obsolete.
1899
1900 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1901 this applies to functions.
1902
1903 * iswitchb.el (iswitchb-read-buffer): Move code of
1904 iswitchb-define-mode-map here, and delete that obsolete function.
1905
1906 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1907 font-lock-reference-face.
1908
1909 2012-09-25 Glenn Morris <rgm@gnu.org>
1910
1911 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1912 Doc fixes.
1913
1914 * eshell/em-term.el (eshell-term-name):
1915 Default to term-term-name. (Bug#12485)
1916
1917 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1918
1919 * progmodes/python.el (python-shell-send-buffer): Better handling
1920 of "if __name__ == '__main__':" conditionals when sending the buffer.
1921
1922 2012-09-24 Glenn Morris <rgm@gnu.org>
1923
1924 * eshell/esh-cmd.el (eshell-find-alias-function):
1925 Tighten up file-name regexp. (Bug#12499)
1926
1927 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1928
1929 Enhancements for triple-quote string syntax.
1930 * progmodes/python.el (python-quote-syntax): Remove.
1931 (python-syntax-propertize-function): New value.
1932 (python-syntax-count-quotes, python-syntax-stringify):
1933 New functions.
1934
1935 2012-09-24 Chong Yidong <cyd@gnu.org>
1936
1937 * mail/supercite.el (sc-version): Remove obsolete function.
1938 (sc-describe): Don't mark as obsolete, since it is bound.
1939 (sc-submit-bug-report): Remove.
1940
1941 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1942 (cvs-commit-buffer-require-final-newline): Remove.
1943 (log-edit-require-final-newline)
1944 (log-edit-changelog-full-paragraphs): Default to t.
1945
1946 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1947 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1948 * vc/vc.el (vc-checkout-carefully): Likewise.
1949
1950 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1951 (emerge-version): Remove.
1952
1953 * progmodes/compile.el (compile-internal): Remove.
1954 (compilation-parse-errors-function): Fix typo.
1955
1956 * international/mule.el (set-char-table-default): Remove.
1957 (set-coding-priority, make-coding-system, generic-char-p)
1958 (charset-list, charset-bytes, charset-id): Use declare to mark
1959 functions as obsolete.
1960
1961 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1962 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1963 * vc/vc-hooks.el (vc-default-registered): Don't use
1964 vc-master-templates.
1965
1966 * font-lock.el (font-lock-reference-face):
1967 Use define-obsolete-variable-alias.
1968
1969 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1970 * calendar/calendar.el (calendar-font-lock-keywords):
1971 * calendar/diary-lib.el (diary-font-lock-keywords)
1972 (diary-fancy-font-lock-keywords):
1973 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1974 * textmodes/reftex-index.el (reftex-insert-index):
1975 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1976 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1977 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1978 * progmodes/prolog.el (prolog-font-lock-keywords):
1979 * progmodes/idlwave.el (idlwave-idl-keywords):
1980 * progmodes/ada-mode.el (ada-font-lock-keywords):
1981 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1982
1983 2012-09-24 Glenn Morris <rgm@gnu.org>
1984
1985 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1986
1987 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1988
1989 * progmodes/python.el (python-indent-line): More consistent cursor
1990 movement behavior.
1991
1992 2012-09-23 Stefan Merten <smerten@oekonux.de>
1993
1994 * textmodes/rst.el: Fix compiler warning.
1995
1996 2012-09-23 Roland Winkler <winkler@gnu.org>
1997
1998 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1999 Transcribe also LaTeX hyphenation.
2000 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2001 bibtex-reformat-previous-options.
2002
2003 2012-09-23 Roland Winkler <winkler@gnu.org>
2004
2005 * proced.el (proced-renice-command): New variable.
2006 (proced-marked-processes): New function.
2007 (proced-with-processes-buffer): New macro.
2008 (proced-send-signal): Use them.
2009 (proced-renice): New command bound to r.
2010
2011 2012-09-23 Roland Winkler <winkler@gnu.org>
2012
2013 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2014 ibuffer-saved-filter-groups has one element, shortcut the call of
2015 completing-read. (Bug#12331)
2016
2017 2012-09-23 Chong Yidong <cyd@gnu.org>
2018
2019 * bindings.el (mode-line-toggle-read-only):
2020 * bs.el (bs-toggle-readonly):
2021 * buff-menu.el (Buffer-menu-toggle-read-only):
2022 * dired.el (dired-toggle-read-only):
2023 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2024
2025 2012-09-23 Chong Yidong <cyd@gnu.org>
2026
2027 * image.el (image-type-available-p): Adapt to init-image-library
2028 argument changes.
2029
2030 2012-09-22 Juri Linkov <juri@jurta.org>
2031
2032 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2033 `dired-toggle-read-only'. (Bug#12462)
2034
2035 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2036
2037 * subr.el (temp-output-buffer-show): New function.
2038 (with-output-to-temp-buffer): Call temp-output-buffer-show
2039 instead of internal-temp-output-buffer-show.
2040
2041 2012-09-22 Chong Yidong <cyd@gnu.org>
2042
2043 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2044 (Bug#12462).
2045
2046 * repeat.el (repeat): Doc fix (Bug#12348).
2047
2048 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2049 (Bug#10909).
2050
2051 * simple.el (shell-command-on-region): Doc fix.
2052 (read-only-mode): Doc fix.
2053
2054 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2055
2056 * emacs-lisp/timer.el (run-with-idle-timer)
2057 (timer-activate-when-idle): Warn against reinvoking an idle timer
2058 from within its own timer action. (Bug#12447)
2059
2060 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2061
2062 * cus-start.el (window-combination-limit): Add new optional
2063 values.
2064 * window.el (temp-buffer-window-show)
2065 (window--try-to-split-window): Handle new values of
2066 window-combination-limit (Bug#1806).
2067 (split-window): Test window-combination-limit for t instead of
2068 non-nil.
2069 (display-buffer-at-bottom): New buffer display action function.
2070 * help.el (temp-buffer-resize-regexps): New option.
2071 (temp-buffer-resize-mode): Rewrite doc-string.
2072 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2073 Don't resize reused window. Suggested by Glenn Morris.
2074
2075 2012-09-22 Stefan Merten <smerten@oekonux.de>
2076
2077 * textmodes/rst.el: Revamp section title faces.
2078 (rst-official-version)
2079 (rst-package-emacs-version-alist): Sync with official version
2080 V1.4.0.
2081 (rst-faces-defaults, rst-set-level-default)
2082 (rst-level-face-max, rst-level-face-base-color)
2083 (rst-level-face-base-light, rst-level-face-format-light)
2084 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2085 (rst-adornment-faces-alist): Match new setup.
2086 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2087 (rst-level-5, rst-level-6): New faces.
2088
2089 2012-09-22 Chong Yidong <cyd@gnu.org>
2090
2091 * simple.el (undo): Handle indirect buffers (Bug#8207).
2092
2093 2012-09-21 Leo Liu <sdl.web@gmail.com>
2094
2095 IDO: Disable match re-ordering for buffer switching.
2096 * ido.el (ido-buffer-disable-smart-matches): New variable.
2097 (ido-set-matches-1): Use it. (Bug#2042)
2098
2099 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2100
2101 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2102 Fix 2011-05-17 change. (Bug#12418)
2103
2104 2012-09-21 Leo Liu <sdl.web@gmail.com>
2105
2106 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2107
2108 2012-09-21 Glenn Morris <rgm@gnu.org>
2109
2110 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2111 Be more robust about locating simple.el.
2112
2113 2012-09-21 Glenn Morris <rgm@gnu.org>
2114
2115 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2116
2117 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2118
2119 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2120
2121 2012-09-20 Juri Linkov <juri@jurta.org>
2122
2123 * replace.el (query-replace-read-from): Use `read-regexp' instead
2124 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2125 (occur-read-primary-args): Use `read-regexp' instead of
2126 `read-string'.
2127 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2128 `read-from-minibuffer'.
2129 * isearch.el (isearch-occur): Use `read-regexp' instead of
2130 `read-string'.
2131 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2132 `read-from-minibuffer'.
2133 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2134 of `read-string'. (Bug#7567)
2135
2136 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2137 and allow accepting a list of strings prepended to a list of
2138 standard default values. Doc fix. (Bug#12321)
2139
2140 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2141
2142 * replace.el (read-regexp): Don't add ": " when PROMPT already
2143 ends with a colon and space. (Bug#12321)
2144
2145 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2146
2147 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2148 error.
2149
2150 2012-09-20 Stefan Merten <smerten@oekonux.de>
2151
2152 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2153 Fixes feature request bug#11711.
2154 (rst-mode): Create `imenu-create-index-function'.
2155 (rst-get-stripped-line): Delete after refactoring.
2156 (rst-section-tree, rst-section-tree-rec)
2157 (rst-section-tree-point): Refactor and document properly.
2158 (rst-imenu-find-adornments-for-position)
2159 (rst-imenu-convert-cell, rst-imenu-create-index):
2160 New function.
2161
2162 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2165 (macroexp--expand-all): Use it.
2166 (macroexp--funcall-and-return): Remove by folding it into its sole
2167 caller (macroexp--warn-and-return).
2168 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2169 Use macroexp--obsolete-warning.
2170
2171 * calc/calc.el: Fix last change by removing the whole chunk, since it
2172 was only needed back when Calc was not bundled.
2173
2174 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2175
2176 * emacs-lisp/debug.el (debug): Restore assignment to
2177 debugger-old-buffer removed on 2012-09-08.
2178
2179 2012-09-20 Juri Linkov <juri@jurta.org>
2180
2181 * dired-aux.el (dired-diff): Remove (require 'diff) since
2182 `diff-latest-backup-file' is now autoloaded.
2183
2184 2012-09-20 Chong Yidong <cyd@gnu.org>
2185
2186 * vc/diff.el (diff-latest-backup-file): Autoload.
2187
2188 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * calc/calc.el: Remove redundant autoload shape check.
2191 (sel-mode): Don't defvar.
2192 (calc-get-stack-element): Add `sel-mode' arg instead.
2193 (calc-top, calc-top-list): Pass it this additional argument.
2194 * calc/calc-store.el (calc-store-map):
2195 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2196 (calc-map-equation, calc-outer-product, calc-inner-product):
2197 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2198
2199 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2200
2201 2012-09-19 Juri Linkov <juri@jurta.org>
2202
2203 * dired-aux.el (dired-diff): Add (require 'diff) because
2204 `diff-latest-backup-file' is not autoloaded.
2205 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2206 of `dired-get-filename' to t to not report error when there is
2207 no default file on the current line.
2208
2209 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2212 macroexp--eval-if-compile.
2213 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2214 (macroexp--expand-all): Use them (bug#12371).
2215
2216 * doc-view.el (doc-view-guess-paper-size)
2217 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2218
2219 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2220
2221 New feature: set optimal slice from BoundingBox information.
2222 * doc-view.el (doc-view-mode-map): Add keybinding.
2223 (doc-view-menu): Add menu entry.
2224 (doc-view-set-slice): Adapt docstring.
2225 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2226 (doc-view-scale-bounding-box)
2227 (doc-view-set-slice-from-bounding-box): New functions.
2228 (doc-view-paper-sizes): New defvar.
2229
2230 2012-09-19 Glenn Morris <rgm@gnu.org>
2231
2232 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2233 (byte-compile-log-warning): Autoload. (Bug#12371)
2234
2235 * calendar/calendar.el (calendar-american-month-header)
2236 (calendar-european-month-header, calendar-iso-month-header)
2237 (calendar-month-header): New options.
2238 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2239 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2240
2241 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2242
2243 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2244
2245 2012-09-18 Juri Linkov <juri@jurta.org>
2246
2247 * dired-aux.el (dired-diff): Restore original functionality of
2248 getting the default value, but keep new feature of using the
2249 latest existing backup file (`diff-latest-backup-file').
2250
2251 2012-09-18 Juri Linkov <juri@jurta.org>
2252
2253 * dired.el (dired-mark): If the region is active in Transient Mark
2254 mode, mark all files in the active region. Doc fix.
2255 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2256 Doc fix. (Bug#10624)
2257
2258 2012-09-18 Juri Linkov <juri@jurta.org>
2259
2260 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2261 attributes for M-n are pulled from the file at point.
2262 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2263 Suggested by Drew Adams. (Bug#10624)
2264
2265 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2268 whitespace after "end".
2269 (ruby-do-end-to-brace): Collapse block to one line if it fits
2270 within fill-column.
2271
2272 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2273
2274 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2275 value.
2276 (debug): Don't remove debugger window when debugger is expected
2277 to be back.
2278
2279 2012-09-18 Chong Yidong <cyd@gnu.org>
2280
2281 * custom.el (defface): Doc fix.
2282
2283 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2284
2285 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2286
2287 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2288 to initialize query-on-exit; then test that instead (bug#12288).
2289
2290 2012-09-17 Stefan Merten <smerten@oekonux.de>
2291
2292 * textmodes/rst.el: Add support for `testcover'.
2293 (rst-defcustom-testcover, rst-testcover-add-compose)
2294 (rst-testcover-add-1value): New functions.
2295 (rst-portable-mark-active-p): Replace by `use-region-p'.
2296 (rst-update-section, rst-classify-adornment)
2297 (rst-find-title-line): Mark `1value' forms.
2298 (rst-classify-adornment): Remove superfluous form.
2299 (rst-update-section, rst-get-adornments-around)
2300 (rst-adornment-complete-p, rst-get-next-adornment)
2301 (rst-adjust, rst-promote-region)
2302 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2303 (rst-find-pfx-in-region, rst-section-tree-rec)
2304 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2305 (rst-toc-node, rst-toc, rst-forward-section)
2306 (rst-iterate-leftmost-paragraphs)
2307 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2308 (rst-bullet-list-region)
2309 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2310 (rst-compile-find-conf, rst-compile)
2311 (rst-repeat-last-character): Fix style.
2312
2313 2012-09-17 Chong Yidong <cyd@gnu.org>
2314
2315 * comint.el (comint--complete-file-name-data): Don't add a space
2316 if the status is `sole'; that adds a gratuitous space in the
2317 completion-cycling case (Bug#12092).
2318
2319 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2320
2321 2012-09-17 Richard Stallman <rms@gnu.org>
2322
2323 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2324 only in the mime-shown mode, not in raw mode.
2325 (rmail-mime): Toggle off mime by displaying the message without
2326 mime processing. (Bug#12305)
2327
2328 * mail/rmail.el (rmail-retry-failure):
2329 Turn off mime processing first. (Bug#12037)
2330
2331 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2332
2333 2012-09-17 Chong Yidong <cyd@gnu.org>
2334
2335 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2336 (shell-dynamic-complete-functions): Convert to defcustom.
2337 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2338
2339 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2340 * comint.el (comint-prompt-read-only):
2341 * custom.el (defcustom):
2342 * hi-lock.el (hi-lock-mode):
2343 * ibuffer.el (ibuffer-formats):
2344 * ielm.el (ielm-prompt-read-only):
2345 * novice.el (disable-command):
2346 * saveplace.el (toggle-save-place):
2347 * speedbar.el (speedbar-supported-extension-expressions):
2348 * startup.el (auto-save-list-file-prefix, init-file-user)
2349 (after-init-hook, inhibit-startup-echo-area-message):
2350 * strokes.el (strokes-help):
2351 * time-stamp.el (time-stamp):
2352 * calendar/calendar.el (calendar, diary-file):
2353 * calendar/diary-lib.el (diary-mail-entries, diary)
2354 (diary-list-entries-hook):
2355 * calendar/holidays.el (holidays, calendar-holidays):
2356 * calendar/lunar.el (lunar-phases):
2357 * calendar/solar.el (sunrise-sunset):
2358 * emulation/edt.el (edt-load-keys):
2359 * emulation/viper.el (viper-mode):
2360 * eshell/em-alias.el (eshell-command-aliases-list):
2361 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2362 * international/ogonek.el (ogonek-information):
2363 * net/tramp-cmds.el (tramp-bug):
2364 * net/quickurl.el (quickurl-reread-hook-postfix):
2365 * play/decipher.el (decipher-font-lock-keywords):
2366 * progmodes/cc-styles.el (c-set-style):
2367 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2368 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2369 * progmodes/octave-mod.el (octave-mode):
2370 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2371 * progmodes/verilog-mode.el (verilog-read-defines):
2372 * textmodes/two-column.el (2C-mode): Likewise.
2373
2374 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2375
2376 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2377 that holds many addresses.
2378
2379 2012-09-16 Chong Yidong <cyd@gnu.org>
2380
2381 * align.el (align-areas): Call the indication function with
2382 positions instead of markers for arguments (Bug#12343).
2383
2384 * files.el (parse-colon-path): Use split-string (Bug#12351).
2385
2386 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2387 (display-buffer-function): Mark as obsolete.
2388
2389 * progmodes/compile.el (compilation-parse-errors): Accept list
2390 values similar to font-lock-keywords (Bug#12136).
2391 Suggested by Oleksandr Manzyuk.
2392 (compilation-error-regexp-alist): Doc fix.
2393
2394 2012-09-15 Glenn Morris <rgm@gnu.org>
2395
2396 * version.el (emacs-bzr-version-bzr): New function.
2397 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2398
2399 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2400 checkouts, check the parent dirstate matches the branch.
2401 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2402 empty string.
2403
2404 * version.el (emacs-bzr-version): Doc fix.
2405 (emacs-bzr-version-dirstate): New function.
2406 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2407 is local try and check that it matches the branch. If not, just
2408 use dirstate information. (Bug#12441)
2409
2410 2012-09-14 Juri Linkov <juri@jurta.org>
2411
2412 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2413 (Bug#12399)
2414
2415 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2418
2419 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2420 Remove obsolete byte-compiler hack that tried to silence some warnings.
2421 (edebug-submit-bug-report): Remove.
2422 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2423 Remove aliases, use the un-prefixed name instead.
2424 (edebug-pop-to-buffer): Consider other frames.
2425 (edebug-original-read):: Make it more obvious that it's always defined.
2426 (edebug--make-form-data-entry, edebug--form-data-name)
2427 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2428 single-dashed name, and implement with cl-defstruct.
2429 (edebug-set-form-data-entry): Use the standard accessors.
2430 (edebug-make-top-form-data-entry): Use push.
2431 (edebug-no-match): Drop useless `funcall'.
2432 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2433 to functions.
2434 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2435 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2436 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2437 (easy-menu-define, with-custom-print): Remove redundant specs.
2438 (edebug-outside-overriding-local-map)
2439 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2440 (edebug--display): Bind unread-command-events directly to nil rather
2441 than binding it to unread-command-events and later setting it to nil.
2442 (edebug--display): Kill edebug-eval-buffer here...
2443 (edebug--recursive-edit): ...rather than here.
2444 Bind standard-output and standard-input.
2445 (edebug-eval): Check cl-macroexpand-all is fboundp.
2446 (edebug-temp-display-freq-count): Fix last change.
2447
2448 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2449 * subr.el (noreturn, 1value): Add `debug' spec.
2450 * emacs-lisp/advice.el: Require cl-lib.
2451 (ad-copy-tree): Remove, use copy-tree instead.
2452 (ad-dolist): Remove use dolist or cl-dolist instead.
2453 (ad-do-return): Remove, use cl-return instead.
2454 (defadvice): Add `debug' spec.
2455
2456 2012-09-13 Juri Linkov <juri@jurta.org>
2457
2458 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2459 (Bug#12399)
2460
2461 2012-09-13 Glenn Morris <rgm@gnu.org>
2462
2463 * calc/calc.el (math-compose-expr):
2464 * calc/calc-ext.el (math-compose-expr):
2465 * progmodes/cc-defs.el (cl-macroexpand-all):
2466 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2467 (cl-macroexpand-all): Update declarations.
2468
2469 * vc/vc.el: No need to require ediff.
2470 (ediff-load-version-control): Declare.
2471 (ediff-vc-internal): Fix declaration.
2472 (vc-version-ediff): Require ediff.
2473
2474 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2475
2476 Use a more backwards-compatible timer format (Bug#12430).
2477 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2478 being right after USECS, as that better supports old code that
2479 inadvisedly looked directly at the timer vector.
2480
2481 2012-09-13 Kenichi Handa <handa@gnu.org>
2482
2483 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2484 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2485 `coding-priority' property of these language environment.
2486
2487 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2488
2489 Fix glitches caused by addition of psec to timers (Bug#12430).
2490 * image.el (image-animate-timer):
2491 * time.el (display-time-world-timer):
2492 Use timer--function and timer--args rather than raw access to
2493 timer vector.
2494
2495 2012-09-13 Glenn Morris <rgm@gnu.org>
2496
2497 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2498 If not compiling a file, try using load-file-name.
2499
2500 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2503 Fix last change.
2504 (edebug-update-eval-list): Use `push'.
2505
2506 * emacs-lisp/edebug.el: Use lexical-binding.
2507 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2508 Mark unused args with underscore.
2509 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2510 (edebug-form-data): Use defvar-local.
2511 (edebug-make-before-and-after-form, edebug-make-after-form):
2512 Use backquote.
2513 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2514 Not dynamically scoped any more.
2515 (edebug--enter-trace): Add arguments `function' and `args'.
2516 Rename from edebug-enter-trace.
2517 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2518 (edebug--update-coverage): Add `after-index' and `value' args.
2519 Rename from edebug-update-coverage.
2520 (edebug-slow-after): Call it accordingly.
2521 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2522 edebug-recursive-edit.
2523 (edebug--display): Call it accordingly. Add args `value',
2524 `offset-index', and `arg-mode'. Rename from edebug-display.
2525 (edebug-debugger, edebug): Call it accordingly.
2526 (edebug-eval-display-list): Use dolist.
2527
2528 2012-09-12 Juri Linkov <juri@jurta.org>
2529
2530 * info.el (Info-search): Don't check for isearch-mode and
2531 isearch-regexp before let-binding search-spaces-regexp to
2532 Info-search-whitespace-regexp.
2533 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2534 search-whitespace-regexp if isearch-lax-whitespace or
2535 isearch-regexp-lax-whitespace is non-nil.
2536 (Info-mode): Don't set local variable search-whitespace-regexp.
2537 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2538
2539 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2542 (debugger-env-macro): Remove support for unread-command-char.
2543
2544 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2545 the temporary map re-appearing on emulation-mode-map-alists.
2546
2547 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2548 since 22.1.
2549
2550 * ehelp.el (with-electric-help): Accept functions in
2551 electric-help-form-to-execute.
2552 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2553 And replace unread-command-char -> unread-command-events.
2554
2555 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2556
2557 Sync with Tramp 2.2.6.
2558
2559 * net/tramp.el (tramp-accept-process-output): Don't use
2560 JUST-THIS-ONE in the XEmacs case.
2561
2562 * net/trampver.el: Update release number.
2563
2564 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2565
2566 * emacs-lisp/debug.el (debugger-previous-window-height):
2567 New variable.
2568 (debug): When debugger-jumping-flag is non-nil try to restore
2569 height of debugger window. (Bug#8789)
2570
2571 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2574 overriding-local-map and pre/post-command-hook here.
2575 (edebug-recursive-edit): Do it here instead (bug#12345).
2576 (edebug-outside-unread-command-char): Remove all uses of
2577 unread-command-char.
2578
2579 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2580 inhibit-debugger is bound instead.
2581
2582 2012-09-11 Bastien Guerry <bzg@gnu.org>
2583
2584 * subr.el (set-temporary-overlay-map): Add a docstring.
2585 (Bug#12346)
2586
2587 2012-09-11 Bastien Guerry <bzg@gnu.org>
2588
2589 * minibuffer.el (completion-table-subvert): Fix docstring.
2590 (Bug#12347)
2591
2592 2012-09-11 Bastien Guerry <bzg@gnu.org>
2593
2594 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2595
2596 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2597
2598 * progmodes/sql.el: Version 3.1
2599 (sql-db2-escape-newlines): New variable.
2600 (sql-escape-newlines-filter): Use it.
2601
2602 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2603
2604 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2605
2606 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2607
2608 * vc/diff-mode.el (diff-mode-menu):
2609 Bind diff-remove-trailing-whitespace.
2610
2611 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2614 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2615 (emacs-lisp-byte-code-mode): New functions.
2616 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2617 (eval-defun-2): Remove bogus interactive spec.
2618 (lisp-indent-line): Remove redundant whole-exp code, now done in
2619 indent-according-to-mode.
2620 (save-match-data): Remove redundant indent data.
2621
2622 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2623 Use `declare'.
2624
2625 2012-09-09 Juri Linkov <juri@jurta.org>
2626
2627 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2628 (replace-lax-whitespace, query-replace-regexp)
2629 (query-replace-regexp-eval, replace-regexp): Doc fix.
2630 (perform-replace, replace-highlight): Let-bind
2631 isearch-lax-whitespace to replace-lax-whitespace and
2632 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2633
2634 * isearch.el (isearch-query-replace): Let-bind
2635 replace-lax-whitespace to isearch-lax-whitespace and
2636 replace-regexp-lax-whitespace to
2637 isearch-regexp-lax-whitespace. (Bug#10885)
2638
2639 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2642
2643 2012-09-09 Alan Mackenzie <acm@muc.de>
2644
2645 * progmodes/cc-engine.el (c-state-cache-init):
2646 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2647 (c-record-parse-state-state):
2648 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2649
2650 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2651
2652 * register.el (register-separator): Rename from
2653 separator-register. All uses changed. Doc fix.
2654 (register): Fix version.
2655
2656 2012-09-09 Chong Yidong <cyd@gnu.org>
2657
2658 * replace.el (query-replace-map): Bind four new symbols for
2659 requesting window scrolling.
2660
2661 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2662 query-replace-map (Bug#8948).
2663
2664 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2665
2666 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2667 since they are now in query-replace-map.
2668
2669 * window.el (scroll-other-window-down): Make the arg optional.
2670
2671 2012-09-09 Chong Yidong <cyd@gnu.org>
2672
2673 * files.el (hack-local-variables-confirm): Use quit-window to kill
2674 the *Local Variables* buffer.
2675
2676 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2677
2678 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2679 not just expect to be at its beginning. Adjust callees.
2680 Succeed when do-end block has no space before the pipe character.
2681 (ruby-brace-to-do-end): When the original block is one-liner,
2682 convert to multiline. Reindent the result.
2683
2684 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2685
2686 * register.el (register): New group.
2687 (separator-register): New user option.
2688 (increment-register): Route it to `append-to-register', if
2689 register contains text. Implication is that `C-x r +' can now be
2690 used for appending to a text register (bug#12217).
2691 (append-to-register, prepend-to-register): Add separator based on
2692 `separator-register'.
2693
2694 2012-09-08 Alan Mackenzie <acm@muc.de>
2695
2696 AWK Mode: make auto-newline work when there's "==" in the pattern.
2697 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2698 correctly.
2699 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2700 Test more rigorously for "=" token.
2701
2702 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2703
2704 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2705 Only fail when reached LIMIT.
2706
2707 2012-09-08 Chong Yidong <cyd@gnu.org>
2708
2709 * dired.el (dired-mode-map): Don't bind M-=.
2710
2711 * dired-aux.el (dired-diff): Use backup file as default.
2712
2713 2012-09-08 Drew Adams <drew.adams@oracle.com>
2714
2715 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2716
2717 2012-09-08 Chong Yidong <cyd@gnu.org>
2718
2719 * subr.el (syntax-after, syntax-class): Doc fix.
2720
2721 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2722
2723 * window.el (display-buffer-in-previous-window): New buffer
2724 display action function.
2725
2726 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2727 (debugger-previous-window): New variable.
2728 (debug): Rewrite using display-buffer-in-previous-window,
2729 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2730
2731 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2733 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2734
2735 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2736
2737 * progmodes/python.el (python-shell-send-string):
2738 When default-directory is remote, create temp file on remote
2739 filesystem.
2740 (python-shell-send-file): When file is remote, pass local view of
2741 file paths to remote Python interpreter. (Bug#12340)
2742
2743 2012-09-07 Chong Yidong <cyd@gnu.org>
2744
2745 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2746
2747 * files.el (after-find-file): Don't fail on a read-only buffer if
2748 require-final-newline is `visit' or `visit-save' (Bug#11156).
2749
2750 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2751
2752 * userlock.el (ask-user-about-supersession-threat):
2753 Use read-char-choice (Bug#12093).
2754
2755 2012-09-07 Chong Yidong <cyd@gnu.org>
2756
2757 * subr.el (buffer-narrowed-p): New function.
2758
2759 * ses.el (ses-widen):
2760 * simple.el (count-words--buffer-message):
2761 * net/browse-url.el (browse-url-of-buffer): Use it.
2762
2763 * simple.el (count-words-region): Don't signal an error if there
2764 is a non-nil prefix arg and the mark is not set.
2765
2766 * help.el (describe-key-briefly): Allow the message to be seen
2767 when invoked from the minibuffer (Bug#7014).
2768
2769 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2770
2771 * progmodes/ruby-mode.el (ruby-end-of-defun)
2772 (ruby-beginning-of-defun): Simplify, allow indentation before
2773 block beginning and end keywords.
2774 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2775 (ruby-end-of-defun): Expect that the point is at the beginning of
2776 the defun.
2777
2778 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2781 (bug#12367).
2782 (cl--make-usage-args): Strip _ from argument names.
2783
2784 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2785
2786 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2787 obsolete alias speedbar-key-map.
2788 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2789 (vhdl-index-menu-init): Don't use obsolete variable
2790 font-lock-maximum-size.
2791
2792 2012-09-06 Chong Yidong <cyd@gnu.org>
2793
2794 * frame.el (window-system-version): Mark as obsolete.
2795
2796 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2797 of obsolete variable speedbar-key-map.
2798
2799 2012-09-06 Juri Linkov <juri@jurta.org>
2800
2801 * replace.el (replace-lax-whitespace): New defcustom.
2802 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2803 (replace-string, replace-regexp): Mention it in docstrings.
2804 (perform-replace, replace-highlight): Let-bind
2805 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2806 to the values of replace-lax-whitespace and regexp-flag.
2807 Don't let-bind search-whitespace-regexp. (Bug#10885)
2808
2809 * isearch.el (isearch-query-replace): Let-bind
2810 replace-lax-whitespace instead of let-binding
2811 replace-search-function and replace-re-search-function.
2812 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2813 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2814 (isearch-toggle-symbol): Set isearch-regexp to nil
2815 in isearch-word mode (like in isearch-toggle-word).
2816
2817 2012-09-06 Juri Linkov <juri@jurta.org>
2818
2819 * replace.el (replace-search-function)
2820 (replace-re-search-function): Set default values to nil.
2821 (perform-replace): Let-bind isearch-related variables based on
2822 replace-related values, call `isearch-search-fun' and let-bind
2823 the result to `search-function'. Remove code that sets
2824 `search-function' and `search-string' separately for
2825 `delimited-flag'.
2826 (replace-highlight): Add new argument `delimited-flag' and
2827 rename other arguments to the names used in `perform-replace'.
2828 Let-bind `isearch-word' to the argument `delimited-flag'.
2829 (Bug#10885, bug#10887)
2830
2831 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2832
2833 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2834 ruby-beginning-of-indent, simplify, allow all keywords to have
2835 indentation before them.
2836 (ruby-beginning-of-indent): Adjust for above. Search until the
2837 found point is not inside a string or comment.
2838 (ruby-font-lock-keywords): Allow symbols to start with "@"
2839 character, give them higher priority than variables.
2840 (ruby-syntax-propertize-function)
2841 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2842 matchers. Expression expansions are not comments when inside a
2843 string, and there comment syntax status is irrelevant.
2844 (ruby-match-expression-expansion): New function. Check that
2845 expression expansion is inside a string, and it's not escaped.
2846 (ruby-font-lock-keywords): Use it.
2847
2848 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2849
2850 * help.el (temp-buffer-max-height): New default value.
2851 (temp-buffer-resize-frames): New option.
2852 (resize-temp-buffer-window): Optionally resize frame.
2853
2854 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2855 (fit-frame-to-buffer): New function.
2856
2857 2012-09-05 Glenn Morris <rgm@gnu.org>
2858
2859 * emulation/cua-rect.el (cua--init-rectangles):
2860 * textmodes/picture.el (picture-mode-map):
2861 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2862 like forward-char and backward-char. (Bug#12317)
2863
2864 2012-09-05 Leo Liu <sdl.web@gmail.com>
2865
2866 * progmodes/flymake.el (flymake-warning-re): New variable.
2867 (flymake-parse-line): Use it.
2868
2869 2012-09-05 Glenn Morris <rgm@gnu.org>
2870
2871 * calendar/holidays.el (holiday-christian-holidays):
2872 Rename an entry. (Bug#12289)
2873
2874 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2877 (bug#12222).
2878
2879 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * loadup.el: Load macroexp. Remove hack.
2882 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2883 (macroexp--expand-all): Use it to get better warnings.
2884 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2885 (internal-macroexpand-for-load): New functions.
2886 (macroexp--pending-eager-loads): New var.
2887 (emacs-startup-hook): New hack to replace one in loadup.el.
2888 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2889 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2890 (cl-psetf): Simplify.
2891 (cl-defstruct): Add indent rule.
2892
2893 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2894
2895 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2896 over `user-mail-address' for the SMTP MAIL FROM envelope.
2897 (smtpmail-via-smtp): Ditto.
2898
2899 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2900
2901 * progmodes/ruby-mode.el: Clean up keybindings.
2902 (ruby-mode-map): Don't bind ruby-electric-brace,
2903 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2904 backward-kill-word, reindent-then-newline-and-indent.
2905 (ruby-mark-defun): Remove.
2906 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2907 (ruby-mode): Set local beginning-of-defun-function and
2908 end-of-defun-function values.
2909
2910 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2911
2912 * window.el (temp-buffer-window-setup-hook)
2913 (temp-buffer-window-show-hook): New hooks.
2914 (temp-buffer-window-setup, temp-buffer-window-show)
2915 (with-temp-buffer-window): New functions.
2916 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2917 (special-display-popup-frame): Make sure the window used shows BUFFER.
2918
2919 * help.el (temp-buffer-resize-mode): Fix doc-string.
2920 (resize-temp-buffer-window): New optional argument WINDOW.
2921
2922 * files.el (recover-file, save-buffers-kill-emacs):
2923 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2924
2925 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2928 remote definition of `default-directory', ensure we can connect.
2929
2930 2012-09-02 Juri Linkov <juri@jurta.org>
2931
2932 Toggle whitespace matching mode with M-s SPC.
2933 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2934
2935 * isearch.el (search-whitespace-regexp): Doc fix.
2936 Remove cons cell customization.
2937 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2938 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2939 New variables.
2940 (isearch-forward, isearch-forward-regexp): Doc fix.
2941 (isearch-toggle-lax-whitespace): New command.
2942 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2943 (re-search-forward-lax-whitespace)
2944 (re-search-backward-lax-whitespace): New functions.
2945 (isearch-whitespace-regexp): Remove function.
2946 (isearch-query-replace): Let-bind replace-search-function and
2947 replace-re-search-function.
2948 (isearch-occur): Let-bind search-spaces-regexp according to the
2949 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2950 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2951 condition for C-q SPC.
2952 (isearch-search-fun-default): Use new functions mentioned above.
2953 (isearch-search-forward, isearch-search-backward): Remove functions.
2954 (isearch-search): Don't let-bind search-spaces-regexp.
2955 (isearch-lazy-highlight-space-regexp): Remove variable.
2956 (isearch-lazy-highlight-lax-whitespace)
2957 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2958 (isearch-lazy-highlight-new-loop): Use them.
2959 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2960
2961 2012-09-02 Chong Yidong <cyd@gnu.org>
2962
2963 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2964
2965 2012-09-02 Glenn Morris <rgm@gnu.org>
2966
2967 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2968
2969 2012-09-01 Glenn Morris <rgm@gnu.org>
2970
2971 * term.el: Tidy up menu definitions.
2972 (term-mode-map): Use easymenu for In/Out, Complete menus.
2973 (term-pager-break-map): Initialize in the defvar.
2974 (term-terminal-menu, term-signals-menu): Define with easymenu.
2975 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2976 (term-pager-menu): New, extracted from term-process-pager.
2977 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2978 (term-update-mode-line): Propertize line/char and page items.
2979 (term-process-pager): Move keymap initialization elsewhere.
2980
2981 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2982
2983 * window.el (switch-to-prev-buffer): Handle additional values of
2984 BURY-OR-KILL argument. Don't switch in minibuffer window.
2985 (switch-to-next-buffer): Don't switch in minibuffer window.
2986 (quit-restore-window): New function based on quit-window.
2987 Handle additional values of former KILL argument.
2988 (quit-window): Call quit-restore-window with appropriate
2989 interpretation of KILL argument.
2990 (display-buffer-below-selected): New buffer display action
2991 function.
2992
2993 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * minibuffer.el (completion-at-point-functions): Complete docstring
2996 (bug#12254).
2997
2998 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2999
3000 Better seed support for (random).
3001 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3002 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3003 * play/mpuz.el, play/tetris.el, play/zone.el:
3004 * calc/calc-comb.el (math-init-random-base):
3005 * play/blackbox.el (bb-init-board):
3006 * play/life.el (life):
3007 * server.el (server-use-tcp):
3008 * type-break.el (type-break):
3009 Remove unnecessary call to (random t).
3010 * net/sasl.el (sasl-unique-id-function):
3011 Change (random t) to (random), now that the latter is more random.
3012 * play/life.el (life-initialized): Remove no-longer-needed var.
3013
3014 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3015
3016 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3017 Consider frame's buffer predicate when choosing the buffer.
3018 (Bug#12081)
3019
3020 2012-08-30 Richard Stallman <rms@gnu.org>
3021
3022 * simple.el (special-mode-map): Delete binding for `z'.
3023
3024 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3025
3026 * progmodes/compile.el (compilation-always-kill): Doc fix.
3027
3028 2012-08-30 Chong Yidong <cyd@gnu.org>
3029
3030 * window.el (display-buffer-reuse-frames): Make the obsolescence
3031 message more informative.
3032
3033 2012-08-30 Glenn Morris <rgm@gnu.org>
3034
3035 * paren.el (show-paren-delay):
3036 Add a :set function. Doc fix. (Bug#12297)
3037
3038 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3039
3040 * progmodes/compile.el (compilation-always-kill): New var.
3041 (compilation-start): Use it.
3042
3043 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3046 * files.el (read-only-mode): Move to simple.el.
3047
3048 * files.el (read-only-mode): New minor mode.
3049 (toggle-read-only): Use it and mark obsolete.
3050 (find-file--read-only):
3051 * vc/vc.el (vc-next-action, vc-checkout):
3052 * vc/vc-cvs.el (vc-cvs-checkout):
3053 * obsolete/vc-mcvs.el (vc-mcvs-update):
3054 * ffap.el (ffap--toggle-read-only): Update callers.
3055
3056 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3057
3058 * eshell/esh-ext.el (eshell-external-command): Do not examine
3059 remote shell scripts.
3060 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3061
3062 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3063 "/usr/local/sbin".
3064
3065 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3068
3069 2012-08-28 Leo Liu <sdl.web@gmail.com>
3070
3071 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3072 completion-at-point. (Bug#12220)
3073
3074 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3075
3076 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3077
3078 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3081 be buffer-local; add delete-trailing-whitespace (bug#12259).
3082
3083 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3084
3085 * progmodes/hideif.el (hif-compress-define-list):
3086 Fix typo. (Bug#11951)
3087
3088 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3089
3090 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3091 buffer local setting.
3092
3093 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3094 rcirc-encode-coding-system.
3095
3096 2012-08-28 Leo Liu <sdl.web@gmail.com>
3097
3098 * net/rcirc.el (rcirc-split-message): New function.
3099 (rcirc-send-message): Use it. (Bug#12051)
3100
3101 2012-08-28 Juri Linkov <juri@jurta.org>
3102
3103 * info.el (Info-fontify-node): Hide empty lines at the end of
3104 the node. (Bug#12272)
3105
3106 2012-08-27 Drew Adams <drew.adams@oracle.com>
3107
3108 * dired.el (dired-pop-to-buffer): Make window start at beginning
3109 of buffer (Bug#12281).
3110
3111 2012-08-26 Chong Yidong <cyd@gnu.org>
3112
3113 * window.el (special-display-regexps, special-display-frame-alist)
3114 (special-display-buffer-names, special-display-function)
3115 (display-buffer-reuse-frames): Mark as obsolete.
3116
3117 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3118
3119 * help.el (help-print-return-message): Don't treat
3120 display-buffer-reuse-frames specially.
3121
3122 2012-08-26 Chong Yidong <cyd@gnu.org>
3123
3124 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3125 New variable, replacing gdb-frame-parameters.
3126 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3127 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3128 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3129 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3130 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3131 the functions directly with gdb-display-buffer-other-frame-action.
3132 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3133 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3134 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3135 (gdb-display-registers-buffer): Define directly.
3136 (def-gdb-display-buffer): Macro deleted.
3137 (gdb-display-buffer): Remove second and third args, callers don't
3138 use them. Defer to the default display-buffer behavior, apart
3139 from making windows dedicated.
3140 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3141
3142 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3143
3144 * window.el (display-buffer-pop-up-frame): Handle a
3145 pop-up-frame-parameters alist entry.
3146 (display-buffer): Document it.
3147
3148 2012-08-26 Chong Yidong <cyd@gnu.org>
3149
3150 * isearch.el (search-whitespace-regexp): Make string and nil
3151 values apply to both ordinary and regexp search. Allow a cons
3152 cell value to distinguish between the two.
3153 (isearch-whitespace-regexp, isearch-search-forward)
3154 (isearch-search-backward): New functions.
3155 (isearch-occur, isearch-search-fun-default, isearch-search)
3156 (isearch-lazy-highlight-new-loop): Use them.
3157 (isearch-forward, isearch-forward-regexp): Doc fix.
3158
3159 2012-08-26 Chong Yidong <cyd@gnu.org>
3160
3161 * faces.el (help-argument-name): Always inherit from italic
3162 (Bug#12213).
3163
3164 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3165
3166 * window.el (window--even-window-heights): Even heights when
3167 WINDOW and the selected window form a vertical combination.
3168 (display-buffer-use-some-window): Provide that window used gets
3169 sized back by quit-window. (Bug#11880) and (Bug#12091)
3170
3171 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3172
3173 Fix file time stamp problem with bzr and CVS (Bug#12001).
3174 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3175 in the file's time stamp, since the version control system loses
3176 that information.
3177
3178 2012-08-22 Juri Linkov <juri@jurta.org>
3179
3180 * info.el (Info-fontify-node): Hide the suffix of the
3181 Info file name in the header line. (Bug#12187)
3182
3183 2012-08-22 Glenn Morris <rgm@gnu.org>
3184
3185 * calendar/cal-tex.el (cal-tex-weekly-common):
3186 Restore leading blank page.
3187
3188 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
3189
3190 * misc.el (forward-to-word, backward-to-word): Activate or extend
3191 the region under `shift-select-mode'. (Bug#12231)
3192
3193 2012-08-22 Bastien Guerry <bzg@gnu.org>
3194
3195 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3196 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3197 gives details on why the space is never needed.
3198
3199 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3200
3201 * window.el (walk-window-tree, window-with-parameter):
3202 New optional argument MINIBUF to control whether these functions
3203 should run on the minibuffer window.
3204 (window-at-side-list): Don't operate on minibuffer window.
3205 (window-in-direction): Simplify and rewrite doc-string.
3206 (window--size-ignore): Rename to window--size-ignore-p.
3207 Update callers.
3208 (display-buffer-in-atom-window, window--major-non-side-window)
3209 (window--major-side-window, display-buffer-in-major-side-window)
3210 (delete-side-window, display-buffer-in-side-window):
3211 New functions.
3212 (window--side-check, window-deletable-p, delete-window)
3213 (delete-other-windows, split-window): Handle side windows and
3214 atomic windows appropriately.
3215 (window--display-buffer): Call display-buffer-record-window also
3216 when the window buffer did not change.
3217
3218 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3219
3220 * help-fns.el (help-fns--key-bindings):
3221 Abbreviate non-symbol remap targets. (Bug#12174)
3222
3223 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3224
3225 * dired.el (dired-mark-remembered): Don't clobber point.
3226 (Bug#11795)
3227
3228 2012-08-22 Glenn Morris <rgm@gnu.org>
3229
3230 * progmodes/bug-reference.el (bug-reference): New custom group.
3231 (bug-reference-bug-regexp): Make it a defcustom.
3232
3233 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3234
3235 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3236 (js-paren-indent-offset, js-square-indent-offset)
3237 (js-curly-indent-offset): Add :safe (Bug#12257).
3238
3239 2012-08-22 Edward O'Connor <hober0@gmail.com>
3240
3241 * json.el (json-key-format): Add error properties.
3242 (json-encode-key): New function.
3243 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3244 Use json-encode-key.
3245
3246 2012-08-22 Glenn Morris <rgm@gnu.org>
3247
3248 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3249 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3250 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3251 Update for above change.
3252
3253 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3254
3255 * cus-face.el (custom-face-attributes): Fix customize type for the
3256 :underline attribute. (Bug#11805)
3257
3258 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3259
3260 * window.el (window-point-1, set-window-point-1): Remove.
3261 (window-in-direction, record-window-buffer)
3262 (set-window-buffer-start-and-point, split-window-below)
3263 (window--state-get-1, display-buffer-record-window):
3264 Replace calls to window-point-1 and set-window-point-1 by calls to
3265 window-point and set-window-point respectively.
3266
3267 2012-08-21 Glenn Morris <rgm@gnu.org>
3268
3269 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3270 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3271 Use it.
3272
3273 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3274 (cal-tex-shortday): New function.
3275 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3276 (cal-tex-cursor-filofax-daily): Use the above.
3277
3278 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3279 New functions.
3280 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3281 (cal-tex-cursor-filofax-week): Use them.
3282
3283 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3284 New constants.
3285 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3286 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3287
3288 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3289 (cal-tex-end-document): Don't rely on buffer name.
3290
3291 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3292 Use cal-tex-vspace.
3293 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3294 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3295 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3296 Use cal-tex-arg.
3297
3298 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3299 (cal-tex-cursor-week, cal-tex-cursor-week2)
3300 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3301 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3302 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3303 (cal-tex-insert-preamble, cal-tex-b-document)
3304 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3305 Improve cal-tex-cmd usage.
3306
3307 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3308 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3309 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3310 (cal-tex-weekly-paper): New function.
3311 (cal-tex-cursor-week, cal-tex-cursor-week2)
3312 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3313 (cal-tex-cursor-day): Use it.
3314
3315 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3316 (cal-tex-cursor-filofax-week): Remove leading blank page.
3317
3318 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3319 Add autoload cookie. For now at least, don't use color, since
3320 no other cal-tex function does.
3321
3322 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3323 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3324 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3325
3326 2012-08-21 Juri Linkov <juri@jurta.org>
3327
3328 * info.el (Info-file-attributes): New variable.
3329 (info-insert-file-contents): Add file attributes to
3330 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3331 `Info-toc-nodes' when previous modtime of the Info file is less
3332 than new modtime.
3333 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3334 of info.el. (Bug#12230)
3335
3336 2012-08-20 Glenn Morris <rgm@gnu.org>
3337
3338 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3339 * calendar/holidays.el (calendar-holiday-list):
3340 Report errors with display-warning rather than beep'n'sleep.
3341
3342 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3343
3344 * net/tramp.el (tramp-accept-process-output): Accept only output
3345 from PROC. Otherwise, process filters and sentinels might be
3346 confused. (Bug#12145)
3347
3348 2012-08-20 Chong Yidong <cyd@gnu.org>
3349
3350 * descr-text.el (describe-text-properties-1): Use overlays-in to
3351 report on empty overlays (Bug#3322).
3352
3353 2012-08-20 Glenn Morris <rgm@gnu.org>
3354
3355 * mail/rmailout.el (rmail-output-read-file-name):
3356 Trap and report errors in rmail-output-file-alist elements.
3357
3358 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3359 since most non-font-lock faces are not also variables).
3360
3361 2012-08-20 Edward Reingold <reingold@iit.edu>
3362
3363 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3364 New function. (Bug12160)
3365
3366 2012-08-19 Glenn Morris <rgm@gnu.org>
3367
3368 * mail/rmailout.el (rmail-output-read-file-name):
3369 Fix previous change (when the alist is nil or does not match).
3370
3371 2012-08-19 Chong Yidong <cyd@gnu.org>
3372
3373 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3374 (Bug#12228).
3375
3376 2012-08-18 Chong Yidong <cyd@gnu.org>
3377
3378 * simple.el (yank-handled-properties): New defcustom.
3379 (yank-excluded-properties): Add font-lock-face and category.
3380 (yank): Doc fix.
3381
3382 * subr.el (remove-yank-excluded-properties):
3383 Obey yank-handled-properties. The special handling of font-lock-face
3384 and category is now done this way, instead of being hard-coded.
3385 (insert-for-yank-1): Remove font-lock-face handling.
3386 (yank-handle-font-lock-face-property)
3387 (yank-handle-category-property): New function.
3388
3389 2012-08-17 Glenn Morris <rgm@gnu.org>
3390
3391 * mail/rmailout.el (rmail-output-read-file-name):
3392 Check rmail-output-file-alist against the full message body
3393 in the correct rmail buffer. (Bug#12214)
3394
3395 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3396
3397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3398 Eliminate superfluous prompt. (Bug#12203)
3399
3400 2012-08-17 Chong Yidong <cyd@gnu.org>
3401
3402 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3403 font spec, set the font directly (Bug#3228).
3404
3405 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3406
3407 * window.el (delete-window): Fix last fix.
3408
3409 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3410
3411 * window.el (window-valid-p): Move to window.c.
3412 (window-child, window-child-count, window-last-child)
3413 (window-normalize-window, window-combined-p)
3414 (window-combinations, window-atom-root, window-min-size)
3415 (window-sizable, window-sizable-p, window-size-fixed-p)
3416 (window-min-delta, window-max-delta, window--resizable)
3417 (window--resizable-p, window-resizable, window-total-size)
3418 (window-full-height-p, window-full-width-p, window-body-size)
3419 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3420 (minimize-window, window-deletable-p, delete-window)
3421 (delete-other-windows, set-window-buffer-start-and-point)
3422 (next-buffer, previous-buffer, split-window, balance-windows-2)
3423 (set-window-text-height, window-buffer-height)
3424 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3425 (truncated-partial-width-window-p): Minor code adjustments.
3426 In doc-strings state whether the argument window has to denote a
3427 live, valid or any window.
3428
3429 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3430
3431 * progmodes/subword.el (subword-forward-function)
3432 (subword-backward-function, subword-forward-regexp)
3433 (subword-backward-regexp): New variables.
3434 (subword-forward, subword-forward-internal, subword-backward-internal):
3435 Use new variables, eg so that different "word" definitions
3436 can be easily used. (Bug#11411)
3437
3438 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3441 for composite selectors.
3442 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3443 operation just because we can't find a previous revision.
3444
3445 2012-08-15 Chong Yidong <cyd@gnu.org>
3446
3447 * frame.el (set-frame-font): Accept font objects.
3448
3449 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3452
3453 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3454
3455 * man.el (Man-overstrike-face, Man-underline-face)
3456 (Man-reverse-face): Remove variables.
3457 (Man-overstrike, Man-underline, Man-reverse): New faces.
3458 (Man-fontify-manpage): Use them instead of the variables.
3459 (Man-cleanup-manpage): Comment change.
3460 (Man-ansi-color-map): New variable.
3461 (Man-fontify-manpage): Use it.
3462 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3463
3464 Implement ANSI SGR parameters 22-27 (bug#12146).
3465 * ansi-color.el (ansi-colors): Doc fix.
3466 (ansi-color-context, ansi-color-context-region): Doc fix.
3467 (ansi-color--find-face): New function.
3468 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3469 Rename the local variable `face' to `codes' since it is now a list of
3470 ansi codes. Doc fix.
3471 (ansi-color-get-face): Remove.
3472 (ansi-color-parse-sequence): New function, derived from
3473 ansi-color-get-face.
3474 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3475 codes 22-27.
3476
3477 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * subr.el (read-passwd): Allow use from a minibuffer.
3480
3481 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3482
3483 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3484 inside comments and strings as identifiers.
3485
3486 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3487 expression to evaluate. This allows to evaluate expressions with
3488 embedded whitespace.
3489 (gud-tooltip-tips): Add a blank before the newline in the
3490 message-box text, for the benefit of message-box emulation on
3491 MS-Windows.
3492
3493 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3494 messages from GDB, pop them up in a tooltip to give feedback to
3495 user.
3496 (gdb-tooltip-print-1): Quote the expression to evaluate.
3497 This allows to evaluate expressions with embedded whitespace.
3498 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3499 if the TTY name is nil or empty (which happens when communicating
3500 with the inferior via pipes, e.g. on MS-Windows).
3501 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3502 don't send that to the GUD buffer.
3503
3504 2012-08-14 Glenn Morris <rgm@gnu.org>
3505
3506 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3507 Optimize away setq-default with no args, as for setq. (Bug#12195)
3508
3509 2012-08-14 Chong Yidong <cyd@gnu.org>
3510
3511 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3512
3513 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3514 (Bug#12085).
3515
3516 2012-08-14 Glenn Morris <rgm@gnu.org>
3517
3518 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3519
3520 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3523 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3524 Use cached shell name.
3525
3526 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3527
3528 * progmodes/python.el (python-shell-send-string):
3529 (python-shell-send-setup-code): Do not use `format' with `message'.
3530
3531 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3532
3533 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3534 (ruby-percent-literal-beg-re): New constant.
3535 (ruby-syntax-general-delimiters-goto-beg): Rename to
3536 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3537 (ruby-syntax-propertize-general-delimiters): Rename to
3538 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3539 popular term. Adjust comments everywhere.
3540 (ruby-syntax-propertize-percent-literal): Only propertize when not
3541 inside a simple string or comment. When the literal is unclosed,
3542 leave the text after it unpropertized.
3543 (ruby-syntax-methods-before-regexp): New constant.
3544 (ruby-syntax-propertize-function): Use it to recognize regexps.
3545 Don't look at the text after regexp, just use the whitelist.
3546
3547 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3548
3549 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3550 non-nil always load the compiled file if it exists. (Bug#12197)
3551
3552 2012-08-14 Chong Yidong <cyd@gnu.org>
3553
3554 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3555 (hi-lock-set-pattern): When deciding whether to use font lock or
3556 overlays, look at font-lock-mode instead of font-lock-fontified
3557 (Bug#12168).
3558 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3559 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3560
3561 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3562
3563 * subr.el (internal--after-with-selected-window): Fix typo
3564 (Bug#12193).
3565
3566 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3567
3568 Use `completion-table-dynamic' for completion functions.
3569 * progmodes/python.el
3570 (python-shell-completion--do-completion-at-point)
3571 (python-shell-completion--get-completions):
3572 Remove functions.
3573 (python-shell-completion-complete-at-point): New function.
3574 (python-completion-complete-at-point): Use it.
3575
3576 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3577
3578 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3579 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3580
3581 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * subr.el (function-get): Refine `autoload' arg so it can also
3584 autoload functions for gv.el (bug#12191).
3585 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3586 autoloads macros.
3587
3588 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3589 Prefer pcase-let over destructuring-bind.
3590 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3591 Also, remove whitespace as we go, rather than after accumulating the
3592 various places.
3593
3594 * subr.el (internal--before-with-selected-window)
3595 (internal--after-with-selected-window): Fix typo seleted->selected.
3596 (with-selected-window): Adjust callers.
3597 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3598
3599 2012-08-13 Bastien Guerry <bzg@gnu.org>
3600
3601 * window.el (special-display-popup-frame): Minor docstring
3602 enhancement. (Bug#12172)
3603
3604 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3605
3606 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3607 type 1-6.
3608 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3609 extended headers.
3610
3611 * files.el (hack-local-variables-filter): Remove useless eval.
3612
3613 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3614
3615 * subr.el (with-selected-window): Fix last change.
3616
3617 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * subr.el (internal--before-with-seleted-window)
3620 (internal--after-with-seleted-window): New functions.
3621 (with-selected-window): Use them, to replace dependency on
3622 tty-top-frame.
3623
3624 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3625
3626 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3627 binding for `newline'.
3628 (ruby-move-to-block): When moving backward, stop at block opening,
3629 not indentation.
3630 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3631 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3632 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3633 `ruby-toggle-block'.
3634
3635 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * ibuffer.el (ibuffer-do-toggle-read-only):
3638 * dired.el (dired-toggle-read-only):
3639 * buff-menu.el (Buffer-menu-toggle-read-only):
3640 * bindings.el (mode-line-toggle-read-only):
3641 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3642
3643 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3644
3645 * descr-text.el (describe-char): Put the overlays over the
3646 "displayed as" character.
3647
3648 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3649
3650 * calc/calc-units.el (math-default-units-table): Give an
3651 initial value.
3652 (math-put-default-units): Add options to put composite units and
3653 unit systems in the default units table.
3654 (calc-convert-units): Send composite units to
3655 `math-put-default-units' when appropriate.
3656
3657 2012-08-11 Glenn Morris <rgm@gnu.org>
3658
3659 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3660
3661 * tutorial.el (help-with-tutorial):
3662 * emacs-lisp/copyright.el (copyright-update-directory):
3663 * emacs-lisp/autoload.el (autoload-find-generated-file)
3664 (autoload-find-file): Disable local eval: (for insurance).
3665
3666 * files.el (hack-local-variables-filter): If an eval: form is not
3667 known to be safe, and enable-local-variables is :safe, then ignore
3668 the form totally, as is done for non-eval forms. (Bug#12155)
3669 This is CVE-2012-3479.
3670
3671 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3674 (rx-form): Simplify.
3675
3676 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3677
3678 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3679 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3680 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3681 (ruby-syntax-propertize-function): Adjust for changes in
3682 `ruby-syntax-propertize-heredoc'.
3683
3684 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3685
3686 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3687 binding (use `M-;' instead).
3688 (ruby-singleton-class-p): New function.
3689 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3690
3691 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3694
3695 2012-08-10 Chong Yidong <cyd@gnu.org>
3696
3697 * progmodes/python.el (python-shell-get-process-name): Don't mess
3698 with same-window-buffer-names.
3699
3700 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3701 (eshell-remove-from-window-buffer-names): Make obsolete.
3702 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3703 (eshell): Just use pop-to-buffer-same-window instead.
3704
3705 2012-08-10 Chong Yidong <cyd@gnu.org>
3706
3707 * bindings.el: Bind M-= back to count-words-region.
3708
3709 * simple.el (count-words-region): Accept a prefix arg for acting
3710 on the entire buffer.
3711 (count-words--buffer-message): New helper function.
3712
3713 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3716 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3717 (event-start, event-end): Use posn-at-point to return a more
3718 informative posn.
3719 (posnp): New function.
3720 * mouse.el (popup-menu-normalize-position): Use it.
3721
3722 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3723
3724 * mouse.el (popup-menu-normalize-position): New function.
3725 (popup-menu): Use `popup-menu-normalize-position' to normalize
3726 the form for POSITION argument.
3727
3728 * term/x-win.el (x-menu-bar-open):
3729 Use the value returend from (posn-at-point) as position
3730 passed to `popup-menu'.
3731
3732 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3733
3734 * calc/calccomp.el (math-compose-expr): Add extra argument
3735 indicating that parentheses should be put around products in
3736 denominators. Give multiplication precedence over division during
3737 composition.
3738
3739 2012-08-09 Chong Yidong <cyd@gnu.org>
3740
3741 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3742 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3743 (Man-untabify-command, manual-program): Convert to defcustom
3744 (Bug#10429).
3745
3746 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3747
3748 * descr-text.el (describe-char): Don't insert extra newlines
3749 (Bug#10127).
3750
3751 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3752 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3753
3754 * align.el (align-region): Delete temporary markers (Bug#10047).
3755 Plus some code cleanups.
3756
3757 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3758
3759 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3760 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3761 (python-shell-internal-last-output): Use make-local-variable
3762 instead of make-variable-buffer-local.
3763
3764 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3765
3766 * progmodes/python.el: Enhancements to forward-sexp.
3767 (python-nav-forward-sexp): Rename from
3768 python-nav-forward-sexp-function.
3769 (python-nav--forward-sexp, python-nav--backward-sexp):
3770 New functions.
3771
3772 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3773
3774 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3775 modes and simplification modes.
3776
3777 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * delsel.el (delete-selection-pre-hook): Don't propagate the
3780 file-supersession signals (bug#12161).
3781
3782 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3785 (cl-map-extents): Add compatibility aliases (bug#12135).
3786
3787 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3788
3789 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3790 tests by `ignore-error'.
3791 (tramp-find-shell): Open also a new shell, when cache is already
3792 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3793
3794 2012-08-08 Juri Linkov <juri@jurta.org>
3795
3796 * bookmark.el: Add `defaults' property to the bookmark record.
3797 (bookmark-current-buffer): Doc fix.
3798 (bookmark-make-record): Add `defaults' property with default values
3799 to the bookmark record.
3800 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3801 with `bookmark-insert-current-bookmark'.
3802 (bookmark-set): Get `defaults' property from the bookmark record
3803 and use it in `read-from-minibuffer'.
3804 (bookmark-insert-current-bookmark): Remove function.
3805
3806 * info.el (Info-bookmark-make-record): Add `defaults' property
3807 with values of canonical Info node name, the current Info file
3808 name and the current Info node name. (Bug#12107)
3809
3810 2012-08-08 Juri Linkov <juri@jurta.org>
3811
3812 * files.el (basic-save-buffer): Use `buffer-name' as the default
3813 of `read-file-name' when buffer is not visiting a file (bug#12128).
3814
3815 2012-08-08 Juri Linkov <juri@jurta.org>
3816
3817 * info.el (Info-isearch-search): Doc fix.
3818 (Info-search): Change search-failed message from "initial node" to
3819 "end of node" (bug#12078).
3820 (Info-isearch-search): Change `isearch-string-state' to
3821 `isearch--state-string'.
3822
3823 2012-08-08 Glenn Morris <rgm@gnu.org>
3824
3825 * language/persian.el: Remove file.
3826 * language/misc-lang.el: Move unique part of persian.el here.
3827 * loadup.el: Remove language/persian.
3828
3829 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3830
3831 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3832
3833 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3834
3835 * progmodes/python.el Fixed defsubst warning.
3836 (python-syntax-context) Rename from python-info-ppss-context.
3837 (python-syntax-context-type): Rename from
3838 python-info-ppss-context-type.
3839 (python-syntax-comment-or-string-p): Rename from
3840 python-info-ppss-comment-or-string-p.
3841
3842 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3843
3844 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3845
3846 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3847
3848 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3849 a defcustom that is quoted with backquote.
3850
3851 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3852 Fix handling of interactive spec when the body uses return.
3853 (math-do-arg-check, math-define-function-body): Use backquote forms.
3854 * calc/calc-ext.el (math-defcache): Likewise.
3855 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3856 * allout.el (allout-new-exposure): Likewise.
3857 * calc/calcalg2.el (math-tracing-integral): Likewise.
3858 * info.el (Info-last-menu-item): Likewise.
3859 * emulation/vip.el (vip-loop): Likewise.
3860 * textmodes/artist.el (artist-funcall): Likewise.
3861 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3862 Construct menu-item directly.
3863
3864 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3865 Don't declare.
3866
3867 2012-08-07 Chong Yidong <cyd@gnu.org>
3868
3869 * simple.el (deactivate-mark): Preserve text properties when
3870 saving the primary selection (Bug#8384).
3871
3872 2012-08-07 Kevin Ryde <user42@zip.com.au>
3873
3874 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3875 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3876 and continue processing (Bug#12110).
3877
3878 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3881 syntax-propertize-function (bug#10095).
3882
3883 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3886 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3887 describe-function-1.
3888 (describe-function-1): Use them. Move compiler macro after sig.
3889 (help-fns--compiler-macro): Use function-get. Assume we're already in
3890 standard-output. Adjust layout to new call order.
3891
3892 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3893 re-binding a symbol that has a symbol-macro (bug#12119).
3894
3895 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3896
3897 * language/persian.el: New file. (Bug#11812)
3898 * loadup.el: Add language/persian.el.
3899
3900 2012-08-06 Chong Yidong <cyd@gnu.org>
3901
3902 * window.el (window--maybe-raise-frame): New function.
3903 (window--display-buffer): Split off from here.
3904 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3905 (display-buffer-pop-up-window, display-buffer-use-some-window):
3906 Obey an inhibit-switch-frame action alist entry.
3907 (display-buffer): Update doc.
3908
3909 * replace.el (occur-after-change-function): Avoid losing focus by
3910 using the inhibit-switch-frame display parameter (Bug#12139).
3911
3912 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3913
3914 Make internal shell process buffer names start with space.
3915 * progmodes/python.el (python-shell-make-comint): Add optional
3916 argument INTERNAL.
3917 (run-python-internal): Use it.
3918 (python-shell-internal-get-or-create-process): Check for new
3919 internal buffer names.
3920
3921 2012-08-06 Glenn Morris <rgm@gnu.org>
3922
3923 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3924 Do less getting and setting of environment variables.
3925
3926 2012-08-05 Chong Yidong <cyd@gnu.org>
3927
3928 * proced.el (proced): Add substitution string to docstring to
3929 trigger autoloading of the proced library on C-h f (Bug#1768).
3930
3931 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3932 Don't show defvars which have no second argument (Bug#8638).
3933
3934 * imenu.el (imenu-generic-expression): Move documentation here
3935 from imenu--generic-function.
3936 (imenu--generic-function): Refer to imenu-generic-expression.
3937
3938 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3939
3940 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3941 indentation declaration.
3942 (viper-loop): Add indentation declaration (Bug#7025).
3943
3944 2012-08-05 Chong Yidong <cyd@gnu.org>
3945
3946 * help-fns.el (describe-variable): Add hyperlink for
3947 directory-local variables files. Improve buffer-local and
3948 permanent-local reporting; suggested by MON KEY (Bug#6644).
3949
3950 * help-mode.el (help-dir-local-var-def): New button type.
3951
3952 * files.el (kill-buffer-hook): Provide a defvar.
3953
3954 2012-08-05 Glenn Morris <rgm@gnu.org>
3955
3956 * eshell/esh-ext.el (eshell/addpath):
3957 Also update eshell-path-env. (Bug#12013)
3958
3959 2012-08-05 Chong Yidong <cyd@gnu.org>
3960
3961 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3962
3963 * fringe.el (fringe-styles): Add docstring.
3964 (fringe--check-mode): New function.
3965 (set-fringe-mode, set-fringe-style): Use it.
3966 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3967
3968 * files.el (set-auto-mode): Fix invalid setq call.
3969
3970 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * isearch.el: Misc simplification; use defstruct.
3973 (isearch-mode-map): Dense maps now work like sparse ones.
3974 (isearch--state): New defstruct.
3975 (isearch-string-state, isearch-message-state, isearch-point-state)
3976 (isearch-success-state, isearch-forward-state)
3977 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3978 (isearch-wrapped-state, isearch-barrier-state)
3979 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3980 replaced by defstruct's accessors.
3981 (isearch--set-state): Rename from isearch-top-state and change
3982 calling convention.
3983 (isearch-push-state): Use new isearch--get-state.
3984 (isearch-toggle-word): Disable regexp when enabling word.
3985 (isearch-message-prefix): Remove unused arg _c-q-hack.
3986 (isearch-message-suffix): Remove unused arg _ellipsis.
3987
3988 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3989
3990 * simple.el (list-processes--refresh): For a server use :host or
3991 :local as the address.
3992 (list-processes): Doc fix.
3993
3994 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3995
3996 * lisp/mpc.el: Support password in host argument.
3997 (mpc--proc-connect): Parse and use new password element.
3998 Set mpc-proc variable instead of returning process.
3999 (mpc-proc): Adjust accordingly.
4000
4001 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4002
4003 * whitespace.el (whitespace-display-mappings): Use Unicode
4004 codepoints, instead of emacs-mule codepoints. See
4005 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4006 for the details.
4007
4008 * files.el (file-truename): Don't skip symlink-chasing part on
4009 windows-nt. Incorporate the resolution of 8+3 short aliases on
4010 Windows into the loop that recursively chases symlinks.
4011 Compare directory and its parent case-insensitively on MS-Windows and
4012 MS-DOS.
4013
4014 2012-08-03 Chong Yidong <cyd@gnu.org>
4015
4016 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4017
4018 * sort.el (sort-regexp-fields): Doc fix.
4019
4020 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4021
4022 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4023 labels regex position point at the expected place.
4024
4025 2012-08-03 MON KEY <monkey@sandpframing.com>
4026
4027 * net/imap.el (imap-interactive-login, imap-authenticate)
4028 (imap-mailbox-lsub, imap-mailbox-list)
4029 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4030 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4031 (imap-parse-response): Doc fix.
4032
4033 2012-08-03 João Távora <joaotavora@gmail.com>
4034
4035 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4036 if sexp scanning does not move point (Bug#5734).
4037
4038 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4039
4040 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4041 Add listings, minted, and ctable packages.
4042 (reftex-label-alist-builtin): Move listings, minted, and ctable
4043 entries before LaTeX.
4044 (reftex-label-alist): Docfix.
4045
4046 2012-08-02 Bastien Guerry <bzg@gnu.org>
4047
4048 * replace.el (occur): Fix docstring (bug#12122).
4049
4050 2012-08-02 Glenn Morris <rgm@gnu.org>
4051
4052 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4053
4054 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4055
4056 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4057 * international/mule-cmds.el: Create
4058 inactivate-current-input-method-function as an obsolete alias for
4059 deactivate-current-input-method-function. See Katsumi Yamaoka in
4060 <http://bugs.gnu.org/10150#46>.
4061
4062 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4063
4064 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4065 of nested `if's.
4066
4067 2012-08-01 Glenn Morris <rgm@gnu.org>
4068
4069 * progmodes/autoconf.el (autoconf-definition-regexp):
4070 Add AH_TEMPLATE, adjust submatch numbering.
4071 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4072 (autoconf-current-defun-function): Update for above change.
4073 (autoconf-current-defun-function): First skip to end of current word.
4074
4075 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4076
4077 * calendar/cal-html.el (cal-html-insert-agenda-days):
4078 Fix typo. (Bug#12018)
4079
4080 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4081
4082 Shell processes: enhancements to startup and CEDET compatibility.
4083 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4084 (python-shell-make-comint): accept-process-output at startup.
4085 (run-python-internal): Set inferior-python-mode-hook to nil.
4086 (python-shell-internal-get-or-create-process): call sit-for.
4087 (python-preoutput-result): Add obsolete alias.
4088 (python-shell-internal-send-string): Use it.
4089 (python-shell-send-setup-code): Remove call to
4090 accept-process-output.
4091
4092 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4093
4094 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4095 (Bug#12108)
4096
4097 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4098
4099 * calc-mode.el (calc-basic-simplification-mode): Rename from
4100 `calc-limited-simplification-mode'.
4101 (calc-alg-simplification-mode): New function.
4102 (calc-set-simplify-mode): Adjust message.
4103
4104 * calc.el (calc-set-mode-line): Adjust mode line display for
4105 basic simplification mode.
4106
4107 * calc-help.el (calc-m-prefix-help): Update help message.
4108
4109 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4110 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4111
4112 2012-07-31 Bastien Guerry <bzg@gnu.org>
4113
4114 * man.el (man): Fix comment. (bug#12101)
4115
4116 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4117
4118 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4119 Don't return a non-nil value when no suitable buffer was found.
4120
4121 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4122
4123 * progmodes/python.el (run-python-internal): Disable font lock for
4124 internal shells.
4125
4126 2012-07-30 Stefan Merten <smerten@oekonux.de>
4127
4128 * textmodes/rst.el: Silence `checkdoc-ispell'.
4129 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4130 (rst-official-version, rst-official-cvs-rev)
4131 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4132 (rst-mode-map): New key binding.
4133
4134 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4135
4136 Update .PHONY listings in makefiles.
4137 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4138 autoloads, update-subdirs, updates, bzr-update, update-authors,
4139 compile-onefile, compile-calc, backup-compiled-files,
4140 compile-after-backup, compile-one-process, mh-autoloads,
4141 bootstrap-clean, distclean, maintainer-clean.
4142
4143 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4144
4145 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4146 (calc-set-mode-line): Don't display "AlgSimp ".
4147
4148 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4149 (calc-lim-simplify-mode): New function.
4150 (calc-set-simplify-mode): Default to 'alg.
4151 (calc-default-simplify-mode): Make algebraic simplifications
4152 the default.
4153
4154 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4155 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4156
4157 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4158 indicate new simplification modes.
4159
4160 * calc/README: Mention new default simplification mode.
4161
4162 * calc/calc.el (math-normalize-error): New variable.
4163 (math-normalize): Set `math-normalize-error' to t
4164 when there's an error.
4165
4166 * calc/calc-alg.el (math-simplify): Don't simplify when
4167 `math-normalize' returns an error.
4168
4169 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4170
4171 * international/mule-cmds.el (set-locale-environment): Revert last
4172 change, since display-graphic-p returns nil when this function is
4173 called during startup. Instead...
4174
4175 * term/w32console.el (terminal-init-w32console): ...setup the
4176 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4177
4178 2012-07-29 Juri Linkov <juri@jurta.org>
4179
4180 * simple.el (goto-line): Don't display default line number in the
4181 prompt because it should be displayed by `read-number' (bug#9952).
4182 Add the current line number to the defaults of `goto-line' to
4183 allow its easier modification by users with `M-n' (bug#9201).
4184
4185 * subr.el (read-number): Support multiple default values like in
4186 other minibuffer reading functions. Replace `read' with
4187 `string-to-number' for consistency with `number-to-string'.
4188
4189 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4190
4191 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4192 * emulation/viper-init.el (viper-deactivate-input-method-action):
4193 Rename from viper-inactivate-input-method-action.
4194 (viper-deactivate-input-method):
4195 Rename from viper-inactivate-input-method.
4196 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4197 * international/mule-cmds.el (deactivate-input-method):
4198 Rename from inactivate-input-method.
4199 Also run input-method-deactivate-hook.
4200 (deactivate-current-input-method-function):
4201 Rename from inactivate-current-input-method-function.
4202 (input-method-deactivate-hook): New hook.
4203 (input-method-inactivate-hook): Mark obsolete.
4204 (inactivate-input-method): Mark obsolete.
4205
4206 * international/quail.el (quail-activate):
4207 Also run quail-deactivate-hook.
4208 (quail-deactivate): Rename from quail-inactivate.
4209 * international/robin.el (robin-activate):
4210 Also run robin-deactivate-hook.
4211 (robin-deactivate): Rename from robin-inactivate.
4212
4213 2012-07-29 Chong Yidong <cyd@gnu.org>
4214
4215 * simple.el (indicate-copied-region): New function.
4216 (kill-ring-save): Split off from here.
4217
4218 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4219 (kill-rectangle): Set deactivate-mark to t on read-only error.
4220
4221 * register.el (copy-to-register, copy-rectangle-to-register):
4222 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4223 (append-to-register, prepend-to-register): Call indicate-copied-region.
4224
4225 2012-07-29 Juri Linkov <juri@jurta.org>
4226
4227 * simple.el (async-shell-command-buffer): New defcustom.
4228 (shell-command): Use it. (Bug#4719)
4229
4230 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4231
4232 * international/mule-cmds.el (set-locale-environment): In a
4233 console session on MS-Windows, set up keyboard and terminal
4234 encoding from the OEM codepage, not the ANSI codepage.
4235 (Bug#12055)
4236
4237 2012-07-28 Chong Yidong <cyd@gnu.org>
4238
4239 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4240 gdb-get-location.
4241
4242 2012-07-28 Leo Liu <sdl.web@gmail.com>
4243
4244 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4245 the alist (bug#12029).
4246
4247 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4248
4249 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4250 (compile-always, compile-first)
4251 ($(lisp)/calendar/cal-loaddefs.el)
4252 ($(lisp)/calendar/diary-loaddefs.el)
4253 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4254 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4255 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4256 instead of on update-subdirs.
4257 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4258
4259 2012-07-28 Chong Yidong <cyd@gnu.org>
4260
4261 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4262 directory if vc-deduce-backend returns nil (Bug#7350).
4263
4264 * simple.el (delete-trailing-lines): New option.
4265 (delete-trailing-whitespace): Obey it (Bug#11879).
4266
4267 2012-07-28 David Engster <deng@randomsample.de>
4268
4269 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4270 Explanation of new 'symbol-qnames feature in doc-strings.
4271 (xml-maybe-do-ns): Return expanded names as plain symbols if
4272 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4273 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4274
4275 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4276
4277 Consistent completion in inferior python with emacs -nw.
4278 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4279 binding in inferior-python-mode-map with "\t".
4280 (python-shell-completion-complete-at-point)
4281 (python-completion-complete-at-point): Remove interactive spec.
4282
4283 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4284
4285 * calc/calccomp.el (math-compose-expr): Undo previous change.
4286
4287 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4288
4289 * progmodes/python.el (python-mode-map): Add keybinding for
4290 run-python.
4291 (python-shell-make-comint): Fix pop-to-buffer call.
4292 (run-python): Autoload. New arg SHOW.
4293 (python-shell-get-or-create-process): Do not pop python process
4294 buffer.
4295
4296 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * notifications.el (notifications-on-action-signal)
4299 (notifications-on-closed-signal): Use also the bus address for the map.
4300 (notifications-notify, notifications-close-notification)
4301 (notifications-get-capabilities): Add optional argument BUS.
4302
4303 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4304
4305 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4306 Add support for the lstlisting and minted environments, and for the
4307 ctable macro.
4308 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4309 labels written in keyvals syntax.
4310
4311 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4312
4313 * calc/calccomp.el (math-compose-expr): Use parentheses when
4314 there is a product in the denominator of a fraction.
4315
4316 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4317
4318 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4319 ($(lisp)/calendar/diary-loaddefs.el)
4320 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4321 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4322 Fixes failures in parallel bootstrap because subdirs.el is being
4323 rewritten while the autoload files are built at the same time,
4324 which needs to load subdirs.el.
4325
4326 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4327
4328 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4329 (mouse-drag-line): Don't exit tracking when a switch-frame or
4330 switch-window event occurs (Bug#12006).
4331
4332 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * mouse.el (popup-menu): Fix last change.
4335
4336 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 Autoload from Lisp with more care. Follow aliases when looking for
4339 function properties.
4340 * subr.el (autoloadp): New function.
4341 (symbol-file): Use it.
4342 (function-get): New function.
4343 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4344 autoload-do-load.
4345 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4346 (lisp-indent-function):
4347 * emacs-lisp/gv.el (gv-get):
4348 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4349 * emacs-lisp/byte-opt.el (byte-optimize-form):
4350 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4351 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4352 Use function-get.
4353 * emacs-lisp/cl.el: Don't propagate function properties any more.
4354
4355 * speedbar.el (speedbar-add-localized-speedbar-support):
4356 * emacs-lisp/disass.el (disassemble-internal):
4357 * desktop.el (desktop-load-file):
4358 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4359 (describe-function-1):
4360 * emacs-lisp/find-func.el (find-function-noselect):
4361 * emacs-lisp/elp.el (elp-instrument-function):
4362 * emacs-lisp/advice.el (ad-has-proper-definition):
4363 * apropos.el (apropos-safe-documentation, apropos-macrop):
4364 * emacs-lisp/debug.el (debug-on-entry):
4365 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4366 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4367 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4368
4369 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4370
4371 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4372 function, not an obsolete variable (Bug#12046).
4373
4374 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4375
4376 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4377
4378 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4379
4380 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4381 window only if it is still live (Bug#12034).
4382
4383 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4384
4385 * subr.el (redirect-frame-focus): Add advertised calling
4386 convention (Bug#12030).
4387
4388 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4389
4390 Prefer typical American spelling for "acknowledgment".
4391 * vc/add-log.el (change-log-acknowledgment): Rename from
4392 change-log-acknowledgement, with an alias for the old name.
4393
4394 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4395
4396 * calc-alg.el (math-simplify-divide): Don't cross multiply
4397 in an equation when the lhs is a variable.
4398
4399 2012-07-24 Julien Danjou <julien@danjou.info>
4400
4401 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4402 Remove, unused.
4403
4404 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4405
4406 * startup.el (command-line): Don't display an empty user name in
4407 the error message about non-existent home directory, when
4408 init-file-user was set to an empty string. See
4409 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4410 for the details and context.
4411
4412 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4413
4414 * ses.el (ses-cell-formula-aset): New macro.
4415 (ses-cell-references-aset): New macro.
4416 (ses-cell-p): New function.
4417 (ses-rename-cell): Do no longer rely on complex operations like
4418 ses-cell-set-formula or ses-set-cell to change the cell and handle
4419 the undo at the same time, but rather use lower level new macros
4420 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4421 the undo directly. Refresh the mode line.
4422
4423 2012-07-21 Leo Liu <sdl.web@gmail.com>
4424
4425 * progmodes/cc-cmds.el (c-defun-name):
4426 Use match-string-no-properties instead for consistency.
4427
4428 2012-07-20 Leo Liu <sdl.web@gmail.com>
4429
4430 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4431 (Bug#7879)
4432
4433 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4434
4435 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4438 * progmodes/bug-reference.el, misearch.el: Provide themselves
4439 (bug#11915).
4440
4441 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4442 of narrowed buffer (bug#11966).
4443
4444 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4445
4446 * ses.el (ses-rename-cell): Set new name also in reference list of
4447 cells of which the renamed cell depends.
4448
4449 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4450
4451 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4452 to check whether menu-bar is shown or not. If not shown,
4453 show the menu-bar as a popup menu instead of using tmm.
4454 * mouse.el (popup-menu): Accept `point' as `position' argument.
4455
4456 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4457
4458 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4459 up inside string symbol literal (bug#11923).
4460
4461 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4462
4463 * startup.el (fancy-startup-text): Read the whole tutorial, not
4464 just its first 256 bytes. Prevents gibberish in display of the
4465 tutorial title.
4466
4467 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4468
4469 Drop idle buffer compaction due to an absence of the
4470 proved efficiency.
4471 * compact.el: Remove.
4472
4473 2012-07-19 Sam Steingold <sds@gnu.org>
4474
4475 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4476 vc-bzr-pull & vc-bzr-merge-branch.
4477 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4478 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4479 for consistency with compilation-error-regexp-alist.
4480 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4481 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4482 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4483 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4484
4485 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/chart.el: Use lexical-binding.
4488 (chart-emacs-storage): Don't hardcode the list of entries.
4489
4490 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4491
4492 Next round of tweaks caused by Fgarbage_collect changes.
4493 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4494
4495 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4496
4497 Compact buffers when idle.
4498 * compact.el: New file.
4499
4500 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * subr.el (eventp): Presume that if it looks vaguely like an event,
4503 it's an event (bug#10190).
4504
4505 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4506
4507 Enhancements to ppss related code (thanks Stefan).
4508 * progmodes/python.el (python-indent-context)
4509 (python-indent-calculate-indentation, python-indent-dedent-line)
4510 (python-indent-electric-colon, python-nav-forward-block)
4511 (python-mode-abbrev-table)
4512 (python-info-assignment-continuation-line-p): Simplify checks
4513 for ppss context.
4514 (python-info-continuation-line-p): Cleanup.
4515 (python-info-ppss-context): Do not catch 'quote.
4516 (python-info-ppss-context-type)
4517 (python-info-ppss-comment-or-string-p): Simplify.
4518
4519 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4520
4521 * progmodes/python.el: Enhancements to eldoc support.
4522 (python-info-current-symbol): New function.
4523 (python-eldoc-at-point): Use python-info-current-symbol.
4524 (python-info-current-defun): Fix cornercase on first defun scan.
4525 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4526 and signal error when no inferior python process is available.
4527
4528 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4529
4530 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4531 assume it's always t.
4532 (vc-git-registered): Remove caching, the function is only called
4533 once.
4534 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4535
4536 2012-07-18 Chong Yidong <cyd@gnu.org>
4537
4538 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4539
4540 * simple.el (count-words): Report on narrowing (Bug#9959).
4541
4542 * bindings.el: Bind M-= to count-words.
4543
4544 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4545
4546 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4547
4548 * progmodes/sh-script.el (sh-imenu-generic-expression):
4549 Capture a function with `function' keyword and without parentheses
4550 like "function FOO" (bug#11856).
4551
4552 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4553
4554 * window.el (split-window-sensibly): Make WINDOW argument
4555 optional.
4556
4557 2012-07-18 Chong Yidong <cyd@gnu.org>
4558
4559 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4560
4561 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4562 and make C-x 8 RET exit isearch (Bug#11439).
4563
4564 * international/iso-transl.el: Move isearch-mode-map key
4565 definitions to isearch.el.
4566
4567 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4570 (eieio-defclass): Use gv-define-setter when possible.
4571
4572 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4573
4574 Reflect recent changes in Fgarbage_collect.
4575 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4576 reflect new format of data returned by Fgarbage_collect.
4577
4578 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4579
4580 New utility functions + python-info-ppss-context fix (Bug#11910).
4581 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4582 (python-info-ppss-comment-or-string-p): New functions.
4583 (python-info-ppss-context): Small fix for string check.
4584
4585 2012-07-17 Juri Linkov <juri@jurta.org>
4586
4587 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4588 (dired-do-async-shell-command): Don't add `*' at the end of the
4589 command (Bug#11815).
4590 (dired-do-shell-command): Doc fix.
4591 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4592 Join the individual commands using either "&" or ";" as the
4593 separator depending on the values of these trailing characters.
4594 At the end re-add the trailing "&". (Bug#10598)
4595
4596 * simple.el (async-shell-command): Sync the interactive spec with
4597 `shell-command'. Doc fix.
4598 (shell-command): Doc fix.
4599
4600 2012-07-17 Juri Linkov <juri@jurta.org>
4601
4602 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4603
4604 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4605
4606 Final renames and doc fixes for movement commands (bug#11899).
4607 * progmodes/python.el (python-nav-beginning-of-statement):
4608 Rename from python-nav-statement-start.
4609 (python-nav-end-of-statement): Rename from
4610 python-nav-statement-end.
4611 (python-nav-beginning-of-block): Rename from
4612 python-nav-block-start.
4613 (python-nav-end-of-block): Rename from python-nav-block-end.
4614
4615 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4616
4617 * progmodes/python.el (python-shell-send-string-no-output):
4618 Allow accept-process-output to quit, keeping shell process ready for
4619 future interactions (Bug#11868).
4620
4621 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4624
4625 * emacs-lisp/elint.el (elint-find-args-in-code):
4626 Use help-function-arglist, so as to handle lexical byte-code.
4627
4628 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4629 change (bug#11826).
4630
4631 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4634 Avoid spuriously marking the buffer as modified because of c-is-sws.
4635
4636 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4637 as not-a-comment (bug#11946).
4638
4639 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4640 for uninterned vars.
4641
4642 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4643 Use read-event since we don't really want to read chars but bytes.
4644
4645 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4646 $$..$$ but also $..$ using regexps (bug#11953).
4647 Use tex-verbatim for \url and \path.
4648 (tex-font-lock-keywords): Define as defconst like the others.
4649 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4650
4651 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4652
4653 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4654 alias for insert-char.
4655
4656 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4657
4658 * progmodes/python.el: Simplified imenu implementation.
4659 (python-nav-jump-to-defun): Remove command.
4660 (python-mode-map): Use `imenu' instead.
4661 (python-nav-list-defun-positions-cache)
4662 (python-imenu-include-defun-type, python-imenu-make-tree)
4663 (python-imenu-subtree-root-label, python-imenu-index-alist):
4664 Remove vars.
4665 (python-nav-list-defun-positions, python-nav-read-defun)
4666 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4667 (python-imenu-make-tree, python-imenu-create-index):
4668 Remove functions.
4669 (python-mode): Update to interact with imenu by setting
4670 `imenu-extract-index-name-function' only.
4671
4672 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4673
4674 * progmodes/python.el: Enhancements to navigation commands.
4675 (python-nav-backward-sentence)
4676 (python-nav-forward-sentence): Remove.
4677 (python-nav-backward-statement, python-nav-forward-statement)
4678 (python-nav-statement-start, python-nav-statement-end)
4679 (python-nav-backward-block, python-nav-forward-block)
4680 (python-nav-block-start, python-nav-block-end)
4681 (python-nav-forward-sexp-function)
4682 (python-info-current-line-comment-p)
4683 (python-info-current-line-empty-p): New functions.
4684 (python-indent-context): Use `python-nav-statement-start'.
4685
4686 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4687
4688 * eshell/em-ls.el (eshell/ls): Use `apply'.
4689
4690 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4691 multi-hops, instead of Tramp internals.
4692
4693 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4694
4695 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4696 when F1 and F2 are located on different hosts.
4697
4698 2012-07-14 Chong Yidong <cyd@gnu.org>
4699
4700 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4701 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4702 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4703 (xterm-mouse--read-event-sequence-1000)
4704 (xterm-mouse--read-event-sequence-1006): New functions. For old
4705 mouse protocol, handle M-mouse-X events correctly.
4706 (xterm-mouse-event): New arg specifying mouse protocol.
4707 (turn-on-xterm-mouse-tracking-on-terminal)
4708 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4709 sequence to toggle extended coordinates on newer XTerms.
4710 This appears to be harmless on terminals which do not support this.
4711
4712 2012-07-14 Leo Liu <sdl.web@gmail.com>
4713
4714 Add fringe bitmap indicators for flymake. (Bug#11253)
4715 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4716 (flymake-make-overlay): New arg BITMAP.
4717 (flymake-error-bitmap, flymake-warning-bitmap)
4718 (flymake-fringe-indicator-position): New user variables.
4719
4720 * fringe.el: New bitmap exclamation-mark.
4721
4722 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4723
4724 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4725 also (Bug#7879).
4726
4727 2012-07-14 Chong Yidong <cyd@gnu.org>
4728
4729 * electric.el (electric-pair-post-self-insert-function): Fix pair
4730 insertion in empty-region case (Bug#11520).
4731
4732 2012-07-14 Chong Yidong <cyd@gnu.org>
4733
4734 * bindings.el: Consolidate ctl-x-r-map bindings.
4735 Bind copy-rectangle-as-kill to C-x r w.
4736
4737 * rect.el, register.el: Move bindings to bindings.el.
4738
4739 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4740
4741 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4742
4743 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4744
4745 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4746
4747 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4748
4749 * bindings.el (top): Use `mapc' instead of `mapcar'.
4750
4751 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4752
4753 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4754
4755 * progmodes/sql.el (sql-comint): Suppress the check for program on
4756 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4757 (Bug#11908)
4758
4759 2012-07-13 Chong Yidong <cyd@gnu.org>
4760
4761 * bindings.el: Assign a non-nil permanent-local property to
4762 per-buffer variables which lack a default value (Bug#11930).
4763
4764 * help-fns.el (describe-variable): In the "automatically becomes
4765 local" notice, take note of permanent-local variables.
4766
4767 2012-07-13 Chong Yidong <cyd@gnu.org>
4768
4769 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4770 to allow printing the message when called from Lisp.
4771
4772 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4773 Remove toggle-read-only.
4774
4775 * bs.el (bs-toggle-readonly):
4776 * buff-menu.el (Buffer-menu-toggle-read-only):
4777 Remove with-no-warnings around toggle-read-only.
4778
4779 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4780 Remove with-no-warnings around toggle-read-only.
4781 (ffap-read-only, ffap-read-only-other-window)
4782 (ffap-read-only-other-frame): Callers changed.
4783
4784 * help-mode.el: Don't require view package.
4785 (help-mode-finish): Set buffer-read-only instead of calling
4786 toggle-read-only.
4787
4788 * bindings.el (mode-line-toggle-read-only):
4789 * dired.el (dired-toggle-read-only):
4790 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4791 with non-nil second arg.
4792
4793 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4794 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4795 directly.
4796
4797 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4798
4799 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4800 not incf.
4801
4802 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 More CL cleanups and reduction of use of cl.el.
4805 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4806 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4807 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4808 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4809 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4810 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4811 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4812 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4813 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4814 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4815 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4816 * eshell/em-cmpl.el, eshell/em-banner.el:
4817 * calendar/parse-time.el: Use cl-lib.
4818 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4819 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4820 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4821 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4822 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4823 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4824 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4825 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4826 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4827 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4828 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4829 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4830 `lambda' rather than with `quote'.
4831 (eshell-do-opt): Adjust accordingly.
4832 (eshell-process-option): Simplify.
4833 * eshell/esh-var.el:
4834 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4835 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4836 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4837 to `pcase--dontcare'.
4838 * emacs-lisp/cl.el (labels): Mark obsolete.
4839 (cl--letf, letf): Move to cl-lib.
4840 (cl--letf*, letf*): Remove.
4841 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4842 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4843 (cl-progv): Rewrite.
4844 (cl--letf, cl-letf): Move from cl.el.
4845 (cl-letf*): New macro.
4846 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4847
4848 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4849
4850 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4851
4852 2012-07-11 Chong Yidong <cyd@gnu.org>
4853
4854 * vc/log-edit.el (log-edit-vc-backend): New variable.
4855 (log-edit): Doc fix.
4856
4857 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4858 argument of log-edit to set up all local variables.
4859 (vc-start-logentry): New optional arg specifying VC backend.
4860
4861 * vc/vc.el (vc-checkin): Use it.
4862 (vc-deduce-fileset): Handle Log Edit buffers.
4863 (vc-diff): Make first argument optional too.
4864
4865 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4866
4867 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4870 command, just in case. The function is not needed anymore.
4871 (eshell-external-command): Do not call `eshell-remote-command'.
4872
4873 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 Reduce use of (require 'cl).
4876 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4877 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4878 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4879 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4880 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4881 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4882 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4883 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4884 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4885 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4886 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4887 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4888 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4889 (byte-compile-unfold-bcf, byte-compile-check-variable):
4890 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4891 (byte-compile-nilconstp):
4892 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4893 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4894
4895 * emacs-lisp/gv.el (cond): Make it a valid place.
4896 (if): Simplify slightly.
4897
4898 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4899 (pcase--self-quoting-p): New function.
4900 (pcase--u1): Use it.
4901
4902 2012-07-10 Glenn Morris <rgm@gnu.org>
4903
4904 * emacs-lisp/authors.el (authors-fixed-entries):
4905 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4906
4907 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4908
4909 Rename configure.in to configure.ac (Bug#11603).
4910 * emacs-lisp/authors.el (authors-canonical-file-name):
4911 * progmodes/autoconf.el (autoconf-mode):
4912 Prefer configure.ac to configure.in.
4913
4914 2012-07-08 Chong Yidong <cyd@gnu.org>
4915
4916 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4917 Implement the mouse-1-click-follows-link handling properly.
4918
4919 * info.el (Info-link-keymap): Use follow-link mechanism for
4920 header-line links (Bug#374).
4921
4922 * simple.el (deactivate-mark): Do not set the primary selection
4923 if another program has acquired it (Bug#11772).
4924
4925 2012-07-07 Kevin Ryde <user42@zip.com.au>
4926
4927 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4928 (woman-decode-region): Replace escaped-escapes without destroying
4929 bold or underline (Bug#11552).
4930 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4931
4932 2012-07-07 Chong Yidong <cyd@gnu.org>
4933
4934 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4935 (interprogram-cut-function, interprogram-paste-function):
4936 Mention that we typically mean the clipboard.
4937
4938 2012-07-06 Glenn Morris <rgm@gnu.org>
4939
4940 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4941
4942 * files.el (toggle-read-only): Restrict message to interactive use.
4943
4944 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4947
4948 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4949
4950 2012-07-06 Glenn Morris <rgm@gnu.org>
4951
4952 * Makefile.in (compile-one-process): Rename from "recompile".
4953
4954 * Makefile.in (bzr-update): "compile" is the same as "recompile
4955 autoloads", but parallelizable, so use that instead.
4956
4957 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4958
4959 * window.el (quit-window): Always restore window height when
4960 it's saved in quit-restore parameter (Bug#11810).
4961
4962 2012-07-06 Glenn Morris <rgm@gnu.org>
4963
4964 * simple.el (kill-whole-line): Doc tweak.
4965
4966 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4967
4968 * files.el (file-relative-name): Compare file names
4969 case-insensitively if on MS-Windows or MS-DOS, or if
4970 read-file-name-completion-ignore-case is non-nil. Don't use
4971 case-fold-search for this purpose. (Bug#11827)
4972
4973 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4974
4975 * calendar/cal-dst.el (calendar-current-time-zone):
4976 Return calendar-current-time-zone-cache if non-nil.
4977
4978 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4979 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4980
4981 * calendar/cal-dst.el (calendar-current-time-zone):
4982 Return calendar-current-time-zone-cache if non-nil.
4983
4984 2012-07-06 Glenn Morris <rgm@gnu.org>
4985
4986 * Makefile.in (cvs-update): Remove old alias.
4987
4988 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4989
4990 Sync with Tramp 2.2.6-pre.
4991
4992 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4993 compatible declaration.
4994
4995 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4996 Protect `list-load-path-shadows' call.
4997
4998 * net/tramp-compat.el (top): Require packages, which aren't
4999 autoloaded anymore for XEmacs. Protect call of
5000 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5001 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5002 it hurts at least for SXEmacs.
5003 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5004 standard-value for `temporary-file-directory'.
5005
5006 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5007 Redirect stderr to /dev/null.
5008 (tramp-sh-handle-write-region): uid and gid can be floats.
5009 Reported by Russell Sim <russell.sim@gmail.com>.
5010 (tramp-sh-handle-vc-registered): Hide errors.
5011 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5012 and `start-file-process'.
5013 (tramp-maybe-open-connection): Check also whether `non-essential'
5014 is bound.
5015
5016 2012-07-04 Chong Yidong <cyd@gnu.org>
5017
5018 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5019 (xml-parse-tag): Likewise, and avoid changing entity tables.
5020 (xml-syntax-table): Define from scratch, making sure not to give
5021 x2000 and other Unicode spaces whitespace syntax, since those are
5022 not spaces in XML.
5023 (xml-parse-fragment): Delete unused function.
5024 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5025 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5026 (xml-entity-ref, xml-pe-reference-re)
5027 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5028 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5029 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5030 (xml-entity-value-re): Use syntax references in regexps where
5031 possible; no need to define inside a let-binding.
5032 (xml-parse-dtd): Use xml-pe-reference-re.
5033 (xml-entity-or-char-ref-re): New defconst.
5034 (xml-parse-string, xml-substitute-special): Use it.
5035
5036 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5039 (find-file--read-only): New function.
5040 (find-file-read-only, find-file-read-only-other-window)
5041 (find-file-read-only-other-frame): Use it.
5042 (insert-file-contents-literally): Don't `fset'.
5043 (get-free-disk-space): Use locate-dominating-file.
5044
5045 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5046 function is already compiled.
5047
5048 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5049
5050 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5051
5052 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5053 files on the same host.
5054
5055 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5056
5057 * help-fns.el (describe-function-1): Only call
5058 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5059
5060 2012-07-03 Chong Yidong <cyd@gnu.org>
5061
5062 * xml.el: Protect parser against XML bombs.
5063 (xml-entity-expansion-limit): New variable.
5064 (xml-parse-string, xml-substitute-special): Use it.
5065 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5066
5067 2012-07-03 Glenn Morris <rgm@gnu.org>
5068
5069 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5070 Allow linking to specific messages in debbugs reports (eg 123#5).
5071
5072 2012-07-02 Chong Yidong <cyd@gnu.org>
5073
5074 * xml.el: Fix entity and character reference expansion, allowing
5075 them to expand into markup as per XML spec.
5076 (xml-default-ns): New variable.
5077 (xml-entity-alist): Use XML spec definitions for lt and amp.
5078 (xml-parse-region): Make first two arguments optional.
5079 Discard text properties.
5080 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5081 All callers changed.
5082 (xml-parse-tag): Call xml-parse-tag-1. For backward
5083 compatibility, this function should not modify buffer contents.
5084 (xml-parse-tag-1): Fix opening-tag regexp.
5085 (xml-parse-string): Rewrite, handling entity and character
5086 references properly.
5087 (xml--entity-replacement-text): Signal an error if a parameter
5088 entity is undefined.
5089
5090 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * comint.el (comint-output-filter): Filter out repeated prompts.
5093
5094 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5095 and file-name-absolute-p.
5096 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5097 internal calls.
5098
5099 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5100
5101 Spelling fixes.
5102 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5103 Rename from byte-compile--refiy-function. All uses changed.
5104
5105 2012-07-01 Chong Yidong <cyd@gnu.org>
5106
5107 * xml.el (xml--parse-buffer): New function. Move most of
5108 xml-parse-region here.
5109 (xml-parse-region): Copy region into a temporary buffer, since
5110 parameter entity substitution requires changing buffer contents.
5111 Use xml--parse-buffer.
5112 (xml-parse-file): Use xml--parse-buffer.
5113 (xml-parse-dtd): Make parameter entity substitution work right.
5114 Use proper regexps for ELEMENT declarations (Bug#7172).
5115
5116 2012-06-30 Glenn Morris <rgm@gnu.org>
5117
5118 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5119
5120 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5121 Remove outdated and unnecessary dbus declarations.
5122
5123 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5124
5125 * emacs-lisp/timer.el (timer-until): Subtract results of
5126 float-time, instead of taking float-time of the result of
5127 time-subtract, since float-time signals an error for negative time
5128 arguments.
5129
5130 2012-06-30 Chong Yidong <cyd@gnu.org>
5131
5132 * xml.el (xml-*-re): Convert defvars into defconsts, and
5133 eval-and-compile them so eval-and-compile works on derivatives.
5134 (xml--entity-replacement-text): Use eval-and-comple.
5135
5136 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5137
5138 * vc/vc-git.el (vc-git-registered): Use cache property
5139 `git-registered'.
5140 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5141 `vc-git-working-revision' in order to benefit from the cache.
5142 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5143
5144 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5145
5146 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5147 removed (likely outside Emacs). (Bug#11757)
5148
5149 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * emacs-lisp/cl-lib.el: Require macroexp.
5152
5153 2012-06-30 Chong Yidong <cyd@gnu.org>
5154
5155 * xml.el: Implement XML parameter entities.
5156 (xml-parameter-entity-alist): New variable.
5157 (xml-parse-region, xml-parse-fragment): Preserve previous values
5158 of xml-entity-alist and xml-parameter-entity-alist, so that
5159 repeated calls on different documents do not change them.
5160 (xml-parse-tag): Fix doctype regexp.
5161 (xml--entity-replacement-text): New function.
5162 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5163 properly requires url retrieval which is unimplemented.
5164 (xml-escape-string): Doc fix.
5165
5166 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5169
5170 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5171
5172 * fringe.el (fringe-mode): Doc fix.
5173
5174 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5177 is non-nil.
5178 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5179 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5180
5181 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5182
5183 * calendar/cal-dst.el (calendar-current-time-zone):
5184 Return calendar-current-time-zone-cache if non-nil.
5185
5186 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5187
5188 * progmodes/which-func.el (which-func-format):
5189 Add mouse-face. (Bug#11698)
5190
5191 2012-06-29 Leo Liu <sdl.web@gmail.com>
5192
5193 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5194
5195 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * minibuffer.el (minibuffer-confirm-exit-commands):
5198 Add completion-at-point (bug#11725).
5199
5200 2012-06-29 Glenn Morris <rgm@gnu.org>
5201
5202 * progmodes/f90.el (f90-font-lock-keywords-2):
5203 Add some preprocessor elements. (Bug#10499)
5204
5205 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5208 Use syntax-propertize (bug#11739).
5209
5210 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5213
5214 2012-06-28 Julien Danjou <julien@danjou.info>
5215
5216 * term.el (term-handle-colors-array): Use a set of new faces to
5217 color the terminal. Also uses :inverse-video property.
5218 (term-default-fg-color): Set to nil by default, deprecate in favor
5219 of `term-face'.
5220 (term-default-bg-color): Set to nil by default, deprecate in favor
5221 of `term-face'.
5222 (term-current-face): Use `term-face' by default.
5223 (term-bold-attribute): Variable deleted.
5224
5225 2012-06-28 Glenn Morris <rgm@gnu.org>
5226
5227 * simple.el (completion-list-mode-finish):
5228 Don't use toggle-read-only. (Since completion-list-mode has
5229 a special mode-class, it wasn't doing anything extra anyway.)
5230
5231 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 Make inlining of other-mode interpreted functions work (bug#11799).
5234 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5235 (byte-compile): Use it to fix compilation of lexical-binding closures.
5236 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5237 function, if needed.
5238
5239 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5240
5241 * help-mode.el (help-make-xrefs): Don't just withstand
5242 cyclic-variable-indirection but any error in documentation-property.
5243
5244 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5245 memory use.
5246 * bindings.el (bindings--define-key): New function.
5247 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5248 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5249 * bindings.el: Use it to purecopy define-key bindings.
5250
5251 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5252
5253 * emacs-lisp/cl.el (flet): Mark obsolete.
5254 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5255 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5256 * progmodes/js.el (js-c-fill-paragraph):
5257 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5258 (ebrowse-switch-member-buffer-to-derived-class):
5259 * play/5x5.el (5x5-solver): Use cl-flet.
5260
5261 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5262 (cl--symbol-function): New macro.
5263 (cl--letf, cl--letf*): Use it.
5264
5265 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5266 Strip "toggle-" if any.
5267
5268 2012-06-27 Glenn Morris <rgm@gnu.org>
5269
5270 * info.el (Info-default-directory-list): Move here from paths.el.
5271 * paths.el: Remove file, which is now empty.
5272 * loadup.el: No longer load "paths".
5273
5274 * custom.el (custom-initialize-delay): Doc fix.
5275
5276 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5277 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5278 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5279 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5280 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5281 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5282 * eshell/eshell.el (eshell-defgroup): Remove alias.
5283
5284 2012-06-27 Chong Yidong <cyd@gnu.org>
5285
5286 * help.el (help-enable-auto-load): New variable.
5287
5288 * help-fns.el (help-fns--autoloaded-p): New function.
5289 (describe-function-1): Refer to a function as "autoloaded" if it
5290 was autoloaded at any time in the past. Perform autoloading if
5291 help-enable-auto-load is non-nil.
5292
5293 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5294
5295 * makefile.w32-in (compile, compile-always): Depend on
5296 update-subdirs, not on subdirs.el. Otherwise, several different
5297 sub-targets of 'bootstrap' running in parallel could
5298 simultaneously write to subdirs.el, producing a garbled file.
5299
5300 2012-06-26 Sam Steingold <sds@gnu.org>
5301
5302 * files.el (file-name-base): New convenience function.
5303 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5304 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5305 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5306 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5307 * textmodes/ispell.el, textmodes/reftex-ref.el:
5308 * textmodes/tex-mode.el: Use it.
5309 Did not touch cedet and org because they are maintained elsewhere.
5310
5311 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5312
5313 * calendar/calendar.el (calendar-exit): Don't try to delete or
5314 iconify last frame. See:
5315 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5316
5317 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5318
5319 * server.el (server-process-filter): Remember dir in the
5320 process's `server-client-directory' properties.
5321
5322 2012-06-24 Chong Yidong <cyd@gnu.org>
5323
5324 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5325 non-tag text.
5326
5327 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5330
5331 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * help-fns.el (describe-variable): Don't croak when doc is not found.
5334 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5335 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5336 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5337 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5338 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5339 ((lambda ..) ..).
5340 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5341
5342 2012-06-23 Chong Yidong <cyd@gnu.org>
5343
5344 * info.el (Info-mouse-follow-link): Accept symbol values of
5345 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5346 (Info-fontify-node): Use Info-link-keymap for all navigation
5347 buttons, with link-args property to perform the desired action.
5348 (Info-link-keymap): Doc fix.
5349 (Info-next-link-keymap, Info-prev-link-keymap)
5350 (Info-up-link-keymap): Delete now-unused keymaps.
5351
5352 2012-06-23 Chong Yidong <cyd@gnu.org>
5353
5354 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5355
5356 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5357 system abbrevs.
5358
5359 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5360
5361 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5364 (bug#11719).
5365
5366 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5367 the requote function doesn't work properly (bug#11714).
5368
5369 2012-06-23 Glenn Morris <rgm@gnu.org>
5370
5371 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5372
5373 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5374
5375 Further GV/CL cleanups.
5376 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5377 gv-expander.
5378 (gv--defun-declaration): New function.
5379 (defun-declarations-alist): Use it.
5380 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5381 (gv-place): Autoload.
5382 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5383 original definition of dotimes and dolist.
5384 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5385 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5386 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5387 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5388 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5389 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5390 to the function's definition.
5391 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5392 * window.el:
5393 * files.el:
5394 * faces.el:
5395 * env.el: Don't use CL.
5396
5397 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5398
5399 Support higher-resolution time stamps (Bug#9000).
5400
5401 * calendar/time-date.el (with-decoded-time-value): New arg
5402 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5403 (encode-time-value): New optional arg PICO. New type 3.
5404 (time-to-seconds) [!float-time]: Support the new picoseconds
5405 component if it's used.
5406 (seconds-to-time, time-subtract, time-add):
5407 Support ps-resolution time stamps as well.
5408
5409 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5410 (timerp): Timer vectors now have length 9, not 8.
5411 (timer--time): Support new-style (4-part) time stamps.
5412 (timer-next-integral-multiple-of-time): Time stamps now have
5413 picosecond resolution, so take a bit more care about rounding.
5414 (timer-relative-time, timer-inc-time): New optional arg psecs.
5415 (timer-set-time-with-usecs): Set psecs to 0.
5416 (timer--activate): Check psecs component, too.
5417
5418 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5419
5420 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5423 Move the non-essential binding to the post/pre-command-hook where it is
5424 more obviously correct.
5425
5426 * subr.el (read-passwd): Don't use a history at all.
5427 * savehist.el (savehist-save): Remove password saved accidentally
5428 because of the above bug.
5429
5430 2012-06-22 Bastien Guerry <bzg@gnu.org>
5431
5432 * files.el (toggle-read-only): Display a message telling whether
5433 the buffer is read-only or not (bug#11726).
5434
5435 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/gv.el: New file.
5438 * subr.el (push, pop): Extend to generalized variables.
5439 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5440 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5441 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5442 gv-define-simple-setter, and gv-define-expander.
5443 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5444 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5445 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5446 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5447 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5448 gv-letplace.
5449 (cl-defstruct): Don't define setf-method any more.
5450 * emacs-lisp/cl.el (flet): Don't autoload.
5451 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5452 (define-setf-expander, defsetf, define-modify-macro)
5453 (cl-struct-setf-expander): Move from cl-lib.el.
5454 * emacs-lisp/syntax.el:
5455 * emacs-lisp/ewoc.el:
5456 * emacs-lisp/smie.el:
5457 * emacs-lisp/cconv.el:
5458 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5459 (timer--time): Use gv-define-simple-setter.
5460 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5461 to avoid coding-system problems in subr.el. Adjust all users.
5462 (macroexp--maxsize, macroexp-small-p): New functions.
5463 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5464 * scroll-bar.el (scroll-bar-mode):
5465 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5466 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5467 * winner.el (winner-configuration, winner-make-point-alist)
5468 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5469 * files.el (locate-file-completion-table): Avoid list*.
5470
5471 2012-06-22 Chong Yidong <cyd@gnu.org>
5472
5473 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5474 (dired-create-files): Doc fix (Bug#11329).
5475 (dired-do-copy): Doc fix (Bug#11334).
5476 (dired-mark-read-string): Doc fix (Bug#11553).
5477
5478 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5479 Doc fix (Bug#11326).
5480 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5481 (dired-dwim-target): Doc fix.
5482
5483 * wdired.el (wdired-mode): Doc fix.
5484
5485 2012-06-22 Glenn Morris <rgm@gnu.org>
5486
5487 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5488 (pcmpl-rpm-cache-stamp-file): New constant.
5489 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5490 (pcmpl-rpm-packages): Optionally cache list of packages.
5491
5492 * pcmpl-rpm.el (pcmpl-rpm): New group.
5493 (pcmpl-rpm-query-options): New option.
5494 (pcmpl-rpm-packages): No need to inline it.
5495 Use pcmpl-rpm-query-options.
5496
5497 * calendar/calendar.el (calendar-in-read-only-buffer):
5498 Avoid some needless mode changes.
5499
5500 2012-06-21 Chong Yidong <cyd@gnu.org>
5501
5502 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5503 (desktop-path): Remove . from the default value (Bug#10977).
5504 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5505
5506 2012-06-20 Chong Yidong <cyd@gnu.org>
5507
5508 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5509
5510 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5511
5512 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5513 (bug#11201).
5514
5515 2012-06-20 Chong Yidong <cyd@gnu.org>
5516
5517 * term.el (term-window-width): Handle the case of a missing right
5518 fringe (Bug#8837).
5519 (term-check-size): Use window-text-height (Bug#5445).
5520 (term-mode): Use define-derived-mode. Minor cleanups.
5521 Set font-lock-defaults (Bug#7692).
5522 (term-move-columns, term-insert-char, term-emulate-terminal)
5523 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5524
5525 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5526
5527 * net/ange-ftp.el (ange-ftp-get-passwd):
5528 Bind `enable-recursive-minibuffers'.
5529 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5530
5531 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5532
5533 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5534
5535 2012-06-19 Glenn Morris <rgm@gnu.org>
5536
5537 * progmodes/python.el (python-mode): Derive from prog-mode.
5538
5539 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5540
5541 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5542 (edt-user-menu-bar-update-buffers): New functions.
5543 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5544
5545 2012-06-19 Chong Yidong <cyd@gnu.org>
5546
5547 * subr.el (with-selected-window): Preserve the selected window's
5548 terminal's top-frame (Bug#4702).
5549
5550 * window.el (save-selected-window): Likewise.
5551
5552 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * progmodes/python.el (python-rx-constituents): Move backquote.
5555 (python-skeleton-define, python-define-auxiliary-skeleton):
5556 Use `declare'.
5557
5558 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5559
5560 * minibuffer.el (read-file-name-default): Revert the patch from
5561 2012-06-17.
5562
5563 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5566 (pcase--u1, pcase--q1): Don't use apply-partially.
5567
5568 2012-06-18 Glenn Morris <rgm@gnu.org>
5569
5570 * progmodes/python.el (python-proc, python-buffer)
5571 (python-send-receive, python-send-string): Fix obsolete versions.
5572
5573 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5574
5575 * window.el (special-display-p): Completely remove stringp
5576 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5577
5578 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5579
5580 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5581
5582 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5583
5584 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5585 * net/tramp-sh.el (tramp-maybe-open-connection):
5586 Throw if `non-essential' is non-nil.
5587
5588 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5589
5590 * window.el (special-display-p): Signal an error if BUFFER-NAME
5591 is not a string (Bug#11713).
5592
5593 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5594
5595 * progmodes/python.el (python-info-beginning-of-backslash):
5596 Rename from python-info-beginning-of-backlash, as a spelling fix.
5597
5598 2012-06-17 Chong Yidong <cyd@gnu.org>
5599
5600 * term.el (term-emulate-terminal): If term-check-size is called,
5601 move point to the process mark without resetting point (Bug#4635).
5602
5603 2012-06-17 Glenn Morris <rgm@gnu.org>
5604
5605 * international/mule-cmds.el (mule-menu-keymap)
5606 (set-language-environment, set-locale-environment): Doc tweaks.
5607
5608 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5609
5610 * cus-face.el (custom-face-attributes): Add wave-style underline
5611 attribute.
5612 * faces.el (set-face-attribute): Update docstring to describe
5613 wave-style underline attribute.
5614
5615 2012-06-16 Chong Yidong <cyd@gnu.org>
5616
5617 * term/xterm.el (terminal-init-xterm): Discard input before
5618 querying background mode (Bug#10959).
5619
5620 2012-06-16 Stefan Merten <smerten@oekonux.de>
5621
5622 * textmodes/rst.el: Added and corrected some comments.
5623 (rst-re-alist-def): Improve symbol syntax.
5624 (rst-mode-syntax-table): Correct syntax entries.
5625 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5626 (rst-official-version, rst-official-cvs-rev): Update version
5627 information.
5628
5629 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5630
5631 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5632 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5633
5634 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5635
5636 * progmodes/python.el: New python.el merge.
5637 (python-guess-indent): Obsolete var.
5638 (python-indent-guess-indent-offset): New defcustom.
5639 (python-indent): Obsolete var.
5640 (python-indent-offset): New defcustom.
5641 (python-python-command, python-jython-command): Delete var.
5642 (python-shell-interpreter): New defcustom.
5643 (python-pdbtrack-do-tracking-p): Delete var.
5644 (python-pdbtrack-activate): New defcustom.
5645 (python-use-skeletons): Obsolete var.
5646 (python-skeleton-autoinsert): New defcustom.
5647 (inferior-python-filter-regexp, python-continuation-offset)
5648 (python-honour-comment-indentation, python-indent-string-contents)
5649 (python-jython-packages, python-mode-hook)
5650 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5651 (python-shell-prompt-alist)
5652 (python-source-modes): Delete defcustoms.
5653 (python-check-buffer-name, python-eldoc-setup-code)
5654 (python-eldoc-string-code, python-ffap-setup-code)
5655 (python-ffap-string-code, python-fill-comment-function)
5656 (python-fill-decorator-function, python-fill-paren-function)
5657 (python-fill-string-function, python-imenu-include-defun-type)
5658 (python-imenu-make-tree, python-imenu-subtree-root-label)
5659 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5660 (python-shell-compilation-regexp-alist)
5661 (python-shell-completion-module-string-code)
5662 (python-shell-completion-pdb-string-code)
5663 (python-shell-completion-setup-code)
5664 (python-shell-completion-string-code)
5665 (python-shell-enable-font-lock, python-shell-exec-path)
5666 (python-shell-extra-pythonpaths)
5667 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5668 (python-shell-process-environment)
5669 (python-shell-prompt-block-regexp)
5670 (python-shell-prompt-output-regexp)
5671 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5672 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5673 (python-shell-virtualenv-path): New defcustoms.
5674 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5675 (inferior-python-mode-syntax-table, python--prompt-regexp)
5676 (python-buffer, python-command python-python-command)
5677 (python-default-template, python-imports, python-indent-index)
5678 (python-indent-list, python-indent-list-length)
5679 (python-mode-running, python-pdbtrack-is-tracking-p)
5680 (python-preoutput-continuation, python-preoutput-leftover)
5681 (python-preoutput-result, python-preoutput-skip-next-prompt)
5682 (python-prev-dir/file, python-recursing)
5683 (python-saved-check-command, python-version-checked)
5684 (python-which-func-length-limit)
5685 (view-return-to-alist): Delete vars.
5686 (python-check-custom-command, python-dotty-syntax-table)
5687 (python-imenu-index-alist, python-indent-current-level)
5688 (python-indent-dedenters, python-indent-levels)
5689 (python-nav-beginning-of-defun-regexp)
5690 (python-nav-list-defun-positions-cache)
5691 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5692 (python-shell-internal-buffer)
5693 (python-skeleton-available): New vars.
5694 (def-python-skeleton): Delete macro.
5695 (python-skeleton-define): New macro.
5696 (python-define-auxiliary-skeleton, python-rx): New macros.
5697 (python-insert-class): Delete command.
5698 (python-skeleton-class): New command.
5699 (python-insert-def): Delete command.
5700 (python-skeleton-def): New command.
5701 (python-insert-for): Delete command.
5702 (python-skeleton-for): New command.
5703 (python-insert-if): Delete command.
5704 (python-skeleton-if): New command.
5705 (python-insert-try/except, python-insert-try/finally): Delete commands.
5706 (python-skeleton-try): New command.
5707 (python-insert-while): Delete command.
5708 (python-skeleton-while): New command.
5709 (python-backspace): Delete command.
5710 (python-indent-dedent-line-backspace): New command.
5711 (python-electric-colon): Delete command.
5712 (python-indent-electric-colon): New command.
5713 (python-guess-indent): Delete command.
5714 (python-indent-guess-indent-offset): New command.
5715 (python-shift-left): Delete command.
5716 (python-indent-shift-left): New command.
5717 (python-shift-right): Delete command.
5718 (python-indent-shift-right): New command.
5719 (python-find-function): Delete command.
5720 (python-nav-jump-to-defun): New command.
5721 (python-next-statement): Delete command.
5722 (python-nav-forward-sentence): New command.
5723 (python-previous-statement): Delete command.
5724 (python-nav-backward-sentence): New command.
5725 (python-fill-paragraph): Delete command.
5726 (python-fill-paragraph-function): New command.
5727 (python-send-buffer): Delete command.
5728 (python-shell-send-buffer): New command.
5729 (python-send-defun): Delete command.
5730 (python-shell-send-defun): New command.
5731 (python-send-region, python-send-region-and-go): Delete commands.
5732 (python-shell-send-region)
5733 (python-shell-switch-to-shell): New commands.
5734 (python-send-string): Delete command.
5735 (python-shell-send-string): New command.
5736 (python-switch-to-python): Delete command.
5737 (python-shell-switch-to-shell): New command.
5738 (python-describe-symbol): Delete command.
5739 (python-eldoc-at-point): New command.
5740 (python--set-prompt-regexp, python-args-to-list)
5741 (python-after-info-look, python-check-version)
5742 (python-check-comint-prompt, python-find-imports)
5743 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5744 (python-unload-function, python-expand-template)
5745 (python-maybe-jython, python-preoutput-filter)
5746 (python-pdbtrack-get-source-buffer)
5747 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5748 (python-pdbtrack-toggle-stack-tracking)
5749 (python-pdbtrack-track-stack-file, python-initial-text)
5750 (python-first-word, python-comment-line-p, python-send-command)
5751 (python-setup-brm, python-sentinel, python-set-proc)
5752 (python-skip-out, python-input-filter, python-outdent-p)
5753 (python-outline-level, python-backslash-continuation-line-p)
5754 (python-end-of-block, python-end-of-statement, python-mark-block)
5755 (python-beginning-of-block, python-beginning-of-statement)
5756 (python-blank-line-p, python-beginning-of-string)
5757 (python-open-block-statement-p): Delete functions.
5758 (python-indent-line, python-indent-line-1): Delete functions.
5759 (python-indent-line): New function.
5760 (python-indentation-levels): Delete function.
5761 (python-indent-calculate-levels): New function.
5762 (python-proc): Delete function.
5763 (python-shell-get-process): New function.
5764 (python-send-receive): Delete function.
5765 (python-shell-send-string-no-output): New function.
5766 (python-module-path): Delete function.
5767 (python-ffap-module-path): New function.
5768 (python-completion-at-point)
5769 (python-symbol-completions): Delete functions.
5770 (python-completion-complete-at-point): New function.
5771 (python-load-file): Delete function.
5772 (python-shell-send-file): New function.
5773 (python-calculate-indentation): Delete function.
5774 (python-indent-calculate-indentation): New function.
5775 (python-skip-comments/blanks): Delete function.
5776 (python-util-forward-comment): New function.
5777 (python-continuation-line-p): Delete function.
5778 (python-info-continuation-line-p): New function.
5779 (python-which-func, python-current-defun): Delete function.
5780 (python-info-current-defun): New function.
5781 (python-beginning-of-defun): Delete function.
5782 (python-nav-beginning-of-defun): New function.
5783 (python-close-block-statement-p)
5784 (python-block-end-p): Delete function.
5785 (python-info-closing-block): New function.
5786 (python-comint-output-filter-function)
5787 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5788 (python-fill-comment, python-fill-decorator, python-fill-paren)
5789 (python-fill-string, python-imenu-make-element-tree)
5790 (python-imenu-make-tree, python-imenu-tree-assoc)
5791 (python-indent-context, python-indent-dedent-line)
5792 (python-indent-line-function)
5793 (python-indent-post-self-insert-function)
5794 (python-indent-toggle-levels)
5795 (python-info-assignment-continuation-line-p)
5796 (python-info-beginning-of-backlash)
5797 (python-info-block-continuation-line-p)
5798 (python-info-closing-block-message)
5799 (python-info-line-ends-backslash-p)
5800 (python-info-looking-at-beginning-of-defun)
5801 (python-info-ppss-context, python-info-ppss-context-type)
5802 (python-nav-list-defun-positions, python-nav-read-defun)
5803 (python-nav-sentence-end, python-nav-sentence-start)
5804 (python-pdbtrack-comint-output-filter-function)
5805 (python-pdbtrack-set-tracked-buffer)
5806 (python-shell-calculate-exec-path)
5807 (python-shell-calculate-process-environment)
5808 (python-shell-completion--do-completion-at-point)
5809 (python-shell-completion--get-completions)
5810 (python-shell-completion-complete-at-point)
5811 (python-shell-completion-complete-or-indent)
5812 (python-shell-get-or-create-process)
5813 (python-shell-get-process-name)
5814 (python-shell-internal-get-or-create-process)
5815 (python-shell-internal-get-process-name)
5816 (python-shell-internal-send-string, python-shell-make-comint)
5817 (python-shell-parse-command, python-shell-send-setup-code)
5818 (python-skeleton-add-menu-items)
5819 (python-util-clone-local-variables, python-util-position)
5820 (run-python-internal, python-indentation-levels)
5821 (python-nav-beginning-of-defun)
5822 (python-completion-complete-at-point): New functions.
5823 (run-python): Change arguments. New API requirements.
5824
5825 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5828 (bug#11649).
5829
5830 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5831 (macroexp--expand-all): Use it.
5832
5833 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5834 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5835 Use `cl-function' instead.
5836
5837 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5838
5839 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5840 Suggested by Stefan Monnier while discussing bug#11657.
5841
5842 2012-06-14 Sam Steingold <sds@gnu.org>
5843
5844 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5845
5846 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5847
5848 * play/doctor.el (doctor-doc): Remove parameter and use
5849 doctor-sent instead of sent.
5850 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5851
5852 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * files.el: Require cl-lib.
5855 (file-name-non-special): Replace case -> cl-case.
5856
5857 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5858
5859 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5860 mapping from #' to function*.
5861
5862 2012-06-13 Chong Yidong <cyd@gnu.org>
5863
5864 * mouse.el (mouse-drag-track): Do not set the mark if the user
5865 releases the mouse without selecting anything (Bug#11588).
5866
5867 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5870 as well (bug#11646).
5871
5872 * loadup.el: Count byte-code functions as well.
5873
5874 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5875 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5876
5877 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5878 (bug#11649). Add cl-defun and cl-defmacro.
5879
5880 2012-06-13 Drew Adams <drew.adams@oracle.com>
5881
5882 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5883 Fix last change.
5884
5885 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5886
5887 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5888 Otherwise, it blocks in batch mode.
5889
5890 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5891
5892 * help-mode.el (bookmark-make-record-default): Declare.
5893
5894 2012-06-13 Chong Yidong <cyd@gnu.org>
5895
5896 * emacs-lisp/package.el (list-packages): Compute a list of
5897 packages that are newly-available since the last list-packages
5898 invocation.
5899 (package-menu--new-package-list): New var.
5900 (package-menu--generate, package-menu--print-info)
5901 (package-menu--status-predicate, package-menu-mark-install):
5902 Handle new status label "new".
5903
5904 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5907 conversion to backquotes.
5908
5909 2012-06-12 Chong Yidong <cyd@gnu.org>
5910
5911 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5912 Rename from gud-inhibit-global-bindings.
5913
5914 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5915
5916 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5917 hook from nxml-glyph-set-hook.
5918
5919 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5920 declaration.
5921
5922 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5923
5924 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5925 Convert to defcustom.
5926
5927 2012-06-12 Drew Adams <drew.adams@oracle.com>
5928
5929 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5930 New functions.
5931 (help-mode): Use them.
5932
5933 2012-06-11 Glenn Morris <rgm@gnu.org>
5934
5935 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5936 Use preprocessor face for directives.
5937 (fortran-directive-re): Doc fix.
5938
5939 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5942 conversion to backquotes (bug#11652).
5943
5944 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5945 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5946 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5947 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5948 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5949 (cl-ninth, cl-tenth): Mark them as inlinable.
5950 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5951 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5952 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5953 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5954 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5955 (cl-list*, cl-adjoin): Don't put an autoload manually.
5956 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5957 (cl--compiler-macro-list*): Add autoload cookie.
5958 (cl--compiler-macro-cXXr): New function.
5959
5960 * help-fns.el (help-fns--compiler-macro): New function extracted from
5961 describe-function-1; follow aliases and use `compiler-macro' property.
5962 (describe-function-1): Use it.
5963
5964 2012-06-11 Chong Yidong <cyd@gnu.org>
5965
5966 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5967 is uninstalled, if imagemagick is installed.
5968
5969 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * emacs-lisp/cl-lib.el: Use lexical-binding.
5972 (cl-map-extents, cl-maclisp-member): Remove.
5973 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5974 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5975 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5976 * emacs-lisp/cl-extra.el: Use lexical-binding.
5977 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5978 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5979 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5980 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5981 * emacs-lisp/cl-seq.el: Use lexical-binding.
5982 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5983 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5984 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5985 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5986 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5987 CL's internals.
5988
5989 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5990
5991 Sync with Tramp 2.2.6-pre.
5992
5993 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5994 `print-length' and `print-level' to nil, in order to avoid
5995 truncation. Reported by Christopher Schmidt
5996 <christopher@ristopher.com>.
5997
5998 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5999
6000 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6001 New defmacro.
6002 (tramp-compat-copy-directory): Add optional argument
6003 COPY-CONTENTS. It is not handled yet.
6004
6005 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6006 (tramp-ftp-file-name-p): Simplify.
6007
6008 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6009 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6010 connection vector.
6011
6012 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6013 (tramp-methods): Do not use `tramp-password-end-of-line'.
6014 (tramp-completion-function-alist-putty): Handle UNIX case.
6015 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6016 (tramp-do-file-attributes-with-stat)
6017 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6018 gid as real numbers. They could run out of integer range on cygwin.
6019 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6020 (tramp-sh-handle-expand-file-name): Handle hops.
6021 (tramp-open-connection-setup-interactive-shell):
6022 Use `tramp-cleanup'. Move check for busyboxes ...
6023 (tramp-find-shell): ... here. Simplify implementation.
6024 Set "remote-shell" property also for alternative shells.
6025 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6026 If failing, a regular file would be written otherwise.
6027 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6028 (tramp-find-inline-encoding): Cache the coding commands in the
6029 process cache. Apply test command on the remote side, if defined.
6030 (tramp-find-inline-compress): Cache the compress commands in the
6031 process cache.
6032 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6033 when requested. Handle hops.
6034 (tramp-current-connection): New defvar.
6035 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6036 Throw `suppress', if there was a failed connection shortly before.
6037 Handle user interrupt. (Bug#10187)
6038 (tramp-get-inline-compress, tramp-get-inline-coding):
6039 Read connection properties from the process cache.
6040
6041 * net/tramp-smb.el (tramp-smb-server-version)
6042 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6043 New defconsts.
6044 (tramp-smb-prompt): Extend for powershell prompt.
6045 (tramp-smb-file-name-handler-alist): Add handlers for
6046 `process-file', `shell-command' and `start-file-process'.
6047 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6048 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6049 (tramp-smb-file-name-p): Simplify.
6050 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6051 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6052 (tramp-smb-shell-quote-argument): New defuns.
6053 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6054 Implement using "tar". By this, time-stamps are preserved.
6055 (tramp-smb-handle-copy-file): Handle also the case of directories.
6056 (tramp-smb-do-file-attributes-with-stat)
6057 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6058 Use `tramp-get-connection-buffer').
6059 (tramp-smb-handle-rename-file): Use "rename", when source and
6060 target are on the same share.
6061 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6062 Use `tramp-smb-server-version'.
6063 (tramp-smb-wait-for-output): Remove prompt.
6064
6065 * net/tramp.el (top): Require 'cl.
6066 (tramp-methods, tramp-rsh-end-of-line):
6067 Remove `tramp-password-end-of-line' from docstring.
6068 (tramp-save-ad-hoc-proxies): New defcustom.
6069 (tramp-completion-function-alist): Adapt docstring.
6070 (tramp-default-password-end-of-line): Remove defcustom.
6071 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6072 (tramp-user-regexp, tramp-file-name-regexp-unified)
6073 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6074 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6075 (tramp-remote-file-name-spec-regexp): New defconst.
6076 (tramp-file-name-structure): Extend structure for hops.
6077 (tramp-get-method-parameter): Move up.
6078 (tramp-file-name-p, tramp-dissect-file-name)
6079 (with-parsed-tramp-file-name): Handle hops.
6080 (tramp-file-name-hop): New defun.
6081 (tramp-make-tramp-file-name): New optional arg HOP.
6082 (tramp-message-show-progress-reporter-message): New defvar.
6083 (tramp-with-progress-reporter): Use it. We cannot use
6084 `tramp-message-show-message' here, because this suppresses also
6085 error buffers.
6086 (tramp-error-with-buffer): Suppress buffer view, if
6087 `tramp-message-show-message' is nil.
6088 Use `tramp-get-connection-buffer'.
6089 (tramp-cleanup): New defun.
6090 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6091 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6092 an error unchanged.
6093 (tramp-completion-handle-file-name-all-completions): Handle hops.
6094 Fix an error when called from ido.
6095 (tramp-completion-dissect-file-name): Use better local variable
6096 name. Add hop to the vector.
6097 (tramp-handle-insert-file-contents): Use progress-reporter for the
6098 whole scenario.
6099 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6100 to `t'.
6101 (tramp-check-for-regexp): Simplify search.
6102 (tramp-enter-password): Remove it. Move implementation ...
6103 (tramp-action-password): ... here.
6104 (tramp-mode-string-to-int, tramp-local-host-p)
6105 (tramp-make-tramp-temp-file, tramp-read-passwd)
6106 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6107 Set tramp-autoload cookie.
6108
6109 * net/trampver.el: Update release number.
6110
6111 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6112 Michael Albinus <michael.albinus@gmx.de>
6113
6114 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6115 (tramp-parse-group, tramp-parse-file)
6116 (tramp-parse-shostkeys-sknownhosts): New defuns.
6117 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6118 (tramp-parse-shosts-group, tramp-parse-sconfig)
6119 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6120 (tramp-parse-sknownhosts, tramp-parse-hosts)
6121 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6122 Use them.
6123 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6124 (tramp-parse-putty-group): Don't narrow.
6125 (tramp-parse-putty): Make a loop.
6126 (tramp-file-name-handler): Catch the `suppress' signal.
6127
6128 2012-06-11 Chong Yidong <cyd@gnu.org>
6129
6130 * image.el (imagemagick-register-types): Put the ImageMagick entry
6131 at the end of image-type-file-name-regexps.
6132
6133 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6134
6135 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6136 (pcase, pcase-let*, pcase-dolist): Use them.
6137
6138 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * emacs-lisp/pcase.el (pcase--let*): New function.
6141 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6142 (pcase--expand): Use macroexp-let².
6143
6144 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6145
6146 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6147 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6148 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6149 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6150 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6151 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6152
6153 2012-06-10 Glenn Morris <rgm@gnu.org>
6154
6155 * mail/rmail.el (rmail-yank-current-message): Leave point at
6156 correct position. (Bug#11660)
6157
6158 2012-06-10 Chong Yidong <cyd@gnu.org>
6159
6160 * allout-widgets.el: Fix code header.
6161
6162 2012-06-10 Chong Yidong <cyd@gnu.org>
6163
6164 * cus-edit.el (customize-changed-options-previous-release):
6165 Bump to 24.1.
6166
6167 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6168
6169 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6170
6171 2012-06-09 Chong Yidong <cyd@gnu.org>
6172
6173 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6174
6175 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6176
6177 * window.el (special-display-popup-frame): Don't use
6178 window--display-buffer (Bug#11651).
6179
6180 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6181
6182 Fix parallel builds: make sure loaddefs.el is not being written
6183 while Lisp files are compiled.
6184 (compile): Don't depend on 'mh-autoloads'.
6185 (compile-CMD, compile-SH): Depend on 'autoloads'.
6186 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6187
6188 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6189
6190 2012-06-09 Chong Yidong <cyd@gnu.org>
6191
6192 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6193 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6194 Doc fixes (Bug#11225).
6195
6196 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6199 a function if there's a clear indication that it has a compiler-macro.
6200 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6201 (macro-declarations-alist): Add arglist to declaration functions.
6202 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6203 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6204 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6205 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6206 Also add autoload to find the compiler macro.
6207 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6208 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6209 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6210 (cl--compiler-macro-get): New functions, replacing calls to
6211 cl-define-compiler-macro.
6212 (cl-typep) [compiler-macro]: Use macroexp-let².
6213
6214 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6215
6216 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6217 string properly, fixes Bug#11473.
6218
6219 2012-06-08 Chong Yidong <cyd@gnu.org>
6220
6221 * faces.el (set-face-attribute): Doc fix.
6222 (modify-face): Don't use :bold and :italic.
6223 (error, warning, success): Tweak definitions.
6224
6225 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6226 (custom-modified, custom-set, custom-changed, custom-themed)
6227 (custom-saved, custom-button, custom-button-mouse)
6228 (custom-button-pressed, custom-state, custom-comment-tag)
6229 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6230 (custom-group-subtitle): Use new-style face specs.
6231 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6232 (custom-set-face, custom-changed-face, custom-saved-face)
6233 (custom-button-face, custom-button-pressed-face)
6234 (custom-documentation-face, custom-state-face)
6235 (custom-comment-face, custom-comment-tag-face)
6236 (custom-variable-tag-face, custom-variable-button-face)
6237 (custom-face-tag-face, custom-group-tag-face-1)
6238 (custom-group-tag-face): Remove obsolete face alias.
6239
6240 * epa.el (epa-validity-high, epa-validity-medium)
6241 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6242 (epa-field-name, epa-field-body):
6243 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6244 (font-lock-keyword-face, font-lock-builtin-face)
6245 (font-lock-function-name-face, font-lock-variable-name-face)
6246 (font-lock-type-face, font-lock-constant-face):
6247 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6248 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6249 * speedbar.el (speedbar-button-face, speedbar-file-face)
6250 (speedbar-directory-face, speedbar-tag-face)
6251 (speedbar-selected-face, speedbar-highlight-face)
6252 (speedbar-separator-face):
6253 * whitespace.el (whitespace-newline, whitespace-space)
6254 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6255 (whitespace-line, whitespace-space-before-tab)
6256 (whitespace-space-after-tab, whitespace-indentation)
6257 (whitespace-empty):
6258 * emulation/cua-base.el (cua-global-mark):
6259 * eshell/em-prompt.el (eshell-prompt):
6260 * net/newst-plainview.el (newsticker-new-item-face)
6261 (newsticker-old-item-face, newsticker-immortal-item-face)
6262 (newsticker-obsolete-item-face, newsticker-date-face)
6263 (newsticker-statistics-face, newsticker-default-face):
6264 * net/newst-reader.el (newsticker-feed-face)
6265 (newsticker-extra-face, newsticker-enclosure-face):
6266 * net/newst-treeview.el (newsticker-treeview-face)
6267 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6268 (newsticker-treeview-immortal-face)
6269 (newsticker-treeview-obsolete-face)
6270 (newsticker-treeview-selection-face):
6271 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6272 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6273 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6274 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6275 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6276 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6277 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6278 (mpuz-text):
6279 * progmodes/vera-mode.el (vera-font-lock-number)
6280 (vera-font-lock-function, vera-font-lock-interface):
6281 * textmodes/table.el (table-cell): Use new-style face specs, and
6282 don't use the old :bold and :italic attributes.
6283
6284 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6285 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6286 (ebrowse-member-class, ebrowse-progress): Likewise.
6287 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6288 (ebrowse-file-name-face, ebrowse-default-face)
6289 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6290 (ebrowse-progress-face): Remove obsolete faces.
6291
6292 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6293 Inherit from error and warning faces respectively.
6294
6295 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6296 Likewise.
6297 (flyspell-incorrect-face, flyspell-duplicate-face):
6298 Remove obsolete aliases.
6299
6300 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6301
6302 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6303 Avoid infloop.
6304
6305 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * startup.el (argv, argi): Make lexically scoped.
6308 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6309 * emacs-lisp/cl-macs.el: Use lexical-binding.
6310 Rename cl-bind-* to cl--bind-*.
6311 * files.el: Don't require `cl' since it doesn't use it.
6312 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6313
6314 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6317 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6318 instead of calling external sort utility.
6319 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6320
6321 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6322
6323 * descr-text.el (describe-char): Mention how to insert the
6324 character, if the current input method doesn't support it.
6325 See the discussion in this thread for the details:
6326 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6327
6328 2012-06-08 Sam Steingold <sds@gnu.org>
6329
6330 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6331 XF86Back to previous-buffer.
6332 (minibuffer-local-map): Bind them to next-history-element and
6333 previous-history-element respectively.
6334 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6335 help-go-back respectively.
6336 * info.el (Info-mode-map): Bind them to Info-history-forward and
6337 Info-history-back respectively.
6338 These are the keys next to Up on the ThinkPad keyboard.
6339
6340 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6343 * emacs-lisp/cl-macs.el: Provide itself.
6344 (cl--labels-convert-cache): New var.
6345 (cl--labels-convert): New function.
6346 (cl-flet, cl-labels): New implementation with new semantics, relying on
6347 lexical-binding.
6348 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6349 (cl-closure-vars, cl--function-convert-cache)
6350 (cl--function-convert): Move from cl-macs.el.
6351 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6352 rename by removing the "cl-" prefix.
6353 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6354
6355 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6358 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6359 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6360 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6361 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6362 (cl-hash-table-count): Add old compatibility aliases.
6363
6364 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6365 Use macroexpand-all-environment instead.
6366 (cl--old-macroexpand): New var.
6367 (cl--sm-macroexpand): New function.
6368 (cl-symbol-macrolet): Use it during macro expansion.
6369 (cl--function-convert-cache): New var.
6370 (cl--function-convert): New function, extracted from
6371 cl-macroexpand-all.
6372 (cl-lexical-let): Use it.
6373
6374 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6375 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6376 (cl-member): Remove old alias.
6377
6378 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6379 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6380 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6381 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6382 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6383 (cl-macroexpand-cmacs): Remove var.
6384 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6385 Use macroexpand-all instead.
6386
6387 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6390 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6391 (macroexp-copyable-p): New functions and macros.
6392 * emacs-lisp/edebug.el (edebug-unwrap):
6393 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6394 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6395 (pcase--let*): Remove.
6396 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6397 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6398 macroexp-const-p instead.
6399 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6400
6401 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6402 instead of "cl-" for internal definitions. Use macroexp-const-p.
6403 (cl-old-bc-file-form): Remove var.
6404 (cl-const-exprs-p): Remove fun.
6405 (cl-labels, cl-macrolet): Use backquote.
6406 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6407 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6408 (cl-define-setf-expander): Rename from cl-define-setf-method.
6409 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6410
6411 * international/mule-cmds.el: Don't require CL.
6412 (view-hello-file): Don't use `letf'.
6413
6414 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6415
6416 * tmm.el (tmm-prompt): Use string-prefix-p.
6417 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6418 (tmm-add-prompt): Use minibuffer-completion-help.
6419 (tmm-delete-map): Remove.
6420
6421 * subr.el (kbd): Make it its own function.
6422
6423 2012-06-07 Stefan Merten <smerten@oekonux.de>
6424
6425 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6426 Silence compiler warnings. Fix versions.
6427 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6428 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6429 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6430 (rst-package-emacs-version-alist): Correct Emacs version to
6431 represent major merge with upstream.
6432 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6433
6434 2012-06-06 Glenn Morris <rgm@gnu.org>
6435
6436 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6437 Only print environment variables if set.
6438
6439 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6442 (macroexp--cons): Rename from maybe-cons.
6443 (macroexp--accumulate): Rename from macroexp-accumulate.
6444 (macroexp--all-forms): Rename from macroexpand-all-forms.
6445 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6446 (macroexp--expand-all): Rename from macroexpand-all-1.
6447
6448 2012-06-06 Sam Steingold <sds@gnu.org>
6449
6450 * calendar/calendar.el (calendar-in-read-only-buffer):
6451 Call `special-mode' to enable the standard read-only keybindings.
6452
6453 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6456 with "loading" messages (bug#11635).
6457
6458 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * files.el (enable-remote-dir-locals): New option.
6461 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6462
6463 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6464 Ensure, that the temp directory is local.
6465
6466 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6467 `temporary-file-directory'.
6468
6469 * progmodes/python.el (python-send-region): Ensure, that the
6470 temporary file is created also in the remote case.
6471
6472 2012-06-06 Glenn Morris <rgm@gnu.org>
6473
6474 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6475 (vc-rcs-update-changelog): Use it.
6476
6477 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6478
6479 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6480 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6481 (vc-sccs-diff): Replace use of the external vcdiff script.
6482
6483 2012-06-05 Glenn Morris <rgm@gnu.org>
6484
6485 * ledit.el: Move to obsolete/.
6486
6487 2012-06-05 Sam Steingold <sds@gnu.org>
6488
6489 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6490 patch (Bug#11140).
6491
6492 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * emacs-lisp/cust-print.el: Move to obsolete.
6495
6496 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6497 compiler-macro expansion.
6498
6499 Add native compiler-macro support.
6500 * emacs-lisp/macroexp.el (macroexpand-all-1):
6501 Support compiler-macros directly. Properly follow aliases and apply
6502 the compiler macros more thoroughly.
6503 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6504 macroexpand now properly follows aliases.
6505 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6506 (cl-compiler-macroexpand): Use new prop.
6507 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6508
6509 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6510
6511 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6512
6513 * window.el (get-lru-window, get-mru-window, get-largest-window):
6514 New argument NOT-SELECTED to avoid picking the selected window.
6515 (window--display-buffer-1, window--display-buffer-2): Replace by
6516 new function window--display-buffer
6517 (display-buffer-same-window, display-buffer-reuse-window)
6518 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6519 Use window--display-buffer.
6520 (display-buffer-use-some-window): Remove temporary dedication
6521 hack by calling get-lru-window and get-largest-window with
6522 NOT-SELECTED argument non-nil. Call window--display-buffer.
6523
6524 2012-06-05 Glenn Morris <rgm@gnu.org>
6525
6526 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6527 Replace external vcdiff script.
6528
6529 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6532
6533 2012-06-04 Chong Yidong <cyd@gnu.org>
6534
6535 * image.el (imagemagick-types-inhibit): Revert last change.
6536 Add INFO and M.
6537 (imagemagick-enabled-types): Remove CIN and EPS*.
6538
6539 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * emacs-lisp/cl-lib.el: Rename from cl.el.
6542 * emacs-lisp/cl.el: New compatibility file.
6543 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6544 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6545 to obey the "cl-" prefix.
6546 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6547
6548 2012-06-03 Glenn Morris <rgm@gnu.org>
6549
6550 * emacs-lisp/authors.el (authors-aliases): Addition.
6551
6552 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6553 Fix :version.
6554
6555 2012-06-03 Stefan Merten <smerten@oekonux.de>
6556
6557 * textmodes/rst.el: Add comments.
6558 (rst-transition, rst-adornment): New faces.
6559 (rst-adornment-faces-alist): Make default safe to reevaluate.
6560 Fixes
6561 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6562 Improve customization tags.
6563 (rst-define-level-faces): Clarify meaning.
6564
6565 2012-06-03 Chong Yidong <cyd@gnu.org>
6566
6567 * progmodes/compile.el (compilation-mode-line-fail)
6568 (compilation-mode-line-run, compilation-mode-line-exit):
6569 New faces.
6570 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6571
6572 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6573
6574 * progmodes/which-func.el (which-func-update-ediff-windows):
6575 New function. Use it in ediff-select-hook (Bug#11478).
6576
6577 2012-06-03 Chong Yidong <cyd@gnu.org>
6578
6579 * bindings.el: Remove explicit help text from format-mode-line.
6580 It is now supplied by mode-line-default-help-echo.
6581 (mode-line-front-space, mode-line-end-spaces)
6582 (mode-line-misc-info): New variables.
6583 (mode-line-modes, mode-line-position): Move the default value to
6584 the variable definition.
6585 (mode-line-default-help-echo): New defcustom.
6586 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6587 (mode-line-modified-help-echo): New functions.
6588 (mode-line-mule-info, mode-line-modified): Use them.
6589 (mode-line-eol-desc, propertized-buffer-identification):
6590 Consistency fixes for help text.
6591 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6592 set-buffer-file-coding-system (Bug#289).
6593 (mode-line-mule-info-help-echo): Update help text.
6594
6595 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6596
6597 * simple.el (execute-extended-command): Set real-this-command
6598 (bug#11506).
6599
6600 2012-06-02 Chong Yidong <cyd@gnu.org>
6601
6602 Remove incorrect uses of "modeline" in comments, docstrings, and
6603 function/variable names (Bug#10329).
6604
6605 * cus-edit.el (mode-line):
6606 * dframe.el (dframe-mouse-hscroll):
6607 * emacs-lisp/re-builder.el:
6608 * emacs-lisp/easy-mmode.el (define-minor-mode):
6609 * frame.el (set-frame-name):
6610 * help.el (lookup-minor-mode-from-indicator):
6611 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6612 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6613 (c-toggle-hungry-state):
6614 * progmodes/antlr-mode.el (antlr-language-alist):
6615 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6616 * progmodes/vhdl-mode.el (vhdl-mode):
6617 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6618 * term/ns-win.el (ns-face-at-pos):
6619 * term/sup-mouse.el (sup-mouse-report):
6620 * textmodes/flyspell.el (flyspell-mode-line-string):
6621 * textmodes/ispell.el (ispell-highlight-face):
6622 * textmodes/reftex-global.el:
6623 * vc/vc-arch.el (vc-arch-mode-line-string):
6624 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6625 * vc/vc-git.el (vc-git-mode-line-string):
6626 * vc/vc-hooks.el (vc-display-status)
6627 (vc-default-mode-line-string):
6628 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6629
6630 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6631
6632 * dired.el (dired-sort-set-mode-line): Rename from
6633 dired-sort-set-modeline. All callers changed.
6634
6635 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6636 eshell-status-in-modeline.
6637
6638 * foldout.el (foldout-mode-line-string): Rename from
6639 foldout-modeline-string. All callers changed.
6640 (foldout-update-mode-line): Rename from foldout-update-modeline.
6641
6642 * subr.el (redraw-modeline): Make into obsolete alias.
6643
6644 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6645 timeclock-modeline-display. Make old name an alias.
6646 (timeclock-update-mode-line): Likewise. All callers changed.
6647 (timeclock-mode-line-display): No need to check before using
6648 add-hook.
6649 (timeclock-relative, timeclock-day-over-hook)
6650 (timeclock-use-elapsed, timeclock-mode-string)
6651 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6652
6653 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6654 crisp-mode-modeline-string.
6655
6656 * play/solitaire.el (solitaire-build-mode-line): Rename from
6657 solitaire-build-modeline. All callers changed.
6658
6659 * play/zone.el (zone-hiding-mode-line): Rename from
6660 zone-hiding-modeline. All callers changed.
6661 (zone): Remove unusued `modeline-hidden-level' property.
6662
6663 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6664 xscheme-modeline-initialize. All callers changed.
6665
6666 * strokes.el (strokes-lighter): Rename from
6667 strokes-modeline-string.
6668
6669 * textmodes/sgml-mode.el (html-face-tag-alist)
6670 (html-tag-face-alist): Use mode-line face instead of obsolete
6671 alias modeline.
6672
6673 2012-06-02 Stefan Merten <smerten@oekonux.de>
6674
6675 * textmodes/rst.el: Always require `cl'.
6676 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6677
6678 2012-06-02 Chong Yidong <cyd@gnu.org>
6679
6680 * image.el (imagemagick-enabled-types): Rename from
6681 imagemagick-types-enable. Add many more types.
6682 (imagemagick-types-inhibit): Change default to nil.
6683 (imagemagick-filter-types): Caller changed.
6684
6685 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * emacs-lisp/cl-macs.el: Use backquotes.
6688 (cl-transform-function-property): Use eval-and-compile rather than
6689 abusing `require'.
6690 (defstruct): Use declare-function instead of with-no-warnings.
6691
6692 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6693 (byte-compile-output-docform): Re-add the print-circle bindings.
6694 (byte-compile-fix-header): Use #$ just because it's shorter.
6695 (byte-compile-output-file-form): Remove defun/defmacro.
6696
6697 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6698
6699 * simple.el (choose-completion): Remove now obsolete binding for
6700 owindow.
6701
6702 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6703
6704 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6705 in order to avoid "Stack overflow in regexp matcher".
6706
6707 2012-05-31 Glenn Morris <rgm@gnu.org>
6708
6709 * image.el: For clarity, call imagemagick-register-types at
6710 top-level, rather than relying on a custom :initialize.
6711 (imagemagick-types-enable): New option. (Bug#11557)
6712 (imagemagick-filter-types): New function. (Bug#7406)
6713 (imagemagick-register-types): Use imagemagick-filter-types.
6714 If disabling support, remove elements altogether rather
6715 than using an impossible regexp.
6716 (imagemagick-types-inhibit): Give it the default init function.
6717
6718 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6721 Handle arbitrary file name lengths (Bug#11585).
6722
6723 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6724
6725 * desktop.el (desktop-read): Clear previous and next buffers for
6726 all windows and bury *Messages* buffer (bug#11556).
6727
6728 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 Add `declare' for `defun'. Align `defmacro's with it.
6731 * emacs-lisp/easy-mmode.el (define-minor-mode)
6732 (define-globalized-minor-mode): Don't autoload the var definitions.
6733 * emacs-lisp/byte-run.el: Use lexical-binding.
6734 (defun-declarations-alist, macro-declarations-alist): New vars.
6735 (defmacro, defun): Use them.
6736 (make-obsolete, define-obsolete-function-alias)
6737 (make-obsolete-variable, define-obsolete-variable-alias):
6738 Use `declare'.
6739 (macro-declaration-function): Mark obsolete.
6740 * emacs-lisp/autoload.el: Use lexical-binding.
6741 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6742
6743 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6744
6745 * textmodes/ispell.el (ispell-with-no-warnings):
6746 Define as a macro.
6747 (ispell-kill-ispell, ispell-change-dictionary):
6748 Use `called-interactively-p' for Emacs instead of obsolete
6749 `interactive-p'.
6750
6751 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6754 (macro-declaration-function): Move var from C code.
6755 (macro-declaration-function): Define function with defalias.
6756 * emacs-lisp/macroexp.el (macroexpand-all-1):
6757 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6758 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6759 defun/defmacro any more.
6760 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6761 Provide fallback for unknown arglist.
6762 (byte-compile-arglist-warn): Change calling convention.
6763 (byte-compile-output-file-form): Move print-vars binding.
6764 (byte-compile-output-docform): Simplify accordingly.
6765 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6766 (byte-compile-defmacro-declaration): Remove.
6767 (byte-compile-file-form-defmumble): Generalize to defalias.
6768 (byte-compile-output-as-comment): Return byte-positions.
6769 Simplify callers accordingly.
6770 (byte-compile-lambda): Use `assert'.
6771 (byte-compile-defun, byte-compile-defmacro): Remove.
6772 (byte-compile-file-form-defalias):
6773 Use byte-compile-file-form-defmumble.
6774 (byte-compile-defalias-warn): Remove.
6775
6776 2012-05-29 Stefan Merten <smerten@oekonux.de>
6777
6778 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6779 possible. Fix authors. Improve comments. Improve loading of `cl'.
6780
6781 (rst-mode-abbrev-table): Merge definition.
6782 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6783 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6784
6785 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6786
6787 * calendar/icalendar.el
6788 (icalendar-export-region): Export UID properly.
6789
6790 2012-05-29 Leo Liu <sdl.web@gmail.com>
6791 * calendar/icalendar.el (icalendar-import-format):
6792 Add `icalendar-import-format-uid' (Bug#11525).
6793 (icalendar-import-format-uid): New.
6794 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6795 Export UID.
6796
6797 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6800 different alternative patterns.
6801 (pcase-codegen): Be more careful to preserve identity.
6802 (pcase--u1): Don't forget to mark vars as used.
6803
6804 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6805 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6806 (byte-compile-from-buffer): ...rather than here.
6807
6808 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6809 functions from byte-compile-function-environment.
6810
6811 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6812
6813 * window.el (window-deletable-p): Avoid deleting the root window
6814 of a frame with an active minibuffer.
6815
6816 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6817
6818 * simple.el (choose-completion): Use quit-window (Bug#11567).
6819
6820 2012-05-29 Chong Yidong <cyd@gnu.org>
6821
6822 * whitespace.el (whitespace-cleanup): Fix usage of
6823 whitespace-empty-at-bob-regexp (Bug#11492).
6824
6825 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6826
6827 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6828 revert (Bug#11488).
6829
6830 2012-05-29 Juri Linkov <juri@jurta.org>
6831
6832 * isearch.el (isearch-mode-map): Bind `M-s _' to
6833 `isearch-toggle-symbol'. Bind `M-s c' to
6834 `isearch-toggle-case-fold'.
6835 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6836 (isearch-forward): Add `M-s _' to the docstring.
6837 (isearch-forward-symbol, isearch-toggle-case-fold)
6838 (isearch-symbol-regexp): New functions. (Bug#11381)
6839
6840 2012-05-29 Juri Linkov <juri@jurta.org>
6841
6842 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6843 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6844 a function, call it to get the regexp.
6845 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6846 property `isearch-message-prefix' instead of the string "word ".
6847 (isearch-search-fun-default): For the case of `isearch-word',
6848 return a lambda that calls re-search-forward/re-search-backward
6849 with a regexp returned by `word-search-regexp' or by the function
6850 in `isearch-word'.
6851
6852 2012-05-29 Juri Linkov <juri@jurta.org>
6853
6854 * isearch.el (isearch-search-fun-default): New function.
6855 (isearch-search-fun): Move default part to the new function
6856 `isearch-search-fun-default'.
6857 (isearch-search-fun-function): Set the default value to
6858 `isearch-search-fun-default'. (Bug#11381)
6859
6860 * comint.el (comint-history-isearch-end):
6861 Use `isearch-search-fun-default'.
6862 (comint-history-isearch-search): Use `isearch-search-fun-default'
6863 and remove spacial case for `isearch-word'.
6864 (comint-history-isearch-wrap): Remove spacial case for
6865 `isearch-word'.
6866
6867 * hexl.el (hexl-isearch-search-function):
6868 Use `isearch-search-fun-default'.
6869
6870 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6871 Use `word-search-regexp' for `isearch-word'.
6872
6873 * misearch.el (multi-isearch-search-fun):
6874 Use `isearch-search-fun-default'.
6875
6876 * simple.el (minibuffer-history-isearch-search):
6877 Use `isearch-search-fun-default' and remove spacial case for
6878 `isearch-word'.
6879 (minibuffer-history-isearch-wrap): Remove spacial case for
6880 `isearch-word'.
6881
6882 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6883 Remove spacial case for `isearch-word'.
6884 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6885
6886 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6887
6888 Decrease XEmacs incompatibilities.
6889 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6890 Use `string-match'.
6891 (flyspell-delete-region-overlays): Use alternative definition for
6892 XEmacs.
6893 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6894 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6895 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6896 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6897 `define-obsolete-face-alias' under XEmacs, but old method.
6898
6899 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6900 `with-no-warnings' definition or Emacs alias.
6901 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6902 (ispell-word): Do not use `region-p' if XEmacs.
6903
6904 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6905
6906 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6907 Check for `ispell-dictionary-base-alist' instead of full
6908 `ispell-dictionary-alist'.
6909 (ispell-init-process): Show spellchecker when starting new Ispell
6910 process.
6911
6912 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6915 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6916
6917 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6918
6919 * version.el (motif-version-string, gtk-version-string)
6920 (ns-version-string): Declare.
6921
6922 2012-05-27 Juri Linkov <juri@jurta.org>
6923
6924 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6925 after the `eval-defun-1' specialcaseing
6926 like in `edebug-eval-defun' (bug#10181).
6927
6928 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6929 like in `eval-defun-1'.
6930
6931 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6932
6933 * mail/sendmail.el (mail-yank-region):
6934 Recognize rmail-yank-current-message in addition to insert-buffer.
6935 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6936 a *mail* buffer created through rmail-start-mail with sendmail as
6937 mail-user-agent.
6938
6939 2012-05-27 Chong Yidong <cyd@gnu.org>
6940
6941 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6942 Default to 256 (Bug#11267).
6943
6944 * help.el (describe-mode): Doc fix.
6945
6946 2012-05-26 Glenn Morris <rgm@gnu.org>
6947
6948 * w32-fns.el (w32-init-info): Remove.
6949 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6950
6951 * info.el (info-initialize): For self-contained NS builds, put the
6952 included info/ directory at the front. (Bug#2791)
6953
6954 * paths.el (Info-default-directory-list): Make it a defcustom,
6955 mainly so that we can use custom-initialize-delay.
6956
6957 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * subr.el (buffer-has-markers-at): Mark obsolete.
6960
6961 * subr.el (lambda): Use declare.
6962
6963 * emacs-lisp/lisp-mode.el (lambda):
6964 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6965
6966 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6967
6968 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6969
6970 2012-05-26 Glenn Morris <rgm@gnu.org>
6971
6972 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6973
6974 2012-05-25 Glenn Morris <rgm@gnu.org>
6975
6976 * paths.el: Remove no-byte-compile.
6977 * loadup.el: No need to load paths.el uncompiled.
6978
6979 * image.el (imagemagick-types-inhibit): Doc fix.
6980
6981 * version.el: Remove no-byte-compile and associated formatting.
6982 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6983 is ancient code from when there was an "inc-vers.el".
6984
6985 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * progmodes/gdb-mi.el: Minor style changes.
6988 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6989 Turn into minor modes.
6990 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6991 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6992 (gdb-shell): Remove unneeded let-binding.
6993 (gdb-get-many-fields): Eliminate O(n²) behavior.
6994
6995 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6996
6997 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6998 platforms that don't link in fontset.c.
6999
7000 2012-05-25 Juri Linkov <juri@jurta.org>
7001
7002 Use the same diff color scheme as in modern VCSes (bug#10181).
7003
7004 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7005 to avoid confusion with `diff-added' that now uses green colors.
7006 (diff-removed): Use shades of red.
7007 (diff-added): Use shades of green.
7008 (diff-changed): Leave just the yellow color.
7009 (diff-use-changed-face): New variable.
7010 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7011 how to highlight context diff changes.
7012 (diff-refine-change): Use shades of yellow.
7013 (diff-refine-removed): New face that uses shades of red.
7014 (diff-refine-added): New face that uses shades of green.
7015 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7016 `diff-refine-removed' in the call to `smerge-refine-subst'
7017 depending on the value of `diff-use-changed-face'.
7018
7019 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7020 (smerge-other): Use shades of green.
7021 (smerge-base): Use shades of yellow.
7022 (smerge-refined-change): Empty face.
7023 (smerge-refined-removed): New face that uses shades of red.
7024 (smerge-refined-added): New face that uses shades of green.
7025 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7026 args `props-r' and `props-a', and use them. Doc fix.
7027 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7028 on its value use different faces `smerge-refined-change',
7029 `smerge-refined-removed', `smerge-refined-added' in the call to
7030 `smerge-refine-subst'.
7031
7032 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7033 Add face condition `min-colors 88' with shades of red.
7034 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7035 `min-colors 88' with shades of green.
7036 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7037 `min-colors 88' with shades of yellow.
7038
7039 2012-05-24 Glenn Morris <rgm@gnu.org>
7040
7041 * paths.el (prune-directory-list, remote-shell-program): Move to...
7042 * files.el (prune-directory-list, remote-shell-program): ...here.
7043 For the latter, delay initialization, prefer ssh, just search PATH.
7044
7045 * paths.el (term-file-prefix): Move to faces.el (the only user).
7046 * faces.el (term-file-prefix): Move here, make it a defcustom.
7047
7048 * paths.el (news-directory, news-path, news-inews-program):
7049 Move to gnus/nnspool.el.
7050
7051 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7052
7053 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7054 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7055 Make the latter a defcustom, with a delayed initialization.
7056
7057 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7058 These were deleted from Gnus itself late 2010.
7059
7060 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7061
7062 * progmodes/which-func.el (which-func-ff-hook):
7063 Check against user-error, not error.
7064
7065 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7066 cl-specs.el, which no longer exists.
7067
7068 2012-05-22 Glenn Morris <rgm@gnu.org>
7069
7070 * info.el (info-emacs-bug): New command.
7071 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7072 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7073
7074 2012-05-21 Glenn Morris <rgm@gnu.org>
7075
7076 * makefile.w32-in (update-subdirs-SH):
7077 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7078
7079 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7082
7083 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7084 Simplify Maven regexp, and make sure the file can't start with a space
7085 (bug#11517).
7086
7087 2012-05-21 Glenn Morris <rgm@gnu.org>
7088
7089 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7090 Scrap superfluous subshells.
7091
7092 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7095 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7096
7097 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7098
7099 * calc/calc.el (calc-ensure-consistent-units): New variable.
7100
7101 * calc/calc-units.el (math-consistent-units-p)
7102 (math-check-unit-consistency): New functions.
7103 (calc-quick-units, calc-convert-units):
7104 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7105 is non-nil.
7106 (calc-extract-units): Fix typo.
7107
7108 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7111
7112 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7113 (flyspell-default-deplacement-commands): Don't spell check after
7114 repeated window/frame switches (e.g. triggered by mouse-movement).
7115 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7116 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7117 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7118 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7119 Remove unused vars.
7120 (flyspell-get-casechars, flyspell-get-not-casechars):
7121 Simplify; Don't bother removing a ] just to add it back.
7122 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7123
7124 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7125
7126 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7127 New functions.
7128 (math-function-table): Add support for more C functions.
7129
7130 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7131
7132 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7133 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7134 Protect delay handling for otherchars against empty otherchars.
7135
7136 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7139 their respective macro declarations.
7140 * skeleton.el (define-skeleton):
7141 * progmodes/compile.el (define-compilation-mode):
7142 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7143 (define-ibuffer-filter):
7144 * emacs-lisp/generic.el (define-generic-mode):
7145 * emacs-lisp/easy-mmode.el (define-minor-mode)
7146 (define-globalized-minor-mode):
7147 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7148 * emacs-lisp/byte-run.el (defsubst):
7149 * custom.el (deftheme): Add doc-string metadata.
7150
7151 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7154
7155 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7156
7157 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7158
7159 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7160 * emacs-lisp/cl-macs.el: Idem.
7161 * emacs-lisp/cl-specs.el: Remove.
7162
7163 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 Minor renaming of internal CL functions and variables.
7166 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7167 (cl--position): Rename from cl-position.
7168 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7169 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7170 (cl--random-state): Rename from *random-state*.
7171
7172 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7175 parens around the arg list (bug#11499).
7176
7177 2012-05-17 Juri Linkov <juri@jurta.org>
7178
7179 * isearch.el (word-search-regexp, word-search-backward)
7180 (word-search-forward, word-search-backward-lax)
7181 (word-search-forward-lax): Move functions from search.c
7182 (bug#10145, bug#11381).
7183
7184 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7185
7186 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7187 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7188 Delay for otherchars as for normal word components.
7189
7190 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7191
7192 * minibuffer.el (completion--sifn-requote): Fix last change.
7193 (minibuffer-local-must-match-filename-map):
7194 Move define-obsolete-variable-alias before its var.
7195
7196 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7199
7200 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7201 behavior.
7202 (completion--string-equal-p): New function.
7203 (completion--twq-all): Use it to get better assertion failure data.
7204
7205 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7206 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7207 (shell--requote-argument): New functions.
7208 (shell-completion-vars): Use them.
7209 (shell--parse-pcomplete-arguments): Rename from
7210 shell-parse-pcomplete-arguments.
7211 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7212 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7213 Obey comint-file-name-quote-list.
7214
7215 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7216 (smie-indent-keyword): Use it.
7217
7218 2012-05-14 Stefan Merten <smerten@oekonux.de>
7219
7220 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7221
7222 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * net/rlogin.el (rlogin-mode-map): Fix last change.
7225
7226 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7227
7228 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7229 the following \r\n using a single `process-send-string', since the
7230 Lotus SMTP server refuses to accept any commands if they are sent
7231 with two `process-send-string's (Bug#11444).
7232
7233 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * shell.el (shell-parse-pcomplete-arguments):
7236 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7237
7238 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7239
7240 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7241 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7242 (image-transform-width, image-transform-fit-width): New functions.
7243 (image-transform-properties): Use them.
7244 (image-transform-check-size): New function.
7245 (image-toggle-display-image): Use it (for testing).
7246 (image-transform-set-rotation): Reduce angle mod 360.
7247 Delete obsolete comment.
7248
7249 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7250
7251 * image-mode.el: Fix scaling (bug#11399).
7252 (image-transform-resize): Doc fix.
7253 (image-transform-properties): Default scale is 1 and height should
7254 be an integer.
7255
7256 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7257
7258 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7259 than hard-coding `car', to fix misbehavior when moving forward.
7260
7261 2012-05-13 Chong Yidong <cyd@gnu.org>
7262
7263 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7264 (tabulated-list-entries, tabulated-list-padding)
7265 (tabulated-list-sort-key): Make permanent-local.
7266
7267 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7268 (electric-buffer-list): Put electric buffer menu
7269 command descriptions in this docstring, instead of the docstring
7270 of electric-buffer-menu-mode. Code cleanups.
7271 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7272 Electric-buffer-menu-mode.
7273 (electric-buffer-update-highlight): Minor code cleanup.
7274
7275 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7276
7277 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7278 (Bug#11447)
7279
7280 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 Move define-obsolete-variable-alias before the var's definition.
7283 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7284 * tooltip.el (tooltip-hook):
7285 * textmodes/reftex-toc.el (reftex-toc-map):
7286 * textmodes/reftex-sel.el (reftex-select-label-map)
7287 (reftex-select-bib-map):
7288 * textmodes/reftex-index.el (reftex-index-map)
7289 (reftex-index-phrases-map):
7290 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7291 * progmodes/meta-mode.el (meta-mode-map):
7292 * novice.el (disabled-command-hook):
7293 * loadhist.el (unload-hook-features-list):
7294 * frame.el (blink-cursor):
7295 * files.el (find-file-not-found-hooks, write-file-hooks)
7296 (write-contents-hooks):
7297 * emulation/tpu-edt.el (GOLD-map):
7298 * emacs-lock.el (emacs-lock-from-exiting):
7299 * emacs-lisp/generic.el (generic-font-lock-defaults):
7300 * emacs-lisp/chart.el (chart-map):
7301 * dos-fns.el (register-name-alist):
7302 * dired-x.el (dired-omit-files-p):
7303 * desktop.el (desktop-enable):
7304 * cus-edit.el (custom-mode-hook):
7305 * buff-menu.el (buffer-menu-mode-hook):
7306 * bookmark.el (bookmark-read-annotation-text-func)
7307 (bookmark-exit-hooks):
7308 * allout.el (allout-mode-deactivate-hook)
7309 (allout-exposure-change-hook, allout-structure-added-hook)
7310 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7311 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7312 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7313 comes before the corresponding variable's definition.
7314
7315 2012-05-12 Chong Yidong <cyd@gnu.org>
7316
7317 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7318 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7319 (Buffer-menu-mode-map): Bind it.
7320 (Buffer-menu--pretty-name): Add a mouse-face property.
7321
7322 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7325 (prolog-upper-case-string, prolog-lower-case-string)
7326 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7327 (prolog-use-smie, prolog-smie-grammar): New vars.
7328 (prolog-smie-forward-token, prolog-smie-backward-token)
7329 (prolog-smie-rules): New funs.
7330 (prolog-comment-indent): Remove.
7331 (prolog-mode-variables): Use default comment indentation instead.
7332 Setup SMIE.
7333 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7334 (prolog-mode): Don't call them any more.
7335 (prolog-electric-colon, prolog-electric-dash)
7336 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7337
7338 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7339
7340 * minibuffer.el (completion--twq-all): Again, allow case differences.
7341
7342 * term.el: Move keymap initialization code to be more idiomatic.
7343 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7344 (term-terminal-menu): Move initialization into declaration.
7345 (term-escape-char): Let the user set it in her .emacs.
7346
7347 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7348 Provide SMIE-based indentation (not enabled by default yet).
7349 (sh-mode-map): Don't bind electric keys.
7350 Use electric-pair-mode instead of skeleton-pair.
7351 (sh-assignment-regexp): Fit within 80 columns.
7352 (sh-indent-supported): Specify actual shell name instead of boolean.
7353 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7354 (sh-maybe-here-document): Use it. Make obsolete.
7355 (sh-electric-here-document-mode) New minor mode.
7356 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7357 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7358 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7359 (sh-smie-rc-grammar, sh-use-smie): New vars.
7360 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7361 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7362 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7363 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7364 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7365 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7366 (sh-set-shell): Use smie-setup if requested.
7367
7368 * term.el (term-set-escape-char): Properly set term-escape-char.
7369 See http://stackoverflow.com/questions/10524656.
7370
7371 2012-05-10 Chong Yidong <cyd@gnu.org>
7372
7373 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7374 Use url-generic-parse-url, and handle host names and Windows
7375 filenames properly.
7376 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7377 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7378 URL schemes to work on.
7379 (ffap--toggle-read-only): New function.
7380 (ffap-read-only, ffap-read-only-other-window)
7381 (ffap-read-only-other-frame): Use it.
7382 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7383 necessary for ffap-url-unwrap-remote.
7384
7385 2012-05-10 Dave Abrahams <dave@boostpro.com>
7386
7387 * cus-start.el (create-lockfiles): Add it.
7388
7389 2012-05-09 Chong Yidong <cyd@gnu.org>
7390
7391 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7392 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7393
7394 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7397
7398 2012-05-09 Chong Yidong <cyd@gnu.org>
7399
7400 * ansi-color.el (ansi-color-process-output): Check for validity of
7401 comint-last-output-start before using it. This avoids a bad
7402 interaction with gdb-mi's input/output buffer.
7403
7404 2012-05-09 Glenn Morris <rgm@gnu.org>
7405
7406 * files.el (dir-locals-read-from-file):
7407 Mention dir-locals in any error message.
7408
7409 2012-05-09 Chong Yidong <cyd@gnu.org>
7410
7411 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7412 package (Bug#11410).
7413
7414 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7415 variables into description.
7416
7417 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7420 shell-delimiter-argument-list (bug#11348).
7421 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7422
7423 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7424
7425 * textmodes/rst.el: Silence byte-compiler warnings.
7426 (rst-re-alist, rst-reset-section-caches): Move around.
7427 (rst-re): Use `characterp', not `char-valid-p'.
7428 (font-lock-beg, font-lock-end): Declare.
7429
7430 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7431 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7432
7433 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7434
7435 2012-05-08 Glenn Morris <rgm@gnu.org>
7436
7437 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7438
7439 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * vc/log-edit.el: Add GNU coding standards highlighting.
7442 (log-edit-font-lock-gnu-style)
7443 (log-edit-font-lock-gnu-keywords): New vars.
7444 (log-edit-font-lock-keywords): New fun.
7445 (log-edit-mode): Don't fold case in font-lock.
7446 (log-edit-font-lock-keywords): Do not assume case-folding.
7447
7448 * imenu.el: Misc cleanup. Make docstrings out of comments.
7449 Use lexical-binding.
7450 (imenu--index-alist, imenu--last-menubar-index-alist)
7451 (imenu-menubar-modified-tick): Use defvar-local.
7452 (imenu--split-menu): Remove unused var.
7453 (imenu--cleanup-seen): Declare as global.
7454 (imenu--cleanup): Use dolist.
7455
7456 * subr.el (defvar-local): Add debug spec and doc-string position.
7457
7458 2012-05-08 Glenn Morris <rgm@gnu.org>
7459
7460 * language/burmese.el, language/cham.el, language/czech.el:
7461 * language/english.el, language/georgian.el, language/greek.el:
7462 * language/japanese.el, language/khmer.el, language/korean.el:
7463 * language/lao.el, language/misc-lang.el, language/romanian.el:
7464 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7465 * language/thai.el, language/utf-8-lang.el:
7466 Remove no-byte-compile setting.
7467
7468 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7469
7470 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7471
7472 * progmodes/make-mode.el (makefile-browse):
7473 Remove unnecessary interactive. (Bug#11324)
7474
7475 2012-05-07 Glenn Morris <rgm@gnu.org>
7476
7477 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7478
7479 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7480
7481 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * loadup.el: Preload newcomment.el.
7484 * newcomment.el: Move autoload-only code to toplevel.
7485
7486 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7487 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7488 Handle new :right-align column property.
7489 (tabulated-list-print-col): Idem, plus use `display' text-property to
7490 try and preserve alignment for variable pitch fonts.
7491
7492 2012-05-07 Chong Yidong <cyd@gnu.org>
7493
7494 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7495 (tabulated-list-use-header-line): New var.
7496 (tabulated-list-init-header): Use it.
7497 (tabulated-list-print-fake-header): New function.
7498 (tabulated-list-print): Use it.
7499 (tabulated-list-sort-button-map): Add non-header-line commands.
7500 (tabulated-list-init-header): Add column name property to basic
7501 labels as well.
7502 (tabulated-list-col-sort): Handle non-header-line button case.
7503 (tabulated-list--sort-by-column-name): Fix a corner case.
7504
7505 * buff-menu.el (list-buffers--refresh):
7506 Handle Buffer-menu-use-header-line.
7507
7508 2012-05-06 Chong Yidong <cyd@gnu.org>
7509
7510 * buff-menu.el: Convert to Tabulated List mode.
7511 (Buffer-menu-buffer+size-width): Make obsolete.
7512 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7513 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7514 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7515 documentation into docstring of buffer-menu.
7516 (Buffer-menu-toggle-files-only): Add an informative message.
7517 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7518 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7519 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7520 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7521 (Buffer-menu-execute, Buffer-menu-select)
7522 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7523 (Buffer-menu-bury): Use Tabulated List machinery.
7524 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7525 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7526 Delete.
7527 (list-buffers--refresh): New function.
7528 (list-buffers-noselect): Use it.
7529 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7530 (Buffer-menu--pretty-file-name): New helper functions.
7531
7532 * loadup.el: Preload tabulated-list.
7533
7534 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7535 tabulated-list-sort-column.
7536 (tabulated-list-init-header): Add the initial aligning space even
7537 if tabulated-list-padding is zero.
7538
7539 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7540
7541 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7542 whose cdr is not a cons cell correctly (bug#11038).
7543
7544 2012-05-06 Chong Yidong <cyd@gnu.org>
7545
7546 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7547 Accept additional plist in column descriptors.
7548 (tabulated-list-init-header): Obey it.
7549 (tabulated-list-get-entry): New function.
7550 (tabulated-list-put-tag): Use it. Use string-width instead of
7551 length.
7552 (tabulated-list--column-number): New function.
7553 (tabulated-list-print): Use it.
7554 (tabulated-list-print-col): New function.
7555 Set `tabulated-list-column-name' property on each column's text.
7556 (tabulated-list-print-entry): Use it.
7557 (tabulated-list-delete-entry, tabulated-list-set-col):
7558 New functions.
7559 (tabulated-list-sort-column): New command (Bug#11337).
7560
7561 * buff-menu.el (list-buffers): Move C-x C-b binding from
7562 buff-menu.el to bindings.el.
7563
7564 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7565 :advertised-binding feature.
7566
7567 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7568
7569 * progmodes/compile.el (compilation-internal-error-properties):
7570 Calculate start position correctly when end-col is set but
7571 end-line is not (Bug#11382).
7572
7573 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7574
7575 * man.el (Man-unindent): Use text-property-default-nonsticky to
7576 prevent untabify from inheriting face properties (Bug#11408).
7577
7578 2012-05-05 Stefan Merten <smerten@oekonux.de>
7579
7580 * textmodes/rst.el: Major merge with upstream development up to
7581 Docutils SVN r7399 / rst.el V1.2.1.
7582
7583 Clarify maintainership and authors.
7584
7585 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7586 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7587 (rst-official-version, rst-official-cvs-rev, rst-version)
7588 (rst-package-emacs-version-alist): New functions and variables
7589 for version information.
7590
7591 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7592 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7593 (rst-mode-syntax-table, rst-mode): New and corrected functions
7594 and variables representing reStructuredText features.
7595
7596 (rst-re): New function for reStructuredText regexes. Use in
7597 many places.
7598
7599 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7600 (rst-mode-map): Rebind keys.
7601
7602 (rst-mode-lazy, rst-font-lock-keywords)
7603 (rst-font-lock-extend-region)
7604 (rst-font-lock-extend-region-internal)
7605 (rst-font-lock-extend-region-extend)
7606 (rst-font-lock-find-unindented-line-limit)
7607 (rst-font-lock-find-unindented-line-match)
7608 (rst-adornment-level, rst-font-lock-adornment-level)
7609 (rst-font-lock-adornment-match)
7610 (rst-font-lock-handle-adornment-pre-match-form)
7611 (rst-font-lock-handle-adornment-matcher): Major revision of
7612 font-locking. Integrate with other code. Use `jit-lock-mode'.
7613
7614 (rst-preferred-adornments, rst-adjust-hook)
7615 (rst-new-adornment-down, rst-preferred-bullets)
7616 (rst-preferred-bullets, rst-indent, rst-indent-width)
7617 (rst-indent-field, rst-indent-literal-normal)
7618 (rst-indent-literal-minimized, rst-indent-comment): Change,
7619 extend and improve customization.
7620
7621 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7622 (rst-normalize-cursor-position, rst-get-decoration)
7623 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7624 (rst-rstrip, rst-toc-insert-find-delete-contents)
7625 (rst-shift-fill-region, rst-compute-bullet-tabs)
7626 (rst-debug-print-tabs, rst-debug-mark-found)
7627 (rst-shift-region-guts, rst-shift-region-right)
7628 (rst-shift-region-left, rst-use-char-classes)
7629 (rst-font-lock-keywords-function)
7630 (rst-font-lock-indentation-point)
7631 (rst-font-lock-find-unindented-line-begin)
7632 (rst-font-lock-find-unindented-line-end)
7633 (rst-font-lock-find-unindented-line)
7634 (rst-font-lock-adornment-point, rst-font-lock-level)
7635 (rst-adornment-level-alist): Remove functions and variables.
7636
7637 (rst-compare-adornments, rst-get-adornment-match)
7638 (rst-suggest-new-adornment, rst-get-adornments-around)
7639 (rst-adornment-complete-p, rst-get-next-adornment)
7640 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7641 (rst-straighten-adornments): Standardize function names to
7642 use "adornment" instead of "decoration". Correct callers.
7643 Similar standardizing in many places.
7644
7645 (rst-update-section, rst-adjust, rst-promote-region)
7646 (rst-enumerate-region, rst-bullet-list-region)
7647 (rst-repeat-last-character): Correct use of `interactive'.
7648
7649 (rst-classify-adornment, rst-find-all-adornments)
7650 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7651 (rst-find-leftmost-column, rst-repeat-last-character):
7652 Refactor functions.
7653
7654 (rst-find-title-line, rst-reset-section-caches)
7655 (rst-get-adornments-around, rst-adjust-adornment-work)
7656 (rst-arabic-to-roman, rst-roman-to-arabic)
7657 (rst-insert-list-pos, rst-insert-list-new-item)
7658 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7659 New functions.
7660
7661 (rst-all-sections, rst-section-hierarchy)
7662 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7663 New variables.
7664
7665 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7666 configuration instead of only buffer. Change where necessary.
7667
7668 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7669 (rst-shift-region, rst-adaptive-fill): New functions for
7670 indentation and filling.
7671
7672 (rst-comment-line-break, rst-comment-indent)
7673 (rst-comment-insert-comment, rst-comment-region)
7674 (rst-uncomment-region): New functions for handling comments.
7675
7676 (rst-compile): Quote shell arguments.
7677
7678 (rst-compile-pdf-preview, rst-compile-slides-preview):
7679 Delete temporary files after use.
7680
7681 2012-05-05 Glenn Morris <rgm@gnu.org>
7682
7683 * calendar/cal-html.el: Optionally include holidays in the output.
7684 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7685 (cal-html-holidays): New option.
7686 (cal-html-css-default): Add holiday entry.
7687 (holiday-in-range): Autoload it.
7688 (cal-html-htmlify-entry): Add optional class argument.
7689 (cal-html-htmlify-list): Add optional holidays argument.
7690 (cal-html-insert-agenda-days): Include holidays in the output.
7691 (cal-html-one-month): Maybe include holidays.
7692
7693 * calendar/holidays.el (holiday-in-range):
7694 Move here from cal-tex-list-holidays.
7695 * calendar/cal-tex.el (cal-tex-list-holidays):
7696 Make it an obsolete alias for holiday-in-range. Update all callers.
7697
7698 2012-05-05 Chong Yidong <cyd@gnu.org>
7699
7700 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7701 Nextstep.
7702
7703 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7704
7705 * files.el (file-auto-mode-skip): New var.
7706 (set-auto-mode-1): Use it.
7707
7708 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * repeat.el: Use lexical-binding.
7711 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7712 (repeat-undo-count): Remove.
7713 (repeat):
7714 * progmodes/octave-mod.el (octave-abbrev-start):
7715 * progmodes/f90.el (f90-abbrev-start):
7716 * face-remap.el (text-scale-adjust):
7717 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7718
7719 * emacs-lisp/pcase.el (pcase--let*): New function.
7720 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7721 a bit more.
7722 (pcase--split-pred): Be more clever about ruling out overlap between
7723 a predicate and some constant pattern.
7724 (pcase--q1): Use `null' instead of (eq foo nil).
7725
7726 * subr.el (setq-local, defvar-local): New macros.
7727 (kbd): Redefine as an alias.
7728 (with-selected-window): Leave unrelated frames alone.
7729 (set-temporary-overlay-map): New function.
7730
7731 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * subr.el (user-error): New function.
7734 * window.el (switch-to-buffer):
7735 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7736 (smerge-match-conflict):
7737 * simple.el (previous-matching-history-element)
7738 (next-matching-history-element, goto-history-element, undo-more)
7739 (undo-start):
7740 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7741 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7742 (next-file, tags-loop-scan, list-tags, complete-tag):
7743 * progmodes/compile.el (compilation-loop):
7744 * mouse.el (mouse-minibuffer-check):
7745 * man.el (Man-bgproc-sentinel, Man-goto-page):
7746 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7747 (Info-history-forward, Info-follow-reference, Info-menu)
7748 (Info-extract-menu-item, Info-extract-menu-counting)
7749 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7750 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7751 (Info-next-reference, Info-prev-reference, Info-index)
7752 (Info-index-next, Info-follow-nearest-node)
7753 (Info-copy-current-node-name):
7754 * imenu.el (imenu--make-index-alist)
7755 (imenu-default-create-index-function, imenu-add-to-menubar):
7756 * files.el (basic-save-buffer, recover-file):
7757 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7758 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7759 (checkdoc-message-text, checkdoc-defun):
7760 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7761 * cus-edit.el (customize-changed-options, customize-rogue)
7762 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7763 (custom-variable-mark-to-reset-standard)
7764 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7765 (custom-file):
7766 * completion.el (check-completion-length):
7767 * comint.el (comint-search-arg)
7768 (comint-previous-matching-input-string-position)
7769 (comint-previous-matching-input)
7770 (comint-replace-by-expanded-history-before-point, comint-send-input)
7771 (comint-copy-old-input, comint-backward-matching-input)
7772 (comint-goto-process-mark, comint-set-process-mark):
7773 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7774 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7775
7776 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * dabbrev.el (dabbrev--ignore-case-p): New function.
7779 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7780 Use it.
7781
7782 * files.el (automount-dir-prefix): Mark as obsolete.
7783
7784 2012-05-04 Glenn Morris <rgm@gnu.org>
7785
7786 * patcomp.el, play/bruce.el: Move to obsolete/.
7787
7788 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7789
7790 Fix minor Y10k bugs.
7791 * arc-mode.el (archive-unixdate):
7792 * autoinsert.el (auto-insert-alist):
7793 * calc/calc-forms.el (math-this-year):
7794 * emacs-lisp/copyright.el (copyright-current-year)
7795 (copyright-update-year, copyright):
7796 * tar-mode.el (tar-clip-time-string):
7797 * time.el (display-time-update):
7798 Don't assume years have 4 digits.
7799
7800 2012-05-04 Chong Yidong <cyd@gnu.org>
7801
7802 * dos-w32.el (file-name-buffer-file-type-alist)
7803 (direct-print-region-use-command-dot-com):
7804 * ffap.el (ffap-menu-regexp):
7805 * find-file.el (ff-special-constructs):
7806 * follow.el (follow-debug):
7807 * forms.el (forms--debug):
7808 * iswitchb.el (iswitchb-all-frames):
7809 * ido.el (ido-all-frames):
7810 * emacs-lisp/timer.el (timer-max-repeats):
7811 * mail/feedmail.el (feedmail-mail-send-hook)
7812 (feedmail-mail-send-hook-queued):
7813 * mail/footnote.el (footnote-signature-separator):
7814 * mail/mailabbrev.el (mail-alias-separator-string)
7815 (mail-abbrev-mode-regexp):
7816 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7817 * progmodes/idlwave.el (idlwave-libinfo-file)
7818 (idlwave-default-completion-case-is-down)
7819 (idlwave-library-routines): Convert defvars to defcustoms.
7820
7821 * mail/rmail.el (rmail-decode-mime-charset):
7822 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7823 (idlwave-shell-fix-inserted-breaks)
7824 (idlwave-shell-activate-alt-keybindings)
7825 (idlwave-shell-use-breakpoint-glyph):
7826 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7827
7828 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7831
7832 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7833
7834 * progmodes/verilog-mode.el (font-lock-keywords):
7835 Fix mis-highligting auto. Reported by Craig Barner.
7836 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7837 defines from global name space. Reported by Dan Dever.
7838 (verilog-auto-reset, verilog-auto-reset-widths)
7839 (verilog-auto-tieoff): Support using unbased numbers for
7840 AUTORESET and AUTOTIEOFF.
7841 (verilog-submit-bug-report): Update variable list.
7842 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7843 parenthesis from not matching. Reported by Michael Rytting.
7844 (verilog-auto-template-lint): Fix hash error when linting modules
7845 with no used templates.
7846 (verilog-warn, verilog-warn-error)
7847 (verilog-warn-fatal): When non-interactive report multiple
7848 warnings before exiting. Suggested by Brad Dobbie.
7849 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7850 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7851 to report unused template errors. Reported by Brad Dobbie.
7852 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7853 nets, bug438. Reported by Vns Blore.
7854 (verilog-auto-inout-module, verilog-auto-reg)
7855 (verilog-read-decls, verilog-read-sub-decls-sig)
7856 (verilog-signals-edit-wire-reg, verilog-signals-with):
7857 Fix passing of Verilog data types in ANSI input/output ports
7858 such as "output logic" into the AUTOs. Special case "wire" and
7859 "reg" for backwards compatibility presuming Verilog 2001.
7860 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7861 (verilog-preprocess): Fix replication of preprocess output.
7862 Reported by Brad Dobbie.
7863 (verilog-auto-inst-interfaced-ports):
7864 Create verilog-auto-inst-interfaced-ports, bug429.
7865 Reported by Julian Gorfajn.
7866 (verilog-after-save-font-hook)
7867 (verilog-before-save-font-hook): New variable.
7868 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7869 (verilog-save-font-mods): Wrap disabling fontification, reported
7870 by David Rogoff.
7871 (verilog-do-indent, verilog-pretty-declarations-auto)
7872 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7873 Reported by Pierre-David Pfister.
7874 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7875 of class declarations, bug292. Reported by Kevin Heilman.
7876 (verilog-read-decls): Fix 'parameter type' not appearing in
7877 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7878 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7879 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7880 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7881 Reported by David Kravitz.
7882
7883 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7884
7885 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7886 assignment with tests in ifs and for loops.
7887 (verilog-extended-complete-re, verilog-complete-reg): Change so
7888 that DPI inport functions don't look like fuction declarations.
7889 (verilog-pretty-expr): Don't line up assignment
7890 operations to the test and increment in if and for loops
7891 (verilog-extended-complete-re, verilog-complete-reg): Change so
7892 that DPI inport functions don't look like fuction declarations.
7893
7894 2012-05-03 Kenichi Handa <handa@m17n.org>
7895
7896 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7897 decoding, and show a warning message without signaling an error
7898 (Bug#11282).
7899
7900 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * emacs-lisp/bytecomp.el
7903 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7904 since cconv.el might have introduced :fun-body, internal-make-closure,
7905 and friends for bytecomp to handle (bug#11391).
7906 * custom.el (defcustom): Avoid ((λ ..) ..).
7907
7908 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7911
7912 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7913
7914 * notifications.el (dbus-debug):
7915 * term/linux.el (gpm-mouse-enable):
7916 * term/screen.el (xterm-register-default-colors): Declare.
7917
7918 2012-05-02 Chong Yidong <cyd@gnu.org>
7919
7920 * cus-start.el (gc-cons-percentage, exec-suffixes)
7921 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7922 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7923 (make-cursor-line-fully-visible, void-text-area-pointer)
7924 (font-list-limit): Add customization data.
7925
7926 * allout.el (allout-exposure-change-functions)
7927 (allout-structure-added-functions)
7928 (allout-structure-deleted-functions)
7929 (allout-structure-shifted-functions): Rename abnormal hooks from
7930 *-hook, and convert to defcustoms.
7931 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7932 Convert to defcustoms.
7933 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7934
7935 * allout-widgets.el: Hook callers changed.
7936
7937 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7938
7939 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7940 the yanked message in preference to the default value of
7941 buffer-file-coding-system.
7942
7943 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7944
7945 * window.el (display-buffer--action-function-custom-type):
7946 Fix entry.
7947
7948 2012-05-02 Alan Mackenzie <acm@muc.de>
7949
7950 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7951
7952 2012-05-01 Glenn Morris <rgm@gnu.org>
7953
7954 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7955
7956 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7957
7958 * cus-edit.el (custom-variable-documentation): Simplify with format.
7959
7960 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7961 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * simple.el (suggest-key-bindings, execute-extended-command):
7964 Move from keyboard.c.
7965
7966 2012-05-01 Chong Yidong <cyd@gnu.org>
7967
7968 * follow.el: Eliminate advice.
7969 (set-process-filter, process-filter, sit-for): Advice deleted.
7970 (follow-mode-off-hook): Obsolete hook removed.
7971 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7972 Vars deleted.
7973 (follow-auto): Use a :set function.
7974 (follow-mode): Rewritten. Don't advise process filters.
7975 (follow-switch-to-current-buffer-all, follow-scroll-up)
7976 (follow-scroll-down): Assume follow-mode is bound.
7977 (follow-comint-scroll-to-bottom)
7978 (follow-align-compilation-windows): New functions.
7979 (follow--window-sorter): New function.
7980 (follow-all-followers): Use it to explicitly sort windows by their
7981 positions; don't make assumptions about next-window order.
7982 (follow-windows-start-end, follow-delete-other-windows-and-split)
7983 (follow-calc-win-start): Doc fix.
7984 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7985 vertical-motion unnecessarily.
7986 (follow-adjust-window): New function.
7987 (follow-post-command-hook): Use it.
7988 (follow-call-set-process-filter, follow-call-process-filter)
7989 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7990 (follow-stop-intercept-process-output, follow-generic-filter):
7991 Functions deleted.
7992 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7993 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7994 New functions, replacing advice on scroll-bar-* commands.
7995 (follow-mwheel-scroll): New function (Bug#4112).
7996
7997 * comint.el (comint-adjust-point): New function.
7998 (comint-postoutput-scroll-to-bottom): Use it.
7999 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8000
8001 2012-05-01 Glenn Morris <rgm@gnu.org>
8002
8003 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8004 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8005 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8006 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8007 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8008 Remove no-byte-compile setting.
8009
8010 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8011
8012 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8013 all-completions code to not return a number in the last cdr.
8014
8015 2012-04-30 Leo Liu <sdl.web@gmail.com>
8016
8017 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8018 read-only error.
8019
8020 2012-04-29 Chong Yidong <cyd@gnu.org>
8021
8022 * follow.el (follow-calc-win-end): Rewrite to handle partial
8023 screen lines correctly (Bug#8390).
8024 (follow-avoid-tail-recenter): Minor cleanup.
8025
8026 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 Avoid the obsolete `assoc' package.
8029 * speedbar.el (speedbar-refresh): Avoid adelete.
8030 (speedbar-file-lists): Simplify and avoid aput.
8031 * man.el (Man--sections, Man--refpages): New vars, replacing
8032 Man-sections-alist and Man-refpages-alist.
8033 (Man-build-section-alist, Man-build-references-alist):
8034 Use them; avoid aput.
8035 (Man--last-section, Man--last-refpage): New vars.
8036 (Man-follow-manual-reference): Use them.
8037 Use the `default' arg of completing-read.
8038 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8039
8040 2012-04-27 Chong Yidong <cyd@gnu.org>
8041
8042 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8043
8044 * startup.el (x-apply-session-resources): New function.
8045
8046 * term/ns-win.el (ns-initialize-window-system):
8047 * term/w32-win.el (w32-initialize-window-system):
8048 * term/x-win.el (x-initialize-window-system): Use it to properly
8049 set menu-bar-mode and other vars from X resources, even if the
8050 initial frame is not a window-system frame (Bug#2299).
8051
8052 * subr.el (read-key): Avoid running filter function when setting
8053 up temporary tool bar entries (Bug#9922).
8054
8055 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8056
8057 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8058 (Bug#11344)
8059
8060 2012-04-27 Chong Yidong <cyd@gnu.org>
8061
8062 * select.el (xselect--encode-string): New function, split from
8063 xselect-convert-to-string.
8064 (xselect-convert-to-string): Use it.
8065 (xselect-convert-to-filename, xselect-convert-to-os)
8066 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8067 returned strings are properly encoded (Bug#11315).
8068
8069 2012-04-27 Chong Yidong <cyd@gnu.org>
8070
8071 * simple.el (delete-active-region): Move to killing custom group.
8072
8073 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8074
8075 * progmodes/which-func.el (which-func-current): Quote %
8076 characters for mode-line processing.
8077
8078 2012-04-27 Chong Yidong <cyd@gnu.org>
8079
8080 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8081 reaching eob (Bug#11286).
8082
8083 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8084
8085 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8086 (gdb): Make it buffer-local and init to zero.
8087 (gdb-control-commands-regexp): New variable.
8088 (gdb-send): Don't wrap in "-interpreter-exec console" if
8089 gdb-control-level is positive. Increment gdb-control-level
8090 whenever the command matches gdb-control-commands-regexp, and
8091 decrement it each time the command is "end". (Bug#11279)
8092
8093 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8094
8095 * window.el (adjust-window-trailing-edge, enlarge-window)
8096 (shrink-window, window-resize):
8097 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8098 windows (Bug#11276).
8099
8100 2012-04-27 Chong Yidong <cyd@gnu.org>
8101
8102 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8103 fix "missing prefix" warning. All callers changed.
8104
8105 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * emacs-lisp/assoc.el: Move to obsolete/.
8108
8109 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8112
8113 * term/ns-win.el (ns-define-service):
8114 * progmodes/pascal.el (pascal-goto-defun):
8115 * progmodes/js.el (js--read-tab):
8116 * progmodes/etags.el (tags-lazy-completion-table):
8117 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8118 * emacs-lisp/ewoc.el (ewoc--wrap):
8119 * emacs-lisp/assoc.el (aput, adelete, amake):
8120 * doc-view.el (doc-view-convert-current-doc):
8121 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8122
8123 2012-04-26 Chong Yidong <cyd@gnu.org>
8124
8125 * image.el (image-type-from-buffer): Only return supported image
8126 type (Bug#9045).
8127
8128 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8129 value, for symmetry with diff-end-of-hunk.
8130 (diff-split-hunk, diff-find-source-location)
8131 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8132 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8133 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8134 compute the relevant hunk or file properly (Bug#6005).
8135 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8136
8137 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * vc/vc-mtn.el:
8140 * vc/vc-hg.el:
8141 * vc/vc-git.el:
8142 * vc/vc-dir.el:
8143 * vc/vc-cvs.el:
8144 * vc/vc-bzr.el:
8145 * vc/vc-arch.el:
8146 * vc/vc.el: Replace lexical-let by lexical-binding.
8147 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8148 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8149 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8150
8151 2012-04-26 Chong Yidong <cyd@gnu.org>
8152
8153 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8154 (diff-mode-shared-map): Bind it to / and [remap undo].
8155
8156 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8157 (ediff-window-setup-function): Use it as the default, to set up
8158 windows based on whether the current frame is graphical (Bug#2138).
8159 (ediff-choose-window-setup-function-automatically): Make obsolete.
8160
8161 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8162
8163 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * ffap.el: Remove old code for obsolete package.
8166 (ffap-complete-as-file-p): Remove.
8167
8168 Use completion-table-with-quoting for comint and pcomplete.
8169 * comint.el (comint--unquote&requote-argument)
8170 (comint--unquote-argument, comint--requote-argument): New functions.
8171 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8172 (comint-quote-filename): Use regexp-opt-charset.
8173 (comint--common-suffix, comint--common-quoted-suffix)
8174 (comint--table-subvert): Remove.
8175 (comint-unquote-function, comint-requote-function): New vars.
8176 (comint--complete-file-name-data): Use them with
8177 completion-table-with-quoting.
8178 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8179 * pcomplete.el (pcomplete-arg-quote-list)
8180 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8181 (pcomplete-unquote-argument-function): Default to non-nil.
8182 (pcomplete-unquote-argument): Simplify.
8183 (pcomplete--common-quoted-suffix): Remove.
8184 (pcomplete-requote-argument-function): New var.
8185 (pcomplete--common-suffix): New function.
8186 (pcomplete-completions-at-point): Use completion-table-with-quoting
8187 and completion-table-subvert.
8188
8189 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8190 (minibuffer--double-dollars): Preserve properties.
8191 (completion--sifn-requote): New function.
8192 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8193
8194 * minibuffer.el: Add support for completion of quoted/escaped data.
8195 (completion-table-with-quoting, completion-table-subvert): New funs.
8196 (completion--twq-try, completion--twq-all): New functions.
8197 (completion--nth-completion): New function.
8198 (completion-try-completion, completion-all-completions): Use it.
8199
8200 2012-04-25 Leo Liu <sdl.web@gmail.com>
8201
8202 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8203 Use compilation-message if available to find real filename.
8204
8205 2012-04-25 Chong Yidong <cyd@gnu.org>
8206
8207 * vc/diff-mode.el (diff-setup-whitespace): New function.
8208 (diff-mode): Use it.
8209
8210 * vc/diff.el (diff-sentinel):
8211 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8212 Whitespace mode variables based on diff style (Bug#8612).
8213
8214 2012-04-25 Leo Liu <sdl.web@gmail.com>
8215
8216 * progmodes/python.el (python-send-region): Add suffix .py to the
8217 temp file.
8218
8219 * files.el (auto-mode-alist): Use javascript-mode instead.
8220
8221 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8222
8223 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8224
8225 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8226 (soap-resolve-references-for-array-type): Hack to prevent self
8227 references, see Bug#9.
8228 (soap-parse-envelope): Report the contents of the 'detail' node
8229 when receiving a fault reply.
8230 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8231
8232 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8233 (soap-inspect-simple-type): New function.
8234
8235 * net/soap-client.el (soap-simple-type): New struct.
8236 (soap-default-xsd-types, soap-default-soapenc-types)
8237 (soap-decode-basic-type, soap-encode-basic-type):
8238 support unsignedInt and double basic types.
8239 (soap-resolve-references-for-simple-type)
8240 (soap-parse-simple-type, soap-encode-simple-type): New function.
8241 (soap-parse-schema): Parse xsd:simpleType declarations.
8242
8243 * net/soap-client.el (soap-default-xsd-types)
8244 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8245 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8246 the local name of "soapenc:Array".
8247 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8248 decoding integer, byte and anyURI xsd types.
8249
8250 2012-04-25 Chong Yidong <cyd@gnu.org>
8251
8252 * cus-edit.el (custom-buffer-create-internal): Update header text.
8253
8254 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8255
8256 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8257 settings on 'system-type', not on 'window-system'. On MS-Windows,
8258 set interactive-mode on in GDB.
8259
8260 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8263 (ruby-syntax-propertize-regexp): Remove.
8264 (ruby-syntax-propertize-function): Split regexp into chunks.
8265 Match following code directly.
8266
8267 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8268
8269 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8270 (ruby-syntax-propertize-regexp): New function.
8271 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8272 by a special keyword.
8273
8274 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8275 (ruby-syntax-general-delimiters-goto-beg)
8276 (ruby-syntax-propertize-general-delimiters): New functions.
8277 (ruby-syntax-propertize-function): Use them to handle GDL.
8278 (ruby-font-lock-keywords): Move old handling of GDL...
8279 (ruby-font-lock-syntactic-keywords): .. to here.
8280 (ruby-calculate-indent): Adjust indentation for GDL.
8281
8282 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8283
8284 * notifications.el (top): Remove unneeded declarations.
8285 (notifications-specification-version): Change to "1.2".
8286 (notifications-interface, notifications-notify-method)
8287 (notifications-close-notification-method): Fix docstring.
8288 (notifications-get-capabilities-method): New defconst.
8289 (notifications-notify): Add :action-items, :resident and
8290 :transient hints. Change "image_data" to "image-data" and
8291 "image_path" to "image-path".
8292 (notifications-get-capabilities): New defun.
8293
8294 2012-04-24 Leo Liu <sdl.web@gmail.com>
8295
8296 * progmodes/python.el: Move hideshow setup to the end.
8297
8298 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8299
8300 * window.el (handle-select-window): Clear echo area since this is
8301 no more done by read_char (Bug#11304).
8302
8303 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8306 and `/ M' to filter-derived-mode.
8307 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8308 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8309 (ibuffer-mark-by-mode): Use default rather than initial-input.
8310 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8311
8312 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8313
8314 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8315 (ibuffer-filter-by-derived-mode): New filter.
8316 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8317
8318 2012-04-23 Andreas Politz <politza@fh-trier.de>
8319
8320 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8321
8322 2012-04-23 Chong Yidong <cyd@gnu.org>
8323
8324 * cus-edit.el (customize-apropos, customize-apropos-options):
8325 Disable matching of non-option variables (Bug#11176).
8326 (customize-option, customize-option-other-window)
8327 (customize-changed-options): Doc fix.
8328 (customize-apropos-options, customize-apropos-faces)
8329 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8330
8331 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8332 Fix word list splitting (Bug#11132).
8333 (apropos-symbol, apropos-keybinding, apropos-label)
8334 (apropos-property, apropos-function-button)
8335 (apropos-variable-button, apropos-misc-button): New faces.
8336 (apropos-symbol-face, apropos-keybinding-face)
8337 (apropos-label-face, apropos-property-face, apropos-match-face):
8338 Variables removed (Bug#8396).
8339 (apropos-library-button, apropos-format-plist, apropos-print)
8340 (apropos-print-doc, apropos-describe-plist): Callers changed.
8341
8342 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8343
8344 * net/xesam.el (xesam-mode-map): Use let-bound map in
8345 initialization. (Bug#11292)
8346
8347 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8348
8349 Preserve ispell session localwords when switching back to
8350 original buffer.
8351
8352 * textmodes/ispell.el (ispell-buffer-session-localwords):
8353 New buffer-local variable to hold buffer session localwords.
8354 (ispell-kill-ispell): Add option 'clear to delete session
8355 localwords.
8356 (ispell-command-loop, ispell-change-dictionary)
8357 (ispell-buffer-local-words): Preserve session localwords when
8358 needed.
8359
8360 * textmodes/flyspell.el (flyspell-process-localwords)
8361 (flyspell-do-correct): Preserve session localwords when needed.
8362
8363 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8364
8365 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8366 using obsolete `translation-table-for-input'.
8367 (ispell-word, ispell-process-line, ispell-complete-word):
8368 Use plain `insert' instead of removed `ispell-insert-word'.
8369
8370 2012-04-22 Chong Yidong <cyd@gnu.org>
8371
8372 * cus-edit.el (custom-variable-menu)
8373 (custom-variable-reset-saved, custom-face-menu)
8374 (custom-face-reset-saved): If there is no saved value, make the
8375 "reset-saved" operation bring back the default (Bug#9509).
8376 (custom-face-state): Properly detect themed faces.
8377
8378 * faces.el (face-spec-set): Stop supporting deprecated form of
8379 third arg.
8380
8381 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8382
8383 Move functions from C to Lisp. Make non-blocking method calls
8384 the default. Implement further D-Bus standard interfaces.
8385
8386 * net/dbus.el (dbus-message-internal): Declare function.
8387 Remove unneeded function declarations.
8388 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8389 (dbus-message-type-method-return, dbus-message-type-error)
8390 (dbus-message-type-signal): Declare variables. Remove local
8391 definitions.
8392 (dbus-interface-dbus, dbus-interface-peer)
8393 (dbus-interface-introspectable, dbus-interface-properties)
8394 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8395 Adapt docstring.
8396 (dbus-interface-objectmanager): New defconst.
8397 (dbus-call-method, dbus-call-method-asynchronously)
8398 (dbus-send-signal, dbus-method-return-internal)
8399 (dbus-method-error-internal, dbus-register-service)
8400 (dbus-register-signal, dbus-register-method): New defuns, moved
8401 from dbusbind.c
8402 (dbus-call-method-handler, dbus-setenv)
8403 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8404 New defuns.
8405 (dbus-call-method-non-blocking): Make it an obsolete function.
8406 (dbus-unregister-object, dbus-unregister-service)
8407 (dbus-handle-event, dbus-register-property)
8408 (dbus-property-handler): Obey the new structure of
8409 `bus-registered-objects'.
8410 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8411 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8412 Use `dbus-call-method'.
8413
8414 2012-04-22 Chong Yidong <cyd@gnu.org>
8415
8416 * cus-edit.el (custom-commands, custom-reset-menu)
8417 (Custom-reset-standard): Tweak labels.
8418 (custom-reset-button-menu): Change default to t.
8419 (custom-buffer-create-internal): For the custom-reset-button-menu
8420 case, put the revert button first.
8421 (custom-group-subtitle): New face.
8422 (custom-group-value-create): Align docstring to a specific column.
8423
8424 * wid-edit.el (widget-documentation-link-add): Don't handle
8425 indentation in this function.
8426 (widget-documentation-string-indent-to): New function.
8427 (widget-documentation-string-value-create): Use it.
8428
8429 * autorevert.el (auto-revert):
8430 * epg-config.el (epg):
8431 * ibuffer.el (ibuffer):
8432 * mpc.el (mpc):
8433 * ses.el (ses):
8434 * eshell/eshell.el (eshell):
8435 * net/ange-ftp.el (ange-ftp):
8436 * progmodes/ebnf2ps.el (postscript):
8437 * progmodes/flymake.el (flymake):
8438 * progmodes/prolog.el (prolog):
8439 * progmodes/verilog-mode.el (verilog-mode):
8440 * progmodes/which-func.el (which-func):
8441 * term/xterm.el (xterm):
8442 * textmodes/picture.el (picture):
8443 * textmodes/tildify.el (tildify):
8444 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8445 customization buffers.
8446
8447 2012-04-22 Alan Mackenzie <acm@muc.de>
8448
8449 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8450 Adding a ) can hide the resulting (..) from searches. Fix it.
8451 Bound the backward search to the position of the existing (.
8452
8453 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8454
8455 * progmodes/verilog-mode.el (verilog-mode): Check whether
8456 which-func-modes is t before adding verilog-mode.
8457 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8458
8459 2012-04-21 Leo Liu <sdl.web@gmail.com>
8460
8461 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8462
8463 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8464
8465 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8466 filling of the last column of a table (Bug#5635).
8467 (woman-find-next-control-line): New arg, specifying an additional
8468 regexp component for the control line.
8469 (woman2-roff-buffer): Use it.
8470 (woman-break-table): New function.
8471 (woman2-TS): Use it.
8472
8473 2012-04-21 Chong Yidong <cyd@gnu.org>
8474
8475 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8476 (woman-horizontal-escapes, woman-negative-vertical-space)
8477 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8478 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8479
8480 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * minibuffer.el (completion-file-name-table): Complete user names.
8483
8484 2012-04-20 Leo Liu <sdl.web@gmail.com>
8485
8486 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8487 and pcase-let*.
8488
8489 2012-04-20 Chong Yidong <cyd@gnu.org>
8490
8491 * server.el (server-execute): Respect initial-buffer-choice if it
8492 is a string and there are no files to open (Bug#2825).
8493 (server-create-window-system-frame, server-create-tty-frame):
8494 Don't switch buffers here.
8495 (server-process-filter): Only try to open a window system frame if
8496 compiled with graphical support (Bug#8314).
8497
8498 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8499
8500 * battery.el (battery-echo-area-format): Display remaining time
8501 for sysfs backend too (Bug#11269).
8502 (battery-linux-sysfs): Fix conditional for the charge.
8503
8504 2012-04-20 Chong Yidong <cyd@gnu.org>
8505
8506 * progmodes/gdb-mi.el (gdb): Revert previous change.
8507 (gdb-inferior-io--init-proc): New function.
8508 (gdb-init-1): Use it.
8509 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8510 responsible for allocating a new pty and hooking it to gdb when
8511 the old pty gets an EIO due to process exit.
8512 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8513 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8514 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8515
8516 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8517
8518 * window.el (window-min-size, window-sizable, window-min-delta)
8519 (window-max-delta, window--resizable, window-resizable)
8520 (window-total-size, window-full-height-p, window-full-width-p)
8521 (window-in-direction, window--resize-mini-window, window-resize)
8522 (window--resize-child-windows-normal)
8523 (window--resize-child-windows, window--resize-siblings)
8524 (window--resize-this-window, adjust-window-trailing-edge)
8525 (enlarge-window, shrink-window): Doc fixes.
8526
8527 2012-04-20 Chong Yidong <cyd@gnu.org>
8528
8529 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8530 New function to call delete-process on the gdb-inferior buffer's pty.
8531 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8532 pty process (Bug#11273).
8533 (gdb-update): New arg to suppress talking to the gdb process.
8534 (gdb-done-or-error): Use it.
8535 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8536 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8537 sentinel not being called.
8538
8539 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8540
8541 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8542
8543 2012-04-20 Glenn Morris <rgm@gnu.org>
8544
8545 * net/network-stream.el (open-network-stream): Doc fix.
8546
8547 2012-04-20 Chong Yidong <cyd@gnu.org>
8548
8549 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8550
8551 2012-04-20 Alan Mackenzie <acm@muc.de>
8552
8553 Ensure searching for keywords is case sensitive.
8554
8555 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8556 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8557 (c-defun-name, c-mark-function, c-cpp-define-name)
8558 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8559 (c-context-line-break): Bind case-fold-search to nil.
8560
8561 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8562 Bind case-fold-search to nil.
8563
8564 2012-04-20 Chong Yidong <cyd@gnu.org>
8565
8566 * mail/sendmail.el (mail-bury): Call return action with the right
8567 Rmail buffer (Bug#11242).
8568
8569 * server.el (server-process-filter): Handle corner case where both
8570 tty and nowait options are present (Bug#11102).
8571
8572 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8573
8574 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8575 (top level): Put into the executable the ident-style '$Id:' tag on
8576 windows-nt as well.
8577
8578 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * electric.el (electric-indent-post-self-insert-function): Check that
8581 electric-indent-mode is enabled in current buffer.
8582
8583 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8584
8585 * imenu.el (imenu-progress-message): Restore; it is "used" in
8586 erc/erc-imenu.el and net/snmp-mode.el.
8587
8588 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8589
8590 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8591 (mouse-avoidance-nudge-mouse): Remove unused binding.
8592
8593 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8594
8595 * descr-text.el (describe-char):
8596 * progmodes/python.el (python-describe-symbol):
8597 Don't call `toggle-read-only', set `buffer-read-only'.
8598
8599 * imenu.el (imenu-default-goto-function): Mark unused args.
8600 (imenu-progress-message): Remove obsolete macro; all callers changed.
8601
8602 * subr.el (keymap-canonicalize): Remove unused binding.
8603 (read-passwd): Mark unused arg.
8604
8605 * tutorial.el (tutorial--display-changes): Remove unused binding.
8606 (tutorial--save-tutorial-to): Remove unused variable.
8607
8608 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8609 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8610 (package-generate-autoloads, package-menu--generate)
8611 (package-menu--find-upgrades): Remove unused bindings.
8612
8613 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8614 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8615 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8616 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8617 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8618 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8619 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8620 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8621 (cua-delete-char-rectangle): Mark unused args.
8622 (cua-align-rectangle): Remove unused binding.
8623
8624 * mail/rmail.el (compilation--message->loc)
8625 (epa--find-coding-system-for-mime-charset): Declare.
8626
8627 * net/dbus.el (dbus-register-service): Declare.
8628 (dbus-name-owner-changed-handler): Remove unused binding.
8629
8630 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8631 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8632 (nxml-scan-backward-within): Mark unused arg.
8633 (nxml-dynamic-markup-word): Remove unused binding.
8634
8635 * mouse.el (mouse-menu-major-mode-map):
8636 * emacs-lisp/authors.el (authors-scan-change-log)
8637 (authors-add-to-author-list):
8638 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8639 * emacs-lisp/smie.el (smie-auto-fill):
8640 * mail/sendmail.el (mail-bury):
8641 * mail/unrmail.el (unrmail):
8642 * net/tls.el (open-tls-stream):
8643 * textmodes/picture.el (picture-mouse-set-point):
8644 Remove unused bindings.
8645
8646 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8647
8648 * net/tramp.el (tramp-action-password): Let-bind
8649 `enable-recursive-minibuffers' to t.
8650
8651 2012-04-18 Sam Steingold <sds@gnu.org>
8652
8653 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8654 instead of 'string to accommodate values like [f11].
8655 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8656 * progmodes/gdb-mi.el: Likewise.
8657
8658 2012-04-18 Leo Liu <sdl.web@gmail.com>
8659
8660 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8661 current buffer.
8662 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8663 LOCAL is nil.
8664
8665 2012-04-18 Chong Yidong <cyd@gnu.org>
8666
8667 * simple.el (line-move): Use forward-line if in batch mode
8668 (Bug#11053).
8669
8670 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8671
8672 * files.el (after-find-file): Do not try to add a final newline if
8673 the buffer is read-only (Bug#11156).
8674
8675 2012-04-17 Richard Stallman <rms@gnu.org>
8676
8677 * mail/rmail.el (rmail-start-mail):
8678 Pass (rmail-mail-return...) for the return-action.
8679 Pass (rmail-yank-current-message...) for the yank-action.
8680 (rmail-yank-current-message): New function.
8681 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8682 (rmail-reply): Likewise.
8683 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8684
8685 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8686 buffer, not the last. Reject temp buffers. Use the rmail-mode
8687 buffer, not newbuf.
8688
8689 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8690
8691 * server.el (server-ensure-safe-dir): Simplify.
8692
8693 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * emacs-lisp/smie.el: Provide smarter auto-filling.
8696 (smie-auto-fill): New function.
8697 (smie-setup): Use it.
8698
8699 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8700
8701 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8702
8703 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8704 (comment-indent): Use it.
8705
8706 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8707
8708 * ses.el: The overall change is to add cell renaming, that is
8709 setting fancy names for cell symbols other than name matching
8710 "\\`[A-Z]+[0-9]+\\'" regexp .
8711 (ses-localvars): Add ses--renamed-cell-symb-list.
8712 (ses-create-cell-variable): New defun.
8713 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8714 (ses-relocate-formula): Relocate formulas only for cells the
8715 symbols of which are not renamed, i.e. symbols whose names do not
8716 match regexp "\\`[A-Z]+[0-9]+\\'".
8717 (ses-relocate-all): Relocate values only for cells the symbols of
8718 which are not renamed.
8719 (ses-load): Create cells variables as the (ses-cell ...) are read,
8720 in order to check row col consistency with cell symbol name only
8721 for cells that are not renamed.
8722 (ses-replace-name-in-formula): New defun.
8723 (ses-rename-cell): New defun.
8724
8725 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8726
8727 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8728 New option (bug#11118).
8729 (perl-calculate-indent): Respect it.
8730
8731 2012-04-17 Glenn Morris <rgm@gnu.org>
8732
8733 * dired-aux.el (dired-mark-read-string): Doc fix.
8734
8735 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8736
8737 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8738 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8739
8740 2012-04-17 Glenn Morris <rgm@gnu.org>
8741
8742 * mouse.el (mouse-drag-track):
8743 * speedbar.el (speedbar-frame-mode):
8744 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8745
8746 2012-04-16 Leo Liu <sdl.web@gmail.com>
8747
8748 * progmodes/python.el: Trivial cleanup.
8749
8750 2012-04-16 Glenn Morris <rgm@gnu.org>
8751
8752 * vc/vc.el (vc-string-prefix-p):
8753 * vc/pcvs-util.el (cvs-string-prefix-p):
8754 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8755 * mpc.el (mpc-string-prefix-p):
8756 Make all of these into obsolete aliases for string-prefix-p.
8757 Update callers.
8758 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8759
8760 * textmodes/two-column.el: Move custom options to the start.
8761 (frame-width): Remove compat definition.
8762 (2C-associate-buffer, 2C-dissociate):
8763 Use with-current-buffer rather than save-excursion.
8764 (2C-dissociate): Force a mode-line update.
8765 (2C-autoscroll): Use ignore-errors.
8766
8767 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8768 Autoload trivia.
8769
8770 * emacs-lisp/cl-extra.el (*random-state*):
8771 Remove unnecessary declaration.
8772
8773 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8774
8775 * play/cookie1.el (cookie-snarf):
8776 Give an explicit error if input file cannot be read.
8777
8778 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8779
8780 * progmodes/perl-mode.el (c-macro-expand):
8781 Remove unnecessary autoload (it is in loaddefs.el).
8782
8783 * textmodes/picture.el (picture-desired-column)
8784 (picture-update-desired-column): Convert comments to doc-strings.
8785 (picture-substitute): Remove function.
8786 (picture-mode-map): Initialize in the defvar.
8787
8788 * woman.el: Remove eval-after-load for tar-mode.
8789 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8790 (woman-tar-extract-file): Autoload it.
8791
8792 * frame.el (automatic-hscrolling): Make this alias obsolete.
8793
8794 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8795
8796 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8797 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8798 (ispell-dictionary-base-alist): Revert to original XEmacs
8799 friendly version for default. [:alpha:] will be added in
8800 `ispell-set-spellchecker-params' if needed.
8801
8802 2012-04-16 Chong Yidong <cyd@gnu.org>
8803
8804 * image.el (imagemagick--file-regexp): New variable.
8805 (imagemagick-register-types): Use it.
8806 (imagemagick-types-inhibit): Add :set function. Allow new value
8807 of t to inhibit all types.
8808
8809 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8810 so we can preload it.
8811
8812 * loadup.el (fboundp): Preload regexp-opt, needed by
8813 imagemagick-register-types.
8814
8815 2012-04-15 Chong Yidong <cyd@gnu.org>
8816
8817 * frame.el (scrolling): Remove nearly unused customization group.
8818
8819 * scroll-all.el (scroll-all-mode): Move to windows group.
8820
8821 2012-04-15 Chong Yidong <cyd@gnu.org>
8822
8823 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8824
8825 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8828 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8829
8830 2012-04-15 Glenn Morris <rgm@gnu.org>
8831
8832 * simple.el (process-file-side-effects): Doc fix.
8833
8834 2012-04-15 Glenn Morris <rgm@gnu.org>
8835
8836 * international/mule-cmds.el (set-language-environment): Doc fix.
8837
8838 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * server.el (server-auth-key, server-generate-key): Doc fixes.
8841 (server-get-auth-key): Doc fix. Use `string-match-p'.
8842 (server-start): Reflow docstring.
8843
8844 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8845
8846 * server.el (server-generate-key): `called-interactively-p'
8847 requires a parameter.
8848
8849 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8850
8851 * server.el (server-auth-key): New variable.
8852 (server-generate-key, server-get-auth-key): New function.
8853 (server-start): Use the new variable and functions to allow
8854 setting a permanent server key (bug#9423).
8855
8856 2012-04-14 Leo Liu <sdl.web@gmail.com>
8857
8858 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8859
8860 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8861
8862 Spelling fixes.
8863 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8864 Emacs uses American spelling.
8865
8866 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8867
8868 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8869 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8870 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8871 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8872
8873 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * progmodes/which-func.el (which-func-modes): Change default.
8876
8877 2012-04-14 Kim F. Storm <storm@cua.dk>
8878
8879 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8880 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8881
8882 2012-04-14 Chong Yidong <cyd@gnu.org>
8883
8884 * custom.el (custom-theme-set-variables): Doc fix.
8885
8886 2012-04-14 Glenn Morris <rgm@gnu.org>
8887
8888 * international/mule.el (set-auto-coding-for-load): Doc fix.
8889
8890 2012-04-14 Alan Mackenzie <acm@muc.de>
8891
8892 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8893 imenu work again for Objective C Mode. Correct the *-index values,
8894 these having been disturbed by a previous change in 2011-08.
8895
8896 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8897 Correct two search limits.
8898
8899 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8902
8903 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8904
8905 * international/characters.el: Fix sorting.
8906
8907 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8908
8909 * international/characters.el: Add more missing Latin case pairs.
8910
8911 2012-04-14 Glenn Morris <rgm@gnu.org>
8912
8913 * files.el (dir-locals-set-class-variables): Doc fix.
8914
8915 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8916
8917 * international/characters.el: Add set-case-syntax-pair call for
8918 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8919 counterpart. (Bug#11209)
8920
8921 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8922
8923 2012-04-14 Glenn Morris <rgm@gnu.org>
8924
8925 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8926
8927 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8928
8929 * textmodes/ispell.el (ispell-dictionary-base-alist):
8930 Add data for Hebrew.
8931
8932 2012-04-14 Chong Yidong <cyd@gnu.org>
8933
8934 * net/rcirc.el (rcirc-cmd-quit):
8935 Revert 2012-03-18 change (Bug#11192).
8936
8937 2012-04-14 Glenn Morris <rgm@gnu.org>
8938
8939 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8940
8941 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8942
8943 * minibuffer.el (completion-in-region-mode-map):
8944 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8945
8946 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8947
8948 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8949
8950 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8951
8952 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8953 to allow `C-M-f' and `C-M-b' to move to the nearest path
8954 separator (bug#9511).
8955
8956 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8957
8958 * avoid.el: Require cl when compiling. And also move the
8959 `provide' to the end.
8960
8961 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8962
8963 * avoid.el (mouse-avoidance-banish-position): New variable.
8964 (mouse-avoidance-banish-destination): Use it (bug#10165).
8965
8966 2012-04-13 Leo Liu <sdl.web@gmail.com>
8967
8968 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8969
8970 2012-04-13 Ken Brown <kbrown@cornell.edu>
8971
8972 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8973 this is no longer needed now that cygstart understands file:// URLs.
8974 (browse-url-filename-alist): For the same reason, don't modify
8975 file:// URLs on Cygwin.
8976
8977 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8980 the region on shift if the binding is already shifted (bug#11221).
8981
8982 2012-04-12 Glenn Morris <rgm@gnu.org>
8983
8984 * mail/mailpost.el: Move to obsolete/.
8985
8986 2012-04-12 Drew Adams <drew.adams@oracle.com>
8987
8988 * imenu.el (imenu--generic-function): Ignore invisible definitions
8989 (bug#10123).
8990
8991 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8992
8993 * hexl.el (hexl-bits): New variable.
8994 (hexl-options): Mention the variable in the doc string.
8995 (hexl-rulerise, hexl-line-displen): New functions.
8996 (hexl-mode): Mention the new variable.
8997 (hexl-mode, hexl-current-address, hexl-current-address):
8998 Use the displen.
8999 (hexl-ascii-start-column): New function.
9000 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9001 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9002
9003 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9004
9005 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9006 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9007 the encoding, as expected by hunspell.
9008
9009 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * battery.el (battery--linux-sysfs-regexp): New const.
9012 (battery-status-function): Use it. Remove yeeloong special case.
9013 (battery-yeeloong-sysfs): Remove.
9014 (battery-echo-area-format): Remove yeeloong special case.
9015
9016 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9019 Reported by Noah Friedman.
9020
9021 * subr.el (read-passwd): Use read-string.
9022
9023 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9024
9025 * vcursor.el (vcursor-move): Increase the priority of the overlay
9026 (bug#9663).
9027
9028 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9029
9030 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9031 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9032
9033 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9034
9035 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9036 define-minor-mode (bug#10760).
9037
9038 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9039
9040 * progmodes/grep.el (rgrep): Tweak the find command line so
9041 that directories matching `grep-find-ignored-files' won't be
9042 pruned (bug#10351).
9043
9044 2012-04-11 Chong Yidong <cyd@gnu.org>
9045
9046 * startup.el (command-line): Remove support for long-obsolete
9047 variable font-lock-face-attributes.
9048
9049 2012-04-11 Glenn Morris <rgm@gnu.org>
9050
9051 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9052
9053 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * window.el (window--state-get-1): Obey window-point-insertion-type.
9056
9057 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9058
9059 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9060 to previous function when point is on the first character of a
9061 function. Take care of that in `narrow-to-defun' (bug#6157).
9062
9063 2012-04-11 Glenn Morris <rgm@gnu.org>
9064
9065 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9066 not just file-errors.
9067
9068 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9069 (vc-bzr-sha1): Use internal sha1.
9070
9071 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9074
9075 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9076
9077 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9078 that start in the middle of the line (bug#10496).
9079
9080 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9081
9082 * battery.el (battery-linux-proc-acpi): Only one battery is
9083 discharged at a time, but that seems to confuse battery.el when
9084 computing `rate-type' for the battery not being discharged
9085 (bug#10332).
9086
9087 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9090
9091 * international/quail.el: Use dolist and simplify.
9092 (quail-define-package, quail-update-keyboard-layout)
9093 (quail-define-rules): Use dolist.
9094 (quail-insert-kbd-layout, quail-get-translation): CSE.
9095
9096 * tmm.el: Use dolist, remove left over hook.
9097 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9098 Use dolist.
9099 (calendar-load-hook): Don't mess with it.
9100
9101 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9102 Use derived-mode-p. Run the diff asynchronously.
9103
9104 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9105
9106 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9107
9108 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9109
9110 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9111 (list-dynamic-libraries--loaded): New function.
9112 (list-dynamic-libraries--refresh): Use it.
9113
9114 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9115
9116 * progmodes/python.el (python-fill-paragraph):
9117 Make python-fill-region in a multiline string work when font-lock is
9118 disabled (bug#7018).
9119
9120 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9121
9122 * language/european.el (cp775): Add oem/legacy (en)coding on
9123 DOS/MS Windows for the Baltic languages. There are still plenty
9124 of texts written in this encoding/codepage (bug#6519).
9125
9126 2012-04-10 Glenn Morris <rgm@gnu.org>
9127
9128 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9129 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9130
9131 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9132
9133 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9134 next-line "n" and previous-line "p" in order to make recentf more
9135 consistent with ibuffer, dired or org-mode (bug#9387).
9136
9137 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9138
9139 * image.el (put-image): Return the overlay created instead of the
9140 optional input string (bug#7834). Note that this may break code
9141 that is (for some reason or other) depending on `put-image'
9142 returning the string.
9143
9144 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9145
9146 * simple.el (zap-to-char): Allow zapping using input methods
9147 (bug#1580).
9148
9149 * textmodes/fill.el (fill-region): Leave point and mark where they
9150 were before filling (bug#5399).
9151
9152 2012-04-09 Glenn Morris <rgm@gnu.org>
9153
9154 * version.el (emacs-bzr-get-version):
9155 Handle lightweight checkouts of local branches.
9156
9157 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9158
9159 * international/characters.el: Recover lost case pairs. (Bug#11209)
9160
9161 2012-04-09 Chong Yidong <cyd@gnu.org>
9162
9163 * custom.el (custom-variable-p): Return nil for non-symbol
9164 arguments instead of signaling an error.
9165 (user-variable-p): Obsolete alias for custom-variable-p.
9166
9167 * apropos.el (apropos-variable):
9168 * files-x.el (read-file-local-variable):
9169 * simple.el (set-variable):
9170 * woman.el (woman-mini-help):
9171 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9172
9173 2012-04-09 Glenn Morris <rgm@gnu.org>
9174
9175 * startup.el (normal-top-level): Don't look for leim-list.el
9176 in places where it will not be found. (Bug#910)
9177
9178 * international/mule-cmds.el (set-default-coding-systems):
9179 * files.el (normal-mode):
9180 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9181 This function was removed with ucs-tables.el in 2008.
9182
9183 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9184
9185 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9186 ispell-encoding8-command to "-i", without a trailing space.
9187 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9188 separate command-line arguments, to specify the encoding, since
9189 that's how hunspell expects it.
9190
9191 2012-04-08 Glenn Morris <rgm@gnu.org>
9192
9193 * loadup.el: Load bindings before cus-start.
9194 This reduces somewhat the number of "rogue" settings in emacs -Q.
9195
9196 2012-04-07 Glenn Morris <rgm@gnu.org>
9197
9198 * version.el (emacs-bzr-get-version): New function.
9199 (emacs-bzr-version): New variable.
9200 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9201 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9202
9203 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9204
9205 * international/uni-bidi.el, international/uni-category.el:
9206 * international/uni-combining.el, international/uni-decimal.el:
9207 * international/uni-decomposition.el, international/uni-digit.el:
9208 * international/uni-lowercase.el, international/uni-mirrored.el:
9209 * international/uni-name.el, international/uni-numeric.el:
9210 * international/uni-titlecase.el, international/uni-uppercase.el:
9211 Update for Unicode 6.1.
9212
9213 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9214
9215 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9216
9217 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9218
9219 * window.el (shrink-window): Mention the `window-min-height'
9220 variable in the doc string.
9221
9222 2012-04-05 Bastien Guerry <bzg@altern.org>
9223
9224 * color.el (color-lighten-name): Fix typo.
9225
9226 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * server.el (server--on-display-p): New function.
9229 (server--on-display-p): Use it.
9230
9231 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9232
9233 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9234 (bug#11145).
9235
9236 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9237
9238 * comint.el (comint--common-quoted-suffix): Check string boundary
9239 before comparing (bug#11158).
9240 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9241
9242 2012-04-04 Chong Yidong <cyd@gnu.org>
9243
9244 * minibuffer.el (completion-extra-properties): Doc fix.
9245
9246 * subr.el (delayed-warnings-hook): Doc fix.
9247
9248 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9249
9250 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9251 selection (Bug#11159).
9252 (epa-insert-keys): Inform that the default public key will be
9253 exported if no key is selected.
9254
9255 2012-04-04 Richard Stallman <rms@gnu.org>
9256
9257 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9258
9259 2012-04-03 Chong Yidong <cyd@gnu.org>
9260
9261 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9262 mail-insert-file, not its obsolete alias mail-attach-file.
9263
9264 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9265
9266 * notifications.el (notifications-notify): Fix docstring.
9267
9268 2012-04-02 Glenn Morris <rgm@gnu.org>
9269
9270 * emacs-lisp/authors.el (authors-aliases): Another addition.
9271
9272 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9273
9274 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9275 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9276 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9277
9278 2012-04-01 Chong Yidong <cyd@gnu.org>
9279
9280 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9281 Handle root directory properly.
9282 (copy-directory): Caller changed.
9283
9284 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9285 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9286
9287 2012-03-31 Glenn Morris <rgm@gnu.org>
9288
9289 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9290
9291 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9292
9293 * calendar/calendar.el (calendar-window-list)
9294 (calendar-hide-window): Restore. (Bug#11140)
9295 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9296
9297 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9298
9299 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9300
9301 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9302 Check if file is a symlink (Bug#10489).
9303
9304 * files.el (copy-directory): Likewise.
9305
9306 2012-03-30 Chong Yidong <cyd@gnu.org>
9307
9308 * image.el (imagemagick-types-inhibit)
9309 (imagemagick-register-types): Doc fix.
9310
9311 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9312
9313 * textmodes/ispell.el (ispell-get-extended-character-mode):
9314 Disable extended-char-mode for hunspell. hunspell does not support it
9315 and treats ~word as ordinary words in pipe mode.
9316
9317 2012-03-30 Glenn Morris <rgm@gnu.org>
9318
9319 * tutorial.el (help-with-tutorial): Ensure local variables don't
9320 happen to make the buffer read-only. (Bug#11127)
9321
9322 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9325 (perl-calculate-indent): Return `noindent' in strings.
9326
9327 2012-03-28 Sam Steingold <sds@gnu.org>
9328
9329 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9330 instead of the broken adhockery which does not prevent calendar
9331 buffers from being displayed at random after exit.
9332 (calendar-window-list, calendar-hide-window): Remove the broken
9333 adhockery.
9334
9335 2012-03-28 Glenn Morris <rgm@gnu.org>
9336
9337 * replace.el (query-replace-map): Doc fix.
9338
9339 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9340
9341 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9342 contents. (Bug#11109)
9343
9344 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9345
9346 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9347 (bug#11077).
9348 (avl-tree--check, avl-tree--check-node): New funs.
9349
9350 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9351
9352 * window.el (switch-to-visible-buffer): New option.
9353 (switch-to-prev-buffer, switch-to-next-buffer):
9354 Observe switch-to-visible-buffer. Make sure that checking for a window
9355 showing a buffer already is done on the same frame.
9356
9357 2012-03-27 Glenn Morris <rgm@gnu.org>
9358
9359 * startup.el (mail-host-address): Doc fix.
9360
9361 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9362
9363 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9364 than 197 variables.
9365
9366 2012-03-26 Ami Fischman <ami@fischman.org>
9367
9368 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9369
9370 2012-03-26 Glenn Morris <rgm@gnu.org>
9371
9372 * files.el (save-buffers-kill-emacs): Doc fix.
9373
9374 * startup.el (normal-top-level, command-line, command-line-1):
9375 Give them doc strings.
9376
9377 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9378
9379 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9380 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9381
9382 2012-03-25 Chong Yidong <cyd@gnu.org>
9383
9384 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9385 theme if it was previously enabled before (Bug#11031).
9386
9387 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9388 spec with custom-face-get-current-spec if its :shown-value is not
9389 determined yet (Bug#9337).
9390 (customize-create-theme, custom-theme-revert): Doc fixes.
9391
9392 * button.el (button-at): Minor addition to docstring.
9393
9394 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9395
9396 * vc/vc.el (vc-merge): Fix a prompt.
9397
9398 2012-03-24 Chong Yidong <cyd@gnu.org>
9399
9400 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9401 point (Bug#9623).
9402
9403 * button.el (button-at): Minor addition to docstring.
9404
9405 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * newcomment.el (comment-choose-indent): No space after BOL.
9408
9409 2012-03-22 Sam Steingold <sds@gnu.org>
9410
9411 * window.el (switch-to-prev-buffer): Revert last patch because the
9412 bug turned out to be an advertised feature (Elisp manual 28.14).
9413
9414 2012-03-22 Glenn Morris <rgm@gnu.org>
9415
9416 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9417 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9418
9419 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9420
9421 * net/network-stream.el (network-stream-open-starttls): Make error
9422 message under Windows be less misleading.
9423
9424 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9425
9426 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9427 understands (bug#9942).
9428
9429 2012-03-22 Chong Yidong <cyd@gnu.org>
9430
9431 * simple.el (end-of-visible-line): Handle return value of
9432 next-single-property-change properly (Bug#9371).
9433
9434 2012-03-22 Kenichi Handa <handa@m17n.org>
9435
9436 * international/quail.el (quail-insert-kbd-layout): Fix previous
9437 change. To avoid unwanted bidi reordering, use
9438 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9439
9440 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9441
9442 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9443 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9444 (ruby-beginning-of-indent): Be more careful with the difference
9445 between word-boundary and symbol boundary.
9446 (ruby-mode-syntax-table): Make : a symbol constituent.
9447
9448 2012-03-21 Andreas Politz <politza@fh-trier.de>
9449
9450 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9451
9452 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * progmodes/etags.el (tags-completion-at-point-function):
9455 Improve last fix.
9456
9457 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9458
9459 2012-03-21 Sam Steingold <sds@gnu.org>
9460
9461 * progmodes/etags.el (tags-completion-at-point-function):
9462 Avoid the error when point is inside the pattern.
9463
9464 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9465
9466 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9467 line (Bug#10855).
9468
9469 2012-03-21 Drew Adams <drew.adams@oracle.com>
9470
9471 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9472
9473 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9474
9475 * ido.el (ido-set-current-directory, ido-read-internal)
9476 (ido-choose-completion-string, ido-completion-help): Handle nil
9477 value of ido-completion-buffer (Bug#11008).
9478
9479 2012-03-21 Sam Steingold <sds@gnu.org>
9480
9481 * window.el (switch-to-prev-buffer): Do not switch to a visible
9482 window previous buffer, just like with the frame previous buffers.
9483
9484 2012-03-21 Chong Yidong <cyd@gnu.org>
9485
9486 * faces.el (make-face, make-empty-face, copy-face):
9487 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9488 Doc fixes.
9489
9490 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9493 (widget-complete): Remove broken use of it.
9494
9495 2012-03-20 Chong Yidong <cyd@gnu.org>
9496
9497 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9498 Use string-width and truncate-string-width to handle arbitrary
9499 characters.
9500
9501 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9502
9503 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9504 to draw rectangles, not squares. (Regression introduced by revno
9505 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9506
9507 2012-03-18 Chong Yidong <cyd@gnu.org>
9508
9509 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9510 it is not yet defined (for temacs).
9511
9512 2012-03-18 Leo Liu <sdl.web@gmail.com>
9513
9514 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9515 prefix.
9516
9517 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9518
9519 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9520 (ispell-choices-win-default-height, ispell-silently-savep)
9521 (ispell-dictionary-alist, ispell-encoding8-command)
9522 (ispell-check-version, ispell-aspell-find-dictionary)
9523 (ispell-valid-dictionary-list, ispell-words-keyword)
9524 (ispell-get-word, ispell-internal-change-dictionary)
9525 (ispell-region, ispell-skip-region-list)
9526 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9527 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9528 (ispell-message-text-end, ispell-message)
9529 (ispell-buffer-local-parsing): Doc fix.
9530
9531 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9532
9533 * htmlfontify.el: Add support for code block fontification for ODT
9534 export (Bug #9914).
9535 (hfy-optimisations): Define new option
9536 `body-text-only'
9537 (hfy-fontify-buffer): Honor above setting.
9538 (hfy-begin-span, hfy-end-span): New routines factored out form
9539 `hfy-fontify-buffer'.
9540 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9541 that permit insertion of custom tags.
9542 (hfy-fontify-buffer): Use above handlers.
9543 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9544 (hfy-face-to-css): Re-defined to be a variable.
9545 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9546 over multiple runs. This is made possible by having the caller let
9547 bind a special variable `hfy-user-sheet-assoc'.
9548 (htmlfontify-string): New defun.
9549 (hfy-compile-face-map): Make sure that the last char in the
9550 buffer is correctly fontified.
9551 (hfy-face-resolve-face): Whitespace only change.
9552
9553 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9554
9555 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9556 message more clear.
9557
9558 2012-03-16 Leo Liu <sdl.web@gmail.com>
9559
9560 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9561
9562 2012-03-16 Alan Mackenzie <acm@muc.de>
9563
9564 Further optimise the handling of large macros.
9565
9566 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9567 limit to a call of `c-literal-limits'.
9568 (c-determine-+ve-limit): New function.
9569 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9570 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9571 In CASE 5B, restrict a search limit to 500.
9572 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9573
9574 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9575 Restrict macro bounds to +-500 from after-change's BEG END.
9576
9577 2012-03-16 Leo Liu <sdl.web@gmail.com>
9578
9579 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9580
9581 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9582
9583 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9584 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9585
9586 2012-03-16 Glenn Morris <rgm@gnu.org>
9587
9588 * view.el (view-buffer, view-buffer-other-window)
9589 (view-buffer-other-frame): Doc fixes re special mode-class.
9590
9591 * subr.el (eval-after-load): If named feature is provided not from
9592 a file, run after-load forms. (Bug#10946)
9593
9594 * calendar/calendar.el (calendar-insert-at-column):
9595 Handle non-unit-width characters a bit better. (Bug#10978)
9596
9597 2012-03-15 Chong Yidong <cyd@gnu.org>
9598
9599 * emacs-lisp/ring.el (ring-extend): New function.
9600 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9601
9602 * comint.el (comint-read-input-ring)
9603 (comint-add-to-input-history): Grow comint-input-ring lazily.
9604
9605 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9608 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9609
9610 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9611 (imenu-add-to-menubar): Don't add a redundant index.
9612 (imenu-update-menubar): Handle a dynamically composed keymap.
9613
9614 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9615
9616 * mail/sendmail.el (mail-encode-header):
9617 Bind rfc2047-encode-encoded-words to nil.
9618
9619 2012-03-13 Glenn Morris <rgm@gnu.org>
9620
9621 * calendar/calendar.el (calendar-string-spread):
9622 Handle non-unit-width characters a bit better. (Bug#10978)
9623
9624 2012-03-13 Leo Liu <sdl.web@gmail.com>
9625
9626 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9627 directory and file as argument (Bug#10822).
9628
9629 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9630
9631 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9632 For dynamically generated code, follow $PC.
9633 (gdb-disassembly-handler-custom): Handle no function name case.
9634
9635 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9636
9637 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9638 * emulation/ws-mode.el (ws-query-replace):
9639 * sort.el (sort-regexp-fields):
9640 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9641
9642 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * dabbrev.el: Fix cycle completion order (bug#10963).
9645 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9646 (dabbrev-completion): Don't use an obarray; provide
9647 a cycle-sort-function.
9648
9649 2012-03-12 Leo Liu <sdl.web@gmail.com>
9650
9651 * simple.el (kill-new): Use equal-including-properties for comparison.
9652 (kill-do-not-save-duplicates): Doc fix.
9653
9654 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * dabbrev.el: Fix cycle completion (bug#10963).
9657 Use lexical binding and wrap to 80 columns.
9658 (dabbrev-completion): Delay computing the list of completions.
9659
9660 2012-03-12 Kenichi Handa <handa@m17n.org>
9661
9662 * international/quail.el (quail-insert-kbd-layout): Surround each
9663 row by LRO and PDF instead of inserting many LRMs. Pad the left
9664 and right of each non-spacing marks. Insert invisible space
9665 between lower and upper characters to prevent composition.
9666
9667 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9668
9669 * minibuffer.el (minibuffer-complete): Don't get confused when the
9670 function is run twice via different commands (bug#10958).
9671 (complete-with-action): Fix docstring.
9672
9673 2012-03-12 Chong Yidong <cyd@gnu.org>
9674
9675 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9676 (nxml-completion-at-point-function): New function.
9677 (nxml-mode): Use it.
9678 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9679
9680 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9681 Load generated autoloads file before byte compiling (Bug#10970).
9682 (package--make-autoloads-and-compile): New helper fun.
9683
9684 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9685
9686 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9687
9688 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * autorevert.el (auto-revert-handler): Ensure, that
9691 file-readable-p is applied only for local files or in
9692 auto-revert-tail-mode.
9693
9694 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9695
9696 * server.el (server-eval-at): Handle non-tcp connections.
9697 Decode result string.
9698
9699 * server.el (server-msg-size): New constant.
9700 (server-reply-print): New function.
9701 (server-eval-and-print): Use it.
9702 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9703 Handle -print-nonl.
9704
9705 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9706
9707 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9708 (Bug#10987).
9709
9710 2012-03-11 Chong Yidong <cyd@gnu.org>
9711
9712 * simple.el (goto-line): Doc fix (Bug#9938).
9713
9714 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9715
9716 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9717 when finished (Bug#10963).
9718
9719 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9720
9721 * window.el (split-window-below): Fix bug in case where
9722 split-window-keep-point is nil (Bug#10971).
9723
9724 2012-03-11 Juri Linkov <juri@jurta.org>
9725
9726 * replace.el (replace-highlight): Set isearch-word to nil
9727 unconditionally. (Bug#10887)
9728
9729 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9730
9731 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9732 mairix-replace-illegal-chars; all callers changed. Don't remove
9733 ^, ~, and = characters: they are meaningful in mairix search specs.
9734 (mairix-widget-create-query): Add usage information about mairix
9735 search forms: negating words, searching for substrings, etc.
9736
9737 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9738
9739 * international/fontset.el (font-encoding-alist): Add an entry for
9740 ksx1001 (Bug#5667).
9741
9742 2012-03-10 Richard Stallman <rms@gnu.org>
9743
9744 * mail/sendmail.el (mail-encode-header):
9745 Set rfc2047-encode-encoded-words.
9746
9747 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9748
9749 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9750 view buffer means not swapped.
9751 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9752 (rmail-write-region-annotate): Error if real text has disappeared.
9753
9754 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9755
9756 2012-03-10 Chong Yidong <cyd@gnu.org>
9757
9758 * emulation/cua-rect.el (cua--init-rectangles):
9759 * emulation/cua-base.el (cua--init-keymaps):
9760 Add delete-forward-char to remappings (Bug#9666).
9761
9762 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9763
9764 * speedbar.el (speedbar-unhighlight-one-tag-line):
9765 Avoid unhighlighting due to frame switching (Bug#10275).
9766
9767 2012-03-10 Chong Yidong <cyd@gnu.org>
9768
9769 * minibuffer.el (completion-in-region, completion-help-at-point):
9770 Give the completion field overlay a high priority (Bug#6830).
9771
9772 * dired.el (dired-goto-file): Recognize absolute file name
9773 listings (Bug#7126).
9774 (dired-goto-file-1): New helper function.
9775 (dired-toggle-read-only): Inhibit warnings.
9776
9777 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9778
9779 * net/dbus.el (dbus-property-handler): Return empty array if
9780 there are no properties.
9781
9782 2012-03-09 Leo Liu <sdl.web@gmail.com>
9783
9784 * savehist.el (savehist-printable): Stricter check for string
9785 value (Bug#10937).
9786
9787 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9788
9789 * mail/smtpmail.el (smtpmail-send-it):
9790 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9791 valid mbox format.
9792
9793 2012-03-09 Glenn Morris <rgm@gnu.org>
9794
9795 * files.el (dir-locals-find-file):
9796 Don't check result is regular, readable.
9797 (dir-locals-read-from-file): Demote errors.
9798
9799 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9800
9801 * international/quail.el (quail-insert-kbd-layout):
9802 Insert invisible LRM characters before each character in a keyboard
9803 layout cell, to prevent their reordering by bidi display engine.
9804 For details, see the discussion in
9805 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9806
9807 2012-03-08 Alan Mackenzie <acm@muc.de>
9808
9809 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9810 the starting position; make it extend the marked region when
9811 invoked repeatedly - all under appropriate circumstances.
9812 Fixes bugs #5525, #10906.
9813
9814 2012-03-08 Glenn Morris <rgm@gnu.org>
9815
9816 * files.el (locate-dominating-file, dir-locals-find-file):
9817 Undo 2012-03-06 change.
9818
9819 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9820
9821 * international/quail.el (quail-help):
9822 Force bidi-paragraph-direction be left-to-right. See discussion in
9823 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9824 for the reason.
9825
9826 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9827
9828 Avoid superfluous registering of signals. (Bug#10807)
9829
9830 * notifications.el (notifications-on-action-object)
9831 (notifications-on-close-object): New defvars.
9832 (notifications-on-action-signal, notifications-on-closed-signal):
9833 Unregister the signal if not needed any longer.
9834 (notifications-notify): Register `notifications-action-signal' or
9835 `notifications-closed-signal', if :on-action or :on-close has been
9836 passed as argument.
9837
9838 2012-03-07 Chong Yidong <cyd@gnu.org>
9839
9840 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9841 non-X platforms.
9842
9843 2012-03-06 Glenn Morris <rgm@gnu.org>
9844
9845 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9846 (x-disown-selection-internal, x-get-selection-internal):
9847 Doc fix (add arglist signatures). (Bug#10783)
9848
9849 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9850
9851 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9852 Handle breakpoints with no "type".
9853
9854 2012-03-06 Glenn Morris <rgm@gnu.org>
9855
9856 * files.el (locate-dominating-file): Add optional predicate argument.
9857 (dir-locals-find-file): Make use of above change.
9858
9859 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9860
9861 * info.el (Info-insert-dir): Also try "dir.gz".
9862
9863 2012-03-06 Glenn Morris <rgm@gnu.org>
9864
9865 * files.el (dir-locals-find-file):
9866 Ignore non-readable or non-regular files. (Bug#10928)
9867
9868 * files.el (locate-dominating-file): Doc fix.
9869
9870 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9871
9872 * calendar/calendar.el (calendar-set-mode-line):
9873 `getenv' returns a string. (Bug#10951)
9874
9875 2012-03-05 Leo Liu <sdl.web@gmail.com>
9876
9877 * simple.el (backward-delete-char-untabify): Constrain point to
9878 field (Bug#10939).
9879
9880 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9881
9882 2012-03-05 Chong Yidong <cyd@gnu.org>
9883
9884 * simple.el (count-words): If called from Lisp, return the word
9885 count, for symmetry with `count-lines'. Arglist changed.
9886 (count-words--message): Args changed. Consolidate counting code
9887 from count-words and count-words-region.
9888 (count-words-region): Caller changed.
9889 (count-lines-region): Make it an obsolete alias.
9890
9891 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9892
9893 * saveplace.el (save-place-to-alist)
9894 (save-place-ignore-files-regexp): Allow value nil to disable this
9895 feature.
9896
9897 2012-03-04 Chong Yidong <cyd@gnu.org>
9898
9899 * faces.el (face-spec-reset-face): For the default face, reset the
9900 attributes to default values (Bug#10748).
9901
9902 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9905 previous patch: Check `message-send-mail-function', and not the
9906 default function (bug#10897).
9907
9908 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9909
9910 * notifications.el (notifications-on-action-signal)
9911 (notifications-on-closed-signal): Check for unique service name of
9912 incoming event. Fix error in removing entry.
9913 (top): Register for signals with wildcard service name.
9914 (notifications-notify): Use daemon unique service name for map entries.
9915
9916 2012-03-04 Chong Yidong <cyd@gnu.org>
9917
9918 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9919
9920 2012-03-04 Glenn Morris <rgm@gnu.org>
9921
9922 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9923 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9924 (expand-abbrev, define-abbrev-table): Doc fixes.
9925
9926 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9927
9928 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9929 `message-default-send-mail-function' and not `send-mail-function'
9930 when doing the prompting for `sendmail-query-once' before sending
9931 in Message buffers (bug#10897).
9932
9933 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9934 This is inconsistent with all the other stream functions, which leave
9935 the setting up to the higher levels (if so wanted) (bug#10931).
9936
9937 2012-03-02 Alan Mackenzie <acm@muc.de>
9938
9939 Depessimize the handling of very large macros.
9940
9941 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9942 (c-macro-cache-syntactic): New variables to implement a one
9943 element macro cache.
9944 (c-invalidate-macro-cache): New function.
9945 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9946 Adapt to use the new cache.
9947 (c-state-safe-place): Use better the cache of safe positions.
9948 (c-state-semi-nonlit-pos-cache)
9949 (c-state-semi-nonlit-pos-cache-limit):
9950 New variables for...
9951 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9952 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9953 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9954 Use c-state-semi-safe-place.
9955
9956 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9957 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9958
9959 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9960
9961 * jka-compr.el (jka-compr-call-process):
9962 Apply `file-accessible-directory-p' only when the default directory is
9963 not remote.
9964
9965 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9966
9967 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9968 access of FILE2, if FILE1 does not exist.
9969
9970 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9971 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9972
9973 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9974 Add "PAGER=" to `process-environment'.
9975
9976 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9977
9978 * progmodes/sql.el: Bug fix
9979 (sql-get-login-ext): Save login values in globals.
9980 (sql-get-login): Use new version of `sql-get-login-ext'.
9981 (sql-interactive-mode): Set global `sql-connection' to nil.
9982 (sql-connect): Set global values for connection.
9983 (sql-product-interactive): Save global values as buffer local.
9984
9985 2012-02-29 Leo Liu <sdl.web@gmail.com>
9986
9987 * abbrev.el (define-abbrevs): Reset sys to nil.
9988
9989 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9990
9991 * files.el (file-equal-p): Rename from `files-equal-p'.
9992 Return nil when one or both files don't exist.
9993 (file-subdir-of-p): Now only top directory must exists,
9994 return nil if it doesn't.
9995 (copy-directory): No need to test with `file-subdir-of-p' after
9996 creating dir.
9997 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9998 to `file-equal-p'.
9999
10000 2012-02-28 Glenn Morris <rgm@gnu.org>
10001
10002 * shell.el (shell-mode):
10003 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10004 * play/landmark.el (landmark-font-lock-face-O):
10005 * play/handwrite.el (handwrite):
10006 * play/gomoku.el (gomoku-O):
10007 * net/browse-url.el (browse-url-browser-display):
10008 * international/mule.el (define-charset):
10009 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10010 * filesets.el (filesets-find-file-delay):
10011 * eshell/em-xtra.el (eshell-xtra):
10012 * eshell/em-unix.el (eshell-grep):
10013 * emulation/viper.el (viper-mode):
10014 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10015 * emacs-lisp/easymenu.el (easy-menu-define):
10016 * calendar/timeclock.el (timeclock-use-display-time):
10017 * bs.el (bs-mode):
10018 * bookmark.el (bookmark-save-flag):
10019 Doc fix (standardize possessive apostrophe usage).
10020
10021 2012-02-27 Chong Yidong <cyd@gnu.org>
10022
10023 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10024 Fix key-binding lookup for ESC key (Bug#9146).
10025
10026 * font-lock.el (font-lock-specified-p): Rename from
10027 font-lock-spec-present. Callers changed.
10028
10029 2012-02-27 Daniel Hackney <dan@haxney.org>
10030
10031 * emacs-lisp/package.el (package-compute-transaction):
10032 Handle holding a package version to t in package-load-list.
10033
10034 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10035
10036 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10037 (tramp-get-inode, tramp-get-device): Use cached values.
10038
10039 2012-02-26 Alan Mackenzie <acm@muc.de>
10040
10041 Check there is a font-lock specification before doing initial
10042 fontification.
10043
10044 * font-core.el (font-lock-mode): Move the conditional from
10045 :after-hook to font-lock-initial-fontify.
10046 (font-lock-default-function): Move the check for a specification
10047 to font-lock-spec-present.
10048
10049 * font-lock.el (font-lock-initial-fontify): Call ...
10050 (font-lock-spec-present): New function.
10051
10052 2012-02-26 Jim Blandy <jimb@red-bean.com>
10053
10054 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10055 (gdb-send): Apply it to the operand of the '-interpreter-exec
10056 console' command, so that we can pass arguments with (say) quotes
10057 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10058
10059 2012-02-26 Chong Yidong <cyd@gnu.org>
10060
10061 * help-fns.el (describe-function-1): Clarify description of
10062 remapping (Bug#10844).
10063
10064 * files.el (files-equal-p): Doc fix.
10065 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10066 and quit the loop once a mismatch is found.
10067
10068 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * bs.el (bs--show-with-configuration): Don't throw an error
10071 if the window cannot be split; otherwise, subsequent calls to
10072 bs-show fail, restoring a stale window config. (Bug#10882)
10073
10074 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10075
10076 * term/ns-win.el (global-map): Bind ns-drag-file to
10077 ns-find-file (Bug#5855, Bug#10050).
10078
10079 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 * calendar/parse-time.el (parse-time-string): Allow extractor to
10082 return nil.
10083
10084 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10085
10086 * net/tramp.el (tramp-file-name-for-operation):
10087 Add `files-equal-p' and `file-subdir-of-p'.
10088
10089 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10090 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10091 Add COPY-CONTENTS argument.
10092
10093 2012-02-25 Chong Yidong <cyd@gnu.org>
10094
10095 Add custom groups for VC backends, for consistency with vc-bzr.
10096
10097 * vc/vc-arch.el (vc-arch):
10098 * vc/vc-cvs.el (vc-cvs):
10099 * vc/vc-git.el (vc-git):
10100 * vc/vc-hg.el (vc-hg):
10101 * vc/vc-mtn.el (vc-mtn):
10102 * vc/vc-rcs.el (vc-rcs):
10103 * vc/vc-sccs.el (vc-sccs):
10104 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10105 All relevant defcustoms reassigned.
10106
10107 2012-02-25 Chong Yidong <cyd@gnu.org>
10108
10109 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10110
10111 * term/x-win.el (x-initialize-window-system): Reduce default for
10112 x-selection-timeout to 5 seconds (Bug#8869).
10113
10114 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10115
10116 * files.el (files-equal-p, file-subdir-of-p): New functions.
10117 (copy-directory): Error when trying to copy a directory on itself.
10118 Add missing copy-contents arg to tramp handler.
10119 * dired-aux.el (dired-copy-file-recursive): Same.
10120 (dired-create-files): Modify destination when source is equal to
10121 dest when copying files.
10122 Return also when dest is a subdir of source. (Bug#10489)
10123
10124 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10125
10126 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10127 (Bug#10874)
10128
10129 2012-02-23 Alan Mackenzie <acm@muc.de>
10130
10131 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10132 parameter "after-hook:" to allow the expansion to run code after
10133 the execution of the mode hooks.
10134
10135 * font-lock.el (font-lock-initial-fontify): New function extracted
10136 from font-lock-mode-internal.
10137
10138 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10139 :after-hook.
10140
10141 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10144 (completion--cache-all-sorted-completions): New function.
10145 (completion-all-sorted-completions): Use it.
10146 (completion--do-completion, minibuffer-force-complete):
10147 Use it to re-instate the flush hook.
10148
10149 * icomplete.el (icomplete-completions): Replace last fix with a better
10150 one (bug#10850).
10151
10152 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10153
10154 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10155 when it might call us back infinitely (bug#10797).
10156
10157 2012-02-23 Glenn Morris <rgm@gnu.org>
10158
10159 * minibuffer.el (completion-category-overrides): Doc fix.
10160
10161 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10164 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10165
10166 2012-02-23 Glenn Morris <rgm@gnu.org>
10167
10168 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10169 (authors-obsolete-files-regexps, authors-ignored-files)
10170 (authors-ambiguous-files, authors-renamed-files-alist):
10171 Add more entries.
10172
10173 2012-02-23 Juri Linkov <juri@jurta.org>
10174
10175 * isearch.el (isearch-occur): Sync interactive spec with occur's
10176 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10177
10178 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10179
10180 2012-02-22 Juri Linkov <juri@jurta.org>
10181
10182 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10183 (ucs-insert): Doc fix. Check for hex digits in the string.
10184 Don't display `nil' in the error message. (Bug#10857)
10185
10186 2012-02-22 Alan Mackenzie <acm@muc.de>
10187
10188 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10189
10190 2012-02-22 Glenn Morris <rgm@gnu.org>
10191
10192 * ffap.el (ffap-c-path):
10193 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10194
10195 2012-02-22 Chong Yidong <cyd@gnu.org>
10196
10197 * custom.el (load-theme): Doc fix.
10198
10199 2012-02-22 Glenn Morris <rgm@gnu.org>
10200
10201 * dired-x.el (dired-guess-shell-alist-default):
10202 Remove escape sequences from nroff output. (Bug#172)
10203
10204 2012-02-21 Glenn Morris <rgm@gnu.org>
10205
10206 * vc/emerge.el (emerge-defvar-local):
10207 Set `permanent-local' property rather than unused `preserved'.
10208
10209 * textmodes/picture.el (picture-delete-char): New alias.
10210 (picture-mode-map): Use it. (Bug#10860)
10211 (picture-mode): Doc fix.
10212
10213 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10214
10215 * newcomment.el (uncomment-region-default): Remove unused binding.
10216
10217 2012-02-21 Glenn Morris <rgm@gnu.org>
10218
10219 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10220 (picture-self-insert, picture-tab-chars): Doc fix.
10221 (picture-mode-map): Fix C-a, C-e.
10222
10223 2012-02-20 Glenn Morris <rgm@gnu.org>
10224
10225 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10226
10227 2012-02-20 Leo Liu <sdl.web@gmail.com>
10228
10229 * icomplete.el (icomplete-completions): Check FROM arg before
10230 passing to substring (Bug#10850).
10231
10232 2012-02-19 Chong Yidong <cyd@gnu.org>
10233
10234 * comint.el: Require ansi-color.
10235 (comint-output-filter-functions): Add ansi-color-process-output.
10236
10237 * ansi-color.el: Don't set comint-output-filter-functions; it is
10238 now in the initial value defined in comint.el.
10239 (ansi-color-apply-face-function): New variable.
10240 (ansi-color-apply-on-region): Use it.
10241 (ansi-color-apply-overlay-face): New function.
10242
10243 * shell.el (shell): No need to require ansi-color.
10244 (shell-mode): Use ansi-color-apply-face-function to highlight
10245 color escapes using font-lock-face property (Bug#10835).
10246
10247 2012-02-19 Chong Yidong <cyd@gnu.org>
10248
10249 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10250 mode-line formats (Bug#10839).
10251
10252 2012-02-18 Glenn Morris <rgm@gnu.org>
10253
10254 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10255
10256 * mail/undigest.el (unforward-rmail-message): Doc fix.
10257
10258 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10259
10260 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10261
10262 * international/characters.el (script-list): Sync with the latest
10263 Unicode Character Database.
10264
10265 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10266
10267 * international/titdic-cnv.el: Remove duplicate coding tag.
10268 * language/cham.el: Likewise.
10269 * language/tai-viet.el: Likewise.
10270
10271 2012-02-18 Glenn Morris <rgm@gnu.org>
10272
10273 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10274 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10275 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10276 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10277 * calendar/holidays.el (holiday-bahai-holidays)
10278 (calendar-holidays, list-holidays):
10279 Use utf-8 Bahá'í in doc-strings, menus, etc.
10280
10281 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10282
10283 * saveplace.el (save-place-ignore-files-regexp): New variable
10284 allowing for excluding files from saving their location of point.
10285 The default value matches the temporary commit message editing
10286 files from Git, SVN, Bazaar, and Mercurial.
10287 (save-place-to-alist): Use it.
10288
10289 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10290 Stefan Monnier <monnier@iro.umontreal.ca>
10291
10292 * newcomment.el (uncomment-region-default): Don't leave extra space
10293 when an arg is provided (bug#8150).
10294
10295 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10296
10297 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10298
10299 2012-02-17 Glenn Morris <rgm@gnu.org>
10300
10301 * net/socks.el: Require network-stream. (Bug#10599)
10302
10303 2012-02-17 Kenichi Handa <handa@m17n.org>
10304
10305 * international/charprop.el:
10306 * international/uni-name.el:
10307 * international/uni-old-name.el:
10308 * international/uni-comment.el: Regenerate.
10309
10310 2012-02-16 Glenn Morris <rgm@gnu.org>
10311
10312 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10313 Interactively in calendar buffer, give an error if not on a date.
10314
10315 2012-02-15 Glenn Morris <rgm@gnu.org>
10316
10317 * shell.el (shell-delimiter-argument-list):
10318 Revert 2011-02-17 change. (Bug#8027)
10319
10320 2012-02-15 Chong Yidong <cyd@gnu.org>
10321
10322 * minibuffer.el (completion-at-point-functions): Doc fix.
10323
10324 * custom.el (defcustom): Doc fix; note use of defvar.
10325
10326 2012-02-15 Glenn Morris <rgm@gnu.org>
10327
10328 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10329 Doc fixes.
10330
10331 2012-02-14 Glenn Morris <rgm@gnu.org>
10332
10333 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10334
10335 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10336
10337 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10338 way the ports list is computed.
10339 (smtpmail-query-smtp-server): Prompt the user for a port number if
10340 we can't connect to any of the standard ports (bug#10810).
10341
10342 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10343
10344 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10345
10346 2012-02-13 Glenn Morris <rgm@gnu.org>
10347
10348 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10349
10350 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10351
10352 * net/gnutls.el (gnutls-trustfiles): New variable.
10353 (gnutls-negotiate): Use it.
10354
10355 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10356
10357 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10358 does its stuff if Gnus is running.
10359
10360 2012-02-13 Alan Mackenzie <acm@muc.de>
10361
10362 Fix a loop in c-set-fl-decl-start.
10363
10364 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10365 c-backward-syntactic-ws actually moves backwards.
10366
10367 2012-02-13 Leo Liu <sdl.web@gmail.com>
10368
10369 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10370 beginning so that all \C-o chars are removed.
10371
10372 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10373
10374 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10375
10376 2012-02-12 Alan Mackenzie <acm@muc.de>
10377
10378 Fix infinite loop with long macros.
10379 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10380
10381 2012-02-12 Chong Yidong <cyd@gnu.org>
10382
10383 * window.el (display-buffer): Doc fix (Bug#10785).
10384
10385 2012-02-12 Glenn Morris <rgm@gnu.org>
10386
10387 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10388 (x-disown-selection-internal, x-get-selection-internal):
10389 Sync docs with the xselect.c versions.
10390
10391 * allout-widgets.el: Add missing license notice.
10392
10393 2012-02-11 Glenn Morris <rgm@gnu.org>
10394
10395 * select.el (x-get-selection-internal, x-own-selection-internal)
10396 (x-disown-selection-internal):
10397 * x-dnd.el (x-get-selection-internal): Update declarations.
10398
10399 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10400
10401 * window.el (window-sides-slots):
10402 * tool-bar.el (tool-bar-position):
10403 * term/xterm.el (xterm-extra-capabilities):
10404 * ses.el (ses-self-reference-early-detection):
10405 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10406 (verilog-auto-wire-type)
10407 (verilog-auto-delete-trailing-whitespace)
10408 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10409 (verilog-auto-tieoff-declaration):
10410 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10411 (sql-oracle-statement-starters, sql-oracle-scan-on):
10412 * progmodes/prolog.el (prolog-align-comments-flag)
10413 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10414 (prolog-left-indent-regexp, prolog-paren-indent-p)
10415 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10416 (prolog-types, prolog-mode-specificators)
10417 (prolog-determinism-specificators, prolog-directives)
10418 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10419 (prolog-electric-dot-flag)
10420 (prolog-electric-dot-full-predicate-template)
10421 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10422 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10423 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10424 (prolog-program-switches, prolog-prompt-regexp)
10425 (prolog-debug-on-string, prolog-debug-off-string)
10426 (prolog-trace-on-string, prolog-trace-off-string)
10427 (prolog-zip-on-string, prolog-zip-off-string)
10428 (prolog-use-standard-consult-compile-method-flag)
10429 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10430 (prolog-imenu-max-lines, prolog-info-predicate-index)
10431 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10432 (prolog-char-quote-workaround):
10433 * progmodes/cc-vars.el (c-defun-tactic):
10434 * net/tramp.el (tramp-encoding-command-interactive)
10435 (tramp-local-end-of-line):
10436 * net/soap-client.el (soap-client):
10437 * net/netrc.el (netrc-file):
10438 * net/gnutls.el (gnutls):
10439 * minibuffer.el (completion-category-overrides)
10440 (completion-cycle-threshold)
10441 (completion-pcm-complete-word-inserts-delimiters):
10442 * man.el (Man-name-local-regexp):
10443 * mail/feedmail.el (feedmail-display-full-frame):
10444 * international/characters.el (glyphless-char-display-control):
10445 * eshell/em-ls.el (eshell-ls-date-format):
10446 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10447 (lisp-lambda-list-keyword-parameter-indentation)
10448 (lisp-lambda-list-keyword-parameter-alignment):
10449 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10450 * dired-x.el (dired-omit-verbose):
10451 * cus-theme.el (custom-theme-allow-multiple-selections):
10452 * calc/calc.el (calc-highlight-selections-with-faces)
10453 (calc-lu-field-reference, calc-lu-power-reference)
10454 (calc-note-threshold):
10455 * battery.el (battery-mode-line-limit):
10456 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10457 (archive-7z-update):
10458 * allout.el (allout-prefixed-keybindings)
10459 (allout-unprefixed-keybindings)
10460 (allout-inhibit-auto-fill-on-headline)
10461 (allout-flattened-numbering-abbreviation):
10462 * allout-widgets.el (allout-widgets-auto-activation)
10463 (allout-widgets-icons-dark-subdir)
10464 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10465 (allout-widgets-theme-dark-background)
10466 (allout-widgets-theme-light-background)
10467 (allout-widgets-item-image-properties-emacs)
10468 (allout-widgets-item-image-properties-xemacs)
10469 (allout-widgets-run-unit-tests-on-load)
10470 (allout-widgets-time-decoration-activity)
10471 (allout-widgets-hook-error-post-time)
10472 (allout-widgets-track-decoration):
10473 Add missing :version tags to new defcustoms and defgroups.
10474
10475 * progmodes/sql.el (sql-ansi-statement-starters)
10476 (sql-oracle-statement-starters): Add custom type.
10477
10478 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10479 (prolog-system-version): Give it a type.
10480
10481 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10482
10483 * term/pc-win.el (x-select-text, x-selection-owner-p)
10484 (x-own-selection-internal, x-disown-selection-internal)
10485 (x-get-selection-internal): Sync doc strings and argument lists
10486 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10487
10488 2012-02-11 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/python.el (python-end-of-statement): Fix infinite
10491 loop. (Bug#10788)
10492
10493 2012-02-10 Glenn Morris <rgm@gnu.org>
10494
10495 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10496 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10497
10498 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10499
10500 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10501 about SMTP before checking the From header.
10502
10503 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10504 into own function for reuse by emacsbug.el.
10505
10506 2012-02-10 Leo Liu <sdl.web@gmail.com>
10507
10508 * subr.el (condition-case-unless-debug): Rename from
10509 condition-case-no-debug. All callers changed.
10510 (with-demoted-errors): Fix caller.
10511
10512 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10513 * nxml/rng-valid.el (rng-do-some-validation):
10514 * emacs-lisp/package.el (package-refresh-contents)
10515 (package-menu-execute):
10516 * desktop.el (desktop-create-buffer):
10517 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10518
10519 2012-02-10 Glenn Morris <rgm@gnu.org>
10520
10521 * textmodes/bibtex.el:
10522 Add missing :version tags for new/changed defcustoms.
10523
10524 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10525
10526 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10527
10528 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10529 (smtpmail-via-smtp): Use it, or fall back on the From address.
10530 (smtpmail-send-it): Ditto.
10531
10532 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10533
10534 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10535 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10536 (byte-compile-tmp-var): New const.
10537 (byte-compile-defvar): Use it to minimize .elc size.
10538 Just use `defvar' rather than simulate it (bug#10761).
10539
10540 2012-02-09 Glenn Morris <rgm@gnu.org>
10541
10542 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10543
10544 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10545 Add :version tags.
10546
10547 * progmodes/compile.el (compilation-error-screen-columns)
10548 (compilation-first-column, compilation-filter-start): Doc fixes.
10549
10550 * vc/log-view.el (log-view-toggle-entry-display):
10551 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10552
10553 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10554 (report-emacs-bug-can-use-xdg-email):
10555 (report-emacs-bug-insert-to-mailer): Doc fixes.
10556 (report-emacs-bug): Message fix.
10557
10558 * net/browse-url.el (browse-url-can-use-xdg-open)
10559 (browse-url-xdg-open): Doc fixes.
10560
10561 * electric.el (electric-indent-mode, electric-pair-mode)
10562 (electric-layout-rules, electric-layout-mode): Doc fixes.
10563 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10564
10565 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10566
10567 * server.el (server-unselect-display): Don't inadvertently kill
10568 the current buffer. (Bug#10729)
10569
10570 2012-02-08 Glenn Morris <rgm@gnu.org>
10571
10572 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10573 (sql-list-table): Doc fixes.
10574
10575 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10576 Comment out (does nothing).
10577
10578 * completion.el (dynamic-completion-mode):
10579 * dirtrack.el (dirtrack-debug-mode):
10580 * electric.el (electric-layout-mode):
10581 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10582 * face-remap.el (text-scale-mode, buffer-face-mode):
10583 * iimage.el (iimage-mode):
10584 * image-mode.el (image-transform-mode):
10585 * minibuffer.el (completion-in-region-mode):
10586 * scroll-lock.el (scroll-lock-mode):
10587 * simple.el (next-error-follow-minor-mode):
10588 * tar-mode.el (tar-subfile-mode):
10589 * tooltip.el (tooltip-mode):
10590 * vcursor.el (vcursor-use-vcursor-map):
10591 * wid-browse.el (widget-minor-mode):
10592 * emulation/tpu-edt.el (tpu-edt-mode):
10593 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10594 * international/iso-ascii.el (iso-ascii-mode):
10595 * language/thai-util.el (thai-word-mode):
10596 * mail/supercite.el (sc-minor-mode):
10597 * net/goto-addr.el (goto-address-mode):
10598 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10599 * progmodes/cwarn.el (cwarn-mode):
10600 * progmodes/flymake.el (flymake-mode):
10601 * progmodes/glasses.el (glasses-mode):
10602 * progmodes/hideshow.el (hs-minor-mode):
10603 * progmodes/pascal.el (pascal-outline-mode):
10604 * textmodes/enriched.el (enriched-mode):
10605 * vc/smerge-mode.el (smerge-mode):
10606 Doc fixes (minor mode argument).
10607
10608 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10609
10610 * ls-lisp.el (ls-lisp-sanitize): New function.
10611 (ls-lisp-insert-directory): Use it to fix or remove any elements
10612 in file-alist with missing attributes. (Bug#4673)
10613
10614 2012-02-07 Alan Mackenzie <acm@muc.de>
10615
10616 Fix spurious recognition of c-in-knr-argdecl.
10617
10618 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10619 putative K&R region.
10620
10621 2012-02-07 Alan Mackenzie <acm@muc.de>
10622
10623 * progmodes/cc-engine.el (c-forward-objc-directive):
10624 Prevent looping in "#pragma mark @implementation".
10625
10626 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10627
10628 * notifications.el (notifications-on-closed-signal): Make `reason'
10629 optional. (Bug#10744)
10630
10631 2012-02-07 Glenn Morris <rgm@gnu.org>
10632
10633 * emacs-lisp/easy-mmode.el (define-minor-mode):
10634 Doc fixes for the macro and the mode it defines.
10635
10636 * image.el (imagemagick-types-inhibit): Doc fix.
10637
10638 * cus-start.el (imagemagick-render-type): Add it.
10639
10640 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10641
10642 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10643 Set the default at load time, too, so that `font-lock-fontify-buffer'
10644 can be called without setting up the entire mode first. This fixes
10645 a bug in `mm-inline-text' with C MIME parts.
10646
10647 2012-02-06 Chong Yidong <cyd@gnu.org>
10648
10649 * simple.el (list-processes--refresh): Delete exited processes
10650 (Bug#8094).
10651
10652 * comint.el (comint-next-prompt): next-single-char-property-change
10653 and prev-single-char-property-change never return nil (Bug#8657).
10654
10655 * custom.el (defcustom): Doc fix (Bug#9711).
10656
10657 2012-02-05 Chong Yidong <cyd@gnu.org>
10658
10659 * cus-edit.el (custom-variable-reset-backup): Quote the value
10660 before storing it in the customized-value property (Bug#6712).
10661 (custom-display): Add a customization type tag.
10662 (custom-buffer-create-internal): Improve tooltip message.
10663
10664 * wid-edit.el (widget-field-value-get): New optional arg to
10665 suppress trailing whitespace truncation.
10666 (character): Use it (Bug#2689).
10667
10668 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10669
10670 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10671 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10672
10673 2012-02-05 Chong Yidong <cyd@gnu.org>
10674
10675 * cus-edit.el (custom-variable-value-create): For mismatched
10676 types, show the current value (Bug#7600).
10677
10678 * custom.el (defcustom): Doc fix.
10679
10680 2012-02-05 Glenn Morris <rgm@gnu.org>
10681
10682 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10683
10684 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10687 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10688 (pp-last-sexp): Use `looking-at-p'.
10689
10690 2012-02-04 Glenn Morris <rgm@gnu.org>
10691
10692 * files.el (revert-buffer):
10693 Doc fix (mention revert-buffer-in-progress-p).
10694
10695 * emacs-lisp/ert-x.el (ert-simulate-command):
10696 Check deferred-action-list (which is obsolete) is bound.
10697
10698 * subr.el (with-wrapper-hook): Doc fixes.
10699
10700 * simple.el (filter-buffer-substring-functions)
10701 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10702
10703 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10704
10705 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10706 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10707
10708 2012-02-04 Leo Liu <sdl.web@gmail.com>
10709
10710 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10711
10712 2012-02-04 Glenn Morris <rgm@gnu.org>
10713
10714 * image.el (image-extension-data): Add obsolete alias.
10715
10716 * isearch.el (isearch-update): Doc fix.
10717
10718 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10719
10720 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10721
10722 2012-02-03 Glenn Morris <rgm@gnu.org>
10723
10724 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10725 (image-animate-timeout): Doc fix.
10726
10727 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10728
10729 2012-02-02 Glenn Morris <rgm@gnu.org>
10730
10731 * server.el (server-auth-dir): Doc fix.
10732 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10733
10734 * subr.el (run-mode-hooks): Doc fix.
10735
10736 2012-02-02 Juri Linkov <juri@jurta.org>
10737
10738 * image-mode.el (image-toggle-display-image): Remove tautological
10739 `major-mode' from the `derived-mode-p' test.
10740
10741 2012-02-02 Kenichi Handa <handa@m17n.org>
10742
10743 * composite.el (compose-region): Cancel previous change.
10744
10745 2012-02-02 Kenichi Handa <handa@m17n.org>
10746
10747 * composite.el (compose-region, compose-string): Signal error for
10748 a null string component (Bug#6988).
10749
10750 2012-02-01 Chong Yidong <cyd@gnu.org>
10751
10752 * view.el (view-buffer-other-window, view-buffer-other-frame):
10753 Handle special modes like view-buffer (Bug#10650).
10754 (view-buffer): Simplify.
10755
10756 * frame.el (set-frame-font): Tweak meaning of third argument.
10757
10758 * dynamic-setting.el (font-setting-change-default-font):
10759 Use set-frame-font (Bug#9982).
10760
10761 2012-02-01 Glenn Morris <rgm@gnu.org>
10762
10763 * progmodes/compile.el (compilation-internal-error-properties):
10764 Respect compilation-first-column in the "*compilation*" buffer.
10765
10766 * emacs-lisp/easy-mmode.el (define-minor-mode):
10767 Relax :variable's test for a named function.
10768
10769 2012-01-31 Alan Mackenzie <acm@muc.de>
10770
10771 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10772 off by one error.
10773
10774 2012-01-31 Chong Yidong <cyd@gnu.org>
10775
10776 * frame.el (set-frame-font): New arg ALL-FRAMES.
10777
10778 * menu-bar.el (menu-set-font): Use set-frame-font.
10779
10780 * faces.el (face-spec-reset-face): Don't apply unspecified
10781 attribute values to the default face.
10782
10783 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * progmodes/cwarn.el (cwarn): Remove dead link.
10786 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10787 Remove * from defcustom docstrings.
10788 (turn-on-cwarn-mode): Make obsolete.
10789 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10790 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10791
10792 2012-01-31 Glenn Morris <rgm@gnu.org>
10793
10794 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10795 Fix :variable handling of mode a symbol not equal to modefun.
10796 Allow named functions to be used as the cdr of :variable.
10797
10798 2012-01-30 Glenn Morris <rgm@gnu.org>
10799
10800 * emacs-lisp/authors.el (authors-fixed-entries):
10801 Remove reference to deleted file rnewspost.el.
10802
10803 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10804
10805 * window.el (window-with-parameter): Remove unused variable `windows'.
10806 (window--side-check): Remove unused variable `code'.
10807 (window--resize-siblings): Remove unused variable `first'.
10808 (adjust-window-trailing-edge): Remove unused variable `failed'.
10809 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10810 Use `let', not `let*'.
10811 (balance-windows-2): Remove unused variable `found'.
10812 (window--state-put-2): Remove unused variable `splits'.
10813 (window-state-put): Remove unused variable `selected'.
10814 (same-window-p): Use `string-match-p'.
10815 (display-buffer-assq-regexp): Remove unused variable `value'.
10816 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10817 Mark argument ALIST as ignored.
10818 (pop-to-buffer): Remove unused variable `old-window'.
10819
10820 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10821
10822 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10823 and .lzma compressed files.
10824
10825 2012-01-29 Chong Yidong <cyd@gnu.org>
10826
10827 * frame.el (window-system-default-frame-alist): Doc fix.
10828
10829 * dynamic-setting.el (font-setting-change-default-font): Don't
10830 change the default face if SET-FONT argument is non-nil (Bug#9982).
10831
10832 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10833
10834 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10835
10836 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10837
10838 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10839 breakpoints in files outside current directory (Bug#6098).
10840
10841 2012-01-29 Chong Yidong <cyd@gnu.org>
10842
10843 * progmodes/python.el: Require ansi-color at top-level.
10844
10845 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10846 Define and use in Emacs Lisp mode (Bug#9360).
10847 (lisp-mode-abbrev-table): Add doc.
10848 (lisp-mode-variables): Don't set local-abbrev-table.
10849 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10850
10851 2012-01-28 Roland Winkler <winkler@gnu.org>
10852
10853 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10854
10855 2012-01-28 Roland Winkler <winkler@gnu.org>
10856
10857 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10858 (bibtex-set-dialect): Use it. Either set global values of
10859 dialect-dependent variables or bind these variables buffer-locally
10860 (Bug#10254).
10861 (bibtex-mode): Call bibtex-set-dialect via
10862 hack-local-variables-hook.
10863 (bibtex-dialect): Update docstring.
10864 Add safe-local-variable predicate.
10865 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10866 bibtex-set-dialect.
10867 (bibtex-mode-map): Define menu for each dialect.
10868 (bibtex-entry): Fix docstring.
10869
10870 2012-01-28 Chong Yidong <cyd@gnu.org>
10871
10872 * eshell/esh-arg.el (eshell-quote-argument): New function.
10873
10874 * eshell/esh-ext.el (eshell-invoke-batch-file):
10875 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10876 first arg to eshell-parse-command (Bug#10523).
10877
10878 2012-01-28 Drew Adams <drew.adams@oracle.com>
10879
10880 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10881 `default-directory' is non-nil.
10882
10883 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10884
10885 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10886 line that displays system-configuration-options. (Bug#9924)
10887
10888 2012-01-28 Drew Adams <drew.adams@oracle.com>
10889
10890 * descr-text.el (describe-char): Show information about POS, in
10891 addition to information about the character at POS. Improve and
10892 update the doc string. Change "code point" to "code point in
10893 charset", to avoid confusion with the character's Unicode code
10894 point shown above that. (Bug#10129)
10895
10896 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10897
10898 * descr-text.el (describe-char): Show the raw character, not only
10899 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10900 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10901 for the reasons.
10902
10903 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10904
10905 * emacs-lisp/package.el (package-install):
10906 Run package-refresh-contents if there is no archive yet (Bug#9798).
10907
10908 2012-01-28 Chong Yidong <cyd@gnu.org>
10909
10910 * emacs-lisp/package.el (package-maybe-load-descriptor):
10911 New function, split from package-maybe-load-descriptor.
10912 (package-maybe-load-descriptor): Use it.
10913 (package-download-transaction): Fully load required packages
10914 inside the loop, so that `require' calls work (Bug#10593).
10915 (package-install): No need to call package-initialize now.
10916
10917 2012-01-28 Chong Yidong <cyd@gnu.org>
10918
10919 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10920
10921 * tooltip.el (tooltip-mode): Doc fix.
10922 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10923
10924 * frame.el (set-cursor-color): Doc fix (Bug#352).
10925
10926 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10927 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10928
10929 * cus-edit.el (custom-buffer-create-internal): Fix search button
10930 action (Bug#10542).
10931 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10932
10933 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10934
10935 * dired.el (dired-mark-files-regexp):
10936 Include any subdirectory components. (Bug#10445)
10937
10938 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10939
10940 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10941 Handle [host]:port syntax. (Bug#10533)
10942
10943 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10944
10945 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10946
10947 2012-01-26 Glenn Morris <rgm@gnu.org>
10948
10949 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10950 * term.el (term-raw-escape-map): Use Control-X-prefix.
10951 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10952
10953 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10954
10955 * window.el (window-state-get, window--state-get-1): Don't deal
10956 with fixed-sizeness of windows. Simplify code.
10957
10958 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10959
10960 * window.el (window--state-get-1, window--state-put-2):
10961 Don't save and restore the mark.
10962
10963 2012-01-25 Chong Yidong <cyd@gnu.org>
10964
10965 * custom.el (custom-variable-p): Doc fix.
10966
10967 2012-01-25 Glenn Morris <rgm@gnu.org>
10968
10969 * dired.el (dired-goto-file): Handle some of the more common
10970 characters that `ls -b' escapes. (Bug#10596)
10971
10972 * progmodes/compile.el (compilation-next-error-function):
10973 Respect compilation-first-column in the "*compilation*" buffer.
10974 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10975
10976 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10977
10978 2012-01-24 Glenn Morris <rgm@gnu.org>
10979
10980 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10981
10982 2012-01-24 Julien Danjou <julien@danjou.info>
10983
10984 * color.el (color-rgb-to-hsl): Fix value computing.
10985 (color-hue-to-rgb): New function.
10986 (color-hsl-to-rgb): New function.
10987 (color-clamp, color-saturate-hsl, color-saturate-name)
10988 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10989 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10990
10991 2012-01-24 Glenn Morris <rgm@gnu.org>
10992
10993 * vc/vc-rcs.el (vc-rcs-create-tag):
10994 * vc/vc-sccs.el (vc-sccs-create-tag):
10995 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10996
10997 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10998
10999 * eshell/esh-util.el (eshell-read-hosts-file):
11000 Skip comment lines. (Bug#10549)
11001
11002 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11003
11004 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * subr.el (display-delayed-warnings): Doc fix.
11007 (collapse-delayed-warnings): New function to collapse identical
11008 adjacent warnings.
11009 (delayed-warnings-hook): Add it.
11010
11011 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11012
11013 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11014
11015 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11016 (tramp-default-user-alist): Don't add "pscp".
11017 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11018 property "login-as", if set. (Bug#10530)
11019
11020 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11021
11022 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11023 "plink1" and "psftp". (Bug#10530)
11024
11025 2012-01-21 Kenichi Handa <handa@m17n.org>
11026
11027 * international/mule-cmds.el (prefer-coding-system): Show a
11028 warning message if the default value of file-name-coding-system
11029 was not changed.
11030
11031 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11032
11033 * windmove.el (windmove-reference-loc):
11034 Fix windmove-reference-loc miscalculation.
11035
11036 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11037
11038 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11039 default unit.
11040
11041 2012-01-21 Glenn Morris <rgm@gnu.org>
11042
11043 * international/mule.el (auto-coding-alist): Add .tbz.
11044
11045 * files.el (local-enable-local-variables): Doc fix.
11046 (inhibit-local-variables-regexps): Rename from
11047 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11048 Doc fix. Add some extensions from auto-coding-alist.
11049 (inhibit-local-variables-suffixes):
11050 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11051 (inhibit-local-variables-p):
11052 New function, extracted from set-auto-mode-1.
11053 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11054 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11055 (hack-local-variables): Doc fix. Make the mode-only case
11056 respect enable-local-variables and friends.
11057 Respect inhibit-local-variables-regexps for file-locals, but
11058 not for directory-locals.
11059 (set-visited-file-name):
11060 Take account of inhibit-local-variables-regexps.
11061 Whether it applies may change as the file name is changed.
11062 * jka-cmpr-hook.el (jka-compr-install):
11063 * jka-compr.el (jka-compr-uninstall):
11064 Update for inhibit-first-line-modes-suffixes name change.
11065
11066 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11067
11068 * help-macro.el (make-help-screen): Temporarily restore original
11069 binding for minor-mode-map-alist (Bug#10454).
11070
11071 2012-01-19 Julien Danjou <julien@danjou.info>
11072
11073 * color.el (color-name-to-rgb): Use the white color to find the max
11074 color component value and return correctly computed values.
11075 (color-name-to-rgb): Add missing float conversion for max value.
11076
11077 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11078
11079 * window.el (window--state-get-1, window-state-get): Do not use
11080 special state value for window-persistent-parameters.
11081 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11082 (window--state-put-2): Reset all window parameters to nil before
11083 assigning values of persistent parameters.
11084
11085 2012-01-18 Alan Mackenzie <acm@muc.de>
11086
11087 Eliminate sluggishness and hangs in fontification of "semicolon
11088 deserts".
11089
11090 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11091 Change value 10000 -> 3000.
11092 (c-state-safe-place): Reformulate so it doesn't stack up an
11093 infinite number of wrong entries in c-state-nonlit-pos-cache.
11094 (c-determine-limit-get-base, c-determine-limit): New functions to
11095 determine backward search limits disregarding literals.
11096 (c-find-decl-spots): Amend commenting.
11097 (c-cheap-inside-bracelist-p): New function which detects "={".
11098
11099 * progmodes/cc-fonts.el
11100 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11101 backward search.
11102 (c-font-lock-declarations): Fix an occurrence of point being
11103 undefined. Check additionally for point being in a bracelist or
11104 near a macro invocation without a semicolon so as to avoid a
11105 fruitless time consuming search for a declarator. Give a more
11106 precise search limit for declarators using the new
11107 c-determine-limit.
11108
11109 2012-01-18 Glenn Morris <rgm@gnu.org>
11110
11111 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11112 (set-auto-mode): Doc fixes.
11113
11114 2012-01-17 Glenn Morris <rgm@gnu.org>
11115
11116 * isearch.el (search-nonincremental-instead): Fix doc typo.
11117
11118 * dired.el (dired-insert-directory): Handle newlines in directory name.
11119 (dired-build-subdir-alist): Unescape newlines in directory name.
11120
11121 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11122
11123 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11124 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11125 (tramp-action-terminal): Use it. (Bug#10530)
11126
11127 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11130
11131 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11132
11133 * window.el (window-state-ignored-parameters): Remove variable.
11134 (window--state-get-1): Rename argument MARKERS to IGNORE.
11135 Handle persistent window parameters. Make copy of clone-of
11136 parameter only if requested. (Bug#10348)
11137 (window--state-put-2): Install a window parameter only if it has
11138 a non-nil value or an existing parameter shall be overwritten.
11139
11140 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11141
11142 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11143
11144 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11145
11146 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11147 don't pass the (nil) value of `upnode' to string-match.
11148
11149 2012-01-14 Chong Yidong <cyd@gnu.org>
11150
11151 * startup.el (command-line): Fix X resource class for cursorColor.
11152 Fix values recognized by the cursorBlink resource.
11153
11154 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11155
11156 * epg.el (epg--make-temp-file): Avoid permission race condition
11157 when running on old Emacs versions (bug#10403).
11158
11159 2012-01-14 Glenn Morris <rgm@gnu.org>
11160
11161 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11162
11163 2012-01-13 Alan Mackenzie <acm@muc.de>
11164
11165 Fix filling for when filladapt mode is enabled.
11166
11167 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11168 c-mask-paragraph, pass in `fill-paragraph' rather than
11169 `fill-region-as-paragraph'. (This is a reversion of a previous
11170 change.)
11171 * progmodes/cc-mode.el (c-basic-common-init):
11172 Make fill-paragraph-handle-comment buffer local and set it to nil.
11173
11174 2012-01-13 Glenn Morris <rgm@gnu.org>
11175
11176 * dired.el (dired-switches-escape-p): New function.
11177 (dired-insert-directory): Use dired-switches-escape-p.
11178 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11179
11180 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11181
11182 2012-01-12 Glenn Morris <rgm@gnu.org>
11183
11184 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11185 changes in adaptive-fill-regexp. (Bug#10276)
11186
11187 2012-01-11 Alan Mackenzie <acm@muc.de>
11188
11189 Fix Emacs bug #10463 - put `widen's around the critical spots.
11190
11191 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11192 widen around each invocation of c-state-pp-to-literal. Remove an
11193 unused let variable.
11194
11195 2012-01-11 Glenn Morris <rgm@gnu.org>
11196
11197 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11198 Doc fix.
11199
11200 2012-01-10 Chong Yidong <cyd@gnu.org>
11201
11202 * net/network-stream.el (network-stream-open-starttls):
11203 Avoid emitting a confusing error message when the server gives a bad
11204 response to the capability command.
11205
11206 2012-01-10 Glenn Morris <rgm@gnu.org>
11207
11208 * mail/unrmail.el (unrmail): Tweak previous change.
11209
11210 2012-01-09 Chong Yidong <cyd@gnu.org>
11211
11212 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11213
11214 2012-01-08 Alan Mackenzie <acm@muc.de>
11215
11216 Optimise font locking in long enum definitions.
11217
11218 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11219 arm to a cond form to handle enums.
11220 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11221 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11222
11223 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11224
11225 * files.el (move-file-to-trash): Preserve default file modes on error.
11226 (Bug#10401)
11227
11228 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * faces.el (set-face-attribute): Clarify the meaning of the nil
11231 frame (bug#10294).
11232
11233 * subr.el (with-selected-frame): Mention that the selected frame
11234 is restored (bug#9980).
11235
11236 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11237 (bug#9759).
11238
11239 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11240 (password-read): Don't autoload unused function.
11241
11242 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * progmodes/which-func.el (which-func-mode): Turn into a
11245 non-interactive function and mark as obsolete (bug#10428).
11246
11247 2012-01-06 Chong Yidong <cyd@gnu.org>
11248
11249 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11250 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11251 functions, along with 1 and -1.
11252
11253 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11254
11255 * time.el (display-time-load-average)
11256 (display-time-default-load-average): Doc fixes. See the thread
11257 starting at
11258 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11259 for the details.
11260
11261 2012-01-06 Glenn Morris <rgm@gnu.org>
11262
11263 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11264 has no messages. (Bug#10377)
11265
11266 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11267 than Info-edit. (Bug#10385)
11268
11269 * time.el (display-time-load-average, display-time-next-load-average):
11270 Doc fixes.
11271
11272 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11273 local setting of buffer-read-only to the input buffer. (Bug#10419)
11274
11275 * calendar/calendar.el (calendar-mode):
11276 Locally set scroll-margin to 0. (Bug#10379)
11277
11278 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11279
11280 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11281
11282 2012-01-05 Glenn Morris <rgm@gnu.org>
11283
11284 * eshell/em-unix.el (diff-no-select): Autoload it.
11285 (eshell/diff): Use diff-no-select. (Bug#10420)
11286
11287 2012-01-05 Chong Yidong <cyd@gnu.org>
11288
11289 * shell.el (shell-dynamic-complete-functions): Revert last change.
11290 (shell-command-completion-function): New function.
11291 (shell-completion-vars): Use it to implement
11292 shell-completion-execonly (Bug#10417).
11293
11294 * custom.el (enable-theme): Don't set custom-safe-themes.
11295
11296 * cus-theme.el (custom-theme-merge-theme):
11297 Ignore custom-enabled-themes and custom-safe-themes.
11298
11299 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11300
11301 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11302 first prompt in `sql-interacive-mode'.
11303 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11304 keywords.
11305 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11306 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11307 context of original buffer. Invoke `sql-login-hook'.
11308
11309 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11310
11311 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11312 letters in cite-prefix.
11313
11314 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11315
11316 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11317
11318 2012-01-03 Chong Yidong <cyd@gnu.org>
11319
11320 * shell.el (shell-dynamic-complete-functions):
11321 Put pcomplete-completions-at-point, so as to try
11322 comint-filename-completion first (Bug#10417).
11323
11324 2012-01-02 Richard Stallman <rms@gnu.org>
11325
11326 * battery.el (battery-status-function):
11327 Detect when to use battery-yeeloong-sysfs.
11328 (battery-echo-area-format): Add string for Yeeloong.
11329 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11330 (battery-yeeloong-sysfs): New function.
11331
11332 2012-01-02 Chong Yidong <cyd@gnu.org>
11333
11334 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11335 (dirtrack): Merge code for handling relative filenames in prompt
11336 from shell-dir-cookie-watcher.
11337 (dirtrack-debug-message): New arg to avoid excess format calls.
11338
11339 * shell.el (shell-dir-cookie-re): Variable deleted.
11340 (shell-dir-cookie-watcher): Function deleted.
11341 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11342 with dirtrack-mode.
11343
11344 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11345
11346 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11347 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11348 libgnutls-26.dll.
11349
11350 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11351
11352 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11353
11354 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11355
11356 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11357 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11358
11359 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11360
11361 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11362 also for alternative shells.
11363 (tramp-open-connection-setup-interactive-shell): Check, whether
11364 the shell is a busybox.
11365 (tramp-send-command): Don't suppress multiple prompts for
11366 busyboxes, it hurts.
11367
11368 2011-12-28 Chong Yidong <cyd@gnu.org>
11369
11370 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11371 (gdb-get-source-file): Move mode line update to
11372 gdb-get-source-file (Bug#10087).
11373
11374 2011-12-25 Chong Yidong <cyd@gnu.org>
11375
11376 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11377 gud-gdb-marker-filter without taking it as an argument.
11378 (gud-gdb-run-command-fetch-lines): Caller changed.
11379 (gud-gdb-completion-function): New variable.
11380 (gud-gdb-completion-at-point): Use it.
11381 (gud-gdb-completions-1): Split from gud-gdb-completions.
11382
11383 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11384 function as separate arguments.
11385 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11386 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11387 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11388 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11389 (gdb-stopped, def-gdb-auto-update-trigger)
11390 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11391 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11392 Callers changed.
11393 (gud-gdbmi-completions): New function.
11394 (gdb): Use it for generating the completion table.
11395
11396 2011-12-24 Alan Mackenzie <acm@muc.de>
11397
11398 Introduce a mechanism to widen the region used in context font
11399 locking. Use this to protect declarations from losing their contexts.
11400
11401 * progmodes/cc-langs.el (c-before-font-lock-functions):
11402 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11403 (c-before-context-fontification-functions): New defvar, a list of
11404 functions to be run just before context (etc.) font locking.
11405
11406 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11407 New, functionality extracted from
11408 c-neutralize-syntax-in-and-mark-CPP.
11409 (c-in-after-change-fontification): New variable.
11410 (c-after-change): Set c-in-after-change-fontification.
11411 (c-set-fl-decl-start): Rejig its interface, so it can be called
11412 from both after-change and context fontifying.
11413 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11414 New functions.
11415 (c-standard-font-lock-fontify-region-function): New variable.
11416 (c-font-lock-fontify-region): New function.
11417
11418 2011-12-24 Juri Linkov <juri@jurta.org>
11419
11420 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11421 (Bug#10348)
11422
11423 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11424
11425 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11426 existence of source file. (Bug#10325)
11427
11428 2011-12-23 Alan Mackenzie <acm@muc.de>
11429
11430 Fix unstable fontification inside templates.
11431
11432 * progmodes/cc-langs.el (c-before-font-lock-functions):
11433 Newly created from the singular version. The (c c++ objc) entry now
11434 additionally has c-set-fl-decl-start. The other languages (apart
11435 from AWK) have that as a single entry.
11436
11437 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11438 The functionality for "local" declarations has been extracted to
11439 c-set-fl-decl-start.
11440
11441 * progmodes/cc-mode.el (c-common-init, c-after-change):
11442 Changes due to pluralisation of c-before-font-lock-functions.
11443 (c-set-fl-decl-start): New function, extracted from
11444 c-font-lock-enclosing-decls and enhanced.
11445
11446 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11447
11448 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11449
11450 2011-12-22 Juri Linkov <juri@jurta.org>
11451
11452 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11453
11454 2011-12-22 Chong Yidong <cyd@gnu.org>
11455
11456 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11457
11458 2011-12-21 Drew Adams <drew.adams@oracle.com>
11459
11460 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11461
11462 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11463
11464 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11465
11466 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11467
11468 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11469 highlighting and support. Fix up comments for capitalization.
11470 (cfengine-mode-debug): New var.
11471 (cfengine3-mode): Change the modeline indicator to "CFE3".
11472 (cfengine3-font-lock-keywords): Improve defun highlighting.
11473 (cfengine2-actions): Rename from `cfengine-actions'.
11474 (cfengine2-font-lock-keywords): Rename from
11475 `cfengine-font-lock-keywords'.
11476 (cfengine2-imenu-expression): Rename from
11477 `cfengine-imenu-expression'.
11478 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11479 (cfengine2-beginning-of-defun): Rename from
11480 `cfengine-beginning-of-defun'.
11481 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11482 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11483 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11484 modeline indicator to "CFE2".
11485 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11486 (cfengine-mode-abbrevs): Mark obsolete.
11487
11488 2011-12-21 Chong Yidong <cyd@gnu.org>
11489
11490 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11491 filename argument.
11492
11493 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11494
11495 * window.el (window-normalize-buffer-to-display): Remove.
11496 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11497
11498 2011-12-19 Chong Yidong <cyd@gnu.org>
11499
11500 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11501 Don't signal an error in a predicate function; return non-nil.
11502 (vc-dir-mark-file): Move the error here.
11503 (vc-dir-mark-unmark): If acting on the region, keep going if one
11504 of the entries cannot be marked/unmarked.
11505 (vc-dir-mark-all-files): If current entry is a directory, mark
11506 only child files, as documented.
11507
11508 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11509
11510 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11511 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11512 addition.
11513
11514 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11515
11516 * term/ns-win.el (ns-get-selection-internal)
11517 (ns-store-selection-internal): Declare.
11518 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11519 Declare as obsolete.
11520 (ns-get-pasteboard, ns-paste-secondary):
11521 Use ns-get-selection-internal.
11522 (ns-set-pasteboard, ns-copy-including-secondary):
11523 Use ns-store-selection-internal.
11524
11525 2011-12-17 Chong Yidong <cyd@gnu.org>
11526
11527 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11528 (vc-deduce-fileset): Doc fix.
11529
11530 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11531
11532 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11533
11534 2011-12-13 Sam Steingold <sds@gnu.org>
11535
11536 * man.el (Man-getpage-in-background): When running under a
11537 window-system, ignore $MANWIDTH and $COLUMNS.
11538
11539 2011-12-15 Kenichi Handa <handa@m17n.org>
11540
11541 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11542 (setup-ethiopic-environment-internal): Comment out key-binding for
11543 ethio-toggle-punctuation.
11544
11545 2011-12-13 Alan Mackenzie <acm@muc.de>
11546
11547 Add the switch statement to AWK Mode.
11548
11549 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11550 "default" to the keywords regexp.
11551
11552 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11553 expression as the rest.
11554 (c-nonlabel-token-key): Allow string literals for AWK.
11555 Refactor for the other modes.
11556
11557 Large brace-block initialisation makes CC Mode slow: Fix.
11558 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11559 routines. Limit backward searching in c-font-lock-enclosing.decl.
11560
11561 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11562 pp-state and literal type in addition to the limits.
11563 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11564 (c-state-literal-at): Use the above new defun.
11565 (c-slow-in-literal, c-fast-in-literal): Remove.
11566 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11567
11568 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11569 being in a literal. Add a limit for backward searching.
11570
11571 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11572 c-slow-in-literal.
11573
11574 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11577
11578 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11579
11580 * window.el (delete-other-windows): Use correct frame in call to
11581 window-with-parameter.
11582
11583 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11584
11585 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11586 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11587 (makefile-gmake-statements, makefile-makepp-statements):
11588 Use it and add new makepp keywords.
11589 (makefile-makepp-font-lock-keywords): Add new patterns.
11590 (makefile-match-function-end): Match new [...] and [[...]].
11591
11592 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11593
11594 * ses.el (ses-call-printer-return, ses-cell-property-get)
11595 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11596 (ses-create-cell-variable, ses-reset-header-string)
11597 (ses-cell-set-formula, ses-repair-cell-reference-all)
11598 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11599 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11600 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11601 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11602 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11603 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11604 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11605 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11606 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11607 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11608 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11609 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11610
11611 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11612
11613 * ses.el: The overall change is to add cell renaming, that is
11614 setting fancy names for cell symbols other than name matching
11615 "\\`[A-Z]+[0-9]+\\'" regexp .
11616 (ses-create-cell-variable): New defun.
11617 (ses-relocate-formula): Relocate formulas only for cells the
11618 symbols of which are not renamed, i.e. symbols whose names do not
11619 match regexp "\\`[A-Z]+[0-9]+\\'".
11620 (ses-relocate-all): Relocate values only for cells the symbols of
11621 which are not renamed.
11622 (ses-load): Create cells variables as the (ses-cell ...) are read,
11623 in order to check row col consistency with cell symbol name only
11624 for cells that are not renamed.
11625 (ses-replace-name-in-formula): New defun.
11626 (ses-rename-cell): New defun.
11627
11628 2011-12-11 Chong Yidong <cyd@gnu.org>
11629
11630 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11631 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11632
11633 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11634
11635 * window.el (other-window): Fix docstring.
11636
11637 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11638
11639 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11640 `from' or `to' address before taking its substring.
11641 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11642 encoded name is chopped in the middle of the encoded string, and
11643 thus displayed encoded.
11644
11645 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11646
11647 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11648
11649 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11650
11651 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11652 to use texinfo-update-node and commands that call it if the
11653 Texinfo file uses @node lines without next/prev/up pointers.
11654 Correct outdated description about texinfo-master-menu.
11655 (texinfo-all-menus-update, texinfo-master-menu)
11656 (texinfo-update-node, texinfo-every-node-update)
11657 (texinfo-multiple-files-update): Doc fix. Warn against updating
11658 all the @node lines.
11659 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11660 argument is numeric. Explain better in the doc string what the
11661 function really does.
11662 (texinfo-insert-master-menu-list): Improve the error message
11663 displayed if there's no menu in the Top node.
11664 (Bug#2975) See also this thread:
11665 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11666
11667 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11668
11669 * speedbar.el (speedbar-supported-extension-expressions):
11670 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11671
11672 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11673
11674 * printing.el (pr-mode-alist):
11675 * simple.el (filter-buffer-substring-functions)
11676 (completion-list-insert-choice-function):
11677 * window.el (window-with-parameter, window-atom-root)
11678 (window-sides-slots, window-size-fixed, window-min-delta)
11679 (window-max-delta, window--resize-mini-window)
11680 (window--resize-child-windows-normal, window-tree)
11681 (delete-other-windows, quit-window, split-window)
11682 (display-buffer-record-window, special-display-buffer-names)
11683 (special-display-regexps, special-display-popup-frame)
11684 (same-window-p, split-window-sensibly)
11685 (display-buffer-overriding-action, display-buffer-alist)
11686 (display-buffer-base-action, display-buffer, switch-to-buffer)
11687 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11688 (fit-window-to-buffer, recenter-positions)
11689 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11690 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11691 and remove unneeded backslashes in docstrings.
11692
11693 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11694
11695 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11696
11697 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11698 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11699 end in ".mk".
11700 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11701 when reading the makefile (bug#10116).
11702
11703 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11706 (bug#10116).
11707
11708 2011-12-06 Glenn Morris <rgm@gnu.org>
11709
11710 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11711
11712 2011-12-06 Chong Yidong <cyd@gnu.org>
11713
11714 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11715
11716 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11717
11718 * textmodes/table.el (table-shorten-cell): Fix typo.
11719
11720 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11721
11722 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11723
11724 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11725
11726 * descr-text.el (describe-char): Fix display of strong
11727 right-to-left characters and directional embeddings and overrides.
11728
11729 * simple.el (what-cursor-position): Fix display of codepoints of
11730 strong right-to-left characters.
11731
11732 2011-12-05 Chong Yidong <cyd@gnu.org>
11733
11734 * faces.el (read-color): Doc fix.
11735
11736 2011-12-05 Glenn Morris <rgm@gnu.org>
11737
11738 * align.el (align--set-marker): Add doc-string.
11739 Don't try to move something that is not a marker. (Bug#10216)
11740
11741 2011-12-04 Glenn Morris <rgm@gnu.org>
11742
11743 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11744 overly zealous deletion of trailing whitespace.
11745
11746 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11747
11748 * server.el (server-delete-client): On Windows, do not try to delete
11749 the only terminal.
11750 (server-process-filter): On Windows, treat requests for a tty frame as
11751 if they were for a GUI frame if the running server is in GUI mode.
11752
11753 2011-12-03 Glenn Morris <rgm@gnu.org>
11754
11755 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11756
11757 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * electric.el: Streamline electric-indent's hook.
11760 (electric-indent-chars): Revert to simple list.
11761 (electric-indent-functions): New var.
11762 (electric-indent-post-self-insert-function): Use it.
11763
11764 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11765 there's no inferior buffer (bug#10196).
11766 (prolog-consult-compile): Don't use toggle-read-only.
11767
11768 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11769
11770 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11771 interrupt. (Bug#10187)
11772
11773 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11776 (bug#9160).
11777
11778 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11779 (bug#10191).
11780
11781 2011-12-02 Juri Linkov <juri@jurta.org>
11782
11783 * info.el (Info-search): Display "end of manual" when Isearch
11784 reaches the end of single-file Info manual. (Bug#9918)
11785
11786 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11787
11788 * isearch.el (isearch-message-prefix): Run the input method part
11789 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11790
11791 2011-12-02 Juri Linkov <juri@jurta.org>
11792
11793 * isearch.el (isearch-occur): Use `word-search-regexp' for
11794 `isearch-word'.
11795 (isearch-search-and-update): Add condition for `isearch-word' and
11796 call `word-search-regexp'. (Bug#10145)
11797
11798 2011-12-01 Glenn Morris <rgm@gnu.org>
11799
11800 * eshell/em-hist.el (eshell-hist-initialize):
11801 Handle eshell-history-size nil and HISTSIZE set or unset.
11802 (eshell-history-file-name, eshell-history-size): Fix custom type.
11803
11804 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11807
11808 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11809
11810 * progmodes/verilog-mode.el (verilog-pretty-expr):
11811 Rework verilog-pretty-expr to handle new assignment operators in system
11812 verilog, such as += *= and the like.
11813 (verilog-assignment-operator-re): Regular expression to find the
11814 assigment operator in a verilog assignment.
11815 (verilog-assignment-operation-re): Regular expression to find an
11816 assignment statement for pretty-expr.
11817 (verilog-in-attribute-p): Query returns true if point is in an
11818 attribute context; used to skip these for expression line up from
11819 pretty-expr.
11820 (verilog-in-parameter-p): Query returns true if point is in an
11821 parameter definition context; used to skip these for expression
11822 line up from pretty-expr.
11823 (verilog-in-parenthesis-p): Query returns true if point is in a
11824 parenthetical expression, specifically ( ) but not [ ] or { };
11825 used by pretty-expr.
11826 (verilog-just-one-space): If there is no space, don't add one.
11827 (verilog-get-lineup-indent-2): Specifically skip just attribute
11828 contexts for expression lineup, rather than skipping all
11829 parenthetical expressions.
11830 (verilog-calculate-indent): Fix comment, and fix indent.
11831 (verilog-do-indent): Indent declarations in lists (suggested by
11832 Joachim Lechner).
11833 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11834 skeleton items.
11835 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11836 by Alain Mellan).
11837
11838 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11839
11840 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11841 parameters with embedded comments. Reported by Ray Stevens.
11842 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11843 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11844 Reported by Tim Holt.
11845 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11846 instantiated by upper module causing wrong expansion until AUTOed a
11847 second time. Reported by K C Buckenmaier.
11848 (verilog-diff-auto): Fix showing .* as a difference when
11849 `verilog-auto-star-save' off. Reported by Dan Dever.
11850 (verilog-auto-reset, verilog-read-always-signals)
11851 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11852 temporary signals in reset list if
11853 verilog-auto-reset-blocking-in-non is nil, and match assignment
11854 style to each signal's assignment type, bug381.
11855 Reported by Thomas Esposito.
11856 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11857 (verilog-uvm-statement-re): Support UVM indentation and
11858 highlighting, with old OVM keywords only.
11859 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11860 Support AUTOTIEOFF creating non-wire data types.
11861 Suggested by Jonathan Greenlaw.
11862 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11863 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11864 (verilog-inject-sense, verilog-read-inst-pins)
11865 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11866 Fix mismatching parenthesis inside commented out code when deleting
11867 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11868 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11869 non-numeric vector width. Reported by Alex Reed.
11870 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11871 detecting signals with parameter widths. Reported by Alex Reed.
11872 (verilog-auto-delete-trailing-whitespace):
11873 With `verilog-auto-delete-trailing-whitespace' remove trailing
11874 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11875 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11876 Fix verilog-scan-cache corruption when running user AUTO expansion
11877 hooks that call indentation routines.
11878 (verilog-simplify-range-expression): Fix typo ignoring lower case
11879 identifiers.
11880 (verilog-delete-auto): Fix delete-autos to also remove user created
11881 automatics, as long as they start with AUTO.
11882 (verilog-batch-diff-auto, verilog-diff-auto)
11883 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11884 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11885 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11886 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11887 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11888 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11889 is disabled and its cache will get corrupt, causing AUTOS not to
11890 expand. Instead use only -quick functions.
11891 (verilog-scan-region): Fix scanning over escaped quotes.
11892 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11893 (verilog-re-search-backward-quick)
11894 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11895 related functions now ignore strings, to fix misparsing of strings
11896 with magic comments embedded in them.
11897 (verilog-read-auto-template):
11898 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11899 Reported by Brad Dobbie.
11900 (verilog-read-auto-template):
11901 Fix 'verilog-auto-inst-template-numbers' with comments.
11902 Reported by Brad Dobbie.
11903 (verilog-auto-inst, verilog-auto-inst-param)
11904 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11905 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11906 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11907 debugging templates without merge conflicts, bug357.
11908 Reported by Brad Dobbie.
11909 (verilog-read-auto-template):
11910 Fix verilog-auto-inst-template-numbers with multiple templates.
11911 Reported by Brad Dobbie.
11912 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11913 abbrevs so user won't be asked to save.
11914 (verilog-read-auto-lisp-present): Fix to start at beginning of
11915 buffer in case called outside of verilog-auto.
11916 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11917 to "X-2". Reported by Matthew Myers.
11918 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11919 all inputs from module templates. Reported by Leith Johnson.
11920 (verilog-module-inside-filename-p): Fix locating programs as with
11921 modules.
11922 (verilog-auto-inst-port): Fix vl-width expressions when using
11923 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11924 (verilog-decls-get-regs, verilog-decls-get-signals,
11925 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11926 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11927 verilog-read-decls): Combine reg and wire structures into one var
11928 structure to represent SystemVerilog concepts.
11929 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11930 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11931 (verilog-auto-wire-type, verilog-insert-definition):
11932 Add verilog-auto-wire-type and AUTOLOGIC to support using
11933 SystemVerilog "logic" keyword instead of "wire"/"reg".
11934 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11935 to declares outputs that also have assignments (presumably in an
11936 ifdef or generate if so there's not a driver conflict).
11937 Reported by Matthew Myers.
11938 (verilog-auto-declare-nettype, verilog-insert-definition):
11939 Add verilog-auto-declare-nettype to fix declarations using
11940 `default_nettype none. Reported by Julian Gorfajn.
11941 (verilog-read-always-signals-recurse, verilog-read-decls)
11942 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11943 malformed end statement, bug325. Reported by Joshua Wise and
11944 Andrew Drake.
11945 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11946 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11947 when expanding .* in interfaces, bug320.
11948 Reported by Pierre-David Pfister.
11949 (verilog-read-module-name): Fix import statements between module
11950 name and open parenthesis, bug317.
11951 Reported by Pierre-David Pfister.
11952 (verilog-simplify-range-expression): Fix simplification of
11953 multiplications inside AUTOWIRE connections, bug303.
11954 (verilog-auto-inst-port): Support parameter expansion in
11955 multidimensional arrays.
11956 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11957 after "assert property". Reported by Julian Gorfajn.
11958 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11959 with multiplication, bug303.
11960 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11961 Reported by Jan Frode Lonnum.
11962
11963 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11964
11965 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11966 (hfy-shell-file-name, hfy-shell):
11967 * international/fontset.el (x-decompose-font-name): Fix typos.
11968
11969 2011-11-29 Ken Brown <kbrown@cornell.edu>
11970
11971 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11972 (gdb-version): Remove defvar.
11973 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11974 (gdb-gud-context-command, gdb-non-stop-handler)
11975 (gdb-current-context-command, gdb-stopped): Use it.
11976 (gdb-init-1): Enable pretty printing here.
11977 (gdb-non-stop-handler): Don't enable pretty-printing here.
11978 Check to see if the target supports non-stop mode; if not, turn off
11979 non-stop mode. Use the following.
11980 (gdb-check-target-async): New defun.
11981 (gud-watch, gdb-stopped): Fix whitespace.
11982 (gdb-get-source-file): Don't try to display the source file if
11983 `gdb-main-file' is nil.
11984
11985 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * align.el: Try to generate fewer markers (bug#10047).
11988 (align--set-marker): New macro.
11989 (align-region): Use it.
11990
11991 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11994
11995 2011-11-29 Chong Yidong <cyd@gnu.org>
11996
11997 * indent.el (indent-for-tab-command, indent-according-to-mode):
11998 Doc fix.
11999 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12000
12001 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12004 aware of remote file names. (Bug#10124)
12005
12006 2011-11-29 Chong Yidong <cyd@gnu.org>
12007
12008 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12009
12010 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * files.el (find-file): Don't use force-same-window (bug#10144).
12013 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12014 use pop-to-buffer if the selected window can't be used.
12015 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12016
12017 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12018
12019 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12020 special-mode-map.
12021
12022 2011-11-28 Chong Yidong <cyd@gnu.org>
12023
12024 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12025
12026 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12027
12028 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12029 gdb-get-source-file-list on gdb-create-source-file-list.
12030
12031 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12032
12033 * whitespace.el (whitespace-newline): Use a different foreground
12034 color for 16-color light-background displays.
12035
12036 2011-11-24 Chong Yidong <cyd@gnu.org>
12037
12038 * window.el (display-buffer--special-action): Doc fix.
12039
12040 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12041
12042 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12043 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12044 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12045 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12046 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12047 (avl-tree-stack-first):
12048 * emacs-lisp/cconv.el (cconv--analyse-use):
12049 * net/gnutls.el (gnutls-negotiate): Fix typos.
12050
12051 2011-11-24 Glenn Morris <rgm@gnu.org>
12052
12053 * lpr.el (lpr-windows-system, lpr-lp-system):
12054 * mail/binhex.el (binhex-begin-line):
12055 * progmodes/grep.el (grep-history, grep-find-history):
12056 * textmodes/flyspell.el:
12057 * vc/pcvs-defs.el (cvs-global-menu):
12058 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12059 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12060 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12061
12062 * net/tls.el: Fix case of "GnuTLS".
12063
12064 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12065
12066 * version.el (emacs-build-system): Give it a doc-string.
12067
12068 2011-11-24 Juri Linkov <juri@jurta.org>
12069
12070 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12071
12072 2011-11-24 Glenn Morris <rgm@gnu.org>
12073
12074 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12075 if called on a non-mime message just toggle the headers. (Bug#8006)
12076
12077 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12078
12079 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12080 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12081 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12082 (allout-rebullet-heading, allout-open-sibtopic)
12083 (allout-toggle-current-subtree-encryption)
12084 (allout-toggle-subtree-encryption, allout-encrypt-string)
12085 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12086 (allout-distinctive-bullets-string, allout-auto-activation):
12087 * window.el (window-normalize-buffer-to-display):
12088 * progmodes/verilog-mode.el (verilog-batch-indent):
12089 * textmodes/bibtex.el (bibtex-field-braces-opt)
12090 (bibtex-field-strings-opt):
12091 * vc/cvs-status.el (cvs-tree-merge):
12092 Fix typos.
12093
12094 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12097 `non-essential' to t, in order to avoid remote connections.
12098
12099 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12100
12101 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12102 On MS-DOS and MS-Windows, compare with loaddefs.el
12103 case-insensitively.
12104
12105 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12106
12107 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12108
12109 2011-11-23 Glenn Morris <rgm@gnu.org>
12110
12111 * paths.el (rmail-file-name): Reformat the doc-string so that it
12112 is picked up.
12113
12114 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12115 (rmail-auto-file): Ignore case in the "special" field names,
12116 as mail-fetch-field does for all others.
12117
12118 * mail/rmail.el (rmail-forward):
12119 * mail/rmailkwd.el (rmail-set-label):
12120 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12121 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12122
12123 * mail/rmail.el (rmail-current-message): Doc fix.
12124
12125 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12126
12127 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12130
12131 2011-11-22 Glenn Morris <rgm@gnu.org>
12132
12133 * mail/rmailmm.el (test-rmail-mime-handler)
12134 (test-rmail-mime-bulk-handler)
12135 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12136
12137 2011-11-21 Juri Linkov <juri@jurta.org>
12138
12139 * calc/calc.el (calc-read-key-sequence):
12140 Let-bind `input-method-function' to nil. (Bug#10018)
12141
12142 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12143
12144 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12145 Tell the caller that the next line needs recomputation, even
12146 though it doesn't start a sexp (bug#10094).
12147
12148 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12151
12152 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12153
12154 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12155 Use force-same-window.
12156
12157 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12158
12159 * descr-text.el (describe-char-unicode-data):
12160 * json.el (json-string-escape):
12161 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12162 (Footnote-unicode, Footnote-style-p):
12163 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12164
12165 2011-11-20 Chong Yidong <cyd@gnu.org>
12166
12167 * window.el (replace-buffer-in-windows): Restore interactive spec.
12168
12169 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12172
12173 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12174 (byte-compile-global-not-obsolete-vars): New var.
12175 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12176 Use it.
12177 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12178
12179 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12180
12181 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12182 * progmodes/pascal.el (electric-pascal-equal):
12183 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12184 * xml.el (xml-substitute-special): Fix typos.
12185
12186 2011-11-20 Glenn Morris <rgm@gnu.org>
12187
12188 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12189 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12190 Doc fixes.
12191 (rmail-decode-mime-charset): Mark as obsolete.
12192
12193 * mail/rmailsum.el (rmail-message-regexp-p-1):
12194 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12195 Before using mime functions, check they are set. (Bug#10077)
12196
12197 2011-11-19 Juri Linkov <juri@jurta.org>
12198
12199 * info.el (Info-finder-find-node): Use `package--builtins' instead
12200 of `package-alist'. Use node names formed by the pattern "Keyword "
12201 and the keyword name.
12202
12203 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12204
12205 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12206
12207 2011-11-19 Juri Linkov <juri@jurta.org>
12208
12209 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12210 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12211 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12212 `old-history', `old-history-forward'. Add let-binding
12213 `window-selected'. Remove calls to `kill-buffer',
12214 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12215 before calling `Info-find-node', so `Info-find-node-2' will reread
12216 the Info file. Restore window positions only when `window-selected'
12217 is non-nil.
12218
12219 2011-11-19 Juri Linkov <juri@jurta.org>
12220
12221 * isearch.el (isearch-lazy-highlight-new-loop):
12222 Remove condition `(not isearch-error)'. (Bug#9918)
12223
12224 * misearch.el (multi-isearch-search-fun): Add condition
12225 `(not bound)' to ignore lazy-highlighting search.
12226 Add the search-failed message "end of multi" when the end of
12227 multi-sequence is reached. Uncapitalize the search-failed
12228 message "Repeat for next buffer".
12229
12230 * info.el (Info-search): Add the search-failed message
12231 "end of the manual" when the end of the manual is reached
12232 in Isearch mode.
12233
12234 2011-11-19 Juri Linkov <juri@jurta.org>
12235
12236 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12237 Use non-destructive `remove' instead of `delete' because
12238 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12239 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12240
12241 2011-11-19 Juri Linkov <juri@jurta.org>
12242
12243 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12244 to nil instead of binding `search-ring' and `regexp-search-ring'.
12245 (Bug#9185)
12246
12247 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12248
12249 * simple.el (line-move): Force movement by logical lines for any
12250 hscrolled window, not only when auto-hscroll-mode is on.
12251 (line-move-visual): Update doc string to that effect. (Bug#10076)
12252
12253 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12254
12255 * language/european.el (macintosh): Define as alias for mac-roman.
12256
12257 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12258
12259 * mail/rmailmm.el (rmail-mime-display-header)
12260 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12261 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12262 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12263 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12264 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12265 of a raw aref.
12266 (rmail-mime-entity-segment): To get past the tagline, move forward
12267 2 more lines, to account for the 2 empty lines that precede and
12268 follow the line with the buttons.
12269 (rmail-mime-update-tagline): Move one more line, to get past the
12270 empty line that follows the buttons in the tagline. (Bug#9520)
12271
12272 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12273
12274 * window.el (window-max-delta-1, window-min-delta-1)
12275 (window-min-size-1, window-state-get-1, window-state-put-1)
12276 (window-state-put-2): Use "window--" prefix.
12277
12278 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12279
12280 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12281 (smie-warning-count): New var.
12282 (smie-set-prec2tab): Use it.
12283 (smie-bnf->prec2): Improve warnings. Add docstring.
12284 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12285 (smie-bnf--set-class): New function.
12286 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12287 corner case.
12288
12289 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12290 (compilation-error-properties, compilation-move-to-column):
12291 Handle compilation-first-column while in the target buffer.
12292
12293 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12294 Don't hardcode point-min==1.
12295
12296 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12297 (eshell-rewrite-for-command): Remove workaround.
12298 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12299 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12300 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12301
12302 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12303
12304 2011-11-17 Glenn Morris <rgm@gnu.org>
12305
12306 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12307 Ignore buffer-local generated-autoload-file if it is the same
12308 as the global value. (Bug#10049)
12309
12310 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12311
12312 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12313 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12314 (reftex-toc-previous-heading, reftex-toc-max-level)
12315 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12316 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12317 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12318 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12319 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12320 (reftex-toc-rename-label, reftex-toc-visit-location)
12321 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12322 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12323 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12324 leaving "*toc*" only for references to the buffer.
12325
12326 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12327
12328 * window.el (window-resize, delete-window, split-window):
12329 Replace window-splits by window-combination-resize.
12330 * cus-start.el (window-splits): Replace by window-combination-resize.
12331
12332 2011-11-17 Glenn Morris <rgm@gnu.org>
12333
12334 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12335 Make bash entry derive from sh entry, not shell entry.
12336
12337 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12338
12339 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12340 local file name.
12341
12342 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12343
12344 * menu-bar.el (menu-bar-file-menu):
12345 * printing.el (pr-ps-utility):
12346 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12347 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12348 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12349 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12350 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12351 (icalendar--convert-cyclic-to-ical)
12352 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12353 (icalendar--convert-ical-to-diary)
12354 (icalendar--convert-recurring-to-diary)
12355 (icalendar--convert-non-recurring-all-day-to-diary)
12356 (icalendar-import-format-sample):
12357 * progmodes/idlw-shell.el (idlwave-shell-mode):
12358 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12359 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12360 (vhdl-ps-print-init): Fix typos.
12361
12362 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12363
12364 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12365 FSF and collapse date sequence, obscure author/maintainer email address
12366 better, remove extra version line, track relocation of author's webpage.
12367
12368 * progmodes/python.el (python-pdbtrack-input-prompt)
12369 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12370 regular python pdb prompts. Adjustments shamelessly taken exactly as
12371 suggested in EmacsWiki page (tiny change):
12372 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12373
12374 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12375
12376 * expand.el (expand-pos, expand-index, expand-point):
12377 Remove redundant info from docstring.
12378 (expand-add-abbrevs): Doc fix.
12379 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12380 (expand-sample-perl-mode-expand-list): Fix typos.
12381
12382 * net/dbus.el (dbus-event-member-name):
12383 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12384 * term/pc-win.el (msdos-create-frame-with-faces):
12385 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12386
12387 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12388
12389 * window.el (split-window, window-state-get-1)
12390 (window-state-put-1, window-state-put-2): Rename occurrences of
12391 window-nest to window-combination-limit.
12392 * cus-start.el (window-nest): Rename to window-combination-limit.
12393
12394 2011-11-16 Chong Yidong <cyd@gnu.org>
12395
12396 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12397 regexp (Bug#10033).
12398
12399 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12402 `completing-read' will remove *Completions* and will preserve
12403 current-buffer for us.
12404 (tmm-add-prompt): Users of *Completions* will always (re)set its
12405 major mode.
12406 (tmm-old-comp-map): Remove.
12407
12408 2011-11-16 Glenn Morris <rgm@gnu.org>
12409
12410 * mail/rmailedit.el: Require rmailmm when compiling.
12411 (rmail-old-mime-state): New declaration.
12412 (rmail-edit-current-message): If editing a mime message,
12413 edit the "raw" message from the mbox buffer.
12414 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12415
12416 2011-11-15 Glenn Morris <rgm@gnu.org>
12417
12418 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12419 which wasn't being used. Add optional arg to force given state.
12420 (rmail-mime): Add optional arg to force given state.
12421
12422 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12423
12424 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12425 * frame.el (display-mm-dimensions-alist):
12426 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12427 (outline-move-subtree-down):
12428 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12429 (newsticker--treeview-do-get-node):
12430 * net/quickurl.el (quickurl-list-buffer-name):
12431 * progmodes/dcl-mode.el (dcl-mode):
12432 * progmodes/gdb-mi.el (gdb-mapcar*):
12433 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12434
12435 2011-11-15 Glenn Morris <rgm@gnu.org>
12436
12437 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12438 in a boolean sense, so just make it a boolean, and fix the doc.
12439 (rmail-show-mime-function, rmail-mime-feature)
12440 (rmail-require-mime-maybe): Doc fixes.
12441 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12442
12443 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12444
12445 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12446
12447 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12448 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12449 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12450 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12451
12452 2011-11-15 Glenn Morris <rgm@gnu.org>
12453
12454 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12455 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12456 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12457 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12458 (rmail-mime, rmail-show-mime): Doc fixes.
12459
12460 * term/ns-win.el (mode-line-frame-identification):
12461 Leave it alone. (Bug#10051)
12462
12463 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12464
12465 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12466 Handle empty buffers. (Bug#9978)
12467
12468 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12469
12470 * international/mule.el (define-charset):
12471 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12472 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12473 * progmodes/verilog-mode.el (verilog-backward-token):
12474 * textmodes/ispell.el (lookup-words):
12475 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12476
12477 2011-11-14 Glenn Morris <rgm@gnu.org>
12478
12479 * progmodes/executable.el
12480 (executable-make-buffer-file-executable-if-script-p):
12481 Handle file-modes returning nil.
12482
12483 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12484 message - not necessary, and causes problems. (Bug#9831)
12485
12486 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12487
12488 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12489
12490 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12491 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12492 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12493
12494 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12495
12496 * window.el (window-resize, delete-window): Use window-splits
12497 variable instead of function.
12498 (window-state-get-1, window-state-put-2, window-state-put):
12499 Don't deal with windows' splits status.
12500
12501 2011-11-12 Glenn Morris <rgm@gnu.org>
12502
12503 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12504 (apropos-documentation): Doc fixes.
12505
12506 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12507
12508 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12509 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12510
12511 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * electric.el (electric-indent-post-self-insert-function): Make it
12514 possible for a char to only indent in some circumstances.
12515 (electric-indent-mode): Simplify.
12516
12517 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12518
12519 * window.el (windows-with-parameter): Remove unused function.
12520 (windows-at-side): Rename to window-at-side-list.
12521 (window-check, window-atom-check, window-atom-check-1)
12522 (window-side-check, window-size-ignore, window-size-fixed-1)
12523 (window-in-direction-2): Prefix with "window--".
12524 (window-tree-1): Rename to window--subtree, fix doc-string.
12525
12526 2011-11-11 Glenn Morris <rgm@gnu.org>
12527
12528 * subr.el (eval-after-load): If FILE is already loaded,
12529 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12530
12531 2011-11-10 Glenn Morris <rgm@gnu.org>
12532
12533 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12534 Call svn via vc-svn-command rather than vc-do-command.
12535 (vc-svn-command): Add --non-interactive. (Bug#9993)
12536 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12537
12538 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12539 Add toggle-read-only. (Bug#7292)
12540 * files.el (toggle-read-only): Mention that it should only
12541 be used interactively. (Bug#10006)
12542
12543 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12546 Adjust regexp for OCaml warnings.
12547
12548 * electric.el (electric-pair-post-self-insert-function): Let user
12549 turn it off buffer-locally (bug#9932).
12550
12551 * progmodes/python.el (python-beginning-of-statement):
12552 Rewrite (bug#2703).
12553
12554 * progmodes/compile.el: Better handle TABs (bug#9749).
12555 (compilation-internal-error-properties)
12556 (compilation-next-error-function): Obey the target buffer's
12557 compilation-error-screen-columns.
12558
12559 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12560
12561 * progmodes/meta-mode.el: Remove obsolete comments.
12562 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12563 Fix typos in docstrings.
12564
12565 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12566
12567 * window.el (window-size-fixed-p): Rewrite doc-string.
12568 (window-resizable-p): Rename to window--resizable-p. Update callers.
12569 (window--resizable): New function. Make all callers of
12570 window-resizable call window--resizable instead.
12571 (window-resizable): Rewrite in terms of window--resizable.
12572
12573 2011-11-08 Glenn Morris <rgm@gnu.org>
12574
12575 * progmodes/delphi.el (delphi-mode-syntax-table):
12576 Let define-derived-mode define a proper syntax table. (Bug#9994)
12577
12578 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12579
12580 * window.el: Stay away from defsubst.
12581 (window-list-no-nils): Remove.
12582 (window-state-get-1, window-state-get): Use backquote instead.
12583
12584 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12585
12586 * emacs-lisp/find-func.el (find-function-read):
12587 Fix incorrect use of default argument in `completing-read'.
12588
12589 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12590
12591 * window.el (display-buffer-function, special-display-function):
12592 Mention display-buffer-record-window but do not mention
12593 help-setup parameter in doc-strings.
12594 (window-min-delta): Fix doc-string typo.
12595
12596 2011-11-08 Chong Yidong <cyd@gnu.org>
12597
12598 * window.el (window-total-height, window-total-width): Doc fix.
12599 (window-body-size): Move from C.
12600 (window-body-height, window-body-width): Move to C.
12601
12602 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * window.el: Make special-display like display-buffer-alist (bug#9532).
12605 (display-buffer--special-action): New function, morphed
12606 from display-buffer--special.
12607 (display-buffer): Use it to handle special-display-buffers at higher
12608 priority (just after display-buffer-alist).
12609 (display-buffer-fallback-action, display-buffer--other-frame-action)
12610 (pop-to-buffer-same-window): Remove display-buffer--special.
12611
12612 2011-11-07 Glenn Morris <rgm@gnu.org>
12613
12614 * calendar/cal-menu.el (cal-menu-set-date-title):
12615 Do nothing if not in a calendar. (Bug#9976)
12616
12617 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * files.el (find-file): Always use selected-window.
12620
12621 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12622
12623 * window.el (window-combinations): Make WINDOW argument
12624 mandatory. Rewrite doc-string.
12625 (walk-window-subtree, window-atom-check, window-min-delta)
12626 (window-max-delta, window--resize-this-window)
12627 (window--resize-root-window-vertically, window-tree)
12628 (balance-windows, window-state-put): Rewrite doc-strings as to
12629 not mention the term "subwindow".
12630 (window--resize-subwindows-skip-p): Rename to
12631 window--resize-child-windows-skip-p.
12632 (window--resize-subwindows-normal): Rename to
12633 window--resize-child-windows-normal.
12634 (window--resize-subwindows): Rename to
12635 window--resize-child-windows.
12636 (window-or-subwindow-p): Rename to window--in-subtree-p.
12637
12638 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12639
12640 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12641 Ensure that mbox format messages end in two newlines (Bug#9974).
12642
12643 2011-11-06 Chong Yidong <cyd@gnu.org>
12644
12645 * window.el (window-combination-p): Function deleted; its
12646 side-effect is not used in any existing code.
12647 (window-combinations, window-combined-p): Call window-*-child
12648 directly.
12649
12650 2011-11-05 Chong Yidong <cyd@gnu.org>
12651
12652 * window.el (window-valid-p): Rename from window-any-p.
12653 (window-size-ignore, window-state-get): Callers changed.
12654 (window-normalize-window): Rename from window-normalize-any-window.
12655 New arg LIVE-ONLY, replacing window-normalize-live-window.
12656 (window-normalize-live-window): Delete.
12657 (window-combination-p, window-combined-p, window-combinations)
12658 (walk-window-subtree, window-atom-root, window-min-size)
12659 (window-sizable, window-sizable-p, window-size-fixed-p)
12660 (window-min-delta, window-max-delta, window-resizable)
12661 (window-resizable-p, window-full-height-p, window-full-width-p)
12662 (window-current-scroll-bars, window-point-1, set-window-point-1)
12663 (window-at-side-p, window-in-direction, window-resize)
12664 (adjust-window-trailing-edge, maximize-window, minimize-window)
12665 (window-deletable-p, delete-window, delete-other-windows)
12666 (record-window-buffer, unrecord-window-buffer)
12667 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12668 (quit-window, split-window, window-state-put)
12669 (set-window-text-height, fit-window-to-buffer)
12670 (shrink-window-if-larger-than-buffer): Callers changed.
12671
12672 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12673
12674 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12675 rfc2047-decode-string.
12676 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12677 warnings.
12678
12679 * window.el (window-body-height, window-body-width): Mention in
12680 the doc string that the return values are in frame's canonical
12681 units. (Bug#9949)
12682
12683 2011-11-03 Alan Mackenzie <acm@muc.de>
12684
12685 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12686 change in cc-engine.el.
12687
12688 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12689
12690 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12691
12692 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12693
12694 * window.el (quit-window): Call unrecord-window-buffer after
12695 showing another buffer in the window. (Bug#9937)
12696 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12697
12698 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12701 Accept status with more than 9 shelves. (Bug#9935)
12702 Reported by Colin D Bennett <colin@gibibit.com>.
12703
12704 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12705
12706 * help.el (with-help-window): Don't reference
12707 temp-buffer-show-specifiers in doc-string.
12708
12709 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12712 menu-item.
12713
12714 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12715
12716 * whitespace.el: New version 13.2.2.
12717 (whitespace-newline-mode): Disable properly. Reported by Sarah
12718 <EmacsWiki>.
12719
12720 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12721
12722 * net/newst-treeview.el: Remove "Time-stamp".
12723 (newsticker--group-manage-orphan-feeds): Do not call
12724 newsticker--treeview-tree-update.
12725 (newsticker-treeview-update, newsticker-treeview):
12726 Call newsticker--treeview-tree-update if necessary.
12727
12728 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12729
12730 * window.el (window-iso-combination-p, window-iso-combined-p)
12731 (window-iso-combinations): Remove "iso-" infix.
12732 Suggested by Chong Yidong.
12733 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12734 (window-max-delta-1, window-resize, window--resize-siblings)
12735 (window--resize-this-window, adjust-window-trailing-edge)
12736 (split-window, balance-windows-1)
12737 (shrink-window-if-larger-than-buffer):
12738 * calendar/calendar.el (calendar-generate-window):
12739 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12740
12741 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12744 in place (bug#9907).
12745 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12746 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12747 (eshell-structure-basic-command, eshell-rewrite-while-command)
12748 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12749 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12750 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12751 (eshell-do-pipelines-synchronously, eshell-eval-command):
12752 Use backquotes and prefer setq to set.
12753 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12754 (eshell-macrop): Use functionp.
12755 (eshell-do-eval): Handle multiple expressions in `while' body.
12756
12757 2011-10-30 Chong Yidong <cyd@gnu.org>
12758
12759 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12760 instead of set-mark (Bug#9810).
12761
12762 2011-10-30 Chong Yidong <cyd@gnu.org>
12763
12764 * window.el (split-window-below, split-window-right): Rename from
12765 split-window-above-each-other and split-window-side-by-side
12766 respectively. All callers changed.
12767 (split-window-sensibly, split-window-sensibly): Use them.
12768 (split-window-keep-point): Doc fix.
12769
12770 * isearch.el: Add isearch-scroll property to split-window-below
12771 and split-window-right.
12772
12773 * follow.el (follow-mode):
12774 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12775 * progmodes/ada-xref.el (ada-gdb-application):
12776 * emulation/vip.el (vip-buffer-in-two-windows):
12777 * image-dired.el (image-dired-dired-with-window-configuration):
12778 * dired-x.el (dired-do-find-marked-files):
12779 * dired.el (dired-pop-to-buffer):
12780 * bs.el (bs--show-with-configuration):
12781 * vc/emerge.el (emerge-setup-windows):
12782 * textmodes/two-column.el (2C-two-columns):
12783 * textmodes/reftex-toc.el (reftex-toc):
12784 * progmodes/gdb-mi.el (gdb-setup-windows):
12785 * progmodes/fortran.el (fortran-window-create):
12786 * net/newst-treeview.el (newsticker--treeview-window-init):
12787 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12788 * emulation/tpu-edt.el (tpu-gold-map):
12789 * emulation/crisp.el (crisp-mode-map):
12790 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12791
12792 2011-10-29 Chong Yidong <cyd@gnu.org>
12793
12794 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12795
12796 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12797
12798 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12799 forged Ispell output (Bug#7904).
12800
12801 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12802
12803 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * doc-view.el: Avoid ugly errors about not finding nil.
12806 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12807 (doc-view-dvipdf-program, doc-view-unoconv-program)
12808 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12809 Avoid nil or absolute file name as default value.
12810 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12811
12812 2011-10-28 Alan Mackenzie <acm@muc.de>
12813
12814 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12815
12816 2011-10-28 Alan Mackenzie <acm@muc.de>
12817
12818 Amend the handling of c-beginning/end-of-defun in nested declaration
12819 scopes.
12820
12821 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12822 cc-langs.el. Change it to a defcustom.
12823
12824 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12825 cc-vars.el.
12826
12827 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12828 Prevent "class foo : bar" being spuriously recognized as a label.
12829
12830 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12831 Add parameter `inclusive' (to include enclosing braces in the region).
12832 (c-widen-to-enclosing-decl-scope): New function.
12833 (c-while-widening-to-decl-block): New macro.
12834 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12835 outward for defun boundaries, and correspondingly change symbol
12836 `respect-enclosure' to `go-outward'.
12837 (c-declaration-limits): Change algorithm to report only the "innermost"
12838 defun's boundaries.
12839
12840 2011-10-28 Deniz Dogan <deniz@dogan.se>
12841
12842 * net/rcirc.el (rcirc-mode): Use hard newlines.
12843
12844 2011-10-28 Alan Mackenzie <acm@muc.de>
12845
12846 Amend to indent and fontify macros "which include their own semicolon"
12847 correctly, using the "virtual semicolon" mechanism.
12848
12849 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12850
12851 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12852 Recode to scan one line at a time rather than having \n and \r
12853 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12854 (c-forward-label): Amend for virtual semicolons.
12855 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12856
12857 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12858 of the new C macros.
12859
12860 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12861 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12862 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12863 (c-opt-cpp-macro-define): Make into a full language variable.
12864 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12865 AWK Mode (including \n, \r) removed, no longer needed.
12866
12867 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12868 Invoke c-make-macro-with-semi-re.
12869
12870 * progmodes/cc-vars.el (c-macro-with-semi-re):
12871 (c-macro-names-with-semicolon): New variables.
12872 (c-make-macro-with-semi-re): New function.
12873
12874 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * vc/log-edit.el: Fill empty field rather than adding new one.
12877 (log-edit-add-field): New function.
12878 (log-edit-insert-changelog): Use it.
12879
12880 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12881
12882 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12883
12884 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12887 (gdb--check-interpreter): New function.
12888 (gdb): Use it.
12889
12890 2011-10-27 Glenn Morris <rgm@gnu.org>
12891
12892 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12893 (least-positive-float, least-negative-float)
12894 (least-positive-normalized-float, least-negative-normalized-float)
12895 (float-epsilon, float-negative-epsilon):
12896 Remove unnecessary declarations.
12897
12898 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12899 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12900 (least-positive-float, least-negative-float)
12901 (least-positive-normalized-float, least-negative-normalized-float)
12902 (float-epsilon, float-negative-epsilon): Add doc-strings,
12903 based on those in cl.texi.
12904
12905 * files.el (set-visited-file-name): If the major-mode changed,
12906 reload the local variables. (Bug#9796)
12907
12908 2011-10-27 Chong Yidong <cyd@gnu.org>
12909
12910 * subr.el (change-major-mode-after-body-hook): New hook.
12911 (run-mode-hooks): Run it.
12912
12913 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12914 Use change-major-mode-before-body-hook.
12915
12916 * simple.el (fundamental-mode):
12917 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12918 change introducing fundamental-mode-hook.
12919
12920 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12921
12922 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12923
12924 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12925
12926 * ido.el (ido-file-name-all-completions-1): Do not require
12927 tramp.el explicitly. (Bug#7583)
12928
12929 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * progmodes/octave-mod.el:
12932 * progmodes/octave-inf.el: Update maintainer.
12933
12934 2011-10-26 Chong Yidong <cyd@gnu.org>
12935
12936 * subr.el (with-wrapper-hook): Rewrite doc.
12937
12938 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12939
12940 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12941 filenames "/method:foo:". (Bug#9793)
12942
12943 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12946 (bug#9865).
12947
12948 2011-10-24 Glenn Morris <rgm@gnu.org>
12949
12950 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12951
12952 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12953
12954 * notifications.el: Add the requirement of a running D-Bus session
12955 bus to the Commentary.
12956
12957 2011-10-24 Juri Linkov <juri@jurta.org>
12958
12959 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12960 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12961 (Bug#9364)
12962
12963 2011-10-24 Juri Linkov <juri@jurta.org>
12964
12965 * info.el (Info-following-node-name-re): Add newline to the list
12966 of allowed characters for leading space. (Bug#9824)
12967
12968 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12969
12970 * progmodes/octave-inf.el (inferior-octave-mode-map):
12971 Fix C-c C-h binding.
12972 * progmodes/octave-mod.el (octave-help): Remove.
12973
12974 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12975
12976 Sync with Tramp 2.2.3.
12977
12978 * net/tramp-cache.el (top): Pacify byte-compiler using
12979 `init-file-user' and `site-run-file'.
12980
12981 * net/trampver.el: Update release number.
12982
12983 2011-10-23 Chong Yidong <cyd@gnu.org>
12984
12985 * files.el (toggle-read-only): Remove obsolete comment about
12986 version control.
12987
12988 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12989 for toggle-read-only. Note that this hasn't called vc-next-action
12990 since 2008-05-02, though it wasn't documented at the time.
12991
12992 * vc/ediff-init.el (ediff-toggle-read-only-function):
12993 Use toggle-read-only.
12994
12995 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12996
12997 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12998 of c-parse-state.
12999
13000 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13001 correct faulty logical expression.
13002 (c-parse-state-state, c-record-parse-state-state):
13003 (c-replay-parse-state-state): New defvar/defuns.
13004 (c-debug-parse-state): Use new functions.
13005
13006 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13007
13008 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13009 last fix. Use window-in-direction correctly.
13010
13011 2011-10-21 Chong Yidong <cyd@gnu.org>
13012
13013 * progmodes/idlwave.el (idlwave-mode):
13014 * progmodes/vera-mode.el (vera-mode): No need to set
13015 require-final-newline; that's done in prog-mode.
13016 Suggested by Stefan Monnier.
13017
13018 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13019
13020 * mouse.el (mouse-drag-window-above)
13021 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13022 (mouse-drag-mode-line-1, mouse-drag-header-line)
13023 (mouse-drag-vertical-line-rightward-window): Remove.
13024 (mouse-drag-line): New function.
13025 (mouse-drag-mode-line, mouse-drag-header-line)
13026 (mouse-drag-vertical-line): Call mouse-drag-line.
13027 * window.el (window-at-side-p, windows-at-side): New functions.
13028
13029 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13030
13031 * tar-mode.el (tar-grind-file-mode):
13032 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13033
13034 2011-10-21 Chong Yidong <cyd@gnu.org>
13035
13036 * progmodes/idlwave.el (idlwave-mode):
13037 * progmodes/vera-mode.el (vera-mode):
13038 Use mode-require-final-newline.
13039
13040 2011-10-20 Glenn Morris <rgm@gnu.org>
13041
13042 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13043
13044 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13045
13046 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13047
13048 2011-10-20 Chong Yidong <cyd@gnu.org>
13049
13050 * emulation/cua-base.el (cua-mode):
13051 * mail/footnote.el (footnote-mode):
13052 * mail/mailabbrev.el (mail-abbrevs-mode):
13053 * net/xesam.el (xesam-minor-mode):
13054 * progmodes/bug-reference.el (bug-reference-mode):
13055 * progmodes/cap-words.el (capitalized-words-mode):
13056 * progmodes/compile.el (compilation-minor-mode)
13057 (compilation-shell-minor-mode):
13058 * progmodes/gud.el (gud-tooltip-mode):
13059 * progmodes/hideif.el (hide-ifdef-mode):
13060 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13061 * progmodes/subword.el (subword-mode):
13062 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13063 * progmodes/which-func.el (which-function-mode):
13064 * term/tvi970.el (tvi970-set-keypad-mode):
13065 * term/vt100.el (vt100-wide-mode):
13066 * textmodes/flyspell.el (flyspell-mode):
13067 * textmodes/ispell.el (ispell-minor-mode):
13068 * textmodes/nroff-mode.el (nroff-electric-mode):
13069 * textmodes/paragraphs.el (use-hard-newlines):
13070 * textmodes/refill.el (refill-mode):
13071 * textmodes/reftex.el (reftex-mode):
13072 * textmodes/rst.el (rst-minor-mode):
13073 * textmodes/sgml-mode.el (html-autoview-mode)
13074 (sgml-electric-tag-pair-mode):
13075 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13076 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13077 * emulation/crisp.el (crisp-mode):
13078 * emacs-lisp/eldoc.el (eldoc-mode):
13079 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13080 minor mode behavior.
13081
13082 2011-10-19 Juri Linkov <juri@jurta.org>
13083
13084 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13085 the list of hard-coded chars with escape-glyph face.
13086
13087 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13090
13091 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13092
13093 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13094 running process.
13095
13096 2011-10-19 Glenn Morris <rgm@gnu.org>
13097
13098 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13099 Ignore ignored files. (Bug#9726)
13100
13101 2011-10-19 Chong Yidong <cyd@gnu.org>
13102
13103 Doc fix for minor modes, stating that an omitted argument enables
13104 the mode unconditionally when called from Lisp.
13105
13106 * abbrev.el (abbrev-mode):
13107 * allout.el (allout-mode):
13108 * autoinsert.el (auto-insert-mode):
13109 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13110 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13111 (global-auto-revert-mode):
13112 * battery.el (display-battery-mode):
13113 * composite.el (global-auto-composition-mode)
13114 (auto-composition-mode):
13115 * delsel.el (delete-selection-mode):
13116 * desktop.el (desktop-save-mode):
13117 * dired-x.el (dired-omit-mode):
13118 * dirtrack.el (dirtrack-mode):
13119 * doc-view.el (doc-view-minor-mode):
13120 * double.el (double-mode):
13121 * electric.el (electric-indent-mode, electric-pair-mode):
13122 * emacs-lock.el (emacs-lock-mode):
13123 * epa-hook.el (auto-encryption-mode):
13124 * follow.el (follow-mode):
13125 * font-core.el (font-lock-mode):
13126 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13127 * help.el (temp-buffer-resize-mode):
13128 * hilit-chg.el (highlight-changes-mode)
13129 (highlight-changes-visible-mode):
13130 * hi-lock.el (hi-lock-mode):
13131 * hl-line.el (hl-line-mode, global-hl-line-mode):
13132 * icomplete.el (icomplete-mode):
13133 * ido.el (ido-everywhere):
13134 * image-file.el (auto-image-file-mode):
13135 * image-mode.el (image-minor-mode):
13136 * iswitchb.el (iswitchb-mode):
13137 * jka-cmpr-hook.el (auto-compression-mode):
13138 * linum.el (linum-mode):
13139 * longlines.el (longlines-mode):
13140 * master.el (master-mode):
13141 * mb-depth.el (minibuffer-depth-indicate-mode):
13142 * menu-bar.el (menu-bar-mode):
13143 * minibuf-eldef.el (minibuffer-electric-default-mode):
13144 * mouse-sel.el (mouse-sel-mode):
13145 * msb.el (msb-mode):
13146 * mwheel.el (mouse-wheel-mode):
13147 * outline.el (outline-minor-mode):
13148 * paren.el (show-paren-mode):
13149 * recentf.el (recentf-mode):
13150 * reveal.el (reveal-mode, global-reveal-mode):
13151 * rfn-eshadow.el (file-name-shadow-mode):
13152 * ruler-mode.el (ruler-mode):
13153 * savehist.el (savehist-mode):
13154 * scroll-all.el (scroll-all-mode):
13155 * scroll-bar.el (scroll-bar-mode):
13156 * server.el (server-mode):
13157 * shell.el (shell-dirtrack-mode):
13158 * simple.el (auto-fill-mode, transient-mark-mode)
13159 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13160 (line-number-mode, column-number-mode, size-indication-mode)
13161 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13162 * strokes.el (strokes-mode):
13163 * time.el (display-time-mode):
13164 * t-mouse.el (gpm-mouse-mode):
13165 * tool-bar.el (tool-bar-mode):
13166 * tooltip.el (tooltip-mode):
13167 * type-break.el (type-break-mode-line-message-mode)
13168 (type-break-query-mode):
13169 * view.el (view-mode):
13170 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13171 (global-whitespace-mode, global-whitespace-newline-mode):
13172 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13173
13174 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13175 Fix autogenerated docstring.
13176
13177 2011-10-19 Juri Linkov <juri@jurta.org>
13178
13179 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13180 by checking environment variables "DESKTOP_SESSION" and
13181 "XDG_CURRENT_DESKTOP". (Bug#9779)
13182
13183 2011-10-19 Juri Linkov <juri@jurta.org>
13184
13185 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13186 (browse-url-chromium-program, browse-url-chromium-arguments):
13187 New defcustoms.
13188 (browse-url-default-browser): Check for `browse-url-chromium' and
13189 call `browse-url-chromium-program'.
13190 (browse-url-chromium): New command. (Bug#9779)
13191
13192 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13193
13194 * facemenu.el (list-colors-duplicates): On Windows, detect more
13195 duplicates by assuming that only colors matching "^System" are
13196 special "system colors". (Bug#9722)
13197
13198 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13201 to distinguish the author from the committer.
13202
13203 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13204
13205 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13206
13207 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13208
13209 * international/mule.el (sgml-html-meta-auto-coding-function):
13210 Add support for detecting encoding in HTML5 specified only as
13211 <meta charset="UTF-8">. Implementation just makes http-equiv and
13212 content-type parts from HTML4 encoding string optional. (Bug#9716)
13213
13214 2011-10-18 Glenn Morris <rgm@gnu.org>
13215
13216 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13217
13218 2011-10-18 Chong Yidong <cyd@gnu.org>
13219
13220 * faces.el (cursor): Doc fix.
13221
13222 2011-10-17 Chong Yidong <cyd@gnu.org>
13223
13224 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13225
13226 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13227
13228 * dirtrack.el (dirtrack): Support shell buffers with path
13229 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13230
13231 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13232
13233 * json.el: Bump version to 1.3 and note change in History.
13234 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13235
13236 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * comint.el (comint-insert-input, comint-send-input)
13239 (comint-get-old-input-default, comint-backward-matching-input)
13240 (comint-next-prompt): Use nil instead of `input' for field property of
13241 past user input (bug#114).
13242
13243 * minibuffer.el (completion--replace): Inherit surrounding properties
13244 (bug#114).
13245 (minibuffer-complete-and-exit): Use it.
13246
13247 * comint.el (comint--table-subvert): Quote the all-completions output
13248 (bug#9160).
13249
13250 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13251
13252 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13253
13254 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13255 window on right of selected. (Bug#9350) Reword other window
13256 entries and separate them from frame entries.
13257
13258 2011-10-15 Glenn Morris <rgm@gnu.org>
13259
13260 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13261 Doc fixes.
13262
13263 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13264
13265 * net/network-stream.el (network-stream-open-starttls):
13266 Improve detection of failure due to lack of TLS support.
13267
13268 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13269 putting the input text in front and in bold.
13270
13271 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13272
13273 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13274
13275 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13276 empty buffer.
13277
13278 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13279 unread-command-events rather than pushing yet-another event.
13280
13281 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13282
13283 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13284 the explanation of the possible choices. Make the options passed
13285 to completing-read shorter.
13286
13287 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13288
13289 * textmodes/flyspell.el (flyspell-large-region): Make sure
13290 extended character mode is used if defined (Bug#1339).
13291
13292 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13293
13294 * simple.el (what-cursor-position): Fix the display of the
13295 character info for LRE, LRO, RLE, and RLO characters by appending
13296 an invisible PDF.
13297
13298 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13301 even in case of error; add debug spec; simplify data flow.
13302 (with-timeout-handler): Remove.
13303
13304 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13305
13306 Fix Bug#6019, Bug#9315.
13307
13308 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13309 complete `buffer-file-name', the local file name part could look
13310 remotely (for example on VMS).
13311
13312 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13313 `tramp-run-real-handler'.
13314 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13315 already quoted by '"'.
13316
13317 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13318 Let `file-name-handler-alist' be nil, the local file name part
13319 could look remotely (for example on VMS).
13320
13321 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13322
13323 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13324 from here...
13325 (flyspell-post-command-hook): ...to here.
13326
13327 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13330 if not needed.
13331 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13332 using completion. Protect against "slow" callers.
13333 Remove the "message hack".
13334
13335 2011-10-11 Juri Linkov <juri@jurta.org>
13336
13337 * isearch.el (isearch-lazy-highlight-word): New variable.
13338 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13339 Use it. (Bug#9727)
13340
13341 2011-10-11 Glenn Morris <rgm@gnu.org>
13342
13343 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13344 like f90-previous-statement does.
13345
13346 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13347
13348 * eshell/eshell.el (eshell-command): History should be saved
13349 only in interactive use, to avoid error.
13350
13351 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * minibuffer.el (completion-file-name-table): Fix last change,
13354 i.e. ignore normal errors but not the other ones.
13355
13356 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13357
13358 * window.el (special-display-buffer-names)
13359 (special-display-regexps): Remove some remnants of earlier
13360 changes from doc-strings.
13361 (quit-windows-on): New function.
13362
13363 * vc/vc.el (vc-revert, vc-rollback):
13364 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13365 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13366 (Bug#6183) (Bug#7074) (Bug#7447)
13367
13368 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13369
13370 * window.el (frame-auto-hide-function): Add version tag.
13371 (Bug#9699)
13372
13373 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13374
13375 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13376 condition.
13377
13378 2011-10-09 Leo Liu <sdl.web@gmail.com>
13379
13380 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13381 (Bug#9701)
13382
13383 2011-10-08 Glenn Morris <rgm@gnu.org>
13384
13385 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13386 before the first code statement zero indent. (Bug#9690)
13387
13388 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13389
13390 * simple.el (count-words-region): Always count in the region.
13391 Report the number of lines and characters too.
13392 (count-words): New command, which counts in the buffer if the
13393 region is inactive, as count-words-region used to.
13394 (count-words--message): New function. Handle plurals.
13395 (count-lines-region): Make it an alias for count-words-region.
13396
13397 * bindings.el (esc-map): Replace count-lines-region with
13398 count-words-region.
13399
13400 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13401
13402 * window.el (window--delete): Delete dedicated frame
13403 unconditionally when argument KILL is non-nil. (Bug#9699)
13404 (switch-to-buffer): Fix doc-string typo.
13405
13406 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13407
13408 * eshell/eshell.el (eshell-command): Avoid using hooks.
13409
13410 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13411
13412 * bindings.el ([M-left],[M-right]): Bind to left-word and
13413 right-word respectively.
13414
13415 2011-10-07 Glenn Morris <rgm@gnu.org>
13416
13417 * cus-start.el (debug-on-quit): Fix custom type.
13418
13419 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13420
13421 * subr.el (define-key-after): Clarify that the function is not
13422 useful for non-menu keymaps.
13423
13424 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13425
13426 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13427
13428 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13429 in current minibuffer (Fix bug with recursive minibuffers).
13430
13431 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13432
13433 * progmodes/gdb-mi.el (gdb): Doc fix.
13434
13435 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13436
13437 * window.el (frame-auto-hide-function): New option replacing
13438 frame-auto-delete. Suggested by Stefan Monnier.
13439 (window--delete): Call frame-auto-hide-function instead of
13440 investigating frame-auto-delete.
13441 (window-point-1, set-window-point-1): New functions.
13442 (window-in-direction, record-window-buffer, window-state-get-1)
13443 (display-buffer-record-window): Use window-point-1 instead of
13444 window-point.
13445 (set-window-buffer-start-and-point): Use set-window-point-1.
13446
13447 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13450
13451 2011-10-05 Glenn Morris <rgm@gnu.org>
13452
13453 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13454 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13455
13456 2011-10-05 Leo Liu <sdl.web@gmail.com>
13457
13458 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13459 works with buffer object.
13460
13461 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13462
13463 * mpc.el (mpc-tool-bar-map): Add labels.
13464
13465 2011-10-04 Glenn Morris <rgm@gnu.org>
13466
13467 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13468
13469 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13470
13471 * window.el (window--delete): New function.
13472 (frame-auto-delete): Resuscitate option.
13473 (bury-buffer, replace-buffer-in-windows)
13474 (quit-window): Rewrite using window--delete.
13475 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13476 Pass display-buffer-mark-dedicated to window--display-buffer-2
13477 (Bug#9639).
13478
13479 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13482 returns a list (bug#9554). Add remote file name completion.
13483 * comint.el (comint--table-subvert): Curry and get quote&unquote
13484 functions as arguments.
13485 (comint--complete-file-name-data): Adjust call accordingly.
13486 * pcomplete.el (pcomplete--table-subvert): Remove.
13487 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13488
13489 * minibuffer.el (completion-table-case-fold): Use currying.
13490 (completion--styles-type, completion--cycling-threshold-type):
13491 New constants.
13492 (completion-styles, completion-category-overrides)
13493 (completion-cycle-threshold): Use them.
13494 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13495 completion-table-case-fold.
13496
13497 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13498
13499 * minibuffer.el (completion-category-overrides): Fix type of styles
13500 and add more user friendly tags (bug#9660).
13501
13502 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13503
13504 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13505 (mule-input-method-string): New widget.
13506 (default-input-method, language-info-custom-alist): Use it.
13507
13508 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * pcomplete.el: Require comint.
13511 (pcomplete--common-suffix): Remove.
13512 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13513 (pcomplete--table-subvert): Sync with comint--table-subvert.
13514 (pcomplete--entries): Use comint-completion-file-name-table.
13515 * comint.el (comint-unquote-filename): Simplify.
13516 (comint-completion-file-name-table): New function (bug#9616).
13517 (comint--complete-file-name-data): Use it.
13518
13519 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13520 (pcmpl-gnu-tar-buffer): Remove.
13521 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13522 around. Make sure pcomplete-suffix-list is only changed temporarily.
13523 Don't look inside the tar's file if it's too large.
13524
13525 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13526
13527 * cus-edit.el (custom-mode-map):
13528 * epa.el (epa-key-list-mode-map):
13529 * man.el (Man-mode-map):
13530 * startup.el (splash-screen-keymap):
13531 * simple.el (special-mode-map): Use scroll-up-command and
13532 scroll-down-command.
13533
13534 * progmodes/idlw-help.el (idlwave-help-mode-map):
13535 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13536 * net/newst-plainview.el (newsticker-mode-map):
13537 * emulation/ws-mode.el (wordstar-mode-map):
13538 * emulation/vi.el (vi-com-map):
13539 * calc/calc-graph.el (calc-graph-show-dumb):
13540 * term/sun.el (terminal-init-sun):
13541 * term/ns-win.el (global-map):
13542 * progmodes/grep.el (grep-mode-map):
13543 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13544 * mail/rmail.el (rmail-mode-map):
13545 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13546
13547 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13548 custom-safe-themes as special.
13549
13550 2011-10-01 Julien Danjou <julien@danjou.info>
13551
13552 * notifications.el (notifications-notify): Fix docstring.
13553
13554 2011-10-01 Per Starbäck <per@starback.se>
13555
13556 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13557
13558 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13559
13560 * startup.el (command-line-1): Fix last fix by inserting
13561 initial-scratch-message into *scratch* before displaying it.
13562 (Bug#9605) and (Bug#9636)
13563
13564 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13565
13566 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13567 window is hscrolled, move by logical lines. (Bug#9607)
13568 (line-move-visual): Update the doc string to the above effect.
13569
13570 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13571
13572 * window.el (display-buffer-record-window): When WINDOW is the
13573 selected window use `point' instead of `window-point'. (Bug#9626)
13574
13575 * startup.el (command-line-1): Use insert-before-markers when
13576 inserting initial-scratch-message. (Bug#9605)
13577
13578 * help.el (help-window): Remove variable.
13579
13580 2011-09-29 Glenn Morris <rgm@gnu.org>
13581
13582 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13583
13584 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13585
13586 * descr-text.el (describe-char-categories): Accept category
13587 descriptions more than one line long.
13588
13589 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * simple.el (delete-trailing-whitespace): Fix last change.
13592
13593 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13594 Don't confuse "y => 3" as the beginning of a `y' operation.
13595
13596 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13597 object has more than 4 slots (bug#9613).
13598
13599 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13600
13601 * subr.el (with-output-to-temp-buffer):
13602 * net/quickurl.el (quickurl, quickurl-browse-url):
13603 Fix typos in docstrings.
13604
13605 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13606
13607 * minibuffer.el (completion-styles)
13608 (completion-category-overrides): Cross reference each other in doc
13609 strings.
13610
13611 2011-09-27 Glenn Morris <rgm@gnu.org>
13612
13613 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13614 to split-string. (Bug#9606)
13615
13616 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13617
13618 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13619 (bug#9615).
13620
13621 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13622
13623 * emacs-lisp/package.el (list-packages): Fix echo area message.
13624
13625 2011-09-27 Leo Liu <sdl.web@gmail.com>
13626
13627 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13628
13629 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13630
13631 * net/dbus.el (dbus-unregister-object): Don't release services for
13632 registered signals. (Bug#9581)
13633
13634 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13635
13636 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13637 function that picks between cfengine 2 and 3 support
13638 automatically. Update docs accordingly.
13639
13640 2011-09-22 Kenichi Handa <handa@m17n.org>
13641
13642 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13643 ZERO.
13644 (indian-itrans-v5-table-for-tamil): New variable.
13645 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13646
13647 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13648
13649 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13650 that's true if the current command involved collapsing of text.
13651 It's reset to false at the beginning of the next command.
13652 (allout-post-command-business): Move the cursor to the beginning
13653 of entry if the cursor is hidden and collapsing activity just
13654 happened.
13655
13656 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13657
13658 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13659 tracking (Bug#9541).
13660
13661 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13662
13663 * net/newst-reader.el (newsticker-html-renderer)
13664 (newsticker-show-news): Automatically load html rendering package
13665 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13666 because w3m-fill-column is let-bound" and the error "Symbol's value
13667 as variable is void: w3m-fill-column".
13668
13669 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13670
13671 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13672 Release services only if they are defined. (Bug#9581)
13673
13674 2011-09-23 Richard Stallman <rms@gnu.org>
13675
13676 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13677 distinguish start of paragraph from start of its text.
13678
13679 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13680
13681 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13682 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13683 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13684
13685 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13686
13687 * international/mule-diag.el (mule-diag): Insert a newline after
13688 each fontset description.
13689
13690 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * simple.el (delete-trailing-whitespace):
13693 Document last change; simplify.
13694
13695 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13696
13697 * simple.el (delete-trailing-whitespace): Also delete
13698 extra newlines at the end of the buffer.
13699
13700 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13701 (picture-newline): Use forward-line so as to ignore fields.
13702
13703 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13704
13705 * subr.el (with-wrapper-hook): Fix edebug spec.
13706
13707 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13708
13709 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13710 (bug#4538).
13711
13712 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13713
13714 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13715 Fix nasty bug using wrong cached values.
13716
13717 2011-09-23 Alan Mackenzie <acm@muc.de>
13718
13719 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13720
13721 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13722
13723 * window.el (pop-to-buffer): Ensure right window is selected if we
13724 chose another frame.
13725
13726 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13727
13728 * simple.el (what-cursor-position): Use get-char-property-change
13729 and next-single-char-property-change, to be able to show display
13730 properties that come from overlays as well as text properties.
13731
13732 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13733
13734 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13735
13736 * cmuscheme.el (run-scheme, switch-to-scheme):
13737 * cus-edit.el (customize-group, custom-buffer-create)
13738 (customize-browse):
13739 * info.el (info):
13740 * shell.el (shell):
13741 * mail/sendmail.el (mail):
13742 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13743
13744 2011-09-22 Richard Stallman <rms@gnu.org>
13745
13746 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13747 move back only to line beg, don't move back over blank lines.
13748
13749 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13750
13751 * files.el (copy-directory): Set directory attributes only in case
13752 they could be retrieved from the source directory. (Bug#9565)
13753
13754 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13755
13756 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13757 (hs-find-block-beginning, hs-hide-level-recursive):
13758 Ignore strings as well as comments. (Bug#9502)
13759
13760 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13761
13762 * progmodes/sql.el (sql-comint-postgres):
13763 Convert port number to a string. (Bug#9566)
13764
13765 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13766
13767 * window.el (quit-window): Undedicate window when switching to
13768 previous buffer. Reported by Thierry Volpiatto
13769 <thierry.volpiatto@gmail.com>.
13770 (special-display-popup-frame): When popping up a new frame reset
13771 its previous buffers to nil. Simplify code.
13772
13773 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13774
13775 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13776 and process filter, as done also in `shell-command'.
13777
13778 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13779
13780 * window.el (set-window-buffer-start-and-point):
13781 Call set-window-start with NOFORCE argument t.
13782 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13783 (quit-window): Reword doc-string. Handle new format of
13784 quit-restore parameter. Don't delete window if it has a
13785 previous buffer we can show instead of the present one.
13786 (display-buffer-record-window): Rewrite using a new format for
13787 the quit-restore window parameter
13788 (special-display-popup-frame, display-buffer-same-window)
13789 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13790 (display-buffer-pop-up-window, display-buffer-use-some-window):
13791 Adapt symbol passed to display-buffer-record-window.
13792 * help.el (help-window-setup): Handle new format of quit-restore
13793 parameter.
13794
13795 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * faces.el (face-list): Fix docstring (bug#9564).
13798
13799 * window.el (display-buffer--action-function-custom-type):
13800 Don't include internal functions in the Custom interface.
13801
13802 2011-09-20 Juri Linkov <juri@jurta.org>
13803
13804 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13805 (Info-forward-node, Info-backward-node, Info-next-preorder)
13806 (Info-last-preorder): Use it. (Bug#9528)
13807
13808 2011-09-20 Juri Linkov <juri@jurta.org>
13809
13810 * info.el (Info-last-preorder): Visit last menu item only when
13811 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13812
13813 2011-09-20 Julien Danjou <julien@danjou.info>
13814
13815 * password-cache.el (password-cache-remove): Remove entries even if the
13816 value is nil, so that password with a nil value (negative caching) is
13817 possible to invalidate.
13818
13819 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13820
13821 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13822 all whitespace around breakpoint. (Bug#9553)
13823 (f90-find-breakpoint): Only break at whitespace inside a comment.
13824
13825 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * minibuffer.el (completion-file-name-table): Keep track of errors.
13828 (completion-table-with-predicate): Handle the case where pred1 is nil.
13829 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13830
13831 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13832
13833 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13834 (debugger-return-value): Signal an error if the debugging context does
13835 not await any return value.
13836
13837 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13838 * image-mode.el (image-toggle-display-text)
13839 (image-toggle-display-image): Stay away from evil `intangible'.
13840
13841 2011-09-19 Leo Liu <sdl.web@gmail.com>
13842
13843 * replace.el (occur-revert-arguments): Make it permanent-local.
13844 (occur-mode): Don't call font-lock-defontify.
13845
13846 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13847
13848 * net/ldap.el (ldap-search-internal): Don't push empty search
13849 result (Bug#9508).
13850
13851 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13854
13855 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13856
13857 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13858 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13859
13860 2011-09-18 Juri Linkov <juri@jurta.org>
13861
13862 * buff-menu.el (Buffer-menu-mode-map):
13863 * dired.el (dired-mode-map):
13864 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13865 (lisp-interaction-mode-map):
13866 * emacs-lisp/package.el (package-menu-mode-map):
13867 * epa.el (epa-key-list-mode-map):
13868 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13869 (menu-bar-options-menu):
13870 * outline.el (outline-mode-menu-bar-map):
13871 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13872 * vc/vc-dir.el (vc-dir-menu-map):
13873 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13874 Capitalize non-function content words in menu item strings.
13875
13876 * dired.el (dired-mode-map): Add menu item for
13877 `image-dired-dired-toggle-marked-thumbs'.
13878
13879 2011-09-18 Juri Linkov <juri@jurta.org>
13880
13881 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13882 to `isearch-case-fold-search' and restore its original value
13883 after the `isearch-mode' call.
13884
13885 2011-09-18 Juri Linkov <juri@jurta.org>
13886
13887 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13888 because `zgrep' returns 1 for successful matches (bug#9226).
13889
13890 2011-09-18 Juri Linkov <juri@jurta.org>
13891
13892 * info.el (Info-extract-menu-node-name): Check the second match
13893 for empty string (second test-case of bug#9528).
13894 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13895 intermediate nodes to the history (first test-case of bug#9528).
13896
13897 2011-09-18 Juri Linkov <juri@jurta.org>
13898
13899 * info.el (Info-mode-syntax-table): New variable.
13900 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13901
13902 2011-09-18 Juri Linkov <juri@jurta.org>
13903
13904 * info.el (Info-file-supports-index-cookies):
13905 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13906 outputs one more line for long file names (bug#4142).
13907
13908 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13909
13910 * newcomment.el (comment-normalize-vars): If prompting for
13911 comment-start, set comment-start-skip too (Bug#8424).
13912
13913 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13914
13915 * icomplete.el: Fix previous fix of Bug#5849.
13916 (icomplete-mode): Don't set completion-show-inline-help.
13917 (icomplete-minibuffer-setup): Set completion-show-inline-help
13918 locally during icompletion.
13919
13920 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13921
13922 * woman.el (woman2-process-escapes): Don't delete unrecognized
13923 escapes (Bug#7843).
13924
13925 * files.el (inhibit-first-line-modes-regexps): Add image files.
13926 (hack-local-variables-prop-line): Return nil for malformed
13927 prop-lines (Bug#9044).
13928
13929 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13930
13931 * net/tramp.el (top): Don't require 'shell.
13932 (tramp-methods): Fix docstring.
13933 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13934 Return complete remote file name. Handle "smb" case.
13935 Use `tramp-tmpdir', if defined for the respective method.
13936 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13937
13938 * net/tramp-compat.el (top): Require 'shell.
13939
13940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13941 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13942 `tramp-current-host'.
13943 (tramp-get-remote-tmpdir): Remove.
13944
13945 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13946 `tramp-tmpdir' entries.
13947 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13948 (tramp-smb-handle-file-attributes): Ignore errors.
13949 (tramp-smb-wait-for-output): Check also for process end.
13950
13951 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13952
13953 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13954 when sending QUIT (bug#9312).
13955
13956 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13957
13958 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13959 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13960 occur-mode-display-occurrence.
13961 (occur-edit-mode): Add usage message.
13962 (occur-cease-edit): New command.
13963 (occur-after-change-function): Use text properties to find the
13964 position of the prefix text.
13965 (occur-engine): Set stickiness of prefix text properties.
13966
13967 2011-09-17 Glenn Morris <rgm@gnu.org>
13968
13969 * progmodes/etags.el (complete-tag):
13970 Fix call to completion-in-region. (Bug#9526)
13971
13972 2011-09-17 Juri Linkov <juri@jurta.org>
13973
13974 * textmodes/ispell.el (ispell-word): Add to the error message
13975 the word, ispell program name and current dictionary (bug#9121).
13976 (ispell-tex-arg-end): Capitalize "error" in the error message.
13977
13978 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13979
13980 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13981 check. (Bug#4251)
13982
13983 2011-09-17 Juri Linkov <juri@jurta.org>
13984
13985 * window.el (window-safe-min-height, window-safe-min-width):
13986 Fix typos (followup to bug#9522).
13987
13988 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13989
13990 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13991
13992 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13993
13994 * simple.el (line-move): If goal-column is set, move by logical
13995 lines, not by display lines. (Bug#971)
13996 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13997 to reflect the above change.
13998
13999 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14000
14001 * image.el (imagemagick-register-types): Use regexp-opt.
14002
14003 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14004
14005 * window.el (display-buffer-base-action): Rename from
14006 display-buffer-default-action. Make default value empty.
14007 (display-buffer-overriding-action): Convert to defvar.
14008 (display-buffer-fallback-action): New var.
14009
14010 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14013 declaration.
14014 (package--add-to-archive-contents): If there is a duplicate entry
14015 with an older version, remove it.
14016 (package-menu-mark-delete, package-menu-mark-install)
14017 (package-menu-mark-unmark): Make unused args optional.
14018 (package-menu-mark-obsolete-for-deletion):
14019 Use package-menu-get-status instead of a regexp search.
14020 (package-menu-get-status): Use tabulated-list-entry.
14021 (package-menu-mark-upgrades): New command.
14022 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14023 (package-menu-execute): Do installation before deletion.
14024 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14025 instead of checking major-mode.
14026 (package-menu--find-upgrades): New function.
14027
14028 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14029
14030 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14031 passwords in the log buffer.
14032 (smtpmail-process-filter): Update the process marker so that the
14033 "broken by peer" status message is inserted in the right place.
14034
14035 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14038 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14039 bibtex-completion-at-point-function.
14040 (bibtex-completion-at-point-function): Use them.
14041
14042 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14043
14044 * mpc.el (mpc-constraints-tag-lookup): New function.
14045 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14046 also to browser "album|playlist".
14047
14048 2011-09-14 Juri Linkov <juri@jurta.org>
14049
14050 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14051 (isearch-edit-string): Use length of `isearch-string' when
14052 `isearch-fail-pos' returns nil.
14053 (isearch-message): Remove duplicate code and call
14054 `isearch-fail-pos' with arg `t'.
14055
14056 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * replace.el (occur-mode-goto-occurrence): Don't force using other
14059 window (Bug#9499).
14060
14061 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14062
14063 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14064
14065 * window.el (display-buffer-window): Remove.
14066 (display-buffer-record-window): Use help-setup window parameter
14067 instead of variable display-buffer-window.
14068 (display-buffer-function, special-display-buffer-names)
14069 (special-display-function): Mention help-setup parameter instead
14070 of display-buffer-window in doc-string.
14071 * help.el (help-window-setup): New argument help-window.
14072 Use help-window-setup parameter instead of display-buffer-window.
14073 Reword some messages.
14074 (with-help-window): Pass window used for displaying the buffer
14075 to help-window-setup. Don't set display-buffer-window.
14076
14077 2011-09-13 Glenn Morris <rgm@gnu.org>
14078
14079 * emacs-lisp/debug.el (debugger-make-xrefs):
14080 Preserve point. (Bug#9462)
14081
14082 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14083
14084 * window.el (window-deletable-p): Use next-frame.
14085
14086 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14087
14088 * window.el (window-auto-delete): Remove.
14089 (window-deletable-p): Remove argument FORCE. Don't deal with
14090 dedication and previous buffers.
14091 (switch-to-prev-buffer): Don't delete window.
14092 (delete-windows-on): Delete a window's frame if and only if the
14093 window is dedicated.
14094 (replace-buffer-in-windows): Delete buffer's window or frame if
14095 and only if window is dedicated.
14096 (quit-window): Handle quit-restore as before last change.
14097 (bury-buffer): Delete window only if window-deletable-p returns t.
14098
14099 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14100
14101 * window.el (window-deletable-p): Never delete the last frame on a
14102 given terminal.
14103
14104 2011-09-13 Glenn Morris <rgm@gnu.org>
14105
14106 * help.el (describe-key-briefly): Copy previous standard-output change.
14107
14108 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14109
14110 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14111
14112 2011-09-13 Glenn Morris <rgm@gnu.org>
14113
14114 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14115 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14116
14117 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14118
14119 * dired-aux.el (dired-mark-read-string): Don't return default
14120 value on empty input (Bug#9361).
14121 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14122 Omit initial minibuffer contents.
14123 (dired-do-chmod): Signal an error on empty input.
14124 (dired-mark-read-string): Don't return default on empty input.
14125
14126 * files.el (file-modes-symbolic-to-number): Doc fix.
14127
14128 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * international/mule-cmds.el (ucs-completions): Remove.
14131 (read-char-by-name): Use complete-with-action instead; add metadata.
14132
14133 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14134
14135 * window.el (display-buffer--action-function-custom-type)
14136 (display-buffer--action-custom-type): New vars.
14137 (display-buffer-alist, display-buffer-default-action)
14138 (display-buffer-overriding-action): Add defcustom types.
14139
14140 * frame.el (delete-other-frames): Doc fix (Bug#276).
14141
14142 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14143
14144 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14145
14146 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14147
14148 Change modes that used same-window-* vars to use switch-to-buffer.
14149
14150 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14151 Use switch-to-buffer.
14152
14153 * cus-edit.el (customize-group, custom-buffer-create)
14154 (customize-browse, custom-buffer-create-other-window):
14155 Use switch-to-buffer or switch-to-buffer-other-window.
14156
14157 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14158 (Info-prev, Info-up, Info-speedbar-goto-node)
14159 (info-display-manual): Use switch-to-buffer.
14160 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14161
14162 * mail/sendmail.el (mail): Use switch-to-buffer.
14163 (mail-recover): Use switch-to-buffer-other-window.
14164
14165 * cmuscheme.el (run-scheme, switch-to-scheme):
14166 * ielm.el (ielm):
14167 * shell.el (shell):
14168 * net/rlogin.el (rlogin):
14169 * net/telnet.el (telnet, rsh):
14170 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14171
14172 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14173
14174 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14175
14176 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14177
14178 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14179 so don't mention it (bug#9301).
14180 (dired-sort-toggle-or-edit): Clarify string further.
14181
14182 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14183 match `x', `w32' and `ns', like the manual says (bug#9029).
14184
14185 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14186 (process-kill-buffer-query-function): Mention the buffer name in
14187 the query.
14188
14189 * image-mode.el (image-next-line): The line parameter is mandatory
14190 (bug#9258).
14191
14192 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14193 which can be useful (bug#9301).
14194
14195 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14196
14197 * subr.el (match-string): Mention that the current buffer should
14198 be the same as the search was done in (bug#9282).
14199
14200 * facemenu.el: Disable the remove-* commands if the mark isn't
14201 active (bug#9162).
14202
14203 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14204
14205 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14206 of display-buffer.
14207 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14208
14209 * replace.el (occur-mode-goto-occurrence)
14210 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14211 and display-buffer.
14212
14213 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14214 display-buffer.
14215
14216 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14217 special-display and same-window variables.
14218 (mail-other-window): Use switch-to-buffer-other-window.
14219 (mail-other-frame): USe switch-to-buffer-other-frame.
14220
14221 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14222 Use display-buffer-other-frame.
14223 (gdb-display-gdb-buffer): Use pop-to-buffer.
14224
14225 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14226
14227 * progmodes/python.el: Don't set same-window-buffer-names.
14228
14229 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14230
14231 * window.el (display-buffer-alist): Add *Python*.
14232
14233 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14234
14235 * window.el (display-buffer-alist): Add entry for buffers
14236 previously handled same-window-*.
14237 (display-buffer-alist, display-buffer-default-action)
14238 (display-buffer-overriding-action): Mark as risky.
14239 (display-buffer-alist): Document action function changes.
14240 (display-buffer--same-window-action)
14241 (display-buffer--other-frame-action): New variables.
14242 (switch-to-buffer, display-buffer-other-frame): Use them.
14243 (display-buffer): Rename reuse-frame entry to reusable-frames.
14244 (display-buffer-reuse-selected-window): Function deleted.
14245 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14246 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14247 (display-buffer-special): New function.
14248 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14249 display-buffer-reuse-or-pop-window. Split off special-display
14250 part into display-buffer-special.
14251 (display-buffer-use-some-window): Don't perform any special
14252 pop-up-frames handling.
14253 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14254 (display-buffer--maybe-same-window): Rename from
14255 display-buffer-maybe-same-window.
14256
14257 * info.el: Don't set same-window-regexps.
14258 (info-setup): New function.
14259 (info-other-window, info): Call it.
14260
14261 * cus-edit.el: Don't set same-window-regexps.
14262 (customize-group): New argument.
14263 (customize-group-other-window): Use it.
14264 (customize-face, customize-face-other-window): Likewise.
14265 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14266
14267 * net/rlogin.el:
14268 * net/telnet.el:
14269 * progmodes/gud.el: Don't set same-window-regexps.
14270
14271 * cmuscheme.el:
14272 * ielm.el:
14273 * shell.el:
14274 * mail/sendmail.el:
14275 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14276
14277 2011-09-10 Juri Linkov <juri@jurta.org>
14278
14279 * isearch.el (isearch-edit-string): Remove obsolete mention of
14280 `C-w' (`isearch-yank-word-or-char') from docstring.
14281 (isearch-query-replace): Fix typo in docstring (bug#9466).
14282
14283 2011-09-10 Juri Linkov <juri@jurta.org>
14284
14285 * paren.el (show-paren-function): Don't show escaped parens.
14286 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14287
14288 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14289
14290 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14291 (mm-default-file-encoding): Remove autoload forms, they are
14292 replaced with autoload cookies in mml.el and mm-encode.el.
14293 (mail-add-attachment): New command.
14294 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14295 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14296 the doc string.
14297 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14298
14299 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14300
14301 * simple.el (count-words-region): Use buffer if there's no region
14302 (bug#9429).
14303
14304 2011-09-09 Juri Linkov <juri@jurta.org>
14305
14306 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14307 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14308 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14309
14310 2011-09-09 Alan Mackenzie <acm@muc.de>
14311
14312 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14313 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14314
14315 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14316
14317 Fix for Savannah bug#9392.
14318 * simple.el (mail-encode-mml): New defvar.
14319
14320 * mail/rmail.el (mail-encode-mml): Add a defvar.
14321 (rmail-enable-mime-composing): Default to t.
14322 (rmail-forward): Use MIME method of forwarding only if both
14323 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14324 Set mail-encode-mml non-nil if the MIME method was used.
14325
14326 * mail/sendmail.el (mml-to-mime): Add autoload form.
14327 (mail-encode-mml): Add a defvar.
14328 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14329 to nil.
14330 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14331 message through mml-to-mime, and reset mail-encode-mml to nil.
14332
14333 2011-09-09 Glenn Morris <rgm@gnu.org>
14334
14335 * woman.el (woman-if-body): When processing an .el block,
14336 do not delete the next .el block as well. (Bug#9447)
14337 (woman-special-characters): Add oq, cq, and hy characters.
14338
14339 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14340
14341 * window.el (window-deletable-p): Make sure window is live before
14342 invoking window-prev-buffers.
14343
14344 2011-09-08 Leo Liu <sdl.web@gmail.com>
14345
14346 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14347
14348 2011-09-08 Juri Linkov <juri@jurta.org>
14349
14350 * progmodes/compile.el (compilation-environment): Make it
14351 a defcustom (bug#8340).
14352
14353 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14354
14355 * window.el (frame-auto-delete): Rename to window-auto-delete.
14356 Make it control auto-deletion of windows and/or frames.
14357 (window-deletable-p): New argument FORCE. Rewrite conditions
14358 for deleting window/frame. (Bug#9419)
14359 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14360 Rewrite handling of case when window/frame can be deleted.
14361 (delete-windows-on): Call window-deletable-p with new FORCE
14362 argument t. (Bug#9456)
14363
14364 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14365
14366 * help-mode.el (help-mode): Restore autoload.
14367
14368 2011-09-07 Juri Linkov <juri@jurta.org>
14369
14370 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14371 `compilation-environment'. Set buffer-local
14372 `compilation-environment' to `thisenv' later after (funcall mode).
14373 (Bug#8340)
14374
14375 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14376 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14377 instead of replacing its value. (Bug#8340)
14378
14379 2011-09-07 Juri Linkov <juri@jurta.org>
14380
14381 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14382 based on text properties put by `grep-filter' instead of matching
14383 escape sequences.
14384 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14385 to the value of `grep-error-screen-columns' (bug#9438).
14386
14387 2011-09-07 Juri Linkov <juri@jurta.org>
14388
14389 * simple.el (next-error-highlight, next-error-highlight-no-select):
14390 Doc fix (bug#9432).
14391
14392 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14393
14394 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14395 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14396
14397 2011-09-07 Leo Liu <sdl.web@gmail.com>
14398
14399 * net/rcirc.el (rcirc-mode): Conditionally initialize
14400 rcirc-input-ring.
14401
14402 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * emacs-lisp/find-func.el (find-function-C-source): Only set
14405 find-function-C-source-directory after checking that we found a source
14406 file there (bug#9440).
14407
14408 2011-09-06 Alan Mackenzie <acm@muc.de>
14409
14410 * isearch.el (isearch-other-meta-char): Wherever a key list is
14411 unread, "unread" the prefix arg, too. This fixes bug #8901.
14412
14413 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14414
14415 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14416
14417 2011-09-05 Juri Linkov <juri@jurta.org>
14418
14419 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14420
14421 2011-09-05 Juri Linkov <juri@jurta.org>
14422
14423 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14424 keeping point where processing of grep matches begins, and
14425 continue to delete remaining escape sequences from the same point.
14426 (grep-filter): Make leading zero optional in "0?1;31m" because
14427 git-grep emits "\033[1;31m" escape sequences unlike expected
14428 "\033[01;31m" as GNU Grep does (bug#9408).
14429 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14430
14431 2011-09-05 Juri Linkov <juri@jurta.org>
14432
14433 * subr.el (y-or-n-p): Capitalize "yes".
14434
14435 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14436
14437 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14438 `tramp-cache-unload-hook' where appropriate.
14439 (tramp-methods): Rename `tramp-remote-sh' to
14440 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14441 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14442
14443 * net/tramp-sh.el (top): Don't require 'shell.
14444 (tramp-methods): Add `tramp-remote-shell' and
14445 `tramp-remote-shell-args' entries.
14446 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14447 (tramp-sh-handle-shell-command): Remove.
14448 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14449 Use `tramp-remote-shell'.
14450
14451 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * mail/sendmail.el (sendmail-query-once-function): Delete.
14454 (sendmail-query-once): Save directly to send-mail-function.
14455 Update message-send-mail-function too.
14456
14457 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14458
14459 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14460
14461 * progmodes/python.el (python-mode-map): Use correct function to
14462 start python interpreter from menu-bar (as reported by Geert
14463 Kloosterman).
14464 (inferior-python-mode-map): Fix typo.
14465 (python-shell-map): Remove.
14466
14467 2011-09-03 Deniz Dogan <deniz@dogan.se>
14468
14469 * net/rcirc.el (rcirc-print): Simplify code for
14470 rcirc-scroll-show-maximum-output. There is no need to walk
14471 through all windows to find the right one.
14472
14473 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14474
14475 * help.el (help-return-method): Doc fix.
14476
14477 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14478
14479 * window.el (window-deletable-p): Don't return a non-nil value
14480 when there's a buffer that was shown in the window before.
14481 (Bug#9419)
14482 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14483 Set window's previous buffers to nil.
14484
14485 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14486
14487 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14488 newline before and after the tag line, so it doesn't interfere
14489 with determining the paragraph direction of bidirectional text.
14490
14491 2011-09-03 Leo Liu <sdl.web@gmail.com>
14492
14493 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14494
14495 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14496
14497 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14498 (pop-to-buffer): Change interactive spec. Pass second argument
14499 directly to display-buffer.
14500 (display-buffer): Fix interactive spec. Use functionp to
14501 distinguish between a function and a list of functions.
14502
14503 * abbrev.el (edit-abbrevs):
14504 * arc-mode.el (archive-extract):
14505 * autoinsert.el (auto-insert):
14506 * bookmark.el (bookmark-bmenu-list):
14507 * files.el (find-file):
14508 * view.el (view-buffer):
14509 * progmodes/compile.el (compilation-goto-locus):
14510 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14511
14512 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14513
14514 * window.el (display-buffer-alist): Doc fix.
14515 (display-buffer): Add docstring. Don't treat
14516 display-buffer-default specially.
14517 (display-buffer-reuse-selected-window)
14518 (display-buffer-same-window, display-buffer-maybe-same-window)
14519 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14520 (display-buffer-pop-up-window)
14521 (display-buffer-reuse-or-pop-window)
14522 (display-buffer-use-some-window): New functions.
14523 (display-buffer-default-action): Use them.
14524 (display-buffer-default): Delete.
14525 (pop-to-buffer-1): Fix choice of actions.
14526
14527 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14528
14529 * minibuffer.el (completion--insert-strings): Don't get confused by
14530 completion entries that end with an LF char.
14531
14532 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14533
14534 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14535
14536 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14537
14538 * window.el (display-buffer): Restore interactive spec.
14539 (display-buffer-same-window, display-buffer-other-window):
14540 New functions.
14541 (pop-to-buffer-1): New function. Use the above.
14542 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14543 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14544
14545 * view.el (view-buffer-other-window, view-buffer-other-frame):
14546 Just use pop-to-buffer.
14547
14548 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14549
14550 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14551
14552 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14553
14554 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14555
14556 2011-08-31 Richard Stallman <rms@gnu.org>
14557
14558 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14559 of the separation of rmail-view-buffer from rmail-buffer.
14560 If you say no to "replace original", the decrypt is in the
14561 view buffer. If you say yes, the decrypt goes into the
14562 rmail buffer also.
14563
14564 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14565
14566 * window.el (display-buffer-window): Rewrite doc-string.
14567 (display-buffer-record-window): New function.
14568 (display-buffer-macro-specifiers)
14569 (display-buffer-even-window-sizes, display-buffer-set-height)
14570 (display-buffer-set-width, display-buffer-in-window)
14571 (display-buffer-reuse-window, display-buffer-split-specifiers)
14572 (display-buffer-side-specifiers, display-buffer-split-window-1)
14573 (display-buffer-split-window, display-buffer-split-atom-window)
14574 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14575 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14576 (display-buffer-other-window-means-other-frame)
14577 (display-buffer-normalize-special)
14578 (display-buffer-normalize-default)
14579 (display-buffer-normalize-argument)
14580 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14581 (display-buffer-normalize-specifiers, display-buffer-frame)
14582 (display-buffer-same-window, display-buffer-same-frame)
14583 (display-buffer-other-window)
14584 (display-buffer-same-frame-other-window)
14585 (display-buffer-other-frame, pop-to-buffer-same-window)
14586 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14587 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14588 (switch-to-buffer-same-frame)
14589 (switch-to-buffer-other-window-same-frame)
14590 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14591 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14592 (display-buffer-alist-set): Remove.
14593 (display-buffer-function, special-display-buffer-names)
14594 (special-display-regexps, special-display-function):
14595 In doc-string refer to display-buffer-window and quit-restore
14596 parameter.
14597 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14598 (special-display-frame-alist, special-display-popup-frame)
14599 (same-window-buffer-names, same-window-regexps, same-window-p)
14600 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14601 (split-window-preferred-function, split-height-threshold)
14602 (split-width-threshold, window-splittable-p)
14603 (split-window-sensibly, window--try-to-split-window)
14604 (window--frame-usable-p, even-window-heights)
14605 (window--even-window-heights, window--display-buffer-1)
14606 (window--display-buffer-2, display-buffer-other-frame):
14607 Restore old Emacs 23 code, order and doc-strings where applicable.
14608 (display-buffer-default, display-buffer-assq-regexp): New functions.
14609 (display-buffer-alist): Rewrite doc-string.
14610 (display-buffer-default-action)
14611 (display-buffer-overriding-action): New variables.
14612 (display-buffer, switch-to-buffer): Rewrite.
14613 (pop-to-buffer): Restore Emacs 23 behavior but use
14614 window-normalize-buffer-to-display.
14615 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14616 Restore Emacs 23 behavior but use
14617 window-normalize-buffer-to-switch-to.
14618 (pop-to-buffer-same-window): Rewrite.
14619 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14620 Rewrite using Emacs 23 options.
14621
14622 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14623
14624 * net/tramp.el (tramp-root-regexp): Remove.
14625 (tramp-completion-file-name-regexp-unified)
14626 (tramp-completion-file-name-regexp-separate)
14627 (tramp-completion-file-name-regexp-url): Don't use leading volume
14628 letter on w32 systems. (Bug#5303, Bug#9311)
14629 (tramp-drop-volume-letter): Simplify definition.
14630 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14631
14632 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14635 (bug#9356).
14636
14637 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14638
14639 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14640
14641 2011-08-29 Juri Linkov <juri@jurta.org>
14642
14643 * isearch.el (isearch-done): Don't display message "Mark saved"
14644 when arg `edit' is non-nil to prevent its flicker in the echo area.
14645
14646 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14649 obsolete packages for deletion.
14650
14651 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14652
14653 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14654 (help-mode): Derive help-mode from special-mode. Don't invoke
14655 view-mode from help-mode.
14656 (help-xref-override-view-map): Remove.
14657 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14658 view-mode is not used anymore.
14659
14660 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14661
14662 * server.el (server-port): Doc fix.
14663
14664 * cus-theme.el (custom-theme-choose-mode): Inherit from
14665 special-mode (Bug#9124).
14666 (custom-theme-choose-mode-map): Add special-mode to parent.
14667
14668 2011-08-28 Alan Mackenzie <acm@muc.de>
14669
14670 * progmodes/cc-fonts.el
14671 (c-make-font-lock-BO-decl-search-function): New function.
14672 (c-basic-matchers-after - "Fontify the clauses after various
14673 keywords"): Extract the three keyword lists for the 3 erroneous
14674 constructs from the list of four, and use the new function above
14675 in place of an old one.
14676
14677 2011-08-28 Deniz Dogan <deniz@dogan.se>
14678
14679 * net/rcirc.el (rcirc-insert-prev-input)
14680 (rcirc-insert-next-input): Remove unused argument.
14681
14682 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14685
14686 2011-08-27 Alan Mackenzie <acm@muc.de>
14687
14688 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14689 handle function pointer parameters properly.
14690
14691 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14692
14693 * window.el (display-buffer-reuse-window): Fix case where
14694 selected window was reused with non-nil OTHER-WINDOW argument.
14695 (Bug#9381)
14696
14697 2011-08-27 Deniz Dogan <deniz@dogan.se>
14698
14699 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14700 oftc's NickServ messages.
14701
14702 2011-08-27 Glenn Morris <rgm@gnu.org>
14703
14704 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14705
14706 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14707
14708 * emacs-lisp/package.el (package-install): Call package-initialize
14709 if called interactively.
14710
14711 2011-08-26 Leo Liu <sdl.web@gmail.com>
14712
14713 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14714
14715 2011-08-25 Juri Linkov <juri@jurta.org>
14716
14717 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14718 `search-whitespace-regexp' (bug#9364).
14719
14720 2011-08-25 Juri Linkov <juri@jurta.org>
14721
14722 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14723 `regexp-search-ring' to their global values to protect from
14724 updating by `read-from-minibuffer' (bug#9185).
14725
14726 2011-08-25 Juri Linkov <juri@jurta.org>
14727
14728 * textmodes/ispell.el (ispell-command-loop): Add newline
14729 at the end of the "Use option `i'..." line.
14730
14731 2011-08-25 Juri Linkov <juri@jurta.org>
14732
14733 * battery.el (display-battery-mode): If `battery-status-function'
14734 or `battery-mode-line-format' is nil, display the message and set
14735 `display-battery-mode' to nil (bug#9363).
14736
14737 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14738
14739 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14740 bidi-string-mark-left-to-right; they are unnecessary now.
14741
14742 2011-08-25 Deniz Dogan <deniz@dogan.se>
14743
14744 * net/quickurl.el: Documentation typo fixes.
14745
14746 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14747
14748 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14749
14750 2011-08-25 Glenn Morris <rgm@gnu.org>
14751
14752 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14753
14754 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14755 (smtpmail-via-smtp): Handle nil response from smtp.
14756
14757 2011-08-24 Juri Linkov <juri@jurta.org>
14758
14759 * proced.el (proced-marked): Inherit from `error' instead of
14760 `font-lock-warning-face'.
14761
14762 * ibuffer.el (ibuffer-marked-face): Change default face from
14763 `font-lock-warning-face' to `warning'.
14764 (ibuffer-deletion-face): Change default face from
14765 `font-lock-type-face' to `error'.
14766
14767 * battery.el (battery-update): Use the face `error' instead of
14768 `font-lock-warning-face' (bug#6117).
14769
14770 2011-08-24 Juri Linkov <juri@jurta.org>
14771
14772 * faces.el (success): Change face color from "Green3" to
14773 "ForestGreen" on light background (bug#9353).
14774
14775 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14776
14777 * window.el (quit-window): Rename from quit-restore-window.
14778 Use same arglist as old quit-window.
14779 (frame-auto-delete): Doc fix.
14780
14781 * view.el (view-mode-exit): Use quit-window.
14782
14783 2011-08-24 Juri Linkov <juri@jurta.org>
14784
14785 * isearch.el (isearch-ring-adjust1): Start visiting previous
14786 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14787 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14788 for empty search string (when the last search string is reused
14789 automatically) to adjust the isearch ring to the last element and
14790 prepare the correct index for further M-p commands (bug#9185).
14791
14792 2011-08-24 Kenichi Handa <handa@m17n.org>
14793
14794 * international/ucs-normalize.el: If decomposition property of
14795 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14796 nil.
14797 (nfd, nfkd): Likewise.
14798
14799 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14802 from process filters aren't reliably transmitted to the surrounding
14803 accept-process-output.
14804 (mpc-proc-check): New function.
14805 (mpc-proc-sync): Use it (bug#8293)
14806
14807 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14810 Add compatibility functions (bug#9313).
14811
14812 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14813
14814 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14815
14816 * international/uni-bidi.el: Regenerate.
14817
14818 2011-08-23 Kenichi Handa <handa@m17n.org>
14819
14820 * international/charprop.el:
14821 * international/uni-bidi.el:
14822 * international/uni-category.el:
14823 * international/uni-combining.el:
14824 * international/uni-comment.el:
14825 * international/uni-decimal.el:
14826 * international/uni-decomposition.el:
14827 * international/uni-digit.el:
14828 * international/uni-lowercase.el:
14829 * international/uni-mirrored.el:
14830 * international/uni-name.el:
14831 * international/uni-numeric.el:
14832 * international/uni-old-name.el:
14833 * international/uni-titlecase.el:
14834 * international/uni-uppercase.el: Regenerate.
14835
14836 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14837
14838 * help.el (help-window-setup): Fix message displayed when other
14839 window is reused. (Bug#9341)
14840
14841 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14842
14843 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14844 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14845
14846 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14847 Mark obsolete.
14848 * shell.el (shell-parse-pcomplete-arguments): New function.
14849 (shell-completion-vars): Use it instead (bug#9160).
14850
14851 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14854 strings and comments (bug#9333).
14855
14856 * emacs-lisp/debug.el (debug-arglist): New function.
14857 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14858 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14859
14860 2011-08-22 Juri Linkov <juri@jurta.org>
14861
14862 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14863 Revert regexp that highlights output switches to its old
14864 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14865
14866 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14867 to check for empty output (bug#9226).
14868
14869 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14870
14871 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14872 symbol-constituent as the default, as that stops font-lock from
14873 working properly (Bug#8843).
14874
14875 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14876
14877 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14878 `coding-system-for-*' around the process open call to avoid
14879 auth-source side effects.
14880 (smtpmail-try-auth-methods): Expand the secret password.
14881 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14882 probe hangs.
14883
14884 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14885
14886 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14887
14888 * emacs-lisp/find-func.el (find-function-noselect): New arg
14889 lisp-only.
14890
14891 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14892 signal an error for built-in functions (Bug#6664).
14893
14894 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14895
14896 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14897 (smtpmail-try-auth-methods): Use it.
14898
14899 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14900
14901 * font-lock.el (font-lock-fontify-region)
14902 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14903 (font-lock-default-unfontify-buffer)
14904 (font-lock-default-fontify-region)
14905 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14906
14907 * progmodes/compile.el (compilation-error-properties):
14908 Fix confusion between file struct and message struct (Bug#9319).
14909 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14910 `ant' regexp.
14911
14912 * net/browse-url.el (browse-url-firefox): Don't call
14913 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14914
14915 2011-08-20 Glenn Morris <rgm@gnu.org>
14916
14917 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14918
14919 * tutorial.el (tutorial--default-keys): Update some default bindings.
14920
14921 * files.el (hack-local-variables): Fully ignore case for "mode:".
14922
14923 2011-08-20 Alan Mackenzie <acm@muc.de>
14924
14925 Resolve invalid use of a regexp in regexp-opt.
14926
14927 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14928 detection for a java annotation.
14929
14930 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14931 detection for a java annotation.
14932
14933 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14934 handling for java.
14935 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14936
14937 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14938
14939 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14940 (Bug#9274).
14941
14942 2011-08-20 Alan Mackenzie <acm@muc.de>
14943
14944 Fontify CPP expressions correctly when starting in the middle of
14945 such a construct. Mainly for when jit-lock etc. starts a chunk
14946 here.
14947
14948 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14949 variable.
14950 (c-make-font-lock-search-form): New function, extracted from
14951 c-make-font-lock-search-function.
14952 (c-make-font-lock-search-function): Use the above function.
14953 (c-make-font-lock-context-search-function): New function.
14954 (c-cpp-matchers): Enhance the preprocessor expression case with
14955 the above function
14956 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14957 which takes an expression.
14958
14959 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14960
14961 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14962
14963 * window.el (display-buffer-reuse-window)
14964 (display-buffer-pop-up-window): Don't reuse or split a side
14965 window.
14966
14967 2011-08-19 Glenn Morris <rgm@gnu.org>
14968
14969 * files.el (hack-local-variables-prop-line, hack-local-variables):
14970 Downcase "Mode:". (Bug#9331)
14971
14972 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14973
14974 * international/characters.el: Add L and R categories.
14975
14976 * subr.el (bidi-string-mark-left-to-right): Rename from
14977 string-mark-left-to-right. Use category search.
14978
14979 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14980
14981 2011-08-18 Juri Linkov <juri@jurta.org>
14982
14983 * faces.el (error, warning, success): New faces with definitions
14984 copied from old default values of `font-lock-warning-face',
14985 `compilation-warning', `compilation-info' (bug#6117).
14986
14987 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14988
14989 * progmodes/compile.el (compilation-error): Inherit from `error'.
14990 (compilation-warning): Inherit from `warning'.
14991 (compilation-info): Inherit from `success'.
14992
14993 * dired.el (dired-marked): Inherit from `warning'.
14994 (dired-flagged): Inherit from `error'.
14995
14996 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14997
14998 * mail/smtpmail.el (auth-source): Require to avoid problems with
14999 binding variables (bug#9298). Also clean up some unused
15000 autoloads.
15001
15002 * net/network-stream.el (network-stream-open-starttls):
15003 Support using starttls.el without using gnutls-cli.
15004
15005 2011-08-17 Juri Linkov <juri@jurta.org>
15006
15007 * progmodes/grep.el (rgrep): Handle the case when
15008 `grep-find-command' is a cons cell (bug#9278).
15009
15010 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15011
15012 * window.el (display-buffer-pop-up-frame): Run frame creation
15013 function with BUFFER current (as special-display-popup-frame
15014 does). Reported by Drew Adams.
15015
15016 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15017
15018 * epa-mail.el: Simplify GnuPG group expansion using
15019 epg-expand-group.
15020 (epa-mail-group-alist, epa-mail-group-modtime)
15021 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15022 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15023 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15024 Remove.
15025
15026 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15027
15028 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15029
15030 2011-08-16 Alan Mackenzie <acm@muc.de>
15031
15032 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15033 Correct, to avoid the inside of macros.
15034
15035 2011-08-16 Richard Stallman <rms@gnu.org>
15036
15037 * epa-mail.el: Handle GnuPG group definitions.
15038 (epa-mail-group-alist, epa-mail-group-modtime)
15039 (epa-mail-gnupg-conf-file): New variables.
15040 (epa-mail-parse-groups, epa-mail-sync-groups)
15041 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15042 (epa-mail-expand-recipients): New functions.
15043 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15044
15045 * mail/rmail.el (rmail-epa-decrypt): New command.
15046
15047 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15048 Don't bind buffer-read-only, just inhibit-read-only.
15049 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15050 (epa-decrypt-armor-in-region): Make error message clearer.
15051
15052 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15053
15054 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15055 and "a2b" to "ab" for `prefix'.
15056
15057 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15058
15059 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15060 filter groups.
15061 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15062 Fourquet (Bug#8804).
15063
15064 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15065
15066 * startup.el (argi): Declare as global variable (bug#9275).
15067
15068 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15069
15070 * subr.el (string-mark-left-to-right): Search the entire string
15071 for RTL script, not just the terminating character. Doc fix.
15072
15073 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15076 New function.
15077 (js--regexp-literal, js-syntax-propertize-function): Remove.
15078 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15079 (js-mode-map): Don't rebind electric keys.
15080 (js-insert-and-indent): Remove.
15081 (js-mode): Setup electric-layout and electric-indent instead.
15082
15083 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15084
15085 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15086
15087 * epa.el (epa-progress-callback-function): Fix the logic of
15088 displaying progress.
15089 * epa-file.el (epa-file-insert-file-contents): Make progress
15090 display more user-friendly.
15091 (epa-file-write-region): Ditto.
15092
15093 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15094
15095 * subr.el (string-mark-left-to-right): New function.
15096
15097 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15098 Use string-mark-left-to-right.
15099 (list-buffers-noselect): Caller changed.
15100
15101 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15102 Use string-mark-left-to-right.
15103 (tabulated-list-print): Recenter after moving point.
15104
15105 2011-08-10 Juri Linkov <juri@jurta.org>
15106
15107 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15108 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15109 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15110
15111 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15112
15113 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15114 (Bug#7554).
15115
15116 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15117
15118 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15119 character. (Bug#6594)
15120
15121 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15122
15123 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15124 (image-dired--with-db-file): New macro.
15125 (image-dired-write-tags, image-dired-remove-tag)
15126 (image-dired-create-gallery-lists, image-dired-write-comments)
15127 (image-dired-get-comment, image-dired-mark-tagged-files)
15128 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15129 (image-dired-gallery-generate): Use insert-file-contents.
15130
15131 * time.el (display-time-world-list, display-time-world-display):
15132 * time-stamp.el (time-stamp-string):
15133 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15134 set-time-zone-rule (Bug#7337).
15135
15136 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15137
15138 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15139 (epg-error-to-string, epg-errors-to-string): New function.
15140 (epg-wait-for-completion): Reverse errors list.
15141 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15142 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15143 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15144 (epg-sign-keys, epg-generate-key-from-file)
15145 (epg-generate-key-from-string): Format errors by using
15146 epg-errors-to-string (bug#9255).
15147 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15148
15149 2011-08-07 Juri Linkov <juri@jurta.org>
15150
15151 * faces.el (list-faces-display): Remove extra angle bracket
15152 from `help-mode-map'.
15153
15154 * info.el (Info-history-toc-nodes): Doc fix.
15155
15156 * longlines.el (longlines-mode): Doc fix.
15157
15158 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15159
15160 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15161 of statements and in a few more cases (bug#9183).
15162
15163 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15164 New functions.
15165 (cl-transform-lambda): Use them (bug#9239).
15166
15167 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15168
15169 * window.el (display-buffer-same-window)
15170 (display-buffer-same-frame, display-buffer-other-window)
15171 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15172 (pop-to-buffer-other-window)
15173 (pop-to-buffer-same-frame-other-window)
15174 (pop-to-buffer-other-frame): Make them defuns.
15175 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15176
15177 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * subr.el (make-composed-keymap): Move from C. Change calling
15180 convention, and improve docstring to bring attention to a subtle point.
15181 * minibuffer.el (completing-read-default): Adjust accordingly.
15182
15183 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15184
15185 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15186 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15187
15188 * net/trampver.el: Update release number.
15189
15190 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15191
15192 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15193 "in" (bug#9190).
15194
15195 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * mail/sendmail.el (sendmail-query-once): Restore the current
15198 buffer after querying (bug#9074).
15199
15200 * dired.el (dired-flagged): Use different faces for marked and
15201 flagged files (bug#6117).
15202
15203 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15204 (bug#4433).
15205
15206 * ido.el (ido-mode): Switch off the message if called
15207 non-interactively.
15208
15209 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15210 before 587, since it appears that that's more likely to work for
15211 more people.
15212
15213 * cus-edit.el (custom-file): When running under emacs -q, always
15214 refuse to save the customizations, even if the .emacs file doesn't
15215 exist.
15216
15217 * info.el: Remove the `Info-beginning-of-buffer' function
15218 (bug#8325).
15219
15220 * net/network-stream.el (network-stream-open-starttls):
15221 Use `starttls-available-p' to see whether starttls.el can be used.
15222
15223 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15224
15225 * window.el (display-buffer-in-window): Don't set dedicated status
15226 of window here (Bug#9215).
15227 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15228 (display-buffer-pop-up-side-window)
15229 (display-buffer-in-side-window): Set dedicated status of window here.
15230
15231 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15234 before binding generated-autoload-file.
15235
15236 2011-08-01 Deniz Dogan <deniz@dogan.se>
15237
15238 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15239
15240 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15241
15242 Sync with Tramp 2.2.2.
15243
15244 * net/trampver.el: Update release number.
15245
15246 2011-07-30 Juri Linkov <juri@jurta.org>
15247
15248 * dired-aux.el (dired-touch-initial): Remove function.
15249 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15250 current time, and `default' to the last modification time of the
15251 current marked file (bug#6887).
15252
15253 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15254
15255 * simple.el (goto-line): Use string-to-number to provide a
15256 numeric argument to read-number (bug#9163).
15257
15258 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15259
15260 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15261 connection process, it could be nil.
15262
15263 2011-07-27 Leo Liu <sdl.web@gmail.com>
15264
15265 Simplify url handling in rcirc-mode.
15266
15267 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15268 (rcirc-browse-url-at-mouse): Remove.
15269 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15270
15271 2011-07-26 Alan Mackenzie <acm@muc.de>
15272
15273 Fontify bitfield declarations properly.
15274
15275 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15276 (c-symbol-chars): Now exported as a lang variable.
15277 (c-not-primitive-type-keywords): New lang variable.
15278
15279 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15280 QT keyword "more" to prevent "more slots: ...." being spuriously
15281 parsed as a bitfield declaration.
15282
15283 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15284 Refactor and enhance to handle bitfield declarations.
15285 (c-punctuation-in): New function.
15286 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15287 declarations properly.
15288
15289 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15290
15291 * calendar/icalendar.el (icalendar--all-events): Take care of
15292 multiple vcalendars in a single file.
15293 (icalendar--convert-float-to-ical): Checkdoc fixes.
15294
15295 2011-07-25 Deniz Dogan <deniz@dogan.se>
15296
15297 * image.el (insert-image): Clarifying docstring.
15298
15299 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15300
15301 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15302 `tramp-send-command-and-check' if there is no error.
15303 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15304
15305 2011-07-22 Alan Mackenzie <acm@muc.de>
15306
15307 Prevent cc-langs.elc being loaded at run time.
15308
15309 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15310 cc-langs.
15311
15312 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15313 "(require 'cc-langs)". Quote a form so it will evaluate at
15314 (cc-mode's) compilation time.
15315
15316 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15317
15318 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15319 loading. (Bug#9114)
15320
15321 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15322
15323 * window.el (display-buffer-pop-up-window)
15324 (display-buffer-pop-up-side-window)
15325 (display-buffer-in-side-window): Call display-buffer-set-height
15326 and display-buffer-set-width after setting the new window's
15327 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15328
15329 2011-07-20 Sam Steingold <sds@gnu.org>
15330
15331 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15332 (etags-tags-included-tables): Call `convert-standard-filename' on
15333 the file names contained in TAGS so that windows Emacs can handle
15334 TAGS files created by cygwin ctags.
15335
15336 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15337
15338 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15339 which apparently didn't work.
15340
15341 2011-07-19 Roland Winkler <winkler@gnu.org>
15342
15343 * proced.el (proced-send-signal): For *Marked Processes* buffer
15344 put point at beginning of buffer.
15345
15346 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15347
15348 * proced.el (proced-format): Make header lines align with the text
15349 (bug#1779).
15350
15351 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15352
15353 * view.el (view-buffer): Allow running in `special' modes if we're
15354 visiting a file (bug#8615).
15355
15356 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15357
15358 * window.el (display-buffer-alist-of-strings-p)
15359 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15360 New functions.
15361 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15362 more accurately.
15363
15364 2011-07-18 Alan Mackenzie <acm@muc.de>
15365
15366 Fontify declarators properly when, e.g., a jit-lock chunk begins
15367 inside a declaration.
15368
15369 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15370
15371 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15372 New function.
15373 (c-complex-decl-matchers): Insert reference to
15374 c-font-lock-enclosing-decls.
15375
15376 * progmodes/cc-engine.el (c-backward-single-comment):
15377 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15378 to nil around calls to (forward-comment -1).
15379
15380 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15381
15382 * image.el (put-image): Doc typo fix.
15383
15384 * progmodes/etags.el (tags-search): Doc typo fix.
15385
15386 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15387 password if we get errors 550 to 554.
15388
15389 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15390
15391 * net/gnutls.el (gnutls-log-level): Remove.
15392
15393 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15394 indentation character (bug#6380).
15395
15396 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15397
15398 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15399 to clarify what the problem is (bug#4291).
15400
15401 * simple.el (current-kill): Clarify what
15402 `interprogram-paste-function' does (bug#7500).
15403 (auto-fill-mode): Document `auto-fill-function' in relation to
15404 `auto-fill-mode' (bug#2470).
15405
15406 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15407
15408 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15409 method if slot is read-only (bug#9035).
15410
15411 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15412
15413 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15414 * window.el (pop-to-buffer): Select window used even if it was
15415 selected before, see discussion of (Bug#8615), (Bug#6954).
15416 Pass argument NORECORD on to select-frame-set-input-focus.
15417
15418 2011-07-15 Glenn Morris <rgm@gnu.org>
15419
15420 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15421 Respect help-form.
15422
15423 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15424
15425 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15426 (gnutls-negotiate): Use it.
15427
15428 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15429
15430 * net/gnutls.el (gnutls-negotiate):
15431 Upcase `gnutls-algorithm-priority'.
15432
15433 2011-07-15 Glenn Morris <rgm@gnu.org>
15434
15435 * jka-compr.el (jka-compr-verbose): Move from here...
15436 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15437 Add missing :version tag.
15438 * info.el: No need to require jka-compr when compiling.
15439
15440 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15441
15442 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15443 (gnutls-negotiate): Use it.
15444
15445 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15446
15447 * info.el (Info-beginning-of-buffer): New command.
15448 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15449 announcing `b' as the key (bug#8325).
15450 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15451
15452 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15453
15454 * international/mule-cmds.el
15455 (describe-specified-language-support): Make the error message
15456 clearer (bug#8905).
15457
15458 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15459
15460 * isearch.el (isearch-barrier): Add a doc string, since it's
15461 mentioned in a function doc string (bug#8678).
15462
15463 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15464
15465 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15466 buffer argument (Bug#9083) and self-identifying label argument.
15467
15468 2011-07-15 Glenn Morris <rgm@gnu.org>
15469
15470 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15471
15472 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15473
15474 * man.el (Man-fontify-manpage): Fix message when formatting the
15475 man page (bug#7929).
15476
15477 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15478
15479 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15480 argument LRM; if non-nil, append an invisible LRM character to the
15481 buffer name.
15482 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15483 last argument non-nil, when formatting buffer names.
15484 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15485 paragraph direction.
15486
15487 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15488
15489 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15490 the man page name (bug#7929).
15491
15492 * image.el (put-image): Mention the `put-image' overlay property
15493 (bug#7834).
15494
15495 * scroll-bar.el (set-scroll-bar-mode): Mention that
15496 `scroll-bar-mode' lists the values (bug#7772).
15497
15498 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15499 command (bug#7729).
15500
15501 * rect.el (apply-on-rectangle): Return the point after the last
15502 operation.
15503 (string-rectangle): Go to the point after the last operation
15504 (bug#7522).
15505
15506 * printing.el (pr-toggle-region): Clarify the documentation
15507 slightly (bug#7493).
15508
15509 * time.el (display-time-update):
15510 Allow `display-time-mail-function' to return nil (bug#7158).
15511 Fix suggested by Detlev Zundel.
15512
15513 * vc/diff.el (diff): Clarify the order the file names are read
15514 (bug#7111).
15515
15516 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15517 the doc string (bug#7015).
15518
15519 * font-lock.el (font-lock-maximum-decoration): Mention what
15520 numeric levels mean (bug#6935).
15521
15522 * startup.el (initial-buffer-choice): Don't mention the `none'
15523 selection, which is against policy.
15524
15525 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15526
15527 * window.el (display-buffer-normalize-special):
15528 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15529
15530 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15531
15532 * subr.el (version<, version<=, version=): Mention "-CVS" and
15533 "-12345" alpha version numbers.
15534
15535 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15536
15537 * bindings.el: Add advertised binding for set-mark-command
15538 (Bug#5772).
15539
15540 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15541
15542 * bindings.el (mode-line-other-buffer):
15543 * bookmark.el (bookmark-bmenu-2-window):
15544 * bs.el (bs-cycle-next, bs-cycle-previous):
15545 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15546 switch-to-buffer.
15547
15548 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15549 Delete.
15550
15551 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15552
15553 * follow.el (follow-debug-message, follow-redisplay):
15554 * jka-cmpr-hook.el (with-auto-compression-mode):
15555 Fix typos in docstrings.
15556
15557 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15558
15559 * subr.el (with-silent-modifications): Clarify somewhat what the
15560 macro inhibits (bug#6525).
15561
15562 * simple.el (eval-expression): Note what it does if called
15563 interactively (bug#6495).
15564
15565 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15566
15567 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15568 Use pop-to-buffer buffer-or-name if it is nil.
15569
15570 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15571 Remove switch-to-buffer.
15572
15573 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15574
15575 * files.el (make-directory): Clarify that an error will be raised
15576 if there's an error (bug#6397).
15577
15578 * startup.el (initial-buffer-choice): Add `none' as a choice
15579 (bug#6234).
15580
15581 * subr.el (add-hook): Clarify section about buffer-local hooks
15582 (bug#6218).
15583
15584 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15585
15586 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15587
15588 * tabify.el (untabify): Preserve the current column so that point
15589 doesn't move (bug#6032).
15590
15591 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15592
15593 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15594 Rewrite to avoid awkward possessive "s" (bug#5986).
15595
15596 2011-07-13 Glenn Morris <rgm@gnu.org>
15597
15598 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15599 (dired-insert-directory): Give a message the first time
15600 if ls is found not to support --dired.
15601
15602 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15603
15604 * simple.el (toggle-truncate-lines): Clarify what is toggled
15605 (bug#5580). Text by Drew Adams.
15606
15607 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15608
15609 * simple.el (blink-matching-open): Make the error message from the
15610 last change less verbose.
15611
15612 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15613
15614 * font-lock.el (font-lock-comment-face): Use the high contrast
15615 "yellow" color for font-lock-comment-face on low color terminals
15616 using a dark background color (bug#4221).
15617
15618 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15619
15620 * dired.el (dired-insert-set-properties): Make the doc string
15621 reflect what it does now (bug#5325).
15622
15623 * simple.el (blink-matching-open): Say that we were unable to find
15624 the match within the limit, if we're limited (bug#5122).
15625
15626 * international/mule-cmds.el (prefer-coding-system): Add an
15627 example (bug#4869).
15628
15629 * progmodes/etags.el (tags-search): Document `file-list-form'
15630 (bug#4731).
15631
15632 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15633
15634 * net/browse-url.el (browse-url-default-browser)
15635 (browse-url-browser-function): Make the default browser choice a
15636 bit more logical (bug#4300). Also clean up the doc string.
15637
15638 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15639
15640 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15641 binary endings (bug#4440).
15642
15643 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15644
15645 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15646 which can be pretty annoying (bug#8971).
15647
15648 * jka-compr.el (jka-compr-verbose): New variable, and use
15649 throughout (bug#8971).
15650
15651 * info.el (Info-find-file): Fall back on the installation
15652 directory if we can't find the info node anywhere else.
15653
15654 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15655
15656 * vc/vc.el (vc-revert-file):
15657 Don't set file time-stamp in the past. (Bug#5181)
15658
15659 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15660
15661 * files.el (after-find-file): Give a better error message when
15662 trying to find a symlink that points to a file that doesn't exist
15663 (bug#4398).
15664
15665 * progmodes/cc-vars.el: Remove (probably) misleading comment
15666 (bug#4396).
15667
15668 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15669
15670 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15671
15672 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15673
15674 * mouse-sel.el: Hack restoring functionality, while keeping
15675 compatibility with 2010-07-03 changes to mouse selection.
15676 (mouse-sel-primary-overlay): New var.
15677 (mouse-sel-selection-alist): Use it.
15678 (mouse-sel-mode): Doc fix; remove points that are default features
15679 of mouse.el.
15680
15681 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15682
15683 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15684 Fix previous fix (bug#2490).
15685
15686 2011-07-12 Roland Winkler <winkler@gnu.org>
15687
15688 * textmodes/bibtex.el (bibtex-initialize):
15689 Use pop-to-buffer-same-window.
15690 (bibtex-search-entries): Fix interactive call.
15691
15692 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15693
15694 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15695 Fontise bytecomp Error lines more correctly (bug#2490).
15696 Fix suggested by Johan Bockgård.
15697
15698 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15699
15700 * dired-x.el (dired-guess-default): Use `delete-dups'.
15701
15702 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15703
15704 * dired.el (dired-mark-prompt):
15705 * dired-aux.el (dired-read-shell-command): Doc fix.
15706
15707 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15708
15709 * mail/sendmail.el (sendmail-query-once):
15710 Use `customize-save-variable' unconditionally, now that it works under
15711 emacs -Q.
15712
15713 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15714
15715 * cus-edit.el (custom-file): Take an optional no-error variable.
15716 (customize-save-variable): Set the variable, and give a warning if
15717 running under "emacs -q".
15718
15719 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15720
15721 * loadhist.el (unload-feature-special-hooks):
15722 Add `auto-coding-functions', `fill-nobreak-predicate' and
15723 `find-directory-functions' (bug#5327).
15724
15725 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15726
15727 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15728
15729 * cus-edit.el (custom-guess-name-alist): -alist variables should
15730 use the `alist' type (bug#3120). Suggested by Drew Adams.
15731
15732 * printing.el: Add documentation to all the `pr-toggle-' commands.
15733
15734 2011-07-11 Leo Liu <sdl.web@gmail.com>
15735
15736 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15737 backends where it makes sense (bug#2623).
15738
15739 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15740
15741 * dired-x.el (dired-guess-default): Remove duplicate shell command
15742 entries (bug#2028).
15743 (dired-guess-default): Fix grammar in doc string (bug#2028).
15744 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15745
15746 * subr.el (remove-duplicates): New conveniency function.
15747
15748 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15749
15750 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15751 (bug#1526).
15752
15753 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15754
15755 * window.el (display-buffer-normalize-default): Don't invert
15756 meaning of even-window-heights. Reported by Eli Zaretskii
15757 <eliz@gnu.org>.
15758
15759 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15760
15761 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15762
15763 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15764
15765 * window.el (display-buffer): Fix arguments to
15766 display-buffer-reuse-window in last change.
15767
15768 * faces.el (link): Use a less saturated blue on light backgrounds.
15769
15770 * startup.el (fancy-startup-text, fancy-about-text)
15771 (fancy-startup-tail): Use font-lock faces, for background safety.
15772
15773 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15774
15775 * emulation/viper-cmd.el (viper-change-state-to-vi):
15776 Limit triggering of abbrev expansion (Bug#9038).
15777
15778 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15779
15780 * window.el (display-buffer-default-specifiers): Remove.
15781 (display-buffer-macro-specifiers): Remove default specifiers.
15782 (display-buffer-alist): Default to nil.
15783 (display-buffer-reuse-window): New optional argument other-window.
15784 (display-buffer-pop-up-window): Allow splitting internal
15785 windows. Check whether a live window was created.
15786 (display-buffer-other-window-means-other-frame)
15787 (display-buffer-normalize-arguments): Rename to
15788 display-buffer-normalize-argument and rewrite. Set the
15789 other-window specifier.
15790 (display-buffer-normalize-special): New function.
15791 (display-buffer-normalize-options): Rename to
15792 display-buffer-normalize-default and rewrite.
15793 (display-buffer-normalize-options-inhibit): Remove.
15794 (display-buffer-normalize-specifiers): Rewrite.
15795 (display-buffer): Process other-window specifier and call
15796 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15797 more faithfully.
15798 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15799 (display-buffer-alist-set): Don't handle 'unset default values.
15800 (display-buffer-in-window, display-buffer-alist-set):
15801 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15802 <tassilo@member.fsf.org>.
15803
15804 2011-07-09 Leo Liu <sdl.web@gmail.com>
15805
15806 * register.el (insert-register): Restore accidental change on
15807 2011-06-26. (Bug#9028)
15808
15809 2011-07-09 Glenn Morris <rgm@gnu.org>
15810
15811 * subr.el (remq): Handle the empty list. (Bug#9024)
15812
15813 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15814
15815 * mail/sendmail.el (send-mail-function): No longer delay custom
15816 initialization.
15817 * custom.el (custom-initialize-delay): Doc fix.
15818
15819 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15820
15821 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15822
15823 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15824
15825 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15826 human-friendly prompt.
15827
15828 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15829
15830 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15831 provided by a particular plugin.
15832
15833 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15834
15835 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15836 save customizations (with "emacs -Q"), just set the variable
15837 instead of erroring out.
15838
15839 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15840
15841 2011-07-08 Juri Linkov <juri@jurta.org>
15842
15843 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15844 (archive-zip-update-case): Use 7z if found by `executable-find'.
15845 The order of searching the available programs is the same as in
15846 `archive-zip-extract' (bug#8968).
15847
15848 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15849
15850 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15851 (menu-bar-options-menu): Tweak descriptions.
15852
15853 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15854
15855 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15856 menu items into verb phrases (bug#1421). Also refill to fit under
15857 80 columns.
15858
15859 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15860
15861 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15862 (Info-read-node-name): Doc fix (Bug#1084).
15863
15864 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15865 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15866 (end-of-sexp, beginning-of-sexp)
15867 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15868 (forward-symbol, forward-same-syntax, word-at-point)
15869 (sentence-at-point): Doc fix (Bug#1144).
15870
15871 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15872
15873 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15874 should cover it (bug#1281).
15875
15876 * cus-edit.el (custom-show): Mark as obsolete.
15877
15878 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15879 negotiation fails, then possibly try again with a non-encrypted
15880 connection (bug#9017).
15881
15882 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15883 be used.
15884
15885 2011-07-07 Richard Stallman <rms@gnu.org>
15886
15887 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15888 property, and handle its changed format.
15889 Look for the correct line number.
15890 Use file's line contents (but not past first =) to find
15891 correct line in message.
15892
15893 2011-07-07 Kenichi Handa <handa@m17n.org>
15894
15895 * international/characters.el (build-unicode-category-table):
15896 Delete it.
15897 (unicode-category-table): Set it by unicode-property-table-internal.
15898
15899 * international/mule-cmds.el (char-code-property-alist): Move to
15900 to src/chartab.c.
15901 (get-char-code-property): Call unicode-property-table-internal to
15902 load a file. Call get-unicode-property-internal where necessary.
15903 (put-char-code-property): Call unicode-property-table-internal to
15904 load a file. Call put-unicode-property-internal where necessary.
15905 put-unicode-property-internal where necessary.
15906 (char-code-property-description):
15907 Call unicode-property-table-internal to load a file.
15908
15909 * international/charprop.el:
15910 * international/uni-bidi.el:
15911 * international/uni-category.el:
15912 * international/uni-combining.el:
15913 * international/uni-comment.el:
15914 * international/uni-decimal.el:
15915 * international/uni-decomposition.el:
15916 * international/uni-digit.el:
15917 * international/uni-lowercase.el:
15918 * international/uni-mirrored.el:
15919 * international/uni-name.el:
15920 * international/uni-numeric.el:
15921 * international/uni-old-name.el:
15922 * international/uni-titlecase.el:
15923 * international/uni-uppercase.el: Regenerate.
15924
15925 * loadup.el: Load international/charprop.el before
15926 international/characters.
15927
15928 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15929
15930 * window.el (next-buffer, previous-buffer): Signal an error if
15931 called from a minibuffer window.
15932
15933 * bindings.el: Revert 2011-07-04 change.
15934
15935 2011-07-06 Richard Stallman <rms@gnu.org>
15936
15937 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15938 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15939 Treat markers like ints.
15940 (rmail-mime-entity): Doc fix.
15941
15942 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15943
15944 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15945 defcustom again for backwards compatibility.
15946
15947 * simple.el (shell-command-on-region): Fill.
15948
15949 * dired-aux.el (dired-kill-line): Add a doc string.
15950
15951 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15952 to "\\sw\\|\\s_" (bug#358).
15953
15954 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15955 (dired-unmark-backward): Ditto.
15956 (dired-flag-backup-files): Ditto.
15957
15958 * dired-x.el (dired-mark-sexp): Ditto.
15959
15960 2011-07-06 Richard Stallman <rms@gnu.org>
15961
15962 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15963 (rmail-mime-entity): New arg TRUNCATED.
15964 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15965 New functions.
15966 (rmail-mime-save): Warn if entity is truncated.
15967 (rmail-mime-toggle-hidden): Likewise, for showing.
15968 (rmail-mime-process-multipart): Record when an entity is truncated.
15969
15970 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15971 if ENTITY is a string.
15972
15973 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15974
15975 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15976 of faces when `M-C-x'-ing their definitions (bug#8378).
15977 Also clean up the code slightly.
15978
15979 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15980 because that makes the colors go away.
15981
15982 * mail/sendmail.el (send-mail-function): Change the default to
15983 `sendmail-query-once'.
15984 (sendmail-query-once): Add an autoload cookie.
15985
15986 * net/network-stream.el (network-stream-open-starttls): Try using
15987 a plain connection even if the server offered STARTTLS, and we
15988 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15989 capability. This should make smtpmail.el work in slightly more
15990 configurations.
15991
15992 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15993
15994 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15995 New defun.
15996 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15997
15998 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15999
16000 * progmodes/sql.el: Version 3.0
16001 (sql-product-alist): Add product :completion-object,
16002 :completion-column, and :statement attributes.
16003 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16004 (sql-mode-syntax-table): Mark all punctuation.
16005 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16006 ansi keywords.
16007 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16008 (sql-mode-oracle-font-lock-keywords): Improve.
16009 (sql-oracle-show-reserved-words): New function for development.
16010 (sql-product-font-lock): Simplify for source code buffers.
16011 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16012 New functions.
16013 (sql-highlight-product): Set product specific syntax table.
16014 (sql-mode-map): Add statement movement functions.
16015 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16016 New variable.
16017 (sql-statement-regexp, sql-beginning-of-statement)
16018 (sql-end-of-statement, sql-signum): New functions.
16019 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16020 (sql-show-sqli-buffer): Bug fix.
16021 (sql-interactive-mode): Store connection data as buffer local.
16022 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16023 with sql-interactive-mode.
16024 (sql-save-connection): Save buffer local settings.
16025 (sql-connection-menu-filter): Change menu entry name.
16026 (sql-product-interactive): Bug fix.
16027 (sql-preoutput-hold): New variable.
16028 (sql-interactive-remove-continuation-prompt): Bug fixes.
16029 (sql-debug-redirect): New variable.
16030 (sql-str-literal): New function.
16031 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16032 Redesign.
16033 (sql-oracle-save-settings, sql-oracle-restore-settings)
16034 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16035 (sql-completion-object, sql-completion-column)
16036 (sql-completion-sqlbuf): New variables.
16037 (sql-build-completions-1, sql-build-completions)
16038 (sql-try-completion): New functions.
16039 (sql-read-table-name): Use them.
16040 (sql-contains-names): New buffer local variable.
16041 (sql-list-all, sql-list-table): Use it.
16042 (sql-oracle-completion-types): New variable.
16043 (sql-oracle-completion-object, sql-sqlite-completion-object)
16044 (sql-postgres-completion-object): New functions.
16045
16046 2011-07-06 Glenn Morris <rgm@gnu.org>
16047
16048 * window.el (pop-to-buffer): Doc fix.
16049
16050 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16051
16052 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16053
16054 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16055
16056 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16057
16058 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16059
16060 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16061
16062 * button.el (button): Inherit from link face. Suggested by Dan
16063 Nicolaescu.
16064
16065 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16066
16067 * progmodes/gdb-mi.el: Fit in 80 columns.
16068 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16069 switch-to-buffer.
16070
16071 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16072 if imenu is simply not configured (bug#8941).
16073
16074 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16075
16076 * allout.el (allout-post-undo-hook): New allout outline-change
16077 event hook to signal undo activity.
16078 (allout-post-command-business): Run allout-post-undo-hook if an
16079 undo just occurred.
16080 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16081 * allout-widgets.el (allout-widgets-after-undo-function):
16082 Ensure the integrity of the current item's decoration after it has been
16083 in the vicinity of an undo.
16084 (allout-widgets-mode): Include allout-widgets-after-undo-function
16085 on the new allout-post-undo-hook.
16086
16087 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16088
16089 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16090 Let define-derived-mode define it.
16091 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16092 cycles of abbrev-table inheritance (bug#8998).
16093
16094 2011-07-05 Roland Winkler <winkler@gnu.org>
16095
16096 * textmodes/bibtex.el: Add support for biblatex.
16097 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16098 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16099 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16100 (bibtex-entry-alist, bibtex-field-alist): New variables.
16101 (bibtex-entry-field-alist): Obsolete alias for
16102 bibtex-BibTeX-entry-alist.
16103 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16104 (bibtex-set-dialect): New command.
16105 (bibtex-entry-type, bibtex-entry-head)
16106 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16107 Bind via bibtex-set-dialect.
16108 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16109 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16110 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16111 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16112 Define via bibtex-set-dialect.
16113 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16114 Obey bibtex-no-opt-remove-re.
16115 (bibtex-vec-push, bibtex-vec-incr): New functions.
16116 (bibtex-format-entry, bibtex-field-list)
16117 (bibtex-print-help-message, bibtex-validate)
16118 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16119
16120 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16121
16122 * progmodes/compile.el (compilation-goto-locus):
16123 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16124 * bs.el (bs-cycle-next, bs-cycle-previous):
16125 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16126 * bindings.el (mode-line-other-buffer):
16127 * autoinsert.el (auto-insert):
16128 * arc-mode.el (archive-extract):
16129 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16130
16131 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16132
16133 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16134 Fix check of `emacs-lock-unlockable-modes'.
16135 Coerce true values of `emacs-lock--try-unlocking' to t.
16136
16137 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16138
16139 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16140 * emacs-lock.el: New file.
16141
16142 2011-07-05 Julien Danjou <julien@danjou.info>
16143
16144 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16145 than `boundp' to check if face is set.
16146
16147 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16148
16149 * register.el (registerv-make):
16150 * window.el (window-min-height): Fix typos in docstrings.
16151
16152 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16153
16154 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16155 Update doc string.
16156
16157 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16158
16159 * server.el (server-execute): Catch quit and call
16160 `server-return-error' to pass the error back to emacsclient and
16161 close the connection (bug#8942).
16162
16163 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16164
16165 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16166 insecure exception for current topic. Also note that auto-saves
16167 are handled differently.
16168
16169 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16170 State variables for tracking auto-save inhibition situation.
16171
16172 (allout-write-contents-hook-handler): Rename from
16173 'allout-write-file-hook-handler', and describe how it depends on
16174 write-contents-functions sensitivity to non-nil value to prevent
16175 file write.
16176
16177 (allout-auto-save-hook-handler): Remove. auto-save does not check
16178 this in individual buffers, only in the starting buffer, so this
16179 is not the right way for us to inhibit auto-save in a buffer
16180 according to its condition.
16181
16182 (allout-mode): Use new allout-write-contents-hook-handler, and
16183 only with write-contents-functions. Remove auto-save provisions -
16184 they're implemented elsewhere.
16185
16186 (allout-before-change-handler): If undo is in progress, note that
16187 for attention of allout-post-command-business.
16188
16189 (allout-post-command-business): If the command we're following was
16190 an undo, check for change in the status of encrypted items and
16191 adjust auto-save inhibitions accordingly.
16192
16193 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16194 according to whether there are or aren't any plain-text topics
16195 pending encryption.
16196
16197 (allout-inhibit-auto-save-info-for-decryption):
16198 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16199 if there are plain-text topics pending encryption.
16200
16201 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16202 buffer-saved-size and some allout state to not inhibit auto-saves
16203 if there are no longer any plain-text topics pending encryption.
16204
16205 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16206 No longer provide for exemption of the current topic.
16207
16208 2011-07-04 Juri Linkov <juri@jurta.org>
16209
16210 Add 7z operations to delete and save changed members (bug#8968).
16211 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16212 New defcustoms.
16213 (archive-7z-write-file-member): New function.
16214 (archive-7z-summarize): Fix the number of dashes in the
16215 listing output.
16216
16217 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16218
16219 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16220 (bug#8958).
16221
16222 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16223
16224 * bindings.el: Ignore next-buffer and previous-buffer in
16225 minibuffer-local-map.
16226
16227 * font-lock.el (font-lock-builtin-face): Change light background
16228 color to dark slate blue (Bug#6693).
16229
16230 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16231
16232 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16233
16234 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16237 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16238 Add switch-to-buffer.
16239
16240 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16241
16242 * isearch.el (isearch-search-fun-function): Clarify further the
16243 meaning of the function returned.
16244
16245 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16246
16247 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16248
16249 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16250 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16251 Use it.
16252 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16253 `tramp-default-remote-path' does not exist.
16254 (tramp-send-command-and-read): New optional argument NOERROR.
16255 (tramp-open-connection-setup-interactive-shell)
16256 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16257 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16258 (tramp-process-sentinel): Flush also process' connection property.
16259 (tramp-sh-handle-start-file-process): Do not set process
16260 sentinel. It is done now ...
16261 (tramp-maybe-open-connection): ... here. (Bug#8929)
16262
16263 2011-07-04 MON KEY <monkey@sandpframing.com>
16264
16265 * play/animate.el (animate-string): Doc fixes and allow changing
16266 the buffer name (bug#5417).
16267
16268 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16269
16270 * play/animate.el (animation-buffer-name): Rename from *animate*.
16271
16272 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16273
16274 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16275 This is simpler and helps future-proof the code.
16276 (timer-until): Use time-subtract and float-time.
16277 (timer--time-less-p): Use time-less-p.
16278
16279 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16280
16281 * type-break.el (timep): Use the value of `float-time' to avoid a
16282 byte-compiler warning.
16283
16284 * server.el (server-eval-and-print): Return any result, even nil.
16285
16286 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16287
16288 * type-break.el: Accept time formats that the builtins accept.
16289 (timep, type-break-time-difference): Accept any format that
16290 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16291 This is simpler and helps future-proof the code.
16292 (type-break-time-difference): Round rather than ignoring
16293 subseconds components.
16294
16295 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16296
16297 * info.el (Info-apropos-matches): Make non-interactive, since it
16298 doesn't seem to do anything useful as a command (bug#8829).
16299
16300 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16301
16302 * frame.el (frame-background-mode, frame-set-background-mode):
16303 Move from faces.el.
16304 (frame-default-terminal-background): New function.
16305
16306 * custom.el (custom-push-theme): Don't record faces in `changed'
16307 theme; this doesn't work correctly for per-frame face settings.
16308 (disable-theme): Use face-set-after-frame-default to reset faces.
16309 (custom--frame-color-default): New function.
16310
16311 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16312
16313 * dired.el (dired-flagging-regexp): Remove unused variable
16314 (bug#8769).
16315
16316 2011-03-29 Kevin Ryde <user42@zip.com.au>
16317
16318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16319 `perl-Test2' extend to match possible "fail #N" rep count
16320 (bug#8377).
16321
16322 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16323
16324 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16325 `smtpmail-via-smtp' now returns the error instead of nil.
16326
16327 * isearch.el (isearch-search-fun-function): Clarify the doc string
16328 (bug#8101).
16329
16330 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16331
16332 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16333 unnecessary spaces (bug#8987).
16334
16335 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16336
16337 * net/network-stream.el (open-network-stream): Use the
16338 :end-of-capability command thoughout.
16339
16340 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16341
16342 * net/network-stream.el (open-network-stream): Add the
16343 :end-of-capability command parameter, used by pop3.el.
16344
16345 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16346
16347 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16348
16349 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16350 for list)" (bug#6475).
16351
16352 * files.el (file-expand-wildcards): Ignore non-readable
16353 sub-directories while trying to find matches instead of signaling
16354 an error (bug#6297).
16355
16356 * man.el (Man-reference-regexp): Allow matching possible
16357 word-wrapped references (bug#6289).
16358
16359 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16360 for consistency with the other vc buffers (bug#6197).
16361 (vc-checkin): Ditto.
16362
16363 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16364
16365 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16366
16367 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16368
16369 * custom.el (defcustom): Clarify that :set is only used in the
16370 Customize user interface (bug#6089).
16371
16372 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16373 associated with a file, refuse to run instead of erroring out
16374 (bug#6084).
16375
16376 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16377 the doc string, since it appears that using `fill-column' always
16378 controls the width (bug#7845).
16379
16380 * simple.el (shell-command-on-region): Say where the error output
16381 went if `shell-command-default-error-buffer' is set (bug#6857).
16382
16383 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16384
16385 * allout.el (allout-yank-processing): Adjust cursor position for
16386 backwards-deleted space.
16387
16388 (allout-rebullet-heading): Register changes with
16389 allout-exposure-changed-hook, so the modified topic is properly
16390 decorated.
16391
16392 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16393
16394 * minibuffer.el (completion-in-region): Document PREDICATE
16395 (bug#7136).
16396
16397 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16398 of keyword/argument pairs (bug#6904).
16399
16400 * replace.el (multi-occur):
16401 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16402
16403 2011-07-02 Drew Adams <drew.adams@oracle.com>
16404
16405 * dired.el (dired-mark-if): Make the message about whether it's
16406 marking or unmarking clearer (bug#8523).
16407
16408 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16409
16410 * disp-table.el (display-table-print-array): New function.
16411 (describe-display-table): Use it to print the vectors more pretty
16412 (Bug#8859).
16413
16414 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16415
16416 * window.el (window-state-get-1): Don't assign clone numbers.
16417 Add clone-of item to list of window parameters.
16418 (window-state-put-2): Don't process clone numbers.
16419 (display-buffer-alist): Fix doc-string.
16420
16421 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16422
16423 * subr.el (remq): Don't allocate if it's not needed.
16424 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16425 (keymap--merge-bindings): New functions.
16426 (keymap-canonicalize): Use them to refine the canonicalization.
16427 * minibuffer.el (minibuffer-local-completion-map)
16428 (minibuffer-local-must-match-map): Move initialization from C.
16429 (minibuffer-local-filename-completion-map): Move initialization from C;
16430 don't inherit from anything here.
16431 (minibuffer-local-filename-must-match-map): Make obsolete.
16432 (completing-read-default): Use make-composed-keymap to combine
16433 minibuffer-local-filename-completion-map with either
16434 minibuffer-local-must-match-map or
16435 minibuffer-local-filename-completion-map.
16436
16437 2011-07-01 Glenn Morris <rgm@gnu.org>
16438
16439 * type-break.el (type-break-time-sum): Use dolist.
16440
16441 * textmodes/flyspell.el (flyspell-word-search-backward):
16442 Replace CL function.
16443
16444 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16445
16446 * mouse.el (mouse--strip-first-event): New function.
16447 (function-key-map): Use it to map fringe clicks to normal clicks
16448 by default.
16449
16450 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16451 (vc-bzr-revision-completion-table): Add support for annotate and date.
16452
16453 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16454 inherit from parent.
16455
16456 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16457
16458 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16459 (dired-show-file-type): Doc fixup (bug#8818).
16460
16461 * dired.el (dired-mode): Fix up the doc string as suggested by
16462 Drew Adams (bug#8817).
16463
16464 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16465 cookie, since the manual says that it should be possible to add
16466 this function to `find-file-hook' (bug#8709).
16467
16468 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16469
16470 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16471 here. Noted Ted Zlatanov as the maintainer.
16472 (cfengine-common-settings, cfengine-common-syntax): New functions
16473 to set up common things between `cfengine-mode' and
16474 `cfengine3-mode'.
16475 (cfengine3-mode): New mode.
16476 (cfengine3-defuns cfengine3-defuns-regex
16477 (cfengine3-class-selector-regex cfengine3-category-regex)
16478 (cfengine3-vartypes cfengine3-font-lock-keywords)
16479 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16480 (cfengine3-indent-line): Add from cfengine3.el.
16481
16482 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16483
16484 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16485
16486 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16487
16488 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16489
16490 * window.el (same-window-buffer-names, same-window-regexps)
16491 (same-window-p, special-display-frame-alist)
16492 (special-display-popup-frame, special-display-function)
16493 (special-display-buffer-names, special-display-regexps)
16494 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16495 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16496 (split-window-preferred-function, split-height-threshold)
16497 (split-width-threshold, even-window-heights)
16498 (display-buffer-mark-dedicated, window-splittable-p)
16499 (split-window-sensibly, window-safely-shrinkable-p):
16500 Un-obsolete.
16501 (display-buffer): Don't spread args with function specifier
16502 because special-display-popup-frame won't like it.
16503
16504 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16505
16506 Time-stamp simplifications and fixes.
16507 These improve accuracy slightly, and future-proof the code
16508 against some potential changes to current-time format.
16509
16510 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16511 by using time-since and float-time.
16512
16513 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16514 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16515 + NNN microseconds".
16516
16517 * type-break.el (type-break-time-sum): Rewrite using time-add.
16518
16519 * play/hanoi.el (hanoi-current-time-float): Remove.
16520 All uses replaced by float-time.
16521
16522 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16523 This yields a more-accurate answer.
16524 (rng-time-to-float): Remove; no longer needed.
16525
16526 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16527
16528 * calendar/timeclock.el (timeclock-seconds-to-time):
16529 Defalias to seconds-to-time, since they're the same thing.
16530
16531 * emacs-lisp/elp.el (elp-elapsed-time):
16532 * emacs-lisp/benchmark.el (benchmark-elapse):
16533 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16534
16535 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16536
16537 * window.el (bury-buffer): Don't iconify the only frame.
16538 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16539 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16540
16541 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16542
16543 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16544 Add mouse-yank-primary.
16545
16546 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16547
16548 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16549
16550 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16551
16552 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16553 (find-library-name): Use it to find relative load names when provided
16554 absolute file name (bug#8803).
16555
16556 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16557
16558 * textmodes/flyspell.el (flyspell-word): Consider words that
16559 differ only in case as potential doublons (bug#5687).
16560
16561 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16562 Remove two rather uninteresting debugging-like messages to make
16563 debbugs.el more silent.
16564
16565 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16566 a password-like phrase.
16567
16568 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16569
16570 * progmodes/cc-guess.el: New file.
16571
16572 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16573
16574 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16575 derived from `c-basic-common-init'.
16576
16577 * progmodes/cc-mode.el (top-level): Require cc-guess.
16578 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16579
16580 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16581
16582 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16583
16584 2011-06-30 Alan Mackenzie <acm@muc.de>
16585
16586 * progmodes/cc-engine.el (c-guess-continued-construct):
16587 Correct the handling of template-args-cont, particularly for when font
16588 lock is disabled. Name this case as "CASE G".
16589
16590 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16591
16592 * allout.el (allout-yank-processing): Fix injection of extra space
16593 between bullet and non-whitespace character in first topic when
16594 pasting, ensuring that the actual spacing in the pasted topic
16595 following the bullet char is preserved. This extra space was
16596 causing pasted encrypted topics to get a decrypted status even
16597 when the content was actually still encrypted. Now the decryption
16598 status from before the paste is preserved.
16599
16600 (allout-flag-region): Set all allout overlays so they evaporate
16601 when reduced to zero length (evanescent), to prevent overlay
16602 leakage.
16603
16604 2011-06-30 Glenn Morris <rgm@gnu.org>
16605
16606 * w32-fns.el (w32-charset-info-alist): Declare.
16607
16608 * find-dired.el (find-grep-options): Simplify.
16609
16610 * term/ns-win.el (ns-set-resource): Declare.
16611
16612 * ses.el (row, col): Declare dynamic variables honestly.
16613
16614 * textmodes/reftex-parse.el (index-tags): Declare.
16615
16616 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * cus-edit.el (customize-push-and-save): New function.
16619
16620 * files.el (hack-local-variables-confirm): Use it.
16621
16622 * custom.el (load-theme): New arg NO-CONFIRM.
16623 Use customize-push-and-save (Bug#8720).
16624 (custom-enabled-themes): Doc fix.
16625
16626 * cus-theme.el (customize-create-theme)
16627 (custom-theme-merge-theme): Callers to load-theme changed.
16628
16629 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16630
16631 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16632 short URLs have at least one dot in them (bug #7614).
16633
16634 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16635 nil, because using a pty is apparently too slow (bug #895).
16636
16637 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16638
16639 * mail/sendmail.el (sendmail-query-once): New function.
16640 (sendmail-query-once-function): New variable.
16641
16642 2011-06-29 Glenn Morris <rgm@gnu.org>
16643
16644 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16645
16646 * ses.el (top-level): Require cl when compiling.
16647 (ses-set-localvars): Fix error statement.
16648 Call it at compile time to silence a storm of warnings.
16649
16650 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16651
16652 * window.el (normalize-live-buffer): Rename to
16653 window-normalize-buffer.
16654 (normalize-live-frame): Rename to window-normalize-frame.
16655 (normalize-any-window): Rename to window-normalize-any-window.
16656 (normalize-live-window): Rename to window-normalize-live-window.
16657 (make-window-atom): Rename to window-make-atom.
16658 (window-resize-reset): Rename to window--resize-reset.
16659 (window-resize-reset-1): Rename to window--resize-reset-1.
16660 (resize-mini-window): Rename to window--resize-mini-window.
16661 (resize-subwindows-skip-p): Rename to
16662 window--resize-subwindows-skip-p.
16663 (resize-subwindows-normal): Rename to
16664 window--resize-subwindows-normal.
16665 (resize-subwindows): Rename to window--resize-subwindows.
16666 (resize-other-windows): Rename to window--resize-siblings.
16667 (resize-this-window): Rename to window--resize-this-window.
16668 (resize-root-window): Rename to window--resize-root-window.
16669 (resize-root-window-vertically): Rename to
16670 window--resize-root-window-vertically.
16671 (normalize-buffer-to-display): Rename to
16672 window-normalize-buffer-to-display.
16673 (normalize-buffer-to-switch-to): Rename to
16674 window-normalize-buffer-to-switch-to.
16675 Correspondingly update all callers of the functions listed
16676 above.
16677 (display-buffer-alist, display-buffer-normalize-arguments)
16678 (display-buffer-normalize-options, display-buffer)
16679 (display-buffer-alist-set): Use "function" instead of
16680 "fun-with-args".
16681
16682 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16683
16684 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16685 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16686 debbugs.gnu.org. Mention acknowledgment email.
16687
16688 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16689
16690 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16691 buffer multibyteness, since it shouldn't matter.
16692
16693 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16694
16695 * window.el (display-buffer-in-side-window): Handle dedicated
16696 windows as in display-buffer-reuse-window.
16697 (display-buffer-normalize-alist): Use value of override
16698 specifier.
16699 (display-buffer-normalize-specifiers): Use value of
16700 other-window-means-other-frame specifier.
16701 (display-buffer-alist): Rewrite some texts in widgets.
16702 (display-buffer): Spread arguments when calling function
16703 specified by fun-with-args.
16704
16705 2011-06-28 Deniz Dogan <deniz@dogan.se>
16706
16707 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16708 Unnest `let'.
16709
16710 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16711 selectors (Bug#5732).
16712 (css-proprietary-nmstart-re): Use `regexp-opt'.
16713
16714 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16715
16716 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16717 (eshell-ls-date-format): New defcustom.
16718 (eshell-ls-file): Use it.
16719
16720 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16721
16722 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16723
16724 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16725
16726 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16727 (ange-ftp-make-tmp-name): New arg.
16728 (ange-ftp-file-local-copy): Use it.
16729
16730 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16731
16732 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16733 no-conversion (Bug#8870).
16734
16735 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16736
16737 * window.el (window-right, window-left, window-child)
16738 (window-child-count, window-last-child)
16739 (window-iso-combination-p, walk-window-tree-1)
16740 (window-atom-check-1, window-tree-1, delete-window)
16741 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16742 new naming conventions - window-vchild, window-hchild,
16743 window-next and window-prev are now called window-top-child,
16744 window-left-child, window-next-sibling and window-prev-sibling
16745 respectively.
16746 (resize-window-reset): Rename to window-resize-reset.
16747 (resize-window-reset-1): Rename to window-resize-reset-1.
16748 (resize-window): Rename to window-resize.
16749 (window-min-height, window-min-width)
16750 (resize-mini-window, resize-this-window, resize-root-window)
16751 (resize-root-window-vertically, adjust-window-trailing-edge)
16752 (enlarge-window, shrink-window, maximize-window)
16753 (minimize-window, delete-window, quit-restore-window)
16754 (split-window, balance-windows, balance-windows-area-adjust)
16755 (balance-windows-area, window-state-put-2)
16756 (display-buffer-even-window-sizes, display-buffer-set-height)
16757 (display-buffer-set-width, set-window-text-height)
16758 (fit-window-to-buffer): Rename all "resize-window" prefixed
16759 calls to use the "window-resize" prefix convention.
16760 (display-buffer-alist): Fix symbol for label specifier.
16761 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16762 corresponding specifier.
16763 Reported by Juanma Barranquero <lekktu@gmail.com>.
16764
16765 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16766
16767 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16768 convention.
16769 (ses-call-printer): Does not pass an empty string to formatter when the
16770 cell is empty to keep from barking printer Calc math-format-value.
16771
16772 2011-06-27 Richard Stallman <rms@gnu.org>
16773
16774 * battery.el (battery-mode-line-limit): New variable.
16775 (battery-update): Handle it.
16776
16777 * mail/rmailmm.el (rmail-mime-process-multipart):
16778 Handle truncated messages.
16779
16780 2011-06-27 Glenn Morris <rgm@gnu.org>
16781
16782 * progmodes/flymake.el (flymake-err-line-patterns):
16783 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16784
16785 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16786
16787 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16788 (ses--clean-!, ses--clean-_): New functions.
16789 (ses-range): Add configurability of readout order, and conversion
16790 to Calc vector.
16791
16792 * ses.el (ses-repair-cell-reference-all): New function.
16793 (ses-cell-symbol): Set macro as safe, so that it can be used in
16794 formulas.
16795
16796 * ses.el: Update cycle detection algorithm.
16797 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16798 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16799 (ses-set-localvars): New function.
16800 (ses-make-cell): Add property-list as a cell element.
16801 (ses-cell-property-get-fun, ses-cell-property-get)
16802 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16803 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16804 New functions.
16805 (ses-cell-property-set, ses-cell-property-pop)
16806 (ses-cell-property-get-handle): New macro.
16807 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16808 New aliases, used for code readability.
16809 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16810 cycle detection.
16811 (ses-self-reference-early-detection): New defcustom.
16812 (ses-formula-references): Robustify against self-referring cells.
16813 (ses-mode): Use ses-set-localvars.
16814 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16815 before lauching the update processing.
16816 (ses-initialize-Dijkstra-attempt): New function.
16817 (ses-recalculate-cell): Update for cycle detection based on
16818 Dijkstra algorithm.
16819
16820 * ses.el: Fix commenting and indenting convention.
16821
16822 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * bs.el (bs-cycle-next): Complete last change.
16825
16826 2011-06-27 Drew Adams <drew.adams@oracle.com>
16827
16828 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16829
16830 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16831
16832 * net/network-stream.el (network-stream-open-starttls):
16833 Don't re-get capabilities unless we've reestablished connection.
16834 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16835
16836 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16837 to binary to possibly avoid line encoding issues on Windows (among
16838 other things).
16839
16840 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841
16842 * net/network-stream.el (open-network-stream): Return an :error
16843 saying what the problem was, if possible.
16844
16845 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16846 server.
16847
16848 * net/network-stream.el (network-stream-open-starttls): If we
16849 wanted to use STARTTLS, and the server offered it, but we weren't
16850 able to because we had no STARTTLS support, then close the connection.
16851 (open-network-stream): Return an :error element, if present.
16852
16853 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16854
16855 * hl-line.el (hl-line-sticky-flag): Doc fix.
16856 (global-hl-line-sticky-flag): New option (Bug#8323).
16857 (global-hl-line-highlight): Obey it.
16858
16859 * vc/vc.el (vc-revert-show-diff): Default to t.
16860
16861 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16862
16863 * allout-widgets.el (allout-widgets-post-command-business):
16864 Stop decorating intermediate isearch matches. They're not being
16865 undecorated when an isearch is continued past, and isearch
16866 automatically collapses them. This leads to "widget leaks", where
16867 decorated items accumulate in collapsed areas. Lines with lots of
16868 hidden widgets can slow down cursor travel, substantially.
16869 Too much complicated machinery would be needed to ensure undecoration,
16870 so we're doing without this nicety.
16871
16872 (allout-widgets-tally-string): Don't try to do a hash-table-count
16873 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16874 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16875 *Messages* when allout-widgets-maintain-tally is t.
16876
16877 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16878
16879 * window.el (display-buffer-normalize-argument): Rename to
16880 display-buffer-normalize-arguments. Handle special meaning of
16881 LABEL argument. Respect special-display-function when popping up
16882 a new frame. Fix code searching for a window showing the buffer
16883 on another frame.
16884 (display-buffer-normalize-specifiers):
16885 Call display-buffer-normalize-arguments.
16886 (display-buffer-in-window): Don't undedicate the window if its
16887 buffer remains the same.
16888 Reported by Drew Adams <drew.adams@oracle.com>.
16889 (display-buffer-alist): Add choice for same-window macro
16890 specfier.
16891 (display-buffer): Mention special meaning of LABEL argument in
16892 doc-string. Fix quoting. Don't pop up a new frame even as
16893 fallback.
16894
16895 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16896
16897 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16898 avoid deleting the current window in some cases (bug#8911).
16899
16900 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16901
16902 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16903 (Bug#8934)
16904
16905 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16906
16907 * net/network-stream.el (network-stream-open-starttls):
16908 Use built-in TLS support if `gnutls-available-p' is true.
16909 (network-stream-open-tls): Ditto.
16910
16911 2011-06-26 Leo Liu <sdl.web@gmail.com>
16912
16913 * register.el (registerv): New struct.
16914 (registerv-make): New function.
16915 (jump-to-register, describe-register-1, insert-register):
16916 Support the jump-func, print-func and insert-func slot of a registerv
16917 struct. (Bug#8415)
16918
16919 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16920
16921 * vc/vc.el (vc-revert-show-diff): New defcustom.
16922 (vc-diff-internal): New arg specifying diff buffer.
16923 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16924 reuse an existing *vc-diff* buffer (Bug#8927).
16925
16926 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16927
16928 2011-06-26 Glenn Morris <rgm@gnu.org>
16929
16930 * progmodes/f90.el (f90-critical-indent): New option.
16931 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16932 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16933 (f90-mode): Doc fix.
16934 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16935 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16936 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16937 (f90-match-end): Handle block, critical.
16938
16939 2011-06-25 Glenn Morris <rgm@gnu.org>
16940
16941 * calendar/diary-lib.el (diary-included-files): Doc fix.
16942 (diary-include-files): New function, extracted from
16943 diary-include-other-diary-files and diary-mark-included-diary-files.
16944 (diary-include-other-diary-files, diary-mark-included-diary-files):
16945 Just call diary-include-files.
16946 (diary-mark-entries): Reset diary-included-files on first call.
16947
16948 * calendar/diary-lib.el (diary-mark-entries)
16949 (diary-mark-included-diary-files):
16950 Visit included diary-files in temp buffers.
16951
16952 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16953 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16954 (f90-start-block-re, f90-imenu-generic-expression)
16955 (f90-looking-at-program-block-start, f90-no-block-limit):
16956 Add support for submodules.
16957
16958 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16959 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16960
16961 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16962
16963 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16964 buffer-file-type before setting its value, to avoid disastrous
16965 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16966
16967 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16968
16969 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16970
16971 * ses.el (ses-unload-function):
16972 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16973
16974 * proced.el (proced-unload-function):
16975 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16976
16977 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16978
16979 * server.el (server-create-window-system-frame): Add parameters arg.
16980 (server-process-filter): Doc fix. Handle frame-parameters.
16981
16982 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16983
16984 Fix bug#8730, bug#8781.
16985
16986 * loadhist.el (unload--set-major-mode): New function.
16987 (unload-feature): Use it.
16988
16989 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16990 (python-unload-function): New function.
16991
16992 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16993
16994 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16995
16996 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16997
16998 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16999 the candidates list.
17000
17001 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17002
17003 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17004
17005 2011-06-23 Richard Stallman <rms@gnu.org>
17006
17007 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17008 (rmail-variables): Set next-error-move-function.
17009 (rmail-what-message): Take argument POS.
17010 (rmail-next-error-move): New function.
17011
17012 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17013
17014 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17015 messages for adjacent non-terminals.
17016
17017 2011-06-23 Richard Stallman <rms@gnu.org>
17018
17019 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17020 (rmail-show-message-1): Preserve buffer modified flag.
17021 (rmail-start-mail): Don't specify use of rmail-mail-return;
17022 that's done by mail-bury now.
17023 (rmail-mail-return): Handle arg NEWBUF.
17024
17025 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17026
17027 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17028 SIZE is a number.
17029
17030 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17031
17032 * window.el (get-lru-window, get-mru-window)
17033 (get-largest-window): Never return a minibuffer window.
17034 (display-buffer-pop-up-window): Fix a bug that could lead to
17035 reusing the minibuffer window.
17036 (display-buffer): Pass original specifier argument to
17037 display-buffer-function instead of the normalized one.
17038 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17039
17040 2011-06-22 Leo Liu <sdl.web@gmail.com>
17041
17042 * minibuffer.el (completing-read-function)
17043 (completing-read-default): Move from minibuf.c.
17044
17045 2011-06-22 Richard Stallman <rms@gnu.org>
17046
17047 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17048 to Rmail even if not started by a special Rmail command.
17049
17050 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17051 Copy the buffer currently showing just one message.
17052
17053 2011-06-22 Roland Winkler <winkler@gnu.org>
17054
17055 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17056 (bibtex-clean-entry): First delete the old key so that a
17057 customized algorithm for generating the new key does not get
17058 confused by the old key.
17059 (bibtex-url): Obey regexp of first step.
17060 (bibtex-search-entries): Do not use add-to-list with local
17061 list-var.
17062
17063 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17064
17065 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17066 stored a user name, then query for the password first, instead of
17067 waiting for SMTP to give an error message and the trying again.
17068
17069 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17070
17071 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17072 BUFFER in call-process.
17073
17074 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17075
17076 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17077 QUIT twice.
17078 (smtpmail-try-auth-methods): Require user name and password from
17079 auth-source.
17080
17081 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17082
17083 * window.el (display-buffer-default-specifiers)
17084 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17085 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17086 (split-window): Normalize SIDE argument (Bug#8916).
17087
17088 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17089 (special-display-frame-alist, special-display-popup-frame):
17090 Remove duplicate declarations. These are now in window.el.
17091
17092 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17093
17094 * mail/smtpmail.el (smtpmail-via-smtp):
17095 Set :use-starttls-if-possible so that we always use STARTTLS if the
17096 server supports it. SMTP servers that support STARTTLS commonly
17097 require it.
17098
17099 * net/network-stream.el (network-stream-open-starttls): Support
17100 upgrading to STARTTLS always, even if we don't have built-in support.
17101 (open-network-stream): Add the :always-query-capabilities keyword.
17102
17103 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17104 upgrades with `open-network-stream', and rely solely on
17105 auth-source for all credentials. Big changes throughout the file,
17106 but in particular:
17107 (smtpmail-auth-credentials): Remove.
17108 (smtpmail-starttls-credentials): Remove.
17109 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17110 MAIL FROM, too.
17111
17112 * net/network-stream.el (network-stream-open-starttls):
17113 Provide support for client certificates both for external and built-in
17114 STARTTLS.
17115 (auth-source): Require.
17116 (open-network-stream): Document the :client-certificate keyword.
17117 (network-stream-certificate): Change cert-cert to cert and
17118 cert-key to key.
17119
17120 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17121
17122 * net/tramp-cache.el (top): Don't load the persistency file when
17123 "emacs -Q" has been called.
17124
17125 2011-06-21 Tim Harper <timcharper@gmail.com>
17126
17127 * term/ns-win.el (ns-initialize-window-system):
17128 Set application-specific `ApplePressAndHoldEnabled' system
17129 resource to NO as it is not yet supported by the NS port.
17130
17131 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17132
17133 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17134 (list-dynamic-libraries): ...not here.
17135
17136 2011-06-21 Leo Liu <sdl.web@gmail.com>
17137
17138 * subr.el (sha1): Implement sha1 using secure-hash.
17139
17140 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17141
17142 * window.el (display-buffer-alist): In default value do not
17143 enforce searching a window on any but the selected frame.
17144 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17145 (display-buffer-select-window): Remove function.
17146 (display-buffer-in-window): When a window on another frame gets
17147 reused, do not select it any more but just raise its frame if
17148 necessary (Bug#8851) and (Bug#8856).
17149 (display-buffer-normalize-options): Handle pop-up-frames related
17150 options more faithfully.
17151 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17152 window if it is on another frame.
17153 (display-buffer-alist, display-buffer-default-specifiers):
17154 Don't make new frame unsplittable by default.
17155 (display-buffer-normalize-argument): Fix doc-string typo and use
17156 'same-frame-other-window instead of 'other-window when associating
17157 with display-buffer-macro-specifiers.
17158
17159 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17160
17161 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17162 New functions.
17163 (5x5-mode-map, 5x5-mode-menu): Bind them.
17164 (5x5-draw-grid): Tweak the solver's rendering.
17165
17166 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17167
17168 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17169 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17170
17171 2011-06-21 Drew Adams <drew.adams@oracle.com>
17172
17173 * menu-bar.el: Use function variable instead of switch-to-buffer.
17174 (menu-bar-select-buffer-function): New variable.
17175 (menu-bar-update-buffers): Use it (bug#8876).
17176
17177 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17178
17179 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17180 variable's status.
17181
17182 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17183
17184 * x-dnd.el (x-dnd-version-from-flags)
17185 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17186 and long as number (Bug#8899).
17187 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17188
17189 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17190
17191 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17192 (completion-try-completion, completion-all-completions): Compute the
17193 metadata argument if it's missing; make it optional (bug#8795).
17194
17195 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17196 (widget-complete): Use new :completion-function property.
17197 (widget-completions-at-point): New function.
17198 (default): Use :completion-function instead of :complete.
17199 (widget-default-completions): Rename from widget-default-complete;
17200 Rewrite.
17201 (widget-string-complete, widget-file-complete, widget-color-complete):
17202 Remove functions.
17203 (file, symbol, function, variable, coding-system, color):
17204 * international/mule-cmds.el (default-input-method, charset)
17205 (language-info-custom-alist):
17206 * cus-edit.el (face): Use new property :completions.
17207
17208 * progmodes/pascal.el (pascal-completions-at-point): New function.
17209 (pascal-mode): Use it.
17210 (pascal-mode-map): Use completion-at-point.
17211 (pascal-toggle-completions): Make obsolete.
17212 (pascal-complete-word, pascal-show-completions):
17213 * progmodes/octave-mod.el (octave-complete-symbol):
17214 Redefine as obsolete alias.
17215 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17216 Signal absence of completion info for old Octave,
17217 (inferior-octave-complete): Redefine as obsolete alias.
17218 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17219 (meta-completions-at-point): Rename from meta-complete-symbol and
17220 adapt it for use on completion-at-point-functions.
17221 (meta-common-mode): Use it.
17222 (meta-looking-at-backward, meta-match-buffer): Remove.
17223 (meta-complete-symbol): Redefine as obsolete alias.
17224 (meta-common-mode-map): Use completion-at-point.
17225 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17226 (makefile-mode-map): Use completion-at-point.
17227 (makefile-completions-at-point): Rename from makefile-complete and
17228 adapt it for use on completion-at-point-functions.
17229 (makefile-mode): Use it.
17230 (makefile-complete): Redefine as obsolete alias.
17231
17232 2011-06-20 Deniz Dogan <deniz@dogan.se>
17233
17234 * net/rcirc.el: Delete trailing whitespaces once and for all.
17235
17236 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17237
17238 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17239
17240 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17241
17242 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17243
17244 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17245
17246 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17247
17248 * window.el (display-buffer-other-window-means-other-frame):
17249 Call display-buffer-normalize-alist.
17250 (display-buffer-normalize-specifiers-1): Rename to
17251 display-buffer-normalize-argument. New argument other-frame.
17252 Rewrite.
17253 (display-buffer-normalize-specifiers-2): Rename to
17254 display-buffer-normalize-options.
17255 (display-buffer-normalize-alist-1): New function.
17256 (display-buffer-normalize-specifiers-3): Rename to
17257 display-buffer-normalize-alist.
17258 Call display-buffer-normalize-alist-1.
17259 (display-buffer-normalize-options-inhibit): New variable.
17260 (display-buffer-normalize-specifiers): Rewrite calling
17261 display-buffer-normalize-alist,
17262 display-buffer-normalize-argument, and
17263 display-buffer-normalize-options. Don't call the latter if
17264 display-buffer-normalize-options-inhibit is non-nil.
17265 (frame-auto-delete): New option.
17266 (window-deletable-p): Use frame-auto-delete.
17267 (window-list-no-nils, window-state-ignored-parameters)
17268 (window-state-get-1, window-state-get, window-state-put-list)
17269 (window-state-put-1, window-state-put-2, window-state-put):
17270 New functions.
17271 (display-buffer-normalize-options): Move special-display-p group
17272 after pop-up-frame group (Bug#8851) and (Bug#8856).
17273
17274 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17275
17276 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17277 groups (Bug#8776).
17278 (rx-submatch-n): New function.
17279 (rx): Document it.
17280
17281 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17282 (Bug#8768).
17283
17284 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17285
17286 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17287
17288 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17289 anytime existing face settings are present (Bug#8889).
17290
17291 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17292 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17293 Remove unused argument.
17294
17295 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17296
17297 * window.el (display-buffer-default-specifiers):
17298 Remove pop-up-frame. Add pop-up-window-min-height,
17299 pop-up-window-min-width, and another reuse-window specifier
17300 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17301 (display-buffer-normalize-specifiers-2):
17302 Handle split-height-threshold and split-width-threshold also when
17303 pop-up-windows is unset. Add a reuse-window specifier for the
17304 case popping up a new window fails.
17305 (special-display-popup-frame): Remove double quoting.
17306 (display-buffer-normalize-specifiers-1): Fix thinko.
17307
17308 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17309
17310 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17311 according to comint-completion-addsuffix.
17312
17313 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17314 (pcomplete-suffix-list): Mark as obsolete.
17315 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17316 pcomplete-seen in the closure.
17317 (pcomplete-comint-setup): Setup completion-at-point as well.
17318 (pcomplete--entries): New function.
17319 (pcomplete--env-regexp): New var.
17320 (pcomplete-entries): Rewrite to work with partial-completion and
17321 without relying on pcomplete-suffix-list.
17322 (pcomplete-pare-list): Remove, unused.
17323
17324 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17325
17326 * window.el (display-buffer-alist): Set pop-up-window-min-height
17327 and pop-up-window-min-width in default value. Reported by
17328 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17329 other-window-means-other-frame.
17330 (display-buffer-macro-specifiers): Comment out entry for
17331 other-window specifier.
17332 (display-buffer-other-window-means-other-frame): New function.
17333 (display-buffer-normalize-specifiers-1): New arguments
17334 buffer-name and label. Treat other-window case specially.
17335 (display-buffer-normalize-specifiers-2): Treat other-window case
17336 specially.
17337 (display-buffer-normalize-specifiers-3): New function.
17338 (display-buffer-normalize-specifiers):
17339 Call display-buffer-normalize-specifiers-3.
17340
17341 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17342
17343 * window.el (same-window-p): Fix two typos introduced when
17344 adding with-no-warnings.
17345 (display-buffer-normalize-specifiers-1): Don't check
17346 pop-up-frames for 'unset initialization.
17347 (display-buffer-normalize-specifiers-2): Major rewrite using
17348 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17349 (pop-up-frames, display-buffer-reuse-frames)
17350 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17351 Suggested by David Engster <deng@randomsample.de>.
17352 (even-window-heights): Initialize to 'unset.
17353 (display-buffer-alist-set): Handle new 'unset initializations.
17354 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17355 other window case.
17356
17357 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17358
17359 * window.el (display-buffer-normalize-specifiers-1):
17360 Respect current value of pop-up-frames for most reasonable values of
17361 second argument of display-buffer (Bug#8865).
17362 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17363 (switch-to-buffer-other-window-same-frame)
17364 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17365 Adams (Bug#8875).
17366 (display-buffer): Don't check noninteractive when calling
17367 display-buffer-pop-up-frame.
17368 (display-buffer-pop-up-frame): Never pop up a frame in
17369 noninteractive mode (Bug#8857).
17370 (enlarge-window, shrink-window): Don't report an error when the
17371 window can't be resized as requested (Bug#8862).
17372
17373 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17374
17375 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17376
17377 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17378
17379 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17380
17381 2011-06-15 Alan Mackenzie <acm@muc.de>
17382
17383 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17384 for declarators, disable knr checking to speed up for normal files.
17385 2: Refactor, replacing a sequence of nested if forms by a cond form.
17386
17387 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17388
17389 * net/network-stream.el (open-network-stream): Add the keyword
17390 :always-query-capabilities for the case where you want to force a
17391 `plain' network connection, but the protocol still requires the
17392 capabilitiy command (i.e., SMTP and EHLO).
17393
17394 * subr.el (process-live-p): Rename from `process-alive-p' for
17395 consistency with other `-live-p' functions.
17396
17397 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17398
17399 * window.el (same-window-buffer-names, same-window-regexps)
17400 (special-display-frame-alist, special-display-popup-frame)
17401 (special-display-function, special-display-buffer-names)
17402 (special-display-regexps, pop-up-frame-alist)
17403 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17404 (pop-up-windows, split-window-preferred-function)
17405 (split-height-threshold, split-width-threshold, even-window-heights)
17406 (display-buffer-mark-dedicated): Don't encourage the use of
17407 display-buffer-alist from Elisp code.
17408
17409 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17410
17411 * progmodes/python.el (python-mode): Derive from prog-mode.
17412 * progmodes/ps-mode.el (ps-mode):
17413 * progmodes/mixal-mode.el (mixal-mode):
17414 * progmodes/cfengine.el (cfengine-mode):
17415 * progmodes/ld-script.el (ld-script-mode): Likewise.
17416
17417 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17418
17419 * window.el (display-buffer-alist): Trim default value to avoid
17420 popping up a new frame (Bug#8857) or reusing an arbitrary window
17421 on another frame.
17422 (display-buffer): Do not fall back on popping up a new frame in
17423 batch mode (Bug#8857).
17424
17425 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17426
17427 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17428 (custom-theme-summary): New function.
17429 (customize-themes): Use it.
17430
17431 2011-06-13 Glenn Morris <rgm@gnu.org>
17432
17433 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17434
17435 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17436
17437 * help.el (help-window): Remove variable.
17438 (help-window-point-marker, temp-buffer-max-height)
17439 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17440 (help-print-return-message): Don't set help-window.
17441 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17442 (help-window-setup-finish): Remove.
17443 (help-window-display-message, help-window-setup)
17444 (with-help-window): Major rewrite based on new
17445 display-buffer-window variable.
17446
17447 * help-mode.el (help-mode-finish): Remove help-window related
17448 code.
17449
17450 * view.el (view-exits-all-viewing-windows): Remove reference to
17451 view-return-to-alist in doc-string.
17452 (view-return-to-alist): Make obsolete.
17453 (view-buffer): Call pop-to-buffer-same-window and remove
17454 undo-window code.
17455 (view-buffer-other-window): Call pop-to-buffer-other-window and
17456 simplify code. Ignore second argument.
17457 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17458 simplify code. Ignore second argument.
17459 (view-return-to-alist-update): Make obsolete.
17460 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17461 Rewrite using quit-restore window parameters.
17462 (view-mode-exit): Rename second argument to EXIT-ONLY.
17463 Rewrite using quit-restore-window.
17464 (View-exit, View-exit-and-edit, View-leave, View-quit)
17465 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17466 appropriate arguments.
17467 (view-end-message): Use quit-restore window parameter.
17468
17469 * window.el (display-buffer-function): Rewrite doc-string.
17470 (display-buffer-window, display-buffer-alist): New variables.
17471 (display-buffer-split-specifiers)
17472 (display-buffer-side-specifiers)
17473 (display-buffer-macro-specifiers): New constants.
17474 (display-buffer-even-window-sizes, display-buffer-set-height)
17475 (display-buffer-set-width, display-buffer-select-window)
17476 (display-buffer-in-window, display-buffer-reuse-window)
17477 (display-buffer-split-window-1, display-buffer-split-window)
17478 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17479 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17480 (display-buffer-in-side-window, normalize-buffer-to-display)
17481 (display-buffer-normalize-specifiers-1)
17482 (display-buffer-normalize-specifiers-2)
17483 (display-buffer-normalize-specifiers, display-buffer-frame):
17484 New functions.
17485 (display-buffer): Major rewrite.
17486 (display-buffer-other-window, display-buffer-other-frame)
17487 (pop-to-buffer, switch-to-buffer-other-window)
17488 (switch-to-buffer-other-frame): Rewrite.
17489 (display-buffer-same-window, display-buffer-same-frame)
17490 (display-buffer-same-frame-other-window)
17491 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17492 (pop-to-buffer-other-window)
17493 (pop-to-buffer-same-frame-other-window)
17494 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17495 (switch-to-buffer-other-window-same-frame): New functions.
17496 (same-window-p, special-display-p): Rewrite disabling warnings.
17497 Make obsolete.
17498 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17499 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17500 Make obsolete
17501 (same-window-buffer-names, same-window-regexps)
17502 (special-display-frame-alist, special-display-popup-frame)
17503 (special-display-function, special-display-buffer-names)
17504 (special-display-regexps, pop-up-frame-alist)
17505 (pop-up-frame-function, split-window-preferred-function)
17506 (split-height-threshold, split-width-threshold)
17507 (even-window-heights): Make obsolete.
17508
17509 2011-06-12 Glenn Morris <rgm@gnu.org>
17510
17511 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17512 Misc simplifications.
17513
17514 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17515
17516 * window.el (window-safely-shrinkable-p): Restore function which
17517 was inadvertently removed in change from 2011-06-11. Declare as
17518 obsolete.
17519
17520 * calendar/calendar.el (calendar-generate-window):
17521 Use window-iso-combined-p instead of combination of one-window-p and
17522 window-safely-shrinkable-p.
17523
17524 2011-06-12 Glenn Morris <rgm@gnu.org>
17525
17526 * progmodes/fortran.el (fortran-mode-syntax-table):
17527 * progmodes/f90.el (f90-mode-syntax-table):
17528 Set % to punctuation. (Bug#8820)
17529 (f90-find-tag-default): Remove, no longer needed.
17530
17531 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17532
17533 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17534
17535 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17536
17537 * image.el (image-animated-p): Return animation delay in seconds.
17538 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17539 (image-animate-timeout): Remove DELAY argument. Don't assume
17540 every subimage has the same delay; get it from image-animated-p.
17541 (image-animate): Caller changed.
17542
17543 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17544
17545 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17546 to ignored backtrace functions.
17547
17548 2011-06-11 Glenn Morris <rgm@gnu.org>
17549
17550 * calendar/appt.el (appt-disp-window-function): Doc fix.
17551 (appt-check): Handle overlapping appointments. (Bug#8337)
17552
17553 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17554
17555 * window.el (window-tree-1, window-tree): New functions, moving
17556 the latter to window.el.
17557 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17558 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17559 (bw-refresh-edges): Remove.
17560 (balance-windows-1, balance-windows-2): New functions.
17561 (balance-windows): Rewrite in terms of window tree functions,
17562 balance-windows-1 and balance-windows-2.
17563 (bw-adjust-window): Remove.
17564 (balance-windows-area-adjust): New function with functionality of
17565 bw-adjust-window but using resize-window.
17566 (set-window-text-height): Rewrite doc-string.
17567 Use normalize-live-window and resize-window.
17568 (enlarge-window-horizontally, shrink-window-horizontally):
17569 Rename argument to DELTA.
17570 (window-buffer-height): New function.
17571 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17572 Rewrite using new window resize routines.
17573 (kill-buffer-and-window, mouse-autoselect-window-select):
17574 Use ignore-errors instead of condition-case.
17575 (quit-window): Call delete-frame instead of delete-windows-on
17576 for the only buffer on frame.
17577
17578 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17579
17580 * loadup.el (top-level): Load window before files for the sake
17581 of replace-buffer-in-windows.
17582
17583 * files.el (read-buffer-to-switch)
17584 (switch-to-buffer-other-window)
17585 (switch-to-buffer-other-frame, display-buffer-other-frame):
17586 Move to window.el.
17587
17588 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17589 (previous-buffer): Move to window.el.
17590
17591 * bindings.el (unbury-buffer): Move to window.el.
17592
17593 * window.el (delete-other-windows-vertically): Move after
17594 definition of delete-other-windows.
17595 (other-window, delete-windows-on, replace-buffer-in-windows):
17596 Move here from window.c.
17597 (record-window-buffer, unrecord-window-buffer)
17598 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17599 (switch-to-next-buffer): New functions.
17600 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17601 from simple.el. Call switch-to-next-buffer.
17602 (previous-buffer): Move here from simple.el.
17603 Call switch-to-prev-buffer.
17604 (bury-buffer): Move here from buffer.c. Switch to previous
17605 buffer when window cannot be deleted.
17606 (unbury-buffer): Move here from bindings.el.
17607 (ctl-x-map): Move binding for other-window from window.c to
17608 here.
17609 (read-buffer-to-switch, switch-to-buffer-other-window)
17610 (switch-to-buffer-other-frame): Move here from files.el.
17611 (normalize-buffer-to-switch-to): New functions.
17612 (switch-to-buffer): Move here from buffer.c.
17613 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17614
17615 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17616
17617 * window.el (window-min-height, window-min-width): Move here
17618 from window.c. Add defcustoms and rewrite doc-strings.
17619 (resize-mini-window, resize-window): New functions.
17620 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17621 Move here from window.c.
17622 (maximize-window, minimize-window): New functions.
17623 (delete-window, delete-other-windows, split-window): Move here
17624 from window.c.
17625 (window-split-min-size): New function.
17626 (split-window-keep-point): Mention split-window-above-each-other
17627 instead of split-window-vertically.
17628 (split-window-above-each-other, split-window-vertically):
17629 Rename split-window-vertically to split-window-above-each-other
17630 and provide defalias for old definition.
17631 (split-window-side-by-side, split-window-horizontally):
17632 Rename split-window-horizontally to split-window-side-by-side
17633 and provide defalias for the old definition.
17634 (ctl-x-map): Move bindings for delete-window,
17635 delete-other-windows and enlarge-window here from window.c.
17636 Replace bindings for split-window-vertically and
17637 split-window-horizontally by bindings for
17638 split-window-above-each-other and split-window-side-by-side.
17639
17640 * cus-start.el (all): Remove entries for window-min-height and
17641 window-min-width. Add entries for window-splits and
17642 window-nest.
17643
17644 2011-06-09 Glenn Morris <rgm@gnu.org>
17645
17646 * calendar/appt.el (appt-mode-line): New function.
17647 (appt-check, appt-disp-window): Use it.
17648
17649 * files.el (hack-one-local-variable-eval-safep):
17650 Allow minor-modes with explicit +/-1 arguments.
17651
17652 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17653
17654 * term/xterm.el (xterm): Add defgroup.
17655 (xterm-extra-capabilities): Add defcustom to supply known xterm
17656 capabilities, skip querying them, or query them (default).
17657 (terminal-init-xterm): Use it.
17658 (terminal-init-xterm-modify-other-keys): New function to set up
17659 modifyOtherKeys support to simplify `terminal-init-xterm'.
17660
17661 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17662
17663 * window.el (resize-window-reset, resize-window-reset-1)
17664 (resize-subwindows-skip-p, resize-subwindows-normal)
17665 (resize-subwindows, resize-other-windows, resize-this-window)
17666 (resize-root-window, resize-root-window-vertically)
17667 (window-deletable-p, window-or-subwindow-p)
17668 (frame-root-window-p): New functions.
17669
17670 2011-06-09 Glenn Morris <rgm@gnu.org>
17671
17672 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17673 (ange-ftp-get-files): Use it.
17674
17675 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17676
17677 * mail/sendmail.el (mail-recover-1, mail-recover):
17678 * files.el (recover-file, recover-session):
17679 Handle dired-listing-switches not being just a single short option.
17680
17681 2011-06-09 Glenn Morris <rgm@gnu.org>
17682
17683 * calendar/appt.el (appt-display-message, appt-disp-window):
17684 Handle lists of appointments.
17685
17686 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17687
17688 * window.el (one-window-p): Move down in code.
17689 Rewrite doc-string.
17690 (window-current-scroll-bars): Rewrite doc-string.
17691 Normalize live window argument.
17692 (walk-windows, get-window-with-predicate, count-windows):
17693 Rewrite doc-string. Use window-list-1.
17694 (window-in-direction-2, window-in-direction, get-mru-window):
17695 New functions.
17696
17697 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17698
17699 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17700 Doc fix (Bug#8713).
17701
17702 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17703
17704 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17705
17706 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17707
17708 * loadhist.el (unload-feature-special-hooks):
17709 Add `comint-output-filter-functions'.
17710
17711 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17712
17713 * calendar/appt.el (appt-check): Move some initializations into the let.
17714
17715 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17716
17717 * window.el (window-height): Defalias to window-total-height.
17718 (window-width): Defalias to window-body-width.
17719
17720 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17721
17722 * image-mode.el (image-toggle-animation): New command.
17723 (image-mode-map): Bind it to RET.
17724 (image-mode): Update message.
17725 (image-toggle-display-image): Avoid a spurious cache flush.
17726 (image-transform-rotation): Doc fix.
17727 (image-transform-properties): Return quickly in the normal case.
17728 (image-animate-loop): Rename from image-animate-max-time.
17729
17730 * image.el (image-animate-max-time): Move to image-mode.el.
17731 (create-animated-image): Remove unnecessary function.
17732 (image-animate): Rename from image-animate-start. New arg.
17733 (image-animate-stop): Remove; just use image-animate-timer.
17734 (image-animate-timer): Use car-safe.
17735 (image-animate-timeout): Rename argument.
17736
17737 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17738
17739 * window.el (get-lru-window, get-largest-window): Move here from
17740 window.c. Rename first argument to ALL-FRAMES.
17741 Rephrase doc-strings.
17742 (get-buffer-window-list): Rewrite using window-list-1.
17743 Rephrase doc-string.
17744 (window-safe-min-height, window-safe-min-width): New constants.
17745 (window-size-ignore, window-min-size, window-min-size-1)
17746 (window-sizable, window-sizable-p, window-size-fixed-1)
17747 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17748 (window-max-delta-1, window-max-delta, window-resizable)
17749 (window-resizable-p, window-total-height, window-total-width)
17750 (window-body-width): New functions.
17751 (window-full-height-p, window-full-width-p): Rewrite using
17752 window-total-size.
17753 (window-body-height): Rewrite using window-body-size.
17754
17755 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17756
17757 * window.el (window-right, window-left, window-child)
17758 (window-child-count, window-last-child, window-any-p)
17759 (normalize-live-buffer, normalize-live-frame)
17760 (normalize-any-window, normalize-live-window)
17761 (window-iso-combination-p, window-iso-combined-p)
17762 (window-iso-combinations)
17763 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17764 (windows-with-parameter, window-with-parameter)
17765 (window-atom-root, make-window-atom, window-atom-check-1)
17766 (window-atom-check, window-side-check, window-check):
17767 New functions.
17768 (ignore-window-parameters, window-sides, window-sides-vertical)
17769 (window-sides-slots): New variables.
17770 (window-size-fixed): Move down in code. Minor doc-string fix.
17771
17772 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17773
17774 * comint.el (comint-dynamic-complete-as-filename)
17775 (comint-dynamic-complete-filename): Correctly call
17776 completion-in-region.
17777
17778 2011-06-05 Deniz Dogan <deniz@dogan.se>
17779
17780 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17781 in last change.
17782
17783 2011-06-05 Deniz Dogan <deniz@dogan.se>
17784
17785 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17786 (rcirc): Use it to prompt for encryption.
17787
17788 2011-06-05 Roland Winkler <winkler@gnu.org>
17789
17790 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17791 (bibtex-search-entries): New command bound to C-c C-a.
17792 (bibtex-display-entries): New function.
17793
17794 2011-06-05 Roland Winkler <winkler@gnu.org>
17795
17796 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17797 (bibtex-insert-kill): After yanking insert newline if necessary.
17798 (bibtex-initialize): Call bibtex-string-files-init only once.
17799 (bibtex-mode): Do not call easy-menu-add.
17800 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17801 (bibtex-yank): Set arg properly if nil.
17802
17803 2011-06-05 Roland Winkler <winkler@gnu.org>
17804
17805 * textmodes/bibtex.el (bibtex-search-entry-globally):
17806 New variable.
17807 (bibtex-search-entry): Use it.
17808
17809 2011-06-05 Roland Winkler <winkler@gnu.org>
17810
17811 * textmodes/bibtex.el (bibtex-entry-format): New option
17812 sort-fields.
17813 (bibtex-format-entry, bibtex-reformat): Honor this option.
17814 (bibtex-parse-entry): Return fields in proper order.
17815
17816 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17817
17818 * doc-view.el (doc-view-remove-if): Move computation of result out
17819 of `dolist' to silence misleading lexical-binding warning.
17820
17821 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17822
17823 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17824 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17825
17826 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17827
17828 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17829 "SunOS 5.10".
17830
17831 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17832
17833 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17834 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17835 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17836 (tramp-parse-putty):
17837 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17838 (tramp-completion-function-alist-ssh)
17839 (tramp-completion-function-alist-telnet)
17840 (tramp-completion-function-alist-su)
17841 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17842 cookie.
17843
17844 * net/tramp-ftp.el:
17845 * net/tramp-sh.el:
17846 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17847 load "tramp.el" `tramp-set-completion-function'.
17848
17849 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17850
17851 * shell.el: Require and use pcomplete.
17852 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17853 (shell-completion-vars): Set pcomplete-default-completion-function.
17854
17855 2011-06-04 Deniz Dogan <deniz@dogan.se>
17856
17857 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17858 `memq' (Bug#8799).
17859
17860 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17861
17862 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17863
17864 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17865
17866 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17867 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17868 * vc/log-view.el (log-view-beginning-of-defun):
17869 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17870 (smerge-refine-forward, smerge-refine-chopup-region):
17871 Silence warning for unused `dotimes' counter variables.
17872
17873 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17874
17875 * net/tramp.el (tramp-with-progress-reporter): Rename from
17876 with-progress-reporter. Use `declare'.
17877 * net/tramp-smb.el:
17878 * net/tramp-sh.el:
17879 * net/tramp-gvfs.el: Update all uses.
17880
17881 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17882
17883 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17884 buffer isn't killed before making it current.
17885
17886 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17887
17888 Silence various byte-compiler warnings.
17889 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17890 `access-type' and new obsolescence format.
17891 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17892 new format.
17893 (byte-compile-check-variable): New `access-type' argument.
17894 Only warn if the access-type is obsolete.
17895 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17896 (byte-compile-variable-set): Adjust callers.
17897 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17898 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17899 setting it as obsolete.
17900 * simple.el (minibuffer-completing-symbol):
17901 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17902 access as obsolete.
17903 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17904 obsolete yet.
17905 * international/quail.el (quail-mouse-choose-completion): Remove unused
17906 code referring to obsolete var.
17907 (quail-choose-completion-string): Remove.
17908 * server.el (server-clients-with, server-kill-buffer-query-function)
17909 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17910 * proced.el (proced-send-signal):
17911 * emacs-lisp/lisp.el (lisp-complete-symbol):
17912 Replace completion-annotate-function with completion-extra-properties.
17913
17914 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17915
17916 * simple.el (goto-line): Use read-number.
17917 (overriding-map-is-bound): Remove.
17918 (saved-overriding-map): Change default.
17919 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17920 Take the map as argument.
17921 (universal-argument, negative-argument, digit-argument): Use it.
17922 (restore-overriding-map): Adjust.
17923 (do-auto-fill): Use fill-forward-paragraph.
17924 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17925
17926 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17927 (minibuffer-inactive-mode): New major mode.
17928 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17929 the *Messages* buffer" hack.
17930 (mouse-popup-menubar): Don't burp if the event is a normal key.
17931
17932 Miscellaneous tweaks.
17933 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17934 lexical scoping as in subr.el's dolist and dotimes.
17935 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17936 Silence compiler warning.
17937 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17938 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17939 * international/ccl.el (ccl-compile): Trivial simplification.
17940 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17941 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17942 `printflag' argument.
17943 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17944 Purecopy the whole obsolescence data.
17945
17946 2011-06-01 Leo Liu <sdl.web@gmail.com>
17947
17948 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17949 improve doc-string as suggested by Marco Pessotto
17950 <melmothx@gmail.com>.
17951 (rcirc-print): Fix last change.
17952
17953 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17954
17955 * minibuffer.el (complete-with-action): Return nil for the metadata and
17956 boundaries of non-functional tables.
17957 (completion-table-dynamic): Return nil for the metadata.
17958 (completion-table-with-terminator): Add default case, using
17959 complete-with-action.
17960 (completion--metadata): New function.
17961 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17962 to try and avoid pathological performance problems.
17963 (completion--embedded-envvar-table): Return `category' metadata.
17964
17965 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17966
17967 * subr.el (process-alive-p): New tiny convenience function.
17968
17969 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17970
17971 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17972 content but also its previous major mode.
17973
17974 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17975
17976 * emacs-lisp/debug.el (debug): Restore the previous content of the
17977 *Backtrace* buffer when we exit with C-M-c.
17978
17979 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17980
17981 * minibuffer.el: Add metadata method to completion tables.
17982 (completion-category-overrides): New defcustom.
17983 (completion-metadata, completion--field-metadata)
17984 (completion-metadata-get, completion--styles)
17985 (completion--cycle-threshold): New functions.
17986 (completion-try-completion, completion-all-completions):
17987 Add `metadata' argument to choose completion-styles.
17988 (completion--do-completion): Use metadata to choose cycling.
17989 (completion-all-sorted-completions): Use metadata for sorting.
17990 Remove :completion-cycle-penalty which is not needed any more.
17991 (completion--try-word-completion): Add `metadata' argument.
17992 (minibuffer-completion-help): Check metadata for annotation function
17993 and sorting.
17994 (completion-file-name-table): Return `category' metadata.
17995 (minibuffer-completing-file-name): Make obsolete.
17996 * simple.el (minibuffer-completing-symbol): Make obsolete.
17997 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17998 completion-try-completion.
17999
18000 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18001
18002 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18003
18004 2011-05-30 Leo Liu <sdl.web@gmail.com>
18005
18006 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18007 (rcirc-print): Decode all incoming messages (bug#8744).
18008 (rcirc-decode-coding-system): Allow value nil for automatic coding
18009 system detection.
18010
18011 2011-06-01 Glenn Morris <rgm@gnu.org>
18012
18013 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18014
18015 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18016
18017 * image.el (image-animate-max-time): Allow nil and t values.
18018 Default to nil.
18019 (create-animated-image): Doc fix.
18020 (image-animate-start): Remove second arg; just use
18021 image-animate-max-time.
18022 (image-animate-timeout): Doc fix. Args changed.
18023
18024 * image-mode.el (image-toggle-display-image): Ensure that the
18025 image spec passed to the animate timer is the same object as in
18026 the buffer's display property (Bug#6981).
18027 (image-transform-properties): Doc fix.
18028
18029 * image.el (image-animate-max-time): Default to nil.
18030
18031 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18032
18033 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18034 entire buffer list (Bug#8184).
18035
18036 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18037
18038 * image.el (imagemagick-types-inhibit)
18039 (imagemagick-register-types): Doc fix.
18040
18041 2011-05-29 Deniz Dogan <deniz@dogan.se>
18042
18043 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18044 default.
18045
18046 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18047
18048 * select.el: Don't perform clipboard-manager saving in hooks;
18049 leave the hooks empty.
18050
18051 2011-05-28 Leo Liu <sdl.web@gmail.com>
18052
18053 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18054 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18055 (occur-edit-mode): New major mode (Bug#8463).
18056 (occur-after-change-function): New function.
18057 (occur-engine): Give Occur tags a read-only property.
18058
18059 2011-05-28 Kevin Ryde <user42@zip.com.au>
18060
18061 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18062
18063 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18064
18065 * bindings.el (help-echo): Make the initial non-indicator dash
18066 empty on graphical terminals (Bug#7295).
18067
18068 * files.el (auto-mode-alist): Move config rule after the
18069 in-stripping one (Bug#8547).
18070
18071 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18072
18073 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18074 setting (Bug#8740).
18075
18076 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18077
18078 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18079 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18080 (Bug#8539).
18081
18082 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18083
18084 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18085
18086 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18087
18088 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18089 (hs-hide-block-at-point, hs-find-block-beginning)
18090 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18091 (Bug#8279).
18092
18093 2011-05-28 Glenn Morris <rgm@gnu.org>
18094
18095 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18096
18097 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18098
18099 * help-fns.el (describe-function-1): If the function is a derived
18100 major mode, print the parent mode.
18101
18102 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18103 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18104
18105 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 * minibuffer.el (completion--capf-wrapper): Check applicability before
18108 returning non-nil for non-exclusive completion data.
18109 * progmodes/etags.el (tags-completion-at-point-function):
18110 * info-look.el (info-lookup-completions-at-point): Mark as
18111 non-exclusive.
18112 (info-complete): Adjust accordingly.
18113
18114 * info-look.el: Convert to lexical-binding and completion-at-point.
18115 (info-lookup-completions-at-point): New function.
18116 (info-complete): Use it and completion-in-region.
18117
18118 2011-05-28 Drew Adams <drew.adams@oracle.com>
18119
18120 * isearch.el: Let M-e start with point at the first mismatched char.
18121 (isearch-fail-pos): New function.
18122 (isearch-edit-string): Use it.
18123
18124 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18125
18126 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18127
18128 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18129
18130 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18131 traversal functions for avl-trees.
18132 (avl-tree--stack): New struct.
18133 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18134 (avl-tree-enter): Add optional `updatefun' arg.
18135 (avl-tree--do-enter): Add optional `updatefun' arg.
18136 Change return value.
18137 (avl-tree-delete): Add optional `test' and `nilflag' args.
18138 (avl-tree--do-delete): Add `test' and `nilflag' args.
18139 Change return value.
18140 (avl-tree-member): Add optional `nilflag'
18141 (avl-tree-member-p): New function.
18142 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18143 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18144 (avl-tree-stack-empty-p): New functions.
18145
18146 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18147 avl-tree--del-balance1 and make it work both ways.
18148 (avl-tree--del-balance2): Remove.
18149 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18150 make it work both ways.
18151 (avl-tree--enter-balance2): Remove.
18152 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18153 New macros.
18154 (avl-tree--mapc, avl-tree-map): Add direction argument.
18155
18156 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18157
18158 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18159
18160 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18161
18162 * select.el: Support clipboard managers with built-in function
18163 x-clipboard-manager-save, via delete-frame-functions and
18164 kill-emacs-hook.
18165 (xselect-convert-to-targets): Add MULTIPLE target to list.
18166 (xselect-convert-to-save-targets): New function.
18167
18168 2011-05-27 Kenichi Handa <handa@m17n.org>
18169
18170 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18171 let-binding rfc2047-encode-encoded-words to nil.
18172
18173 2011-05-27 Glenn Morris <rgm@gnu.org>
18174
18175 * mail/emacsbug.el: Don't require url-util.
18176
18177 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18178
18179 * files.el (set-auto-mode):
18180 Also respect mode: entries at the end of the file. (Bug#8586)
18181
18182 2011-05-26 Glenn Morris <rgm@gnu.org>
18183
18184 * files.el (hack-local-variables-prop-line, hack-local-variables):
18185 Downcase mode names, as seems to be traditional.
18186 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18187
18188 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18189 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18190
18191 2011-05-25 Julien Danjou <julien@danjou.info>
18192
18193 * textmodes/rst.el (rst-define-level-faces): Do not define face
18194 symbol if it is already defined.
18195
18196 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18197
18198 * play/5x5.el (5x5-new-game, 5x5-randomize):
18199 Reset 5x5-solver-output to nil when a new grid is cast.
18200 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18201 these debugging traces, as defmacro breaks the compiled code.
18202
18203 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18204
18205 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18206
18207 2011-05-24 Leo Liu <sdl.web@gmail.com>
18208
18209 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18210 (vc-bzr-sha1): Adapt.
18211
18212 * sha1.el: Remove. Function `sha1' is now builtin.
18213
18214 * bindings.el: Provide sha1 feature.
18215
18216 2011-05-24 Kenichi Handa <handa@m17n.org>
18217
18218 * mail/sendmail.el: Require `rfc2047'.
18219 (mail-insert-from-field): Do not perform RFC2047 encoding.
18220 (mail-encode-header): New function.
18221 (sendmail-send-it): Set buffer-file-coding-system of the work
18222 buffer to the return value of select-message-coding-system.
18223 Call mail-encode-header.
18224
18225 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18226
18227 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18228
18229 * mail/supercite.el (sc-default-cite-frame):
18230 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18231
18232 2011-05-24 Glenn Morris <rgm@gnu.org>
18233
18234 * progmodes/python.el (brm-menu): Declare.
18235
18236 * emulation/viper.el (viper-set-hooks): Declare.
18237
18238 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18239 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18240 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18241 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18242 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18243 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18244
18245 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18246
18247 Add an :exit-function for completion-at-point.
18248
18249 * minibuffer.el (completion--done): New fun.
18250 (completion--do-completion): Use it. New arg `expect-exact'.
18251 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18252 since completion--do-completion does it for us now.
18253 (minibuffer-force-complete): Use completion--done and
18254 completion--replace. Handle sole-completion case with more care.
18255 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18256 (completion-extra-properties): New var.
18257 (completion-annotate-function): Make obsolete.
18258 (minibuffer-completion-help): Adjust accordingly.
18259 Use completion-list-insert-choice-function.
18260 (completion-at-point, completion-help-at-point):
18261 Bind completion-extra-properties.
18262 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18263 * simple.el (completion-list-insert-choice-function): New var.
18264 (completion-setup-function): Preserve it.
18265 (choose-completion): Pay attention to it, shuffle the code a bit.
18266 (choose-completion-string): New arg `insert-function'.
18267
18268 * textmodes/bibtex.el: Convert to lexical binding.
18269 (bibtex-mode-map): Use completion-at-point.
18270 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18271 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18272 (bibtex-complete): Define as obsolete alias.
18273 (bibtex-complete-internal): Remove.
18274 (bibtex-format-entry): Remove unused sub-group in regexp.
18275 * shell.el (shell--command-completion-data)
18276 (shell-environment-variable-completion):
18277 * pcomplete.el (pcomplete-completions-at-point):
18278 * comint.el (comint--complete-file-name-data): Use :exit-function
18279 instead of completion-table-with-terminator so it also works for
18280 choose-completion.
18281
18282 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18283
18284 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18285
18286 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18287 (bug#8710).
18288
18289 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18290
18291 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18292
18293 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18294 customization variable and implement: If non-nil, auto-fill will
18295 be inhibited while on topic's header line.
18296
18297 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18298
18299 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18300 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18301 always have a solution in grid size = 5 cases.
18302 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18303 (5x5-solver-output, 5x5-log-buffer): New vars.
18304 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18305 Make these variables buffer local to achieve 5x5 multi-session-ness.
18306 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18307 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18308 (5x5-solve-suggest): New funs.
18309 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18310 randomize a grid so that we ensure that there is always a solution.
18311 (5x5-make-random-grid): Allow other movement than flipping.
18312
18313 2011-05-23 Kevin Ryde <user42@zip.com.au>
18314
18315 * emacs-lisp/advice.el (ad-read-advised-function):
18316 Use `function-called-at-point' as the default, if it has
18317 advice and passes PREDICATE.
18318
18319 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18320
18321 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18322 byte-compile-lambda if it's actually a lambda.
18323
18324 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18325 Fix function quoting. Use backquote better.
18326
18327 2011-05-22 Yuanle Song <sylecn@gmail.com>
18328
18329 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18330 matching (Bug#8516).
18331
18332 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18333
18334 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18335 different face (Bug#8178).
18336
18337 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18338
18339 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18340 defface (Bug#8144).
18341
18342 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18343
18344 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18345 funcall as well (bug#8712). Warn when performing those conversions.
18346 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18347
18348 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18349
18350 2011-05-22 Glenn Morris <rgm@gnu.org>
18351
18352 * files.el (hack-local-variables-prop-line): Small simplifications.
18353 (hack-local-variables, hack-local-variables-prop-line):
18354 If MODE-ONLY, return the mode, rather than just `t'.
18355
18356 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18357
18358 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18359
18360 2011-05-21 Glenn Morris <rgm@gnu.org>
18361
18362 * files.el (hack-local-variables-prop-line, hack-local-variables):
18363 If only interested in the mode, don't bother doing the other stuff.
18364
18365 * image-mode.el (image-after-revert-hook):
18366 Redraw all frames on which the image is visible. (Bug#8567)
18367
18368 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18369
18370 * wid-edit.el (widget-checklist-match-inline):
18371 Fix 2011-04-19 change. (Bug#8649)
18372
18373 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18374
18375 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18376 Also allow singlespace after single-letter capitals followed by a dot.
18377
18378 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18379 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18380
18381 2011-05-20 Nix <nix@esperi.org.uk>
18382
18383 * files.el (basic-save-buffer-2):
18384 Fix handling of break-hardlink-on-save with non-existent files.
18385
18386 2011-05-19 Deniz Dogan <deniz@dogan.se>
18387
18388 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18389 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18390
18391 2011-05-19 Glenn Morris <rgm@gnu.org>
18392
18393 * progmodes/f90.el (f90-type-def-re):
18394 Handle "type, bind(c)". (Bug#8691)
18395
18396 * emacs-lisp/autoload.el (batch-update-autoloads):
18397 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18398
18399 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18400
18401 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18402 property for the correct connection in case of multihops.
18403
18404 2011-05-18 Glenn Morris <rgm@gnu.org>
18405
18406 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18407 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18408
18409 Rationalize calendar handling of day and month abbrev-arrays.
18410 * calendar/calendar.el (calendar-customized-p): New function.
18411 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18412 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18413 Add :set function.
18414 (calendar-abbrev-length, calendar-day-abbrev-array)
18415 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18416 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18417 Elements may no longer be nil.
18418 (calendar-day-name, calendar-month-name):
18419 Update for changed nature of abbrev arrays.
18420 * calendar/diary-lib.el (diary-name-pattern):
18421 Update for changed nature of abbrev arrays.
18422 (diary-mark-entries-1): Update calendar-make-alist calls.
18423 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18424 * calendar/cal-html.el (cal-html-day-abbrev-array):
18425 Simply inherit from calendar-day-abbrev-array.
18426
18427 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18428
18429 * progmodes/grep.el (grep-mode): Disable default
18430 compilation-directory-matcher setting (bug#8684).
18431
18432 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18433
18434 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18435 instead of "head" and "tail". There were problems with SunOS 5.9,
18436 and it performs better.
18437
18438 2011-05-17 Glenn Morris <rgm@gnu.org>
18439
18440 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18441
18442 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18443 Replace obsolete function.
18444
18445 * shell.el (pcomplete-parse-arguments-function): Declare.
18446
18447 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18448 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18449 (appt-check): Doc fixes.
18450 (appt-disp-window-function, appt-delete-window-function):
18451 Remove needless special case in custom :type.
18452 (appt-display-count): Default to 0, not nil.
18453 (appt-check): Reset appt-display-count to 0, not nil.
18454
18455 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18456
18457 * progmodes/python.el (python-font-lock-keywords):
18458 Add the Python 3.X keyword "nonlocal" (bug#8639).
18459
18460 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18463
18464 2011-05-16 Kevin Ryde <user42@zip.com.au>
18465
18466 * info-look.el (makefile-automake-mode): New setups, looking in
18467 automake manual, then makefile-mode.
18468 (makefile-mode): Remove automake manual, have it just in
18469 makefile-automake-mode since there's various things different or
18470 not relevant to plain make.
18471 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18472 believe a hypothetical automake-mode would go to makefile-mode,
18473 not the other way around.
18474
18475 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18476
18477 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18478 hunk-end tags (Bug#8672).
18479
18480 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18481 vc-annotate-show-diff-revision-at-line (Bug#8671).
18482
18483 2011-05-14 Glenn Morris <rgm@gnu.org>
18484
18485 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18486 in the middle of an existing one with multiple authors. (Bug#8645)
18487 (change-log-font-lock-keywords): Also handle multiple author lines
18488 with leading tabs. (Bug#8644)
18489
18490 * calendar/appt.el (appt-check): Rename some local variables.
18491 Some simplification/reordering.
18492
18493 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18494 (feedmail-sendmail-f-doesnt-sell-me-out)
18495 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18496 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18497 (feedmail-queue-runner-message-sender): Set :version.
18498 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18499 (bbdb-dwim-net-address, vm-mail): Declare.
18500 (feedmail-binmail-gnulinuxish-template):
18501 Rename from feedmail-binmail-linuxish-template.
18502 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18503 Use insert-buffer-substring.
18504
18505 2011-05-14 Bill Carpenter <bill@carpenter.org>
18506
18507 * mail/feedmail.el (feedmail-patch-level): Increase.
18508 (feedmail-debug): New custom group.
18509 (feedmail-confirm-outgoing-timeout)
18510 (feedmail-sendmail-f-doesnt-sell-me-out)
18511 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18512 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18513 (feedmail-sender-line, feedmail-from-line)
18514 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18515 (feedmail-spray-this-address)
18516 (feedmail-spray-address-fiddle-plex-list)
18517 (feedmail-queue-use-send-time-for-date)
18518 (feedmail-queue-use-send-time-for-message-id)
18519 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18520 (feedmail-buffer-eating-function):
18521 Doc fixes.
18522 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18523 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18524 (feedmail-message-action-scroll-down): New functions.
18525 (feedmail-queue-directory, feedmail-queue-draft-directory):
18526 Use expand-file-name.
18527 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18528 Remove C-v help entry.
18529 (feedmail-queue-buffer-file-name): New variable.
18530 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18531 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18532 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18533 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18534 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18535 (feedmail-message-action-toggle-spray)
18536 (feedmail-run-the-queue-no-prompts)
18537 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18538 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18539 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18540 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18541 (feedmail-envelope-deducer, feedmail-fiddle-from)
18542 (feedmail-fiddle-sender, feedmail-default-date-generator)
18543 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18544 (feedmail-fiddle-spray-address)
18545 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18546 (feedmail-fiddle-list-of-fiddle-plexes)
18547 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18548 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18549 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18550 Change default. Doc fix.
18551 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18552 (feedmail-binmail-linuxish-template): New constant.
18553 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18554 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18555 (feedmail-send-it): Add debug call.
18556 Use feedmail-queue-buffer-file-name, and
18557 feedmail-send-it-immediately-wrapper.
18558 (feedmail-message-action-send): Add debug call.
18559 Use feedmail-send-it-immediately-wrapper.
18560 (feedmail-queue-express-to-queue): Add debug call.
18561 Run feedmail-queue-express-hook.
18562 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18563 (feedmail-message-action-help-blat):
18564 Rename from feedmail-queue-send-edit-prompt-help-first.
18565 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18566 Check line-endings. Handle errors better.
18567 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18568 Doc fix. Add debug call.
18569 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18570 Use feedmail-queue-send-edit-prompt-inner.
18571 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18572 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18573 from feedmail-queue-send-edit-prompt.
18574 (feedmail-queue-send-edit-prompt-help)
18575 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18576 (feedmail-tidy-up-slug): Add debug call.
18577 Respect feedmail-queue-slug-suspect-regexp.
18578 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18579 (feedmail-dump-message-to-queue): Add debug call.
18580 Expand queue-directory.
18581 (feedmail-dump-message-to-queue): Change message slightly.
18582 Use feedmail-say-chatter.
18583 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18584 (feedmail-send-it-immediately-wrapper): New function.
18585 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18586 Insert empty string rather than newline. Handle full-frame case.
18587 Use catch/throw. Use feedmail-say-chatter.
18588 (feedmail-fiddle-from): Try mail-host-address.
18589 (feedmail-default-message-id-generator): Doc fix.
18590 Bind system-time-locale. Handle missing end.
18591 (feedmail-fiddle-x-mailer): Add debug call.
18592 Handle feedmail-x-mailer-line being nil.
18593 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18594 Add debug call. Use buffer-substring-no-properties.
18595 (feedmail-say-debug, feedmail-say-chatter): New functions.
18596 (feedmail-find-eoh): Give an explicit error.
18597
18598 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18599
18600 * net/newst-treeview.el (newsticker-treeview-face): Change default
18601 family from helvetica to sans.
18602 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18603 etc/images/newsticker.
18604
18605 * net/newst-reader.el (newsticker-feed-face): Change default
18606 family from helvetica to sans.
18607
18608 * net/newst-plainview.el (newsticker-new-item-face)
18609 (newsticker-old-item-face, newsticker-immortal-item-face)
18610 (newsticker-obsolete-item-face, newsticker-date-face)
18611 (newsticker-statistics-face): Change default family from
18612 helvetica to sans.
18613 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18614 etc/images/newsticker.
18615
18616 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18617 (newsticker--process-auto-mark-filter-match): Tell user about
18618 auto-marking.
18619
18620 2011-05-13 Didier Verna <didier@xemacs.org>
18621
18622 Common Lisp indentation improvements on defmethod and lambda-lists.
18623 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18624 TODO entries.
18625 (lisp-lambda-list-keyword-parameter-indentation)
18626 (lisp-lambda-list-keyword-parameter-alignment)
18627 (lisp-lambda-list-keyword-alignment): New customizable user options.
18628 (lisp-indent-defun-method): Improve docstring.
18629 (extended-loop-p): Fix comment.
18630 (lisp-indent-lambda-list-keywords-regexp): New variable.
18631 (lisp-indent-lambda-list): New function.
18632 (lisp-indent-259): Use it.
18633 (lisp-indent-defmethod): Support for more than one
18634 method qualifier and properly indent methods lambda-lists.
18635 (defgeneric): Provide a missing common-lisp-indent-function property.
18636
18637 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18640 bounds for the empty string (bug#8667).
18641
18642 2011-05-13 Glenn Morris <rgm@gnu.org>
18643
18644 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18645
18646 * mail/sendmail.el (sendmail-program): Try executable-find first.
18647 (sendmail-send-it): `sendmail-program' cannot be unbound.
18648
18649 * calendar/appt.el (appt-make-list): Simplify.
18650 (appt-time-msg-list): Doc fix.
18651 (appt-check): Change mode-line message at the time of the appointment.
18652
18653 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18654
18655 * progmodes/ld-script.el (ld-script-keywords)
18656 (ld-script-builtins): Update keywords list.
18657
18658 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18661
18662 * shell.el (shell-completion-vars): New function.
18663 (shell-mode):
18664 * simple.el (read-shell-command): Use it.
18665 (blink-matching-open): No need for " [...]" in minibuffer-message.
18666
18667 2011-05-12 Glenn Morris <rgm@gnu.org>
18668
18669 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18670 (appt-check): Simplify.
18671
18672 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18673
18674 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18675 literal "/dev/null".
18676
18677 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18678
18679 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18680 Fix typo.
18681
18682 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18683
18684 * progmodes/which-func.el (which-function):
18685 Use add-log-current-defun instead of add-log-current-defun-function,
18686 which might not be defined (Bug#8260).
18687
18688 2011-05-12 Glenn Morris <rgm@gnu.org>
18689
18690 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18691 Let byte-compile-initial-macro-environment always take precedence.
18692
18693 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18694
18695 * net/rcirc.el: Add support for SSL/TLS connections.
18696 (rcirc-server-alist): New field `encryption'.
18697 (rcirc): Check `encryption' settings.
18698 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18699 Merge make-local-variable into `set'.
18700 (rcirc--connection-open-p): New function.
18701 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18702 the process is not a network process (e.g. running gnutls-cli).
18703 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18704 Make rcirc-(en|de)code-coding-system local here.
18705 (rcirc-mode): Merge make-local-variable into `set'.
18706 (rcirc-parent-buffer): Make permanent buffer-local.
18707 (rcirc-multiline-minor-mode): Don't do it here.
18708 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18709 there's no server buffer.
18710
18711 2011-05-11 Glenn Morris <rgm@gnu.org>
18712
18713 * newcomment.el (comment-kill): Prefix "unused" local.
18714
18715 * term/w32console.el (get-screen-color): Declare.
18716
18717 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18718 Handle symbol elements of byte-compile-initial-macro-environment.
18719
18720 2011-05-10 Leo Liu <sdl.web@gmail.com>
18721
18722 * bookmark.el (bookmark-bmenu-mode-map):
18723 Bind bookmark-bmenu-search to `/'.
18724
18725 * mail/footnote.el: Convert to utf-8 encoding.
18726 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18727 (Footnote-unicode): New function.
18728 (footnote-style-alist): Add unicode style to the list.
18729 (footnote-style): Doc fix.
18730
18731 2011-05-10 Jim Meyering <meyering@redhat.com>
18732
18733 Fix doubled-word typos.
18734 * international/quail.el (quail-insert-kbd-layout): and and -> and
18735 * kermit.el: and and -> and
18736 * net/ldap.el (ldap-search-internal): to to -> to
18737 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18738 * progmodes/js.el (js-mode): and and -> and
18739 * textmodes/artist.el (artist-move-to-xy): at at -> at
18740 (artist-draw-region-trim-line-endings): if if -> if
18741 And Safetyc -> Safety.
18742 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18743
18744 2011-05-10 Glenn Morris <rgm@gnu.org>
18745 Stefan Monnier <monnier@iro.umontreal.ca>
18746
18747 * files.el (hack-one-local-variable-eval-safep):
18748 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18749
18750 2011-05-10 Glenn Morris <rgm@gnu.org>
18751
18752 * calendar/diary-lib.el (diary-list-entries-hook)
18753 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18754 (diary-nongregorian-marking-hook, diary-list-entries)
18755 (diary-include-other-diary-files, diary-mark-entries)
18756 (diary-mark-included-diary-files): Doc fixes.
18757
18758 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18759
18760 * misc.el: Require tabulated-list.el during compilation.
18761
18762 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18763
18764 * progmodes/compile.el (compilation-start):
18765 Run compilation-filter-hook for the async case too.
18766 (compilation-filter-hook): Doc fix.
18767
18768 2011-05-09 Deniz Dogan <deniz@dogan.se>
18769
18770 * wdired.el: Remove outdated installation comment. Fix usage
18771 comment.
18772
18773 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18774
18775 * misc.el: Implement new command `list-dynamic-libraries'.
18776 (list-dynamic-libraries--loaded-only-p): New variable.
18777 (list-dynamic-libraries--refresh): New function.
18778 (list-dynamic-libraries): New command.
18779
18780 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18781
18782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18783 Fix the ant regexp to handle end-line and end-column info from jikes.
18784 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18785 higher priority to avoid clobbering by gnu.
18786
18787 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18788
18789 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18790 if the face has existing theme settings (Bug#8454).
18791
18792 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18793
18794 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18795 Only match variables declared via `my' or `our' (Bug#8261).
18796
18797 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18798 special file names `.' and `..' (Bug#8259).
18799
18800 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18801
18802 * progmodes/grep.el (grep-mode-font-lock-keywords):
18803 Remove buffer-changing entries.
18804 (grep-filter): New function.
18805 (grep-mode): Add it to compilation-filter-hook.
18806
18807 * progmodes/compile.el (compilation-filter-hook)
18808 (compilation-filter-start): New defvars.
18809 (compilation-filter): Call compilation-filter-hook prior to
18810 updating the process mark.
18811
18812 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18813
18814 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18815
18816 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18817
18818 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18819 mailclient-send-it even if window-system is nil. (Bug#8595)
18820
18821 * term/w32console.el (terminal-init-w32console):
18822 Call get-screen-color and use its output to set the frame
18823 background-mode. (Bug#8597)
18824
18825 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18826
18827 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18828 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18829 New functions.
18830 (defgeneric, eieio--defmethod): Use them.
18831 (eieio-defgeneric): Remove.
18832 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18833
18834 2011-05-07 Glenn Morris <rgm@gnu.org>
18835
18836 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18837 Use let rather than let*.
18838 (timeclock-find-discrep): Remove unused local.
18839
18840 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18841
18842 * calendar/appt.el (appt-time-msg-list): Doc fix.
18843
18844 2011-05-06 Noah Friedman <friedman@splode.com>
18845
18846 * apropos.el (apropos-print-doc): Only use
18847 emacs-lisp-docstring-fill-column when it is bound to an integer,
18848 per that variable's documentation.
18849
18850 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18851
18852 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18853 and warnings are not silently discarded (e.g. use -d instead of -P).
18854
18855 2011-05-06 Glenn Morris <rgm@gnu.org>
18856
18857 * calendar/appt.el (appt-message-warning-time): Doc fix.
18858 (appt-warning-time-regexp): New option.
18859 (appt-make-list): Respect appt-message-warning-time.
18860
18861 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18862 New options.
18863 (diary-add-to-list): Strip comments from the displayed string.
18864 (diary-mode): Set comment-start and comment-end.
18865
18866 * vc/diff-mode.el (smerge-refine-subst): Declare.
18867 (diff-refine-hunk): Don't require smerge-mode when compiling.
18868
18869 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18870
18871 * simple.el (list-processes): Return nil as the docstring says.
18872
18873 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18874
18875 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18876 to "".
18877 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18878 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18879 determining of binary transfer. (Bug#7383)
18880
18881 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18882
18883 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18884 Fix port computation bug. (Bug#8618)
18885
18886 2011-05-05 Glenn Morris <rgm@gnu.org>
18887
18888 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18889
18890 * simple.el (shell-dynamic-complete-functions)
18891 (comint-dynamic-complete-functions): Declare.
18892
18893 * net/network-stream.el (gnutls-negotiate):
18894 * simple.el (tabulated-list-print): Fix declarations.
18895
18896 * progmodes/gud.el (syntax-symbol, syntax-point):
18897 Remove unnecessary and incorrect declarations.
18898
18899 * emacs-lisp/check-declare.el (check-declare-scan):
18900 Handle byte-compile-initial-macro-environment in bytecomp.el.
18901
18902 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 Fix earlier half-done eieio-defmethod change (bug#8338).
18905 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18906 Streamline and change calling convention.
18907 (defmethod): Adjust accordingly and simplify.
18908 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18909 new eieio--defmethod.
18910 (slot-boundp): Minor CSE simplification.
18911
18912 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18913
18914 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18915 (glasses-make-readable): Use glasses-separate-capital-groups.
18916
18917 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18920 (warning-series): Doc fix.
18921 (display-warning): Don't try to create the buffer if we just found it.
18922
18923 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18924
18925 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18926 (autoload-find-generated-file): New function.
18927 (generate-file-autoloads): Bind generated-autoload-file to
18928 buffer-file-name.
18929 (update-file-autoloads, update-directory-autoloads):
18930 Use autoload-find-generated-file. If called interactively, prompt for
18931 output file (Bug#7989).
18932 (batch-update-autoloads): Doc fix.
18933
18934 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18935
18936 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18937
18938 2011-05-04 Glenn Morris <rgm@gnu.org>
18939
18940 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18941 function, so it follows changes in calendar-date-style.
18942 (diary-fancy-date-matcher): New function.
18943 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18944 (diary-fancy-font-lock-fontify-region-function):
18945 Use diary-fancy-date-pattern as a function.
18946
18947 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18948 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18949
18950 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18951
18952 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18953 instead of positional arguments. Allow :keylist and :crlfiles
18954 arguments.
18955 (open-gnutls-stream): Call it.
18956
18957 * net/network-stream.el (network-stream-open-starttls): Adjust to
18958 call `gnutls-negotiate' with :process and :hostname arguments.
18959
18960 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18961
18962 * minibuffer.el (completion--message): New function.
18963 (completion--do-completion, minibuffer-complete)
18964 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18965 (completion--do-completion): Don't ignore completion-auto-help when in
18966 icomplete-mode.
18967
18968 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18969 internal encoding (e.g. tibetan zero is not whitespace).
18970 (global-whitespace-mode): Prefer save-current-buffer.
18971 (whitespace-trailing-regexp): Remove useless save-match-data.
18972 (whitespace-empty-at-bob-regexp): Minor simplification.
18973
18974 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18975
18976 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18977
18978 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18979
18980 * textmodes/ispell.el (ispell-add-per-file-word-list):
18981 Use `concat' to create string for insertion.
18982
18983 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18986 Avoid open-line which runs post-self-insert-hook.
18987 (bibtex-fill-entry): Remove unused `end' var.
18988
18989 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18990
18991 * textmodes/ispell.el (ispell-add-per-file-word-list):
18992 Protect against `nil' value of `comment-start' (Bug#8579).
18993
18994 2011-05-03 Leo Liu <sdl.web@gmail.com>
18995
18996 * isearch.el (isearch-yank-pop): New command.
18997 (isearch-mode-map): Bind it to `M-y'.
18998 (isearch-forward): Mention it.
18999
19000 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19001
19002 * simple.el (minibuffer-complete-shell-command): Remove.
19003 (minibuffer-local-shell-command-map): Use completion-at-point.
19004 (read-shell-command): Setup completion vars here instead.
19005 (read-expression-map): Bind TAB to symbol completion.
19006
19007 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19008 error directly rather via storing it into `results'.
19009
19010 2011-05-02 Leo Liu <sdl.web@gmail.com>
19011
19012 * vc/diff.el: Fix description.
19013
19014 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19015
19016 * server.el (server-eval-at): New function.
19017
19018 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19019
19020 * net/network-stream.el (open-network-stream): Take a :nowait
19021 parameter and pass it on to `make-network-process'.
19022 (network-stream-open-plain): Ditto.
19023
19024 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19025
19026 * faces.el (face-spec-set-match-display): Don't match toolkit
19027 options on terminal frames.
19028
19029 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * progmodes/pascal.el: Use lexical binding.
19032 (pascal-mode-map): Remove author preferences.
19033
19034 * pcomplete.el (pcomplete-std-complete): Don't abuse
19035 completion-at-point.
19036
19037 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19038
19039 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19040 removing code that has been dead since 1991 or so.
19041
19042 * startup.el (command-line): When warning about "_emacs", use a
19043 delayed warning to allow the user to filter it out.
19044
19045 2011-04-28 Deniz Dogan <deniz@dogan.se>
19046
19047 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19048 user has not joined.
19049
19050 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19051
19052 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19053 aren't any completions at point.
19054
19055 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19056
19057 * subr.el (display-delayed-warnings): New function.
19058 (delayed-warnings-hook): New variable.
19059
19060 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19061
19062 * minibuffer.el (completion-at-point, completion-help-at-point):
19063 Don't presume that a given completion-at-point-function will always
19064 use the same calling convention.
19065
19066 * pcomplete.el (pcomplete-completions-at-point):
19067 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19068 pcomplete-seen is non-nil.
19069 (pcomplete-comint-setup): Also recognize the new comint/shell
19070 completion functions.
19071 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19072 pcomplete-seen is non-nil.
19073
19074 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19075
19076 * calendar/icalendar.el (diary-lib): Add require statement.
19077 (icalendar--create-uid): Read out a uid from a text-property on
19078 the first character in the entry. This allows for code to add its
19079 own uid to the entry.
19080 (icalendar--convert-float-to-ical): Add export of
19081 `diary-float'-entries save for those with the optional DAY
19082 argument.
19083
19084 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19085
19086 * subr.el (shell-quote-argument): Use alternate escaping strategy
19087 when we spot a variable reference in a string.
19088
19089 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19090
19091 * cus-start.el (all): Define customization for debug-on-event.
19092
19093 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19094
19095 * subr.el (shell-quote-argument): Escape correctly under Windows.
19096
19097 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19098
19099 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19100
19101 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19102
19103 * net/tramp.el (tramp-process-actions): Add POS argument.
19104 Delete region between POS and (pos).
19105
19106 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19107 Use `nil' position in `tramp-process-actions' call.
19108 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19109
19110 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19111 position in `tramp-process-actions' call.
19112
19113 * net/trampver.el: Update release number.
19114
19115 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19116
19117 * custom.el (defcustom): Obey lexical-binding.
19118
19119 Fix octave-inf completion problems reported by Alexander Klimov.
19120 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19121 Inherit from octave-mode-syntax-table.
19122 (inferior-octave-mode): Set info-lookup-mode.
19123 (inferior-octave-completion-at-point): New function.
19124 (inferior-octave-complete): Use it and completion-in-region.
19125 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19126 comint-filename-completion.
19127 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19128 symbol elements which shouldn't be word elements.
19129 (octave-font-lock-keywords, octave-beginning-of-defun)
19130 (octave-function-header-regexp): Adjust regexps accordingly.
19131 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19132
19133 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19134
19135 * net/gnutls.el (gnutls-errorp): Declare before first use.
19136
19137 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19138
19139 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19140 verify-error, and verify-hostname-error parameters. Check whether
19141 default trustfile exists before going to use it. Add missing
19142 argument to gnutls-message-maybe call. Return value.
19143 Reported by Claudio Bley <claudio.bley@gmail.com>.
19144 (open-gnutls-stream): Add usage example.
19145
19146 * net/network-stream.el (network-stream-open-starttls): Give host
19147 parameter to `gnutls-negotiate'.
19148 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19149 * subr.el (shell-quote-argument): Escape correctly under Windows.
19150
19151 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19152
19153 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19154 Use correct match group (bug#8438).
19155
19156 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19157
19158 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19159 (package-menu--generate): New arg specifying packages to show.
19160 (package-menu-refresh, package-menu-execute, list-packages):
19161 Callers changed.
19162 (package-show-package-list): New function, replacing deleted
19163 package--list-packages (renamed because it is non-internal).
19164
19165 * finder.el (finder-list-matches): Use package-show-package-list
19166 instead of deleted package--list-packages.
19167
19168 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19169 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19170 (vc-annotate-mode-map): Bind it to RET.
19171
19172 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19173
19174 * progmodes/etags.el (next-file): Don't use set-buffer to change
19175 buffers (Bug#8478).
19176
19177 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19180
19181 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19182 (apropos-accumulator): Doc fix.
19183 (apropos-function, apropos-macro, apropos-command)
19184 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19185 (apropos-plist): Add face property.
19186 (apropos-symbols-internal): Fix indentation.
19187 (apropos-print): Simplify help, and recognize apropos-multi-type.
19188 (apropos-print-doc): Use button-type-get to extract the button's
19189 face property. Fill docstring (Bug#8352).
19190
19191 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19192
19193 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19194
19195 * play/mpuz.el (mpuz-silent): Doc fix.
19196 (mpuz-mode-map): Use mapc.
19197 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19198 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19199 Fix typos in docstrings.
19200
19201 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19202 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19203
19204 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19205
19206 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19207
19208 * minibuffer.el (completion--do-completion): Avoid the "Next char
19209 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19210
19211 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19212 mouse-2 into unread-command-events, it is interpreted correctly.
19213
19214 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19215 (image-toggle-display): Doc fix.
19216
19217 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19218
19219 * textmodes/page.el (what-page): Use line-number-at-pos to
19220 calculate line number (Bug#6825).
19221
19222 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19223
19224 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19225 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19226 Pass argument NO-DEFAULT to `find-tag-interactive'.
19227
19228 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19229
19230 Lexical-binding cleanup.
19231
19232 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19233 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19234 * progmodes/ada-prj.el (ada-prj-initialize-values)
19235 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19236 (ada-prj-show-value):
19237 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19238 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19239 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19240 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19241 * progmodes/bug-reference.el (bug-reference-push-button):
19242 * progmodes/fortran.el (fortran-line-length):
19243 * progmodes/glasses.el (glasses-change):
19244 * progmodes/octave-mod.el (octave-fill-paragraph):
19245 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19246 (python-pdbtrack-grub-for-buffer, python-sentinel):
19247 * progmodes/sql.el (sql-save-connection):
19248 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19249 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19250 Mark unused parameters.
19251
19252 * progmodes/compile.el (compilation--flush-directory-cache)
19253 (compilation--flush-parse, compile-internal): Mark unused parameters.
19254 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19255 (compilation-next-error-function): Remove unused variable `timestamp'.
19256
19257 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19258 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19259
19260 * progmodes/dcl-mode.el (dcl-end-of-command):
19261 Remove unused variable `start'.
19262 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19263 (dcl-option-value-basic, dcl-option-value-offset)
19264 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19265 Mark unused parameters.
19266 (dcl-save-local-variable): Remove unused variable `val'.
19267 (mode): Declare.
19268
19269 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19270 Mark unused parameters.
19271 (delphi-ignore-changes): Move before first use.
19272 (delphi-charset-token-at): Remove unused variable `start'.
19273 (delphi-else-start): Remove unused variable `if-count'.
19274 (delphi-comment-block-start, delphi-comment-block-end):
19275 Remove unused variable `kind'.
19276 (delphi-indent-line): Remove unused variable `new-point'.
19277
19278 * progmodes/ebrowse.el (ebrowse-files-list)
19279 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19280 Mark unused parameters. Don't quote `lambda'.
19281 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19282 Don't quote `lambda'.
19283 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19284 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19285 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19286 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19287 Use `ignore-errors'.
19288 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19289 (ebrowse-view/find-file-and-search-pattern)
19290 (ebrowse-view/find-member-declaration/definition):
19291 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19292 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19293 Rename parameter PREFIX-ARG to PREFIX.
19294 (ebrowse-tags-read-name): Remove unused variables `start' and
19295 `member-info'.
19296 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19297 to `tags-file'.
19298
19299 * progmodes/etags.el (local-find-tag-hook): Declare.
19300 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19301 Mark unused parameters.
19302
19303 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19304 (executable-interpret): Mark unused parameter.
19305
19306 * progmodes/flymake.el (flymake-process-sentinel)
19307 (flymake-after-change-function)
19308 (flymake-create-temp-with-folder-structure)
19309 (flymake-get-include-dirs-dot): Mark unused parameters.
19310 (flymake-safe-delete-directory): Remove unused variable `err'.
19311
19312 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19313 (speedbar-timer-fn, speedbar-line-text)
19314 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19315 (speedbar-center-buffer-smartly): Declare functions.
19316 (gdb-find-watch-expression): Remove unused variable `array'.
19317 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19318 (gdb-starting): Mark unused parameters.
19319 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19320 (gdb-table-string): Remove unused variable `res'.
19321 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19322 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19323 (gdb-display-buffer): Remove unused variable `cur-size'.
19324
19325 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19326 allow lexical-binding compilation.
19327 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19328 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19329 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19330 Mark unused parameters.
19331 (gud-gdb-marker-filter): Remove unused variable `match'.
19332 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19333 lambda expressions and funcall them, instead of using `fset'.
19334
19335 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19336 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19337
19338 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19339 variable `header-beg'; use `let'.
19340
19341 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19342 `restart', `last-sexp' and `at-do'.
19343
19344 * progmodes/js.el (js--debug): Mark unused parameter.
19345 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19346 (js--splice-into-items): Remove unused variable `item'.
19347 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19348
19349 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19350 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19351 (makefile-complete): Remove unused variable `try'.
19352 (makefile-fill-paragraph, makefile-match-function-end):
19353 Mark unused parameters.
19354
19355 * progmodes/octave-inf.el (inferior-octave-complete):
19356 Remove unused variable `proc'.
19357 (inferior-octave-output-digest): Mark unused parameter.
19358
19359 * progmodes/perl-mode.el (perl-calculate-indent):
19360 Remove unused variable `err'.
19361
19362 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19363 (prolog-indent-line): Mark unused parameters.
19364 (prolog-indent-line): Remove unused variable `beg'.
19365
19366 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19367 (reporter-dont-compact-list): Declare.
19368
19369 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19370 Remove unused variable `char'.
19371 (sh-debug): Mark unused parameter.
19372 (sh-get-indent-info): Remove unused variable `start'.
19373 (sh-calculate-indent): Remove unused variable `var'.
19374
19375 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19376 (simula-electric-keyword): Remove unused variable `null'.
19377 (simula-search-backward, simula-search-forward): Remove unused
19378 variables `begin' and `end'.
19379
19380 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19381 Remove unused variable `pos'.
19382 (vera-electric-tab, vera-comment-uncomment-region):
19383 Mark unused parameters.
19384 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19385
19386 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * emacs-lisp/package.el (package--builtins, package-alist)
19389 (package-load-descriptor, package-built-in-p, package-activate)
19390 (define-package, package-installed-p)
19391 (package-compute-transaction, package-buffer-info)
19392 (package--push): Doc fix. Distinguish more clearly between
19393 version strings and version lists.
19394
19395 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19396
19397 Lexical-binding cleanup.
19398
19399 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19400 (5x5-make-mutate-best):
19401 * play/fortune.el (fortune-in-buffer):
19402 * play/gomoku.el (gomoku-init-display):
19403 * play/solitaire.el (solitaire, solitaire-do-check):
19404 * play/tetris.el (tetris-default-update-speed-function):
19405 Mark unused parameters.
19406
19407 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19408 (bubbles--shift): Remove unused variable `char-org'.
19409 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19410 (bubbles--show-images): Remove unused variable `char'.
19411
19412 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19413 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19414 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19415 (decipher-analyze-buffer): Use ?\s.
19416 (decipher-make-checkpoint): Remove unused variable `mapping'.
19417
19418 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19419
19420 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19421 Remove unused variable `result'; use `let'.
19422
19423 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19424 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19425 (gametree-children-shown-p, gametree-compute-reduced-score):
19426 Use `ignore-errors'.
19427
19428 * play/handwrite.el (ps-lpr-switches): Declare.
19429 (handwrite): Remove unused variables `pmin' and `lastp'.
19430
19431 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19432
19433 * play/landmark.el (landmark-init-display)
19434 (landmark-update-naught-weights): Mark unused parameters.
19435 (landmark-y): Remove unused variable `noise'. Simplify.
19436 (landmark-human-plays): Remove unused variable `score'.
19437
19438 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19439 (mpuz-try-proposal): Remove unused variable `game'.
19440
19441 * play/zone.el (life-patterns): Declare.
19442
19443 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19444
19445 * vc/vc.el (ediff-vc-internal): Declare function.
19446
19447 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19448
19449 * shell.el: Use lexical-binding and std completion UI.
19450 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19451 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19452 comint-preoutput-filter-functions rather than on
19453 comint-output-filter-functions.
19454 (shell-command-completion, shell--command-completion-data)
19455 (shell-filename-completion, shell-environment-variable-completion)
19456 (shell-c-a-p-replace-by-expanded-directory): New functions.
19457 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19458 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19459 (shell-dynamic-complete-environment-variable): Use them.
19460 (shell-dynamic-complete-as-environment-variable)
19461 (shell-dynamic-complete-as-command): Remove.
19462 (shell-match-partial-variable): Match past point.
19463 * comint.el: Clean up use of completion-at-point-functions.
19464 (comint-completion-at-point): New function.
19465 (comint-mode): Use it completion-at-point-functions.
19466 (comint-dynamic-complete): Make it obsolete.
19467 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19468 (comint-c-a-p-replace-by-expanded-history): New function.
19469 (comint-dynamic-complete-functions)
19470 (comint-replace-by-expanded-history): Use it.
19471 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19472 termination strings. Try harder to avoid second try-completion.
19473 (completion-in-region-mode-map): Disable bindings that don't work yet.
19474
19475 * comint.el: Use lexical-binding. Require CL.
19476 (comint-dynamic-complete-functions): Use comint-filename-completion.
19477 (comint-completion-addsuffix): Tweak custom type.
19478 (comint-filename-completion, comint--common-suffix)
19479 (comint--common-quoted-suffix, comint--table-subvert)
19480 (comint--complete-file-name-data): New functions.
19481 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19482 (comint-dynamic-list-filename-completions): Use them.
19483 (comint-dynamic-simple-complete): Make obsolete.
19484
19485 * minibuffer.el (completion-in-region-mode):
19486 Keep completion-in-region-mode--predicate global.
19487 (completion-in-region--postch):
19488 Assume completion-in-region-mode--predicate is not null.
19489
19490 * progmodes/flymake.el (flymake-start-syntax-check-process):
19491 Obey `dir'. Simplify.
19492
19493 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19494 we're in VC after all.
19495
19496 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19497
19498 * vc/vc.el (vc-diff-build-argument-list-internal)
19499 (vc-version-ediff, vc-ediff): New commands.
19500 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19501
19502 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19503
19504 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19505 add sanity check.
19506
19507 * obsolete/erc-hecomplete.el: Make obsolete.
19508 * obsolete/: Standardize obsolescence info in the header.
19509
19510 2011-04-20 Glenn Morris <rgm@gnu.org>
19511
19512 * calendar/solar.el (solar-horizontal-coordinates):
19513 Use the longitude argument rather than `calendar-longitude'.
19514 (solar-date-next-longitude): Remove unused locals.
19515
19516 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19517
19518 * whitespace.el: New version 13.2.1.
19519
19520 2011-04-20 felix <EmacsWiki> (tiny change)
19521
19522 * whitespace.el (global-whitespace-mode): Keep highlight when
19523 switching between major modes on a file.
19524
19525 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19526
19527 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19528 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19529 multi-line comments as well.
19530
19531 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19532
19533 Lexical-binding cleanup.
19534
19535 * arc-mode.el (archive-mode-revert):
19536 * cmuscheme.el (scheme-interactively-start-process):
19537 * custom.el (custom-initialize-delay):
19538 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19539 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19540 * emacs-lock.el (emacs-lock-clear-sentinel):
19541 * ezimage.el (defezimage):
19542 * follow.el (follow-avoid-tail-recenter):
19543 * fringe.el (set-fringe-mode-1):
19544 * generic-x.el (bat-generic-mode-compile):
19545 * help-mode.el (help-info-variable, help-do-xref)
19546 (help-mode-revert-buffer):
19547 * help.el (view-emacs-todo):
19548 * iswitchb.el (iswitchb-completion-help):
19549 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19550 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19551 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19552 * locate.el (locate-update):
19553 * longlines.el (longlines-encode-region)
19554 (longlines-after-change-function):
19555 * outline.el (outline-isearch-open-invisible):
19556 * ps-def.el (declare-function, charset-dimension, char-width)
19557 (encode-char):
19558 * ps-mule.el (ps-mule-plot-string):
19559 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19560 (recentf-edit-list-select, recentf-edit-list-validate)
19561 (recentf-open-files-action):
19562 * rect.el (delete-whitespace-rectangle-line)
19563 (rectangle-number-line-callback):
19564 * register.el (window-configuration-to-register)
19565 (frame-configuration-to-register):
19566 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19567 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19568 (xselect-convert-to-targets, xselect-convert-to-delete)
19569 (xselect-convert-to-filename, xselect-convert-to-charpos)
19570 (xselect-convert-to-lineno, xselect-convert-to-colno)
19571 (xselect-convert-to-os, xselect-convert-to-host)
19572 (xselect-convert-to-user, xselect-convert-to-class)
19573 (xselect-convert-to-name, xselect-convert-to-integer)
19574 (xselect-convert-to-atom, xselect-convert-to-identity):
19575 * subr.el (declare, ignore, process-kill-without-query)
19576 (text-clone-maintain):
19577 * terminal.el (te-get-char, te-tic-sentinel):
19578 * tool-bar.el (tool-bar-make-keymap):
19579 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19580 * type-break.el (type-break-mode, type-break-noninteractive-query):
19581 * view.el (View-back-to-mark):
19582 * wid-browse.el (widget-browse-action, widget-browse-widget)
19583 (widget-browse-widgets, widget-browse-sexp):
19584 * widget.el (define-widget-keywords):
19585 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19586 Mark unused parameters.
19587
19588 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19589 (align-areas): Remove unused variable `look'.
19590 (align-region): Remove unused variables `real-end' and `pos-list'.
19591
19592 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19593
19594 * bindings.el (mode-line-modified, mode-line-remote):
19595 Mark unused parameters.
19596 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19597
19598 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19599 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19600
19601 * comint.el (comint-history-isearch-pop-state)
19602 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19603 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19604 (comint-substitute-in-file-name): Doc fix.
19605
19606 * completion.el (cmpl-statistics-block): Mark unused parameter.
19607 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19608 (save-completions-to-file, load-completions-from-file):
19609 Remove unused local variable `e'.
19610
19611 * composite.el (compose-chars): Remove unused variable `len'.
19612 (lgstring-insert-glyph): Remove unused variable `g'.
19613 (compose-glyph-string): Remove unused variables `ascent',
19614 `descent', `lbearing' and `rbearing'.
19615 (compose-glyph-string-relative): Remove unused variables
19616 `lbearing', `rbearing' and `wadjust'.
19617 (compose-gstring-for-graphic): Remove unused variables `header',
19618 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19619 (compose-gstring-for-terminal): Remove unused variables `header'
19620 and `nchars'. Use `let', not `let*'.
19621
19622 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19623 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19624 (Custom-buffer-done, custom-buffer-create-internal)
19625 (custom-browse-visibility-action, custom-browse-group-tag-action)
19626 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19627 (widget-magic-mouse-down-action, custom-toggle-parent)
19628 (custom-add-parent-links, custom-toggle-hide-variable)
19629 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19630 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19631 (custom-face-menu-create, custom-variable-menu-create, get)
19632 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19633 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19634 (customize-apropos): Remove unused variable `tests'.
19635 (custom-group-value-create): Remove unused variable `hidden-p'.
19636 (sort-fold-case): Declare.
19637
19638 * cus-theme.el (custom-reset-standard-faces-list)
19639 (custom-reset-standard-variables-list): Declare.
19640 (customize-create-theme, custom-theme-revert, custom-theme-write)
19641 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19642 Mark unused parameters.
19643
19644 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19645
19646 * delim-col.el (delimit-columns-max): Move defvar before first use.
19647
19648 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19649 (describe-char): Don't quote `lambda'. Mark unused parameter.
19650
19651 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19652 (auto-insert): Declare.
19653 (desktop-restore-file-buffer): Rename desktop-* parameters;
19654 mark unused ones.
19655 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19656 (desktop-buffer): Rename desktop-* parameters.
19657
19658 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19659 (dframe-reposition-frame-xemacs, dframe-help-echo)
19660 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19661 Mark unused parameters.
19662
19663 * dired-aux.el (backup-extract-version-start, overwrite-query)
19664 (overwrite-backup-query, rename-regexp-query)
19665 (rename-non-directory-query): Declare.
19666 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19667 (dired-add-entry): Remove unused variable `orig-file-name'.
19668 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19669 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19670 `dired-copy-preserve-time' directly.
19671 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19672 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19673
19674 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19675 (dired-virtual-revert, dired-make-relative-symlink):
19676 Mark unused parameters.
19677 (manual-program): Declare.
19678 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19679 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19680 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19681
19682 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19683
19684 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19685
19686 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19687 Declare.
19688
19689 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19690
19691 * electric.el (Electric-command-loop): Rename parameter
19692 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19693
19694 * expand.el (expand-in-literal): Remove unused variable `here'.
19695
19696 * facemenu.el (facemenu-add-new-color):
19697 Remove unused variable `docstring'.
19698
19699 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19700 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19701 (face-attr-construct): Mark unused parameter. Doc fix.
19702 (read-color): Remove unused variable `hex-string'.
19703
19704 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19705 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19706 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19707 (display-buffer-other-frame): Remove unused variable `old-window'.
19708 (kill-buffer-hook): Declare.
19709 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19710 Mark unused parameters.
19711 (after-find-file): Pass 1 to `auto-save-mode', not t.
19712
19713 * files-x.el (auto-insert): Declare.
19714 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19715
19716 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19717 variable `buf'. Mark unused parameter.
19718 (find-lisp-insert-directory): Mark unused parameter.
19719
19720 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19721 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19722 (format-common-tail): Remove, unused.
19723 (format-deannotate-region): Remove unused variable `loc'.
19724 (format-annotate-region): Remove unused variable `p'.
19725 (format-annotate-single-property-change): Remove unused variables
19726 `default' and `tail'.
19727
19728 * forms.el (read-file-filter): Declare.
19729 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19730
19731 * frame.el (frame-creation-function-alist): Mark unused parameter.
19732 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19733
19734 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19735 Remove unused parameters.
19736 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19737 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19738
19739 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19740 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19741 (hfy-prepare-tag-map): Mark unused parameters.
19742 (htmlfontify-buffer): Use `called-interactively-p'.
19743
19744 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19745 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19746 (ibuffer-do-occur): Mark unused parameters.
19747 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19748 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19749
19750 * ibuffer.el: Don't quote `lambda'.
19751 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19752 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19753 Mark unused parameters.
19754
19755 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19756 (ido-completing-read): Mark unused parameters.
19757 (ido-copy-current-word): Mark unused parameters;
19758 remove unused variable `name'.
19759 (ido-sort-merged-list): Remove unused parameter `dirs'.
19760
19761 * ielm.el (ielm-input-sender): Mark unused parameter.
19762 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19763 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19764 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19765 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19766 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19767
19768 * image-dired.el (image-dired-display-thumbs): Remove unused
19769 variables `curr-file' and `count'.
19770 (image-dired-remove-tag): Remove unused variable `start'.
19771 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19772 variable `curr-file'
19773 (image-dired-rotate-original): Remove unused variable `temp-file'.
19774 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19775 Remove unused variable `file'.
19776 (image-dired-gallery-generate): Remove unused variable `curr'.
19777 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19778
19779 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19780
19781 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19782
19783 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19784
19785 * isearch.el (minibuffer-history-symbol): Declare.
19786 (isearch-edit-string): Remove unused variable `err'.
19787 (isearch-message-prefix, isearch-message-suffix):
19788 Mark unused parameters.
19789
19790 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19791
19792 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19793
19794 * makesum.el (double-column): Remove unused variable `cnt'.
19795
19796 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19797 (ido-ignore-item-temp-list): Declare.
19798
19799 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19800 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19801 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19802 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19803 `mouse-col-delta'.
19804
19805 * mouse-sel.el (mouse-extend-internal):
19806 Remove unused variable `orig-window-frame'.
19807
19808 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19809 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19810 Move declarations before first use.
19811 (pcomplete-opt): Mark unused parameters; doc fix.
19812
19813 * proced.el (proced-revert): Mark unused parameter.
19814 (proced-send-signal): Remove unused variable `err'.
19815
19816 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19817 Rename parameter PREFIX-ARG to ARG.
19818 (ps-basic-plot-string, ps-basic-plot-whitespace):
19819 Mark unused parameters.
19820
19821 * replace.el (replace-count): Define.
19822 (occur-revert-function): Mark unused parameters.
19823 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19824 (isearch-case-fold-search, isearch-string): Declare.
19825 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19826 bind `case-fold-search'. Remove unused variables `beg' and `end',
19827 and simplify.
19828 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19829 COUNT and bind `replace-count'.
19830 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19831 to COUNT.
19832
19833 * savehist.el (print-readably, print-string-length): Declare.
19834
19835 * shadowfile.el (shadow-expand-cluster-in-file-name):
19836 Remove unused variable `cluster'.
19837 (shadow-copy-file): Remove unused variable `i'.
19838 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19839 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19840 (shadow-define-literal-group, shadow-define-regexp-group)
19841 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19842
19843 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19844 (shell): Use `called-interactively-p'.
19845 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19846
19847 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19848 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19849 (delete-backward-char): Remove unused variable `ocol'.
19850 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19851 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19852 (event-apply-hyper-modifier, event-apply-shift-modifier)
19853 (event-apply-control-modifier, event-apply-meta-modifier):
19854 Mark unused parameters.
19855 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19856 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19857
19858 * speedbar.el (speedbar-ignored-directory-expressions)
19859 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19860 (speedbar-find-file, speedbar-dir-follow)
19861 (speedbar-directory-buttons-follow, speedbar-tag-find)
19862 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19863 (speedbar-buffers-line-directory, speedbar-buffer-click):
19864 Mark unused parameters.
19865 (speedbar-tag-file): Remove unused variable `mode'.
19866 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19867
19868 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19869
19870 * talk.el (talk): Remove unused variable `display'.
19871
19872 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19873 (tar-write-region-annotate): Mark unused parameter.
19874
19875 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19876 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19877 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19878 warning by another.
19879
19880 * time-stamp.el (time-stamp-string-preprocess):
19881 Remove unused variable `require-padding'.
19882
19883 * tree-widget.el (widget-glyph-enable): Declare.
19884 (tree-widget-action): Mark unused parameter.
19885
19886 * w32-fns.el (x-get-selection): Mark unused parameter.
19887 (autoload-make-program, generated-autoload-file): Declare.
19888
19889 * wdired.el (wdired-revert): Mark unused parameters.
19890 (wdired-xcase-word): Remove unused variable `err'.
19891
19892 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19893 (whitespace-help-scroll): Remove unused variable `data-help'.
19894
19895 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19896 (widget-image-insert, widget-after-change, default)
19897 (widget-default-format-handler, widget-default-notify)
19898 (widget-default-prompt-value, widget-info-link-action)
19899 (widget-url-link-action, widget-function-link-action)
19900 (widget-variable-link-action, widget-file-link-action)
19901 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19902 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19903 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19904 (widget-insert-button-action, widget-delete-button-action, visibility)
19905 (widget-documentation-link-action, widget-documentation-string-action)
19906 (widget-const-prompt-value, widget-regexp-match, symbol)
19907 (widget-coding-system-prompt-value)
19908 (widget-key-sequence-value-to-external, sexp)
19909 (widget-sexp-value-to-internal, character, vector, cons)
19910 (widget-choice-prompt-value, widget-boolean-prompt-value)
19911 (widget-color--choose-action): Mark unused parameters.
19912 (widget-item-match-inline, widget-choice-match-inline)
19913 (widget-checklist-match, widget-checklist-match-inline)
19914 (widget-group-match): Rename parameter VALUES to VALS.
19915 (widget-field-value-set): Remove unused variable `size'.
19916 (widget-color-action): Remove unused variables `value' and `start'.
19917
19918 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19919 variable `dir'. Doc fix.
19920 (windmove-find-other-window): Don't pass it.
19921
19922 * window.el (count-windows): Mark unused parameter.
19923 (bw-adjust-window): Remove unused variable `err'.
19924
19925 * woman.el (woman-file-name): Remove unused variable `default'.
19926 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19927 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19928 (global-font-lock-mode): Declare.
19929 (woman-decode-region): Mark unused parameter.
19930 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19931
19932 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19933 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19934 (x-dnd-handle-moz-url): Remove unused variable `title'.
19935 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19936
19937 * xml.el (xml-parse-tag, xml-parse-attlist):
19938 Remove unused variable `pos'.
19939
19940 2011-04-19 Glenn Morris <rgm@gnu.org>
19941
19942 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19943 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19944 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19945 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19946 * calendar/cal-html.el (cal-html-insert-minical):
19947 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19948 (calendar-mark-date-pattern):
19949 Prefix "unused" locals.
19950
19951 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19952 optional argument `style'.
19953
19954 * calendar/appt.el (appt-make-list):
19955 * calendar/cal-china.el (calendar-chinese-date-string):
19956 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19957 (diary-hebrew-yahrzeit):
19958 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19959 * calendar/calendar.el (calendar-generate-window):
19960 * calendar/time-date.el (time-to-days):
19961 Remove unused local variables.
19962
19963 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19964
19965 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19966 glyphless-char-display table.
19967 (tabulated-list-glyphless-char-display): New var.
19968
19969 2011-04-18 Sam Steingold <sds@gnu.org>
19970
19971 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19972 to acknowledgments.
19973
19974 2011-04-17 Glenn Morris <rgm@gnu.org>
19975
19976 * calendar/diary-lib.el (diary-sexp-entry):
19977 * calendar/holidays.el (holiday-sexp):
19978 Set debug-on-error rather than the removed stack-trace-on-error.
19979
19980 2011-04-16 Glenn Morris <rgm@gnu.org>
19981
19982 * progmodes/f90.el: Use lexical-binding.
19983 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19984
19985 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19986
19987 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19988 (mail-mode): Setup mailalias completion here instead.
19989 * mail/mailalias.el: Use lexical-binding.
19990 (pattern, mailalias-done): Declare dynamic.
19991 (mail-completion-at-point-function): New function, from mail-complete.
19992 (mail-complete): Use it.
19993 (mail-completion-expand): New function.
19994 (mail-get-names): Use it.
19995 (mail-directory, mail-directory-process, mail-directory-stream):
19996 Don't use `pattern' for lexically bound arg.
19997
19998 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19999
20000 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20001 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20002 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20003
20004 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20005 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20006 (byte-interactive-p): Define them again, for use when inlining
20007 old code.
20008
20009 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20010
20011 * loadup.el: Use `string-to-number', not `string-to-int'.
20012
20013 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20014
20015 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20016 gud-gdb-complete-command.
20017 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20018 (gud-gdb-completion-at-point): New function.
20019 (gud-gdb-completions): Remove.
20020
20021 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20022
20023 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20024 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20025 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20026 whether `executable-find' is bound.
20027
20028 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20029
20030 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20031
20032 * minibuffer.el (completion-in-region-mode-predicate)
20033 (completion-in-region-mode--predicate): New vars.
20034 (completion-in-region, completion-in-region--postch)
20035 (completion-in-region-mode): Use them.
20036 (completion--capf-wrapper): Also return the hook function.
20037 (completion-at-point, completion-help-at-point):
20038 Adjust and provide a predicate.
20039
20040 Preserve arg names for advice of subr and lexical functions (bug#8457).
20041 * help-fns.el (help-function-arglist): Consolidate the subr and
20042 new-byte-code cases. Add argument `preserve-names' to extract names
20043 from the docstring when needed.
20044 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20045 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20046 (ad-arglist): Use help-function-arglist's new arg.
20047 (ad-definition-type): Use cond.
20048
20049 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20050
20051 * autorevert.el (auto-revert-handler):
20052 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20053 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20054 Don't quote lambda.
20055
20056 * image-mode.el (image-transform-set-scale):
20057 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20058
20059 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20060
20061 * net/network-stream.el (network-stream-open-starttls): Only do
20062 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20063 Upgrades via gnutls-cli are too slow to be done opportunistically.
20064
20065 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20066
20067 * dframe.el (dframe-current-frame): Remove spurious quote.
20068
20069 2011-04-12 Glenn Morris <rgm@gnu.org>
20070
20071 * calendar/cal-tex.el (cal-tex-end-document):
20072 Try to automatically use latin1 input if needed.
20073
20074 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20075 Don't try to cons a mark onto an empty element.
20076
20077 2011-04-11 Leo Liu <sdl.web@gmail.com>
20078
20079 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20080 buffers.
20081 (ido-kill-buffer-at-head): Support killing virtual buffers.
20082
20083 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20084
20085 * minibuffer.el (completion-show-inline-help): New var.
20086 (completion--do-completion, minibuffer-complete)
20087 (minibuffer-force-complete, minibuffer-complete-word):
20088 Inhibit minibuffer messages if completion-show-inline-help is nil.
20089
20090 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20091 to avoid interference from inline help (Bug#5849).
20092
20093 2011-04-10 Leo Liu <sdl.web@gmail.com>
20094
20095 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20096 Fix typo.
20097
20098 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20099
20100 * image-mode.el (image-toggle-display-image): Signal an error if
20101 not in Image mode.
20102 (image-transform-mode, image-transform-resize)
20103 (image-transform-set-rotation): Doc fix.
20104 (image-transform-set-resize): Delete.
20105 (image-transform-set-scale, image-transform-fit-to-height)
20106 (image-transform-fit-to-width): Handle image-toggle-display-image
20107 and image-transform-resize directly.
20108
20109 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20110
20111 * doc-view.el (doc-view-fit-width-to-window)
20112 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20113 New functions for fitting the shown image to the Emacs window size.
20114 (doc-view-mode-map): Add bindings for the new functions.
20115
20116 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20117
20118 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20119 Fix typo in docstring.
20120
20121 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20122
20123 * files.el (file-size-human-readable): Produce one digit after
20124 decimal, like "ls -lh" does.
20125
20126 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20127 the file size representation.
20128
20129 * simple.el (list-processes): If async subprocesses are not
20130 available, error out with a clear error message.
20131
20132 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20133
20134 * help.el (help-form-show): New function, to be called from C.
20135 Put help-form output in a buffer named differently than *Help*.
20136
20137 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20138
20139 * files.el (file-size-human-readable): New function.
20140
20141 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20142 computing the representation inline. Don't require `cl'.
20143
20144 2011-04-08 Glenn Morris <rgm@gnu.org>
20145
20146 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20147
20148 * net/browse-url.el (browse-url-firefox):
20149 Test system-type, not system-configuration.
20150
20151 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20152 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20153 Use log-edit-empty-buffer-p. (Bug#7598)
20154
20155 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20156 (rlogin-mode-map): Initialize in the defvar.
20157 (rlogin): Use ignore-errors.
20158
20159 * replace.el (occur-mode-map): Some fixes for menu items.
20160
20161 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20162
20163 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20164
20165 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20168 issuing unused warnings.
20169
20170 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20171 macro directly.
20172
20173 * simple.el: Lisp reimplement of list-processes. Based on an
20174 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20175 (process-menu-mode): New major mode.
20176 (list-processes--refresh, list-processes):
20177 (process-menu-visit-buffer): New functions.
20178
20179 * files.el (save-buffers-kill-emacs): Don't assume any return
20180 value of list-processes, which is undocumented anyway.
20181
20182 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20183
20184 * emacs-lisp/tabulated-list.el: New file.
20185
20186 * emacs-lisp/package.el: Use Tabulated List mode.
20187 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20188 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20189 table format using Tabulated List mode variables.
20190 (package--push): New macro, replacing package-list-maybe-add.
20191 (package-menu--generate): Use package--push. Renamed from
20192 package--generate-package-list.
20193 (package-menu-refresh, list-packages): Use it.
20194 (package-menu--print-info): Rename from package-print-package.
20195 Return insertion data instead of inserting it directly.
20196 (package-menu-describe-package, package-menu-execute):
20197 Use tabulated-list-get-id.
20198 (package-menu-mark-delete, package-menu-mark-install)
20199 (package-menu-mark-unmark, package-menu-backup-unmark)
20200 (package-menu-mark-obsolete-for-deletion):
20201 Use tabulated-list-put-tag.
20202 (package--list-packages, package-menu-revert)
20203 (package-menu-get-package, package-menu-get-version)
20204 (package-menu-sort-by-column): Functions deleted.
20205 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20206 (package-menu--status-predicate, package-menu--version-predicate)
20207 (package-menu--name-predicate)
20208 (package-menu--description-predicate): Handle arguments in the
20209 Tabulated List format.
20210 (package-list-packages-no-fetch): Call list-packages.
20211
20212 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20213
20214 * files.el (after-find-file-from-revert-buffer): Remove variable.
20215 (after-find-file): Don't bind it.
20216 (revert-buffer-in-progress-p): New variable.
20217 (revert-buffer): Bind it.
20218 Pass nil for `after-find-file-from-revert-buffer'.
20219
20220 * saveplace.el (save-place-find-file-hook): Use new variable
20221 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20222
20223 2011-04-06 Glenn Morris <rgm@gnu.org>
20224
20225 * Makefile.in (AUTOGEN_VCS): New variable.
20226 (autoloads): Use $AUTOGEN_VCS.
20227
20228 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20229 * calendar/calendar.el (calendar-mode-map):
20230 Check for toolkit scroll bars. (Bug#8305)
20231
20232 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20233
20234 * minibuffer.el (completion-in-region--postch)
20235 (completion-in-region-mode): Remove unnecessary messages.
20236
20237 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20238
20239 * font-lock.el (font-lock-refresh-defaults):
20240 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20241 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20242
20243 * info.el (Info-directory-list, Info-read-node-name-2)
20244 (Info-split-parameter-string): Doc fixes.
20245 (Info-virtual-nodes): Reflow docstring.
20246 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20247 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20248 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20249 Fix typos in docstrings.
20250 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20251 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20252 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20253 (Info-restore-desktop-buffer): Mark unused parameters.
20254 (Info-directory-find-file, Info-directory-find-node)
20255 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20256 (Info-virtual-index-find-node, Info-apropos-find-file)
20257 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20258 Mark unused parameters; fix typos in docstrings.
20259 (Info-virtual-index): Remove unused local variable `nodename'.
20260
20261 2011-04-05 Deniz Dogan <deniz@dogan.se>
20262
20263 * net/rcirc.el: Update my e-mail address.
20264 (rcirc-mode-map): Remove M-o binding.
20265
20266 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20267
20268 * startup.el (command-line): Save the cursor's theme-face
20269 directly, instead of using face-override-spec.
20270
20271 * custom.el (load-theme): Minor optimization in assigning faces.
20272
20273 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20274
20275 * help-fns.el (describe-variable): Complete all variables having
20276 documentation, including keywords.
20277 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20278
20279 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20280
20281 Convert to lexical-binding.
20282
20283 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20284 (bs--get-marked-string, bs--get-modified-string)
20285 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20286 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20287 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20288
20289 * ehelp.el (electric-help-execute-extended)
20290 (electric-help-ctrl-x-prefix):
20291 * hexl.el (hexl-revert-buffer-function):
20292 * linum.el (linum-after-change, linum-after-scroll):
20293 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20294
20295 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20296
20297 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20298
20299 * epa-dired.el:
20300 * epa-mail.el:
20301 * epa-hook.el:
20302 * epa-file.el:
20303 * epa.el:
20304 * epg.el: Use lexical binding.
20305
20306 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20307
20308 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20309
20310 * textmodes/flyspell.el (flyspell-word): Recognize default
20311 dictionary case for flyspell-mark-duplications-exceptions.
20312 Use regexp matching for languages.
20313 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20314 default dictionary (Bug#7926).
20315
20316 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20317
20318 * emacs-lisp/package.el (package--with-work-buffer):
20319 Recognize https URLs.
20320
20321 * net/network-stream.el: Move from gnus/proto-stream.el.
20322 Change prefix to network-stream throughout.
20323 (open-protocol-stream): Merge into open-network-stream, leaving
20324 open-protocol-stream as an alias. Handle nil BUFFER args.
20325
20326 * subr.el (open-network-stream): Move to net/network-stream.el.
20327
20328 2011-04-02 Glenn Morris <rgm@gnu.org>
20329
20330 * find-dired.el (find-exec-terminator): New option.
20331 (find-ls-option): Test for -ls support.
20332 (find-ls-subdir-switches): Test for -b in find-ls-option.
20333 (find-dired, find-grep-dired): Doc fixes.
20334 (find-dired): Use find-exec-terminator.
20335
20336 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20337 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20338 (find-name-arg): Remove purecopy.
20339
20340 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20341 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20342 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20343 accordingly. Don't add the null-device if not needed.
20344
20345 * files.el (save-some-buffers): Doc fix.
20346
20347 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20348
20349 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20350
20351 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20352
20353 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20354 Use `dolist' rather than `mapcar'.
20355
20356 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20357
20358 Add lexical binding.
20359
20360 * subr.el (apply-partially): Use new closures rather than CL.
20361 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20362 (dolist, dotimes): Use slightly different expansion for lexical code.
20363 (functionp): Move to C.
20364 (letrec): New macro.
20365 (with-wrapper-hook): Use it and apply-partially instead of CL.
20366 (eval-after-load): Preserve lexical-binding.
20367 (save-window-excursion, with-output-to-temp-buffer): Turn them
20368 into macros.
20369
20370 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20371
20372 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20373 than the arglist.
20374 (help-add-fundoc-usage): Don't add `Not documented'.
20375 (help-function-arglist): Handle closures, subroutines, and new
20376 byte-code-functions.
20377 (help-make-usage): Remove leading underscores.
20378 (describe-function-1): Handle closures.
20379 (describe-variable): Use special-variable-p for completion.
20380
20381 * files.el (lexical-binding): Declare safe.
20382
20383 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20384 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20385 (pcase): Add `let' pattern.
20386 Change memoization so it actually works.
20387 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20388 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20389 <let>: New case.
20390
20391 * emacs-lisp/macroexp.el: Use lexical binding.
20392 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20393 Don't convert ' to #' without checking that it's indeed quoting
20394 a lambda.
20395
20396 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20397 Use eval-sexp-add-defvars.
20398 (eval-sexp-add-defvars): New fun.
20399
20400 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20401
20402 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20403 Don't autoload.
20404 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20405 than the internal `byte-compile-lambda'.
20406 (defmethod): Don't hide code under quotes.
20407 (eieio-defmethod): New `code' argument.
20408
20409 * emacs-lisp/eieio-comp.el: Remove.
20410
20411 * emacs-lisp/edebug.el (edebug-eval-defun)
20412 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20413 (edebug-toggle): Avoid `eval'.
20414
20415 * emacs-lisp/disass.el (disassemble-internal): Handle new
20416 `closure' objects.
20417 (disassemble-1): Handle new byte codes.
20418
20419 * emacs-lisp/cl.el (pushnew): Silence warning.
20420
20421 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20422 (cl-byte-compile-throw): Remove.
20423 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20424
20425 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20426 closures.
20427
20428 * emacs-lisp/cconv.el: New file.
20429
20430 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20431 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20432 (byte-compile-initial-macro-environment):
20433 Handle declare-function here.
20434 (byte-compile--lexical-environment): New var.
20435 (byte-stack-ref, byte-stack-set, byte-discardN)
20436 (byte-discardN-preserve-tos): New lap codes.
20437 (byte-interactive-p): Don't use any more.
20438 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20439 New macros.
20440 (byte-compile-lapcode): Use them and handle new lap codes.
20441 (byte-compile-obsolete): Remove.
20442 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20443 (byte-compile-arglist-warn): Check late def of inlinable funs.
20444 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20445 since they should have been expanded by now.
20446 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20447 (byte-compile-from-buffer): Remove unused second arg.
20448 (byte-compile-preprocess): New function.
20449 (byte-compile-toplevel-file-form): New function to distinguish
20450 file-form calls from outside from file-form calls from hunk-handlers.
20451 (byte-compile-file-form): Simplify.
20452 (byte-compile-file-form-defsubst): Remove.
20453 (byte-compile-file-form-defmumble): Simplify now that
20454 byte-compile-lambda always returns a byte-code-function.
20455 (byte-compile): Preprocess.
20456 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20457 Remove, not used any more.
20458 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20459 (byte-compile-make-args-desc): New funs.
20460 (byte-compile-lambda): Handle lexical functions. Always return
20461 a byte-code-function.
20462 (byte-compile-reserved-constants): New var, to make up room for
20463 closed-over variables.
20464 (byte-compile-constants-vector): Obey it.
20465 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20466 (byte-compile-macroexpand-declare-function): New function.
20467 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20468 byte-code-functions.
20469 (byte-compile-form): Check obsolescence here.
20470 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20471 (byte-compile-variable-ref): Remove.
20472 (byte-compile-dynamic-variable-op): New fun.
20473 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20474 (byte-compile-variable-set): New funs.
20475 (byte-compile-discard): Add 2 args.
20476 (byte-compile-stack-ref, byte-compile-stack-set)
20477 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20478 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20479 macroexpand-all instead.
20480 (byte-compile-quote-form): Remove.
20481 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20482 (byte-compile-bind, byte-compile-unbind): New funs.
20483 (byte-compile-let): Handle let* and lexical binding.
20484 (byte-compile-let*): Remove.
20485 (byte-compile-catch, byte-compile-unwind-protect)
20486 (byte-compile-track-mouse, byte-compile-condition-case):
20487 Handle a new :fun-body form, used for lexical scoping.
20488 (byte-compile-save-window-excursion)
20489 (byte-compile-with-output-to-temp-buffer): Remove.
20490 (byte-compile-defun): Simplify.
20491 (byte-compile-stack-adjustment): New fun.
20492 (byte-compile-out): Use it.
20493 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20494
20495 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20496 handler any more.
20497
20498 * emacs-lisp/byte-opt.el: Use lexical binding.
20499 (byte-inline-lapcode): Remove (to bytecomp).
20500 (byte-compile-inline-expand): Pay attention to inlining to/from
20501 lexically bound code.
20502 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20503 any more.
20504 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20505 any more and don't call compiler-macros.
20506 (byte-compile-splice-in-already-compiled-code): Remove.
20507 (byte-code): Don't inline any more.
20508 (disassemble-offset): Receive `bytes' as argument rather than via
20509 dynamic scoping.
20510 (byte-compile-tag-number): Declare before first use.
20511 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20512 `return' even if make-spliceable.
20513 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20514 obsolete interactive-p.
20515 (byte-optimize-lapcode): Optimize new lap-codes.
20516 Don't trip up on new form of `byte-constant' lap code.
20517
20518 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20519
20520 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20521
20522 * custom.el (custom-initialize-default, custom-declare-variable):
20523 Use `defvar'.
20524
20525 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20526 New variables.
20527 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20528 (COMPILE_FIRST): Add macroexp and cconv.
20529 * makefile.w32-in: Mirror changes in Makefile.in.
20530
20531 * vc/cvs-status.el:
20532 * vc/diff-mode.el:
20533 * vc/log-edit.el:
20534 * vc/log-view.el:
20535 * vc/smerge-mode.el:
20536 * textmodes/bibtex-style.el:
20537 * textmodes/css-mode.el:
20538 * startup.el:
20539 * uniquify.el:
20540 * minibuffer.el:
20541 * newcomment.el:
20542 * reveal.el:
20543 * server.el:
20544 * mpc.el:
20545 * emacs-lisp/smie.el:
20546 * doc-view.el:
20547 * dired.el:
20548 * abbrev.el: Use lexical binding.
20549
20550 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20551
20552 * info.el (info-display-manual): New function.
20553
20554 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20555
20556 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20557
20558 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20559
20560 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20561 an entry for that server in rcirc-authinfo. (Bug#8385)
20562
20563 2011-03-31 Glenn Morris <rgm@gnu.org>
20564
20565 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20566
20567 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20568
20569 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20570
20571 * progmodes/python.el (python-default-interpreter)
20572 (python-python-command-args, python-jython-command-args)
20573 (python-which-shell, python-which-args, python-which-bufname)
20574 (python-file-queue, python-comint-output-filter-function)
20575 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20576 variables and functions.
20577
20578 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20579
20580 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20581 (completion-in-region-mode): New minor mode.
20582 (completion-in-region): Use it.
20583 (completion-in-region--data, completion-in-region-mode-map): New vars.
20584 (completion-in-region--postch): New function.
20585 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20586 New vars.
20587 (completion--capf-wrapper): New function.
20588 (completion-at-point): Use it to track well-behavedness of
20589 hook functions.
20590 (completion-help-at-point): New command.
20591
20592 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20593
20594 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20595 syntax class to search for whitespace on a single line
20596 (Message-ID: <4D938140.4030905@redhat.com>).
20597
20598 2011-03-30 Leo Liu <sdl.web@gmail.com>
20599
20600 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20601 New commands.
20602 (edit-abbrevs-map): Bind them here.
20603 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20604
20605 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20606
20607 * allout.el (allout-hide-by-annotation, allout-flag-region):
20608 Reduce possibility of overlay leakage by making them volatile.
20609
20610 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20611 hash is not shared between buffers. Mode initialization is
20612 responsible for giving it a useful starting value.
20613 (allout-item-span): Reduce possibility of overlay leakage by
20614 making them volatile.
20615 (allout-widgets-count-buttons-in-region): Add diagnostic function
20616 for tracking down button overlay leaks.
20617
20618 2011-03-29 Leo Liu <sdl.web@gmail.com>
20619
20620 * ido.el (ido-read-internal): Use the default history var
20621 minibuffer-history if no HISTORY is specified.
20622
20623 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20624
20625 * net/imap.el (imap-shell-open, imap-process-connection-type):
20626 Use imap-process-connection-type for 'shell' streams as well as
20627 Kerberos, SSL, other subprocesses.
20628
20629 2011-03-28 Leo Liu <sdl.web@gmail.com>
20630
20631 * abbrev.el (abbrev-table-empty-p): New function.
20632 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20633 nonempty ones. (Bug#5937)
20634
20635 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20636
20637 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20638
20639 2011-03-27 Leo Liu <sdl.web@gmail.com>
20640
20641 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20642 for foreground and background colors.
20643 (ansi-color-make-color-map): Adapt.
20644
20645 2011-03-25 Leo Liu <sdl.web@gmail.com>
20646
20647 * midnight.el (midnight-time-float): Remove. Note it calculates
20648 the microsecond component incorrectly and seconds-to-time does the
20649 same job.
20650 Remove redundant (require 'timer).
20651
20652 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20653 (ido-completions): Remove unused arguments. (Bug#8329)
20654
20655 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20656
20657 * minibuffer.el (completion--flush-all-sorted-completions):
20658 Remove itself from hook.
20659 (completion-at-point): Let the functions perform the completion
20660 immediately and return nil or t.
20661 * comint.el (comint-dynamic-complete-functions): Now identical to
20662 completion-at-point-functions.
20663 (comint-dynamic-list-input-ring): Remove unused var `index'.
20664 (comint--match-partial-filename, comint--unquote&expand-filename):
20665 New funs, split from comint-match-partial-filename.
20666 (comint-dynamic-complete): Use completion-at-point.
20667 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20668
20669 2011-03-24 Drew Adams <drew.adams@oracle.com>
20670
20671 * thingatpt.el: Support `defun'.
20672
20673 2011-03-23 Leo Liu <sdl.web@gmail.com>
20674
20675 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20676
20677 * help-mode.el (help-mode-finish): Tweak regexp.
20678
20679 2011-03-23 Glenn Morris <rgm@gnu.org>
20680
20681 * eshell/esh-opt.el (eshell-eval-using-options):
20682 Do not bind unused local variable `eshell-option-stub'.
20683
20684 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20685
20686 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20687
20688 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20689 keymap variable in `with-no-warnings' to avoid a warning when the
20690 keymap has been already `defconst'ed.
20691
20692 2011-03-22 Leo Liu <sdl.web@gmail.com>
20693
20694 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20695 encode all chars in abbrevs; otherwise use emacs-mule or
20696 utf-8-emacs. (Bug#8308)
20697
20698 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20699
20700 * simple.el (backward-delete-char-untabify):
20701 Avoid warning about using `delete-backward-char'.
20702
20703 * image.el (image-type-file-name-regexps): Make it variable.
20704 `imagemagick-register-types' modifies it, and the user may want
20705 to add new extensions for known image types.
20706 (imagemagick-register-types): Throw error if not using ImageMagick.
20707
20708 2011-03-22 Leo Liu <sdl.web@gmail.com>
20709
20710 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20711 located before rcirc-prompt-end-marker.
20712 (rcirc-complete): Error if point is not after rcirc prompt.
20713 Handle the case when table is nil.
20714 (rcirc-user-authenticated): Define to fix compiler warning.
20715
20716 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20717
20718 * custom.el (custom--inhibit-theme-enable): Make it affect only
20719 custom-theme-set-variables and custom-theme-set-faces.
20720 (provide-theme): Ignore custom--inhibit-theme-enable.
20721 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20722 (custom-enabling-themes): Delete variable.
20723 (enable-theme): Accept only loaded themes as arguments.
20724 Ignore the special custom-enabled-themes variable.
20725 (custom-enabled-themes): Forbid themes from setting this.
20726 Eliminate use of custom-enabling-themes.
20727 (custom-push-theme): Quote "changed" custom var entry.
20728
20729 2011-03-21 Leo Liu <sdl.web@gmail.com>
20730
20731 * ido.el (ido-read-internal): Add ido-selected to history instead
20732 of user input.
20733
20734 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20735
20736 * subr.el (deferred-action-list, deferred-action-function):
20737 Mark obsolete.
20738
20739 2011-03-21 Leo Liu <sdl.web@gmail.com>
20740
20741 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20742 change on 2011-02-13 (bug#8309).
20743
20744 * minibuffer.el (read-file-name-function): Change default value.
20745 (read-file-name--defaults): Rename from read-file-name-defaults.
20746 (read-file-name-default): Rename from read-file-name.
20747 (read-file-name): Call read-file-name-function.
20748
20749 2011-03-21 Glenn Morris <rgm@gnu.org>
20750
20751 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20752 Doc fixes.
20753
20754 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20755
20756 * cus-theme.el: Add missing provide statement.
20757 (customize-create-theme): Extract theme value correctly.
20758 (custom-theme-visit-theme): Autoload.
20759 (customize-create-theme): Prompt before inserting default faces.
20760
20761 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20762
20763 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20764 units and musical notes.
20765
20766 2011-03-20 Leo Liu <sdl.web@gmail.com>
20767
20768 * ido.el (ido-read-internal): Use completing-read-default.
20769 (ido-completing-read): Fix compatibility with completing-read.
20770
20771 2011-03-20 Christian Ohler <ohler@gnu.org>
20772
20773 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20774 (ert-delete-all-tests): Use `called-interactively-p' rather than
20775 `interactive-p'.
20776 (ert--make-xrefs-region): Respect END.
20777
20778 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20779
20780 * dired-aux.el (dired-create-directory): Signal an error if the
20781 directory already exists (Bug#8246).
20782
20783 * facemenu.el (list-colors-display): Call list-faces-display
20784 inside with-help-window.
20785 (list-colors-print): Use display property to align the final
20786 column, instead of checking window-width.
20787
20788 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20789
20790 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20791 windows-nt systems.
20792 (emerge-protect-metachars): Quote correctly for ms-dos and
20793 windows-nt systems.
20794
20795 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20796
20797 * info.el (info-initialize): Replace all uses of `:' with
20798 path-separator for compatibility with non-Unix systems.
20799 Cache quoting of path-separator. (Bug#8258)
20800
20801 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20802
20803 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20804 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20805 (mouse-avoidance-mode): Fix typos in docstrings.
20806
20807 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * startup.el (package-subdirectory-regexp): Move from package.el.
20810 Omit \\` and \\', and let callers add them.
20811
20812 * emacs-lisp/package.el (package-strip-version)
20813 (package-load-all-descriptors): Add \\` and \\' to
20814 package-subdirectory-regexp before using it.
20815 (package-untar-buffer): New arg DIR; ensure that file untars only
20816 into this expected directory. Remove superfluous delete-region.
20817 (package-unpack): Caller changed.
20818 (package-tar-file-info): Use package-subdirectory-regexp.
20819
20820 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20821
20822 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20823 diff-mode-shared-map (bug#8284).
20824 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20825
20826 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20827
20828 * calendar/time-date.el (format-seconds): Use assoc instead of
20829 assoc-string, since assoc-string doesn't exist in XEmacs.
20830
20831 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20832
20833 * custom.el (custom-known-themes): Reflow docstring.
20834 (custom-theme-load-path): Fix typo in docstring.
20835 (load-theme): Fix typo in error message.
20836 (custom-available-themes, custom-variable-theme-value):
20837 Use `let', not `let*'.
20838
20839 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20840
20841 * calc/README: Mention inclusion of musical notes.
20842
20843 * calc/calc-units.el (calc-lu-quant): Rename from
20844 `calc-logunits-quantity'.
20845 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20846 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20847 (calc-db): Rename from `calc-dblevel'.
20848 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20849 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20850 (calc-np): Rename from `calc-nplevel'.
20851 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20852 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20853 (calc-lu-plus): Rename from `calc-logunits-add'.
20854 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20855 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20856 (calc-lu-minus): Rename from `calc-logunits-sub'.
20857 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20858 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20859 (calc-lu-times): Rename from `calc-logunits-mul'.
20860 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20861 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20862 (calc-lu-divide): Rename from `calc-logunits-div'.
20863 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20864 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20865
20866 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20867 functions being autoloaded.
20868
20869 * calc/calc.el (calc-lu-power-reference): Rename from
20870 `calc-logunits-power-reference'.
20871 (calc-lu-field-reference): Rename from
20872 `calc-logunits-field-reference'.
20873
20874 * calc/calc-help.el (calc-l-prefix-help):
20875 Mention musical note functions.
20876
20877 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20878
20879 * minibuffer.el (completion-all-sorted-completions):
20880 Use :completion-cycle-penalty text property if present.
20881
20882 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20883
20884 * allout.el (allout-yank-processing): Adjust for new rebulleting
20885 regime so bullet being yanked is used without prompting the user
20886 for a choice.
20887
20888 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20889
20890 * startup.el (command-line): Warn the user that _emacs is deprecated.
20891
20892 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20895 (delphi-verbose, delphi-comment-face, delphi-string-face)
20896 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20897 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20898 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20899 (delphi-new-comment-line, delphi-font-lock-defaults)
20900 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20901 Fix typos in docstrings.
20902
20903 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20904
20905 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20906 Invert the roles of character and string values for INSTEAD, so a
20907 string is used for the more common case of a defaulting prompt.
20908
20909 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20910
20911 * progmodes/ruby-mode.el (ruby-backward-sexp):
20912 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20913 * play/gamegrid.el (gamegrid-make-face):
20914 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20915 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20916 * notifications.el (notifications-notify):
20917 * net/xesam.el (xesam-search-engines):
20918 * net/quickurl.el (quickurl-list-insert):
20919 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20920
20921 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20922
20923 * startup.el (command-line): Update package subdirectory regexp.
20924
20925 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20926
20927 * allout.el (allout-abbreviate-flattened-numbering)
20928 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20929
20930 * subr.el (read-char-choice): Only show the cursor after the prompt,
20931 not after the answer.
20932
20933 2011-03-15 Kevin Ryde <user42@zip.com.au>
20934
20935 * help-fns.el (variable-at-point): Skip leading quotes, if any
20936 (bug#8253).
20937
20938 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20939
20940 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20941 warning message.
20942
20943 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20944
20945 * shell.el (shell): When called interactively, offer to change the
20946 shell file name on remote hosts.
20947
20948 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20949
20950 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20951 integration for LDAP parameters. The host, base, user or binddn,
20952 and secret tokens can be specified in a netrc file, for instance.
20953 This is optional because an `auth-source' parameter must be
20954 specified in the search attributes.
20955
20956 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20957
20958 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20959
20960 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20961
20962 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20963 into declaration. Remove redundant and harmful binding.
20964
20965 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20966
20967 * files.el (file-ownership-preserved-p): Pass `integer' as an
20968 explicit 2nd argument to `file-attributes'. If the file's owner
20969 is the Administrators group on Windows, and the current user is
20970 Administrator, consider that a match.
20971
20972 * server.el (server-ensure-safe-dir): Consider server directory
20973 safe on MS-Windows if its owner is the Administrators group while
20974 the current Emacs user is Administrator. Use `=' to compare
20975 numerical UIDs, since they could be integers or floats.
20976
20977 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20978
20979 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20980
20981 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20982
20983 Sync with Tramp 2.2.1.
20984
20985 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20986
20987 * net/trampver.el: Update release number.
20988
20989 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20990
20991 * progmodes/compile.el (compilation--previous-directory): Fix up
20992 various nil/dead-marker mismatches (bug#8014).
20993 (compilation-directory-properties, compilation-error-properties):
20994 Don't call it at a position past the one we're about to change.
20995
20996 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20997 Disable obsolescence warnings in the file that declares it.
20998
20999 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21000
21001 * allout-widgets.el (allout-widgets-tally):
21002 Initialize allout-widgets-tally as a hash table rather than nil to
21003 prevent mode-line redisplay warnings. Also, clarify the module
21004 description and fix a comment typo.
21005
21006 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21007
21008 * help-fns.el (describe-variable): Don't complete keywords.
21009 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21010
21011 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21012
21013 * emacs-lisp/package.el (package-version-join): Impose a standard
21014 string representation for pre/alpha/beta version lists.
21015 (package-unpack-single): Standardize the directory name by passing
21016 it through package-version-join.
21017 (package-strip-rcs-id): Accept any version string that does not
21018 signal an error in version-to-list.
21019
21020 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21021
21022 * simple.el (delete-trailing-whitespace): Return nil for the
21023 benefit of `write-file-functions'.
21024
21025 2011-03-10 Glenn Morris <rgm@gnu.org>
21026
21027 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21028
21029 * vc/vc-git.el (vc-git-program): New option.
21030 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21031 (vc-git--call): Use it.
21032
21033 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21034
21035 * cus-edit.el (Custom-newline): If no button at point, look
21036 for a subgroup button at start-of-line. (Bug#2298)
21037
21038 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21039
21040 2011-03-10 Julien Danjou <julien@danjou.info>
21041
21042 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21043 `cursor-type' is nil.
21044
21045 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21046
21047 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21048
21049 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21050
21051 * allout.el: Change so yank of distinctive-bullet items
21052 preserves the existing header prefix, rebulleting it if necessary,
21053 rather than replacing it. This is necessary for proper operation
21054 of cooperative addons like allout-widgets.
21055 (allout-make-topic-prefix, allout-rebullet-heading):
21056 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21057 value as alternate bullet to be used, instead of prompting the user
21058 for a bullet character.
21059
21060 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21061
21062 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21063 Do not use `tramp-file-name-port', because this returns also
21064 `tramp-default-port'.
21065
21066 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21067
21068 * net/rcirc.el (rcirc-handler-001): Remove useless
21069 with-rcirc-process-buffer.
21070 (rcirc-check-auth-status): Swap arguments to string-match.
21071
21072 2011-03-09 Glenn Morris <rgm@gnu.org>
21073
21074 * shell.el (shell-mode):
21075 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21076
21077 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21078 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21079
21080 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21081
21082 * emacs-lisp/package.el (package-refresh-contents)
21083 (package-menu-execute): Use condition-case-no-debug.
21084
21085 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21086
21087 * simple.el (shell-command-to-string): Use `process-file'.
21088
21089 * emacs-lisp/package.el (package-tar-file-info): Handle also
21090 remote files.
21091
21092 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21093 Use `equal' for upload base check.
21094
21095 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21096
21097 * textmodes/texinfo.el (texinfo-environments):
21098 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21099
21100 2011-03-08 Glenn Morris <rgm@gnu.org>
21101
21102 * cus-start.el (cursor-in-non-selected-windows):
21103 Fix :set quoting oddness. (Bug#8192)
21104
21105 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21106 in some setf expressions. (Bug#2159)
21107
21108 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21109
21110 * custom.el (custom-available-themes): Return themes in
21111 alphabetical order.
21112
21113 See ChangeLog.15 for earlier changes.
21114
21115 ;; Local Variables:
21116 ;; coding: utf-8
21117 ;; End:
21118
21119 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21120
21121 This file is part of GNU Emacs.
21122
21123 GNU Emacs is free software: you can redistribute it and/or modify
21124 it under the terms of the GNU General Public License as published by
21125 the Free Software Foundation, either version 3 of the License, or
21126 (at your option) any later version.
21127
21128 GNU Emacs is distributed in the hope that it will be useful,
21129 but WITHOUT ANY WARRANTY; without even the implied warranty of
21130 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21131 GNU General Public License for more details.
21132
21133 You should have received a copy of the GNU General Public License
21134 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.